I have a form that when I open it will display the help file. Every time I
try this I get the Open, Save, or Cancel commands.
This is the code I'm trying to use.
Me.WebBrowser0.Navigate "e:\nci database\nci taps\working taps\taps 03-03\
taps-help.chm"
I don't care if it opens in a browser or not I just want it to display the
help file and its content.
I know I can set the Help File and Help Context Id for the individual
screens. This is the main help file I'm trying to display.
Thanks for your help.
--
Message posted via http://www.accessmonster.com
|
|
0
|
|
|
|
Reply
|
Afrosheen
|
3/9/2010 2:34:18 PM |
|
See whether what David Liske has at
http://frogleg.mvps.org/helptechnologies/htmlhelp/hhaccess.html helps.
--
Doug Steele, Microsoft Access MVP
http://www.AccessMVP.com/DJSteele
(no e-mails, please!)
"Afrosheen via AccessMonster.com" <u46942@uwe> wrote in message
news:a4c0fce1040e4@uwe...
>I have a form that when I open it will display the help file. Every time I
> try this I get the Open, Save, or Cancel commands.
>
> This is the code I'm trying to use.
> Me.WebBrowser0.Navigate "e:\nci database\nci taps\working taps\taps 03-03\
> taps-help.chm"
>
> I don't care if it opens in a browser or not I just want it to display the
> help file and its content.
>
> I know I can set the Help File and Help Context Id for the individual
> screens. This is the main help file I'm trying to display.
>
> Thanks for your help.
>
> --
> Message posted via http://www.accessmonster.com
>
|
|
0
|
|
|
|
Reply
|
Douglas
|
3/9/2010 4:09:18 PM
|
|
Thanks for getting back to me Doug..
Here's what I did.
I had a menu tool bar so I just added the new menu
I copied and pasted the code in to a new module
I created a new macro called MacHelp with
RunCode
Function Name: ShowContents
I made sure the MyHelp.chm file was the same location as the database.
I get the error: Can not find the name ShowContents
I don't think I've entered the wrong information
Douglas J. Steele wrote:
>See whether what David Liske has at
>http://frogleg.mvps.org/helptechnologies/htmlhelp/hhaccess.html helps.
>
>>I have a form that when I open it will display the help file. Every time I
>> try this I get the Open, Save, or Cancel commands.
>[quoted text clipped - 10 lines]
>>
>> Thanks for your help.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/201003/1
|
|
0
|
|
|
|
Reply
|
Afrosheen
|
3/9/2010 5:37:13 PM
|
|
Is this a stand-alone module, or is it a class module, or a module
associated with a form or report?
What's your code for ShowContents?
--
Doug Steele, Microsoft Access MVP
http://www.AccessMVP.com/DJSteele
(no e-mails, please!)
"Afrosheen via AccessMonster.com" <u46942@uwe> wrote in message
news:a4c295e4150e9@uwe...
> Thanks for getting back to me Doug..
> Here's what I did.
>
> I had a menu tool bar so I just added the new menu
>
> I copied and pasted the code in to a new module
> I created a new macro called MacHelp with
> RunCode
> Function Name: ShowContents
>
> I made sure the MyHelp.chm file was the same location as the database.
> I get the error: Can not find the name ShowContents
>
> I don't think I've entered the wrong information
>
> Douglas J. Steele wrote:
>>See whether what David Liske has at
>>http://frogleg.mvps.org/helptechnologies/htmlhelp/hhaccess.html helps.
>>
>>>I have a form that when I open it will display the help file. Every time
>>>I
>>> try this I get the Open, Save, or Cancel commands.
>>[quoted text clipped - 10 lines]
>>>
>>> Thanks for your help.
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/201003/1
>
|
|
0
|
|
|
|
Reply
|
Douglas
|
3/9/2010 6:19:04 PM
|
|
Stand alone module called: MyHelp
In the macro I just have: ShowIndex
This is part of the code in the module
Public Function ShowIndex() As Long
ShowIndex = HTMLHelpStdCall(0, "myhelp.chm", HH_DISPLAY_INDEX, 0)
End Function
Douglas J. Steele wrote:
>Is this a stand-alone module, or is it a class module, or a module
>associated with a form or report?
>
>What's your code for ShowContents?
>
>> Thanks for getting back to me Doug..
>> Here's what I did.
>[quoted text clipped - 20 lines]
>>>>
>>>> Thanks for your help.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/201003/1
|
|
0
|
|
|
|
Reply
|
Afrosheen
|
3/9/2010 6:50:27 PM
|
|
If you go to the Immediate Window (Ctrl-G), type ?ShowIndex() and hit Enter,
does it work?
--
Doug Steele, Microsoft Access MVP
http://www.AccessMVP.com/DJSteele
(no e-mails, please!)
"Afrosheen via AccessMonster.com" <u46942@uwe> wrote in message
news:a4c3399685fb3@uwe...
> Stand alone module called: MyHelp
> In the macro I just have: ShowIndex
> This is part of the code in the module
>
> Public Function ShowIndex() As Long
> ShowIndex = HTMLHelpStdCall(0, "myhelp.chm", HH_DISPLAY_INDEX, 0)
> End Function
>
> Douglas J. Steele wrote:
>>Is this a stand-alone module, or is it a class module, or a module
>>associated with a form or report?
>>
>>What's your code for ShowContents?
>>
>>> Thanks for getting back to me Doug..
>>> Here's what I did.
>>[quoted text clipped - 20 lines]
>>>>>
>>>>> Thanks for your help.
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/201003/1
>
|
|
0
|
|
|
|
Reply
|
Douglas
|
3/9/2010 8:11:59 PM
|
|
Hi Doug,
I did the ?showindex() and debug.print showindex() and both came up with a
number 0
Douglas J. Steele wrote:
>If you go to the Immediate Window (Ctrl-G), type ?ShowIndex() and hit Enter,
>does it work?
>
>> Stand alone module called: MyHelp
>> In the macro I just have: ShowIndex
>[quoted text clipped - 14 lines]
>>>>>>
>>>>>> Thanks for your help.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/201003/1
|
|
0
|
|
|
|
Reply
|
Afrosheen
|
3/9/2010 8:30:49 PM
|
|
Doug I didn't use this code because I thought that because the chm file is in
the same folder as the database it should work. Am I correct? If I have to
use it, do I have to create a form for this?
Again Thanks for your help..
Left$(CurrentDB.Name, Len(CurrentDB.Name) - Len(Dir(CurrentDB.Name)))
or, more efficiently:
Dim strFullPath As String
Dim strPathOnly As String
strFullPath = CurrentDB.Name
strPathOnly = Left$(strFullPath, Len(strFullPath) -
Len(Dir(strFullPath)))
Douglas J. Steele wrote:
>If you go to the Immediate Window (Ctrl-G), type ?ShowIndex() and hit Enter,
>does it work?
>
>> Stand alone module called: MyHelp
>> In the macro I just have: ShowIndex
>[quoted text clipped - 14 lines]
>>>>>>
>>>>>> Thanks for your help.
--
Message posted via http://www.accessmonster.com
|
|
0
|
|
|
|
Reply
|
Afrosheen
|
3/9/2010 9:50:52 PM
|
|
Good Morning Doug;
I don't know what I did. I must have had my nose pointing the right way or I
was scratching my back or something, but it seems to be working now.
I did a test with another module that I knew was working called mouseOn().
When I just put mouseOn Access couldn't find it. When I put mouseon, access
couldn't find it. When I put mouseOn() then it found it and worked. So, I
went back through the Macros and changed everything to the way the function
was spelled and Vola! it started working.
Thanks for your help with this. I really appreciate it.
Douglas J. Steele wrote:
>If you go to the Immediate Window (Ctrl-G), type ?ShowIndex() and hit Enter,
>does it work?
>
>> Stand alone module called: MyHelp
>> In the macro I just have: ShowIndex
>[quoted text clipped - 14 lines]
>>>>>>
>>>>>> Thanks for your help.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/201003/1
|
|
0
|
|
|
|
Reply
|
Afrosheen
|
3/10/2010 11:37:57 AM
|
|
You need to fully qualify the path to the chm file.
Since David wrote his article, though, Access introduced an easier way to
determine the path of the current database.
Try
ShowIndex = HTMLHelpStdCall(0, CurrentProject.Path & "\myhelp.chm",
HH_DISPLAY_INDEX, 0)
Sorry I missed that before.
--
Doug Steele, Microsoft Access MVP
http://www.AccessMVP.com/DJSteele
(no e-mails, please!)
"Afrosheen via AccessMonster.com" <u46942@uwe> wrote in message
news:a4c4ccd130ea1@uwe...
> Doug I didn't use this code because I thought that because the chm file is
> in
> the same folder as the database it should work. Am I correct? If I have to
> use it, do I have to create a form for this?
>
> Again Thanks for your help..
>
>
> Left$(CurrentDB.Name, Len(CurrentDB.Name) - Len(Dir(CurrentDB.Name)))
> or, more efficiently:
> Dim strFullPath As String
> Dim strPathOnly As String
> strFullPath = CurrentDB.Name
> strPathOnly = Left$(strFullPath, Len(strFullPath) -
> Len(Dir(strFullPath)))
>
> Douglas J. Steele wrote:
>>If you go to the Immediate Window (Ctrl-G), type ?ShowIndex() and hit
>>Enter,
>>does it work?
>>
>>> Stand alone module called: MyHelp
>>> In the macro I just have: ShowIndex
>>[quoted text clipped - 14 lines]
>>>>>>>
>>>>>>> Thanks for your help.
>
> --
> Message posted via http://www.accessmonster.com
>
|
|
0
|
|
|
|
Reply
|
Douglas
|
3/10/2010 11:42:52 AM
|
|
Thanks Doug. I changed all the functions and it seemed to work a little
faster.
I saved David's web page as a pdf, so I'll go in and change it for future
references.
Thanks again for your help.
Douglas J. Steele wrote:
>You need to fully qualify the path to the chm file.
>
>Since David wrote his article, though, Access introduced an easier way to
>determine the path of the current database.
>
>Try
>
>ShowIndex = HTMLHelpStdCall(0, CurrentProject.Path & "\myhelp.chm",
>HH_DISPLAY_INDEX, 0)
>
>Sorry I missed that before.
>
>> Doug I didn't use this code because I thought that because the chm file is
>> in
>[quoted text clipped - 20 lines]
>>>>>>>>
>>>>>>>> Thanks for your help.
--
Message posted via http://www.accessmonster.com
|
|
0
|
|
|
|
Reply
|
Afrosheen
|
3/10/2010 2:59:25 PM
|
|
|
10 Replies
222 Views
(page loaded in 0.201 seconds)
Similiar Articles: Help!! My ICS/Firewall files are missing.. PLEASE HELP ...My ICS/Firewall files are missing.. PLEASE HELP ... Need help please!! regarding SBS 2003 and vpn or ... 40 & error 53 ... > 2) All required ports on Firewall is open/ also ... How to: Open *.MSG File from Hard Drive via Code - microsoft ...Someone help me out here.... I need the code to open and access the ... How to: Open *.MSG File from Hard Drive via Code - microsoft ... I need to : Open *.MSG File from ... How to browse folder and open xls file automatically in vba ...-- Cheers, Ryan "geniusideas" wrote: > Sorry Bob, > > I can browse the folder but unable to open file inside > automatically..Still need to select.Pls help ... Unable to open PDF file attachments - microsoft.public.windows ...... mail - adobe reader 9.3.2 - problem: unable to open any pdf file ... extension files default program adobe reader > > need help urgently > > emily How to forcely remove or overwrite an open excel file - microsoft ...However, we can't proceed if a user left a file open ... do this we get Access denied error if the file is open. Your help ... But if you need to clear out data > that you ... Modal form opens on startup - can't get past it. Help ...I need to get this done soon, if possible, due to year-end (tax) issues. ... doesn't work with New Office or Windows 7 ..... student's file using File - Open or see Help ... Needs help to pull data from excel file and put it into new excel ...Hi, Can anyone please help. ... data from an open excel file into ... data file ... time if I can help ... put up the code I have so far > and the files ... need help with ... "file cannot be opened because there are problems with ...I need to know how to repair a ".docx" file Word can't open or repair: the error details say, "Unspeci... ... According to the help file, it SHOULD be under File, Options ... my file in Word '03 was converted. need 2 convert from ...my file in Word '03 was converted. need 2 convert from mswrd632. Need help? I cannot get my original file because of mswrd632, whatever that means... In Excel 2007, the open file window does not display the folders p ...In Excel 2007, the open file window does not display the ... and I'm the only one that got affected. Please help, now I have to navigate to get the the files that I need. I need help opening an XFDL file extension? - Yahoo! AnswersBest Answer: Hi the IBM website has something that lets you open XFDL files. You need to pay or something to use it but i think if you search around u find ... Open Computer Files - Help & Tech Support for Opening and Viewing ...If you need help opening a mystery file format, contact us right now. We’re ... Contact us now and see! Contact us when you need to know how to open a TTF file and more. I cannot open Help that was created in the Windows Help format ...Resolve issues where you cannot open Help files (.hlp) that were created in Windows Help format on Windows 7 or Windows Vista. I need help opening these .rar files. - Amazon.com: Online ...Askville Question: I need help opening these .rar files. : Desktops & Laptops I need help to open a file.__ - Microsoft AnswersI have a ASPX file which I can;t open. Windows help said that I needed to ak the sender which programme I need to use, however I can't do that till Monday and I ... 7/25/2012 9:32:15 AM
|