|
-
Dec 18th, 2002, 01:11 AM
#1
Thread Starter
Addicted Member
Msgbox ???
Hi all
Is there any way to use form as Msgbox ??
If so, How please ?
Thank you
-
Dec 18th, 2002, 01:29 AM
#2
Sure, just create a form that looks like a message box and display it modally. If you search the forum I think you will find one or more people who have posted forms that will already do the job.
-
Dec 18th, 2002, 01:36 AM
#3
Thread Starter
Addicted Member
Thanks alot
Originally posted by MartinLiss
Sure, just create a form that looks like a message box and display it modally. If you search the forum I think you will find one or more people who have posted forms that will already do the job.
-
Dec 18th, 2002, 11:26 AM
#4
Frenzied Member
Yeah... I am one of them but I haven't posted the code yet.
Martin, how can I get the default sounds of the MsgBoxes?

It is just the final detail to add to this form and I will post the code.
We miss you, friend...  Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico
-
Dec 18th, 2002, 12:10 PM
#5
Frenzied Member
Duh... Forget it.
Who would have thought the sound of the Message Box is a simple "Beep"?
We miss you, friend...  Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico
-
Dec 18th, 2002, 02:38 PM
#6
Fanatic Member
LOL
Originally posted by Tec-Nico
Duh... Forget it.
Who would have thought the sound of the Message Box is a simple "Beep"?
That wuz one funny message,
however I found an other way to locate windows sounds
it wuz with the API function
VB Code:
Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long
I saw it on a webpage... but I didn't add it to favorites!!!
-
Dec 18th, 2002, 04:58 PM
#7
Frenzied Member
and how would you use it?
We miss you, friend...  Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico
-
Dec 18th, 2002, 07:09 PM
#8
Hyperactive Member
Back to a more original question, why not overload the MsgBox() so that it is available through-out your code by simply calling MsgBox? Then you could automatically handle returns so they are just like in VB!? (great for mult-person development!)
-
Dec 18th, 2002, 08:04 PM
#9
Frenzied Member
because VB doesn't support overloading...
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
|