trying to get Error Number
- From: John <johnboy7676@xxxxxxxxx>
- Date: Sat, 24 Nov 2007 10:39:05 -0700
I have a .chm that is called by a cmdButton:
Shell "HH.exe " & CurrentProject.Path & "\myfile.chm", vbNormalFocus
which works, fine, but am trying to give User more info if they delete or move
the .chm file from ProjectPath.
When I try to get an Error number by renaming the chm, I get a dialog box with
"Help" as the title, and just a line that says:
Cannot open the file: (path)\myfile.chm.
It appears that the help compiler generated the diaglog box?
Is there a particular error I can trap to generate a more detailed error
message, or should I just check to see if the file exists in the proper location
before calling the chm file. If the latter, how do I do that?
Thanks, John
.
- Follow-Ups:
- Re: trying to get Error Number
- From: Ken Snell \(MVP\)
- Re: trying to get Error Number
- Prev by Date: Re: Ask user to enter month then query for that month
- Next by Date: Re: StLinkCriteria Problem with entry of Last (or partial) name
- Previous by thread: StLinkCriteria Problem with entry of Last (or partial) name
- Next by thread: Re: trying to get Error Number
- Index(es):
Relevant Pages
|