|
-
September 4th, 2001, 08:04 AM
#1
MsgBox
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
-
September 4th, 2001, 08:08 AM
#2
Re: MsgBox
witch kind of msgbox is? how the user can continue?
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
</center>
-
September 4th, 2001, 08:17 AM
#3
Re: MsgBox
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.
[email protected]
-
September 4th, 2001, 09:04 AM
#4
Re: MsgBox
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
-
September 4th, 2001, 02:24 PM
#5
Re: MsgBox
'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
[email protected]
-
September 4th, 2001, 06:02 PM
#6
Re: MsgBox
...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/im...ertaplanet.gif'>
</center>
-
September 4th, 2001, 09:26 PM
#7
Re: MsgBox
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
-
September 5th, 2001, 01:50 AM
#8
Re: MsgBox
...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/im...ertaplanet.gif'>
</center>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|