Custom msgboxes

message from =?Utf-8?B?RGFuaWVsIFA=?= on 3 Jun 2004
Hello,

Can anyone tell me if it is possible to use user (me) specified images/icon in a msgbox. Instead of the usual information, exclamation .... I would like to use some custom made images.... Can this be done and if so how?

Thanks,

Daniel
 
Allen Browne replied to =?Utf-8?B?RGFuaWVsIFA=?= on 4 Jun 2004
Not simple with the built-in MsgBox(), but easy to make your own.

Create a simple unbound form, with an Image control, display text box, and 3
command buttons.

Use OpenForm on your dialog in acDialog, and pass the values it needs in
OpenArgs. Set the Picture property of the Image control to the desired
graphic.
 
Arvin Meyer replied to =?Utf-8?B?RGFuaWVsIFA=?= on 4 Jun 2004
Here's a custom form and code already set up to just import and do custom
MsgBoxes with full functionality, including the ability to run functions.

http://www.datastrat.com/Download/MsgBox2K.zip
 
Ken Snell replied to =?Utf-8?B?RGFuaWVsIFA=?= on 3 Jun 2004
No. Create your own forms and open / use them as message boxes.
 
Graham R Seach replied to =?Utf-8?B?RGFuaWVsIFA=?= on 4 Jun 2004
Daniel,

http://www.pacificdb.com.au/MVP/Code/XMsgBox.htm

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764559036.html

"Daniel P" <anonymous@discussions.microsoft.com> wrote in message
news:FA298AD4-5144-4E52-B460-80AEBEFDF3A4@microsoft.com...
images/icon in a msgbox. Instead of the usual information, exclamation ....
I would like to use some custom made images.... Can this be done and if so
how?
 
Graham R Seach replied to Graham R Seach on 4 Jun 2004
Daniel,

I just re-read your question, and it seems the code I offered doesn't meet
your requirements.

It can be done, but it's not trivial, and I don't think anyone's done it
yet.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764559036.html

"Graham R Seach" <gseach@NOSPAMpacificdb.com.au> wrote in message
news:en3lYreSEHA.2692@TK2MSFTNGP09.phx.gbl...
 

Archived message: Custom msgboxes (Microsoft Access)