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
Is it posible to Create Tables Through Querydef?
Is it possible to call oracle database through ADO control or Object?
Explain about manipulating the recordset object
Explain Default cursor Type and LockEdits type in RDO?
Explain the working with task in Gantt chart view.
What is ActiveX Dll and ActiveX Exe?
_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.
Explain the "cursortype" and "Locktype" in VB?
What is Parser Bug?
How would you add column headers in listview control?
How about Access 2.0 compatibility?
How do I speed up control property access?
Which type of object requires this object?
How to use advanced data-bound controls.
Explain what is Visual basic?