Can we display only integers / numbers through the message
box? Is there any constraint to do so?
Answer Posted / sachin
Message box can display both integer and string like we can
give
Msgbox 5
Msgbox "5". But really there is an issue with VB's message
box for the length. It can only display limited text. What
I mean is
If we concatenate a string to a very large string in a loop
(for eg selected items in a listview,grid etc) then if we
put this string in a message box like
msgbox strSelection . Then you will notice that half of
your string will be missing. So same will happen with
number but it doesn't make sense we ever having a large
number like that !
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are the Internet tools available in VB 6.0?
How would you map properties to controls by using ActiveX Control Interface Wizard?
What is the use of property page Wizard in ActiveX Control?
How can you get selected file from file system Control?
what are the Types of Resultsets?
What is the use of Visual Basic Document file?
How would you add elements and pictures to listitems in listview control?
How would you map properties to controls by using ActiveX Control Interface Wizard?
what are the types of cursors in DAO?
Write the Steps in Creating an ActiveX Control?
What is understand in resource tracking?
What are the important components of OLEDB?
Which method is preferred to save data like database to the disk?
What is the use of Data Form Wizard?
i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI).