Click to See Complete Forum and Search --> : MsgBox
RSH
September 4th, 2001, 08:04 AM
Is there a way to use MsgBox without having the MsgBox hold the computer but rather just show the box and continue on without the necessity to click the OK Button. This would be handy when develoving code.
73 RSH
berta
September 4th, 2001, 08:08 AM
witch kind of msgbox is? how the user can continue?
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
enigmaos
September 4th, 2001, 08:17 AM
just add a timer - to close the form and a form - no OK button or anything. just a simple form with some labels for displaying information (also, add DOEVENTS to run the program while the timer is counting down). It works like a msgbox except there's no OK button and it doesn't hold/pause the computer.
enigmaos@yahoo.com
RSH
September 4th, 2001, 09:04 AM
Yes this would work. So would a TextBox or a Label
and we have used these,but I cant believe that the convenience of a MsgBox which would leave a message on the screen as the computer went through certain code has been overlooked. This is for developing code particularly.
73 RSH
Iouri
September 4th, 2001, 02:24 PM
'add reference to Windows Scripting host Object model
Dim wshShell As New IWshShell_Class
Dim lngReturn As Long
Dim intSeconds2Wait As Integer
intSeconds2Wait = 1
lngReturn = wshShell.Popup("Place Your Text Here", intSeconds2Wait)
Iouri Boutchkine
iouri@hotsheet.com
berta
September 4th, 2001, 06:02 PM
...If I undestand do U wnat a msgbox that is not blocking for the procedure... a warning?
if it is right... why don't use a logfile... or a listbox... or any other control in witch U signal your warning...
In my opinion a msgbox is by definition a blocking message...
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
RSH
September 4th, 2001, 09:26 PM
True, one can use any number of controls to print out what is going on in the program but MsgBox is so easy to use and requires no object. It would be Ideal for momentary use while debugging code.
Oh Well! guess I'll just have to click the OK Button. 73 RSH
berta
September 5th, 2001, 01:50 AM
...but if u want have a dbug windows withjout use on object U can use debug object.
debug.print "pippo"
so u can write in immediate windows.
in compile time I think that vb ignore the interaction with debug object... by the ay u can use "find and replace" before compile and change "debug" into "'debug"
hi,brt
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.