Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / January 2005

Tip: Looking for answers? Try searching our database.

MsgBox Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bre-x - 31 Jan 2005 04:53 GMT
Hi,
I have this code on a Form

Response = MsgBox("My Question", vbQuestion + vbMsgBoxHelpButton + vbYesNo,
"My Title")
MsgBox Response

if you Click Yes you get 6
if you click No you get 7

but you don't get a Response when you click Help

What I am trying to do is to ask the user if you wants to do "something" and
if he/she click Help. I would like
to open another msg/form to show some text explaining my "Question"

Regards,

Bre-x
John Nurick - 31 Jan 2005 07:49 GMT
Hi Bre-x,

The Help button doesn't make the messagebox return a value. Instead, it
launches the help system - but only if you've also created a Help file
and passed the filename and HelpContextID to the MsgBox() function.

If you don't want to go to the trouble of creating a Windows or HTML
Help file (and it is trouble, if you've never done it before), replace
your messagebox with a little custom form with the three buttons; or if
the help message is simple you could just include it in a label on the
form.

>Hi,
>I have this code on a Form
[quoted text clipped - 15 lines]
>
>Bre-x

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.