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


Please Help Members By Posting Answers For Below Questions

___ property used to add a menus at runtime.

1233


Can you create a tabletype of recordset in Jet connected ODBC dbengine.

1461


What is the default model of the form?

1634


What are the important components of OLEDB?

2408


How do you make a TEXTBOX read only? Or, how do I prevent the user from changing the text in a TEXTBOX?

940






What is the use of ActiveX Documents?

1575


What is controls in vb?

537


What is connection object in vb net?

584


How do I implement Undo?

965


How do you zoom in visual basic?

526


Binary Access-method isused to access file in which manner?

1410


How can you Navigate from the DHTML application to another DHTML application? .

1359


what is the Difference between Recordset and Querydef?

1859


In which areas the Error occurs?

1468


Can a VB application be an OLE server?

978