dbTalk Databases Forums  

Calling CHM Help File From a Form

comp.databases.paradox comp.databases.paradox


Discuss Calling CHM Help File From a Form in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
edoropesa@gmail.com
 
Posts: n/a

Default Calling CHM Help File From a Form - 08-11-2008 , 04:11 PM






How do I do this?

I have no problem calling a .HLP file using the following:

method keyPhysical(var eventInfo KeyEvent)
var
theKey String
endvar
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
theKey = eventInfo.vChar() ; tell me what key was
pressed
if theKey = "VK_F2" then
disableDefault
helpShowIndex("R:\\Clients\\PDOXHLP.hlp")
endif
else
;// This code executes only for the form
endIf
endMethod

However, the HTML based help (which uses a .CHM file) is so much
better and does not work using the method above.

I've searched this usenet and found only one instance of this topic
but was unsuccessful in using the execute() command. Can someone help
by detailing how I can accomplish this?

Thank You!!

Reply With Quote
  #2  
Old   
Egbert Babst
 
Posts: n/a

Default Re: Calling CHM Help File From a Form - 08-12-2008 , 02:31 AM






Hi,
try this:
("stHilfePfad"=path to the help-file
"Relations1.chm"= the actual chm-file,
siID=index for the relevant chapter of the file)

Quote:
var
stHilfePfad String
endVar

stHilfePfad=getAliasPath("Work")+"\\Hilfe"

if siID>0 then
execute("hh.exe -mapid " + string(siID) + " " +
stHilfePfad+"\\Relations1.chm")
endIf
<<<
HTH
Egbert

<edoropesa (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:d7ec5ce5-9ec9-425c-9613-d4f7f35b86a7 (AT) m45g2000hsb (DOT) googlegroups.com...
Quote:
How do I do this?

I have no problem calling a .HLP file using the following:

method keyPhysical(var eventInfo KeyEvent)
var
theKey String
endvar
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
theKey = eventInfo.vChar() ; tell me what key was
pressed
if theKey = "VK_F2" then
disableDefault
helpShowIndex("R:\\Clients\\PDOXHLP.hlp")
endif
else
;// This code executes only for the form
endIf
endMethod

However, the HTML based help (which uses a .CHM file) is so much
better and does not work using the method above.

I've searched this usenet and found only one instance of this topic
but was unsuccessful in using the execute() command. Can someone help
by detailing how I can accomplish this?

Thank You!!



Reply With Quote
  #3  
Old   
Egbert Babst
 
Posts: n/a

Default Re: Calling CHM Help File From a Form - 08-12-2008 , 02:31 AM



Hi,
try this:
("stHilfePfad"=path to the help-file
"Relations1.chm"= the actual chm-file,
siID=index for the relevant chapter of the file)

Quote:
var
stHilfePfad String
endVar

stHilfePfad=getAliasPath("Work")+"\\Hilfe"

if siID>0 then
execute("hh.exe -mapid " + string(siID) + " " +
stHilfePfad+"\\Relations1.chm")
endIf
<<<
HTH
Egbert

<edoropesa (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:d7ec5ce5-9ec9-425c-9613-d4f7f35b86a7 (AT) m45g2000hsb (DOT) googlegroups.com...
Quote:
How do I do this?

I have no problem calling a .HLP file using the following:

method keyPhysical(var eventInfo KeyEvent)
var
theKey String
endvar
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
theKey = eventInfo.vChar() ; tell me what key was
pressed
if theKey = "VK_F2" then
disableDefault
helpShowIndex("R:\\Clients\\PDOXHLP.hlp")
endif
else
;// This code executes only for the form
endIf
endMethod

However, the HTML based help (which uses a .CHM file) is so much
better and does not work using the method above.

I've searched this usenet and found only one instance of this topic
but was unsuccessful in using the execute() command. Can someone help
by detailing how I can accomplish this?

Thank You!!



Reply With Quote
  #4  
Old   
Egbert Babst
 
Posts: n/a

Default Re: Calling CHM Help File From a Form - 08-12-2008 , 02:31 AM



Hi,
try this:
("stHilfePfad"=path to the help-file
"Relations1.chm"= the actual chm-file,
siID=index for the relevant chapter of the file)

Quote:
var
stHilfePfad String
endVar

stHilfePfad=getAliasPath("Work")+"\\Hilfe"

if siID>0 then
execute("hh.exe -mapid " + string(siID) + " " +
stHilfePfad+"\\Relations1.chm")
endIf
<<<
HTH
Egbert

<edoropesa (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:d7ec5ce5-9ec9-425c-9613-d4f7f35b86a7 (AT) m45g2000hsb (DOT) googlegroups.com...
Quote:
How do I do this?

I have no problem calling a .HLP file using the following:

method keyPhysical(var eventInfo KeyEvent)
var
theKey String
endvar
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
theKey = eventInfo.vChar() ; tell me what key was
pressed
if theKey = "VK_F2" then
disableDefault
helpShowIndex("R:\\Clients\\PDOXHLP.hlp")
endif
else
;// This code executes only for the form
endIf
endMethod

However, the HTML based help (which uses a .CHM file) is so much
better and does not work using the method above.

I've searched this usenet and found only one instance of this topic
but was unsuccessful in using the execute() command. Can someone help
by detailing how I can accomplish this?

Thank You!!



Reply With Quote
  #5  
Old   
Egbert Babst
 
Posts: n/a

Default Re: Calling CHM Help File From a Form - 08-12-2008 , 02:31 AM



Hi,
try this:
("stHilfePfad"=path to the help-file
"Relations1.chm"= the actual chm-file,
siID=index for the relevant chapter of the file)

Quote:
var
stHilfePfad String
endVar

stHilfePfad=getAliasPath("Work")+"\\Hilfe"

if siID>0 then
execute("hh.exe -mapid " + string(siID) + " " +
stHilfePfad+"\\Relations1.chm")
endIf
<<<
HTH
Egbert

<edoropesa (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:d7ec5ce5-9ec9-425c-9613-d4f7f35b86a7 (AT) m45g2000hsb (DOT) googlegroups.com...
Quote:
How do I do this?

I have no problem calling a .HLP file using the following:

method keyPhysical(var eventInfo KeyEvent)
var
theKey String
endvar
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
theKey = eventInfo.vChar() ; tell me what key was
pressed
if theKey = "VK_F2" then
disableDefault
helpShowIndex("R:\\Clients\\PDOXHLP.hlp")
endif
else
;// This code executes only for the form
endIf
endMethod

However, the HTML based help (which uses a .CHM file) is so much
better and does not work using the method above.

I've searched this usenet and found only one instance of this topic
but was unsuccessful in using the execute() command. Can someone help
by detailing how I can accomplish this?

Thank You!!



Reply With Quote
  #6  
Old   
Egbert Babst
 
Posts: n/a

Default Re: Calling CHM Help File From a Form - 08-12-2008 , 02:31 AM



Hi,
try this:
("stHilfePfad"=path to the help-file
"Relations1.chm"= the actual chm-file,
siID=index for the relevant chapter of the file)

Quote:
var
stHilfePfad String
endVar

stHilfePfad=getAliasPath("Work")+"\\Hilfe"

if siID>0 then
execute("hh.exe -mapid " + string(siID) + " " +
stHilfePfad+"\\Relations1.chm")
endIf
<<<
HTH
Egbert

<edoropesa (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:d7ec5ce5-9ec9-425c-9613-d4f7f35b86a7 (AT) m45g2000hsb (DOT) googlegroups.com...
Quote:
How do I do this?

I have no problem calling a .HLP file using the following:

method keyPhysical(var eventInfo KeyEvent)
var
theKey String
endvar
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
theKey = eventInfo.vChar() ; tell me what key was
pressed
if theKey = "VK_F2" then
disableDefault
helpShowIndex("R:\\Clients\\PDOXHLP.hlp")
endif
else
;// This code executes only for the form
endIf
endMethod

However, the HTML based help (which uses a .CHM file) is so much
better and does not work using the method above.

I've searched this usenet and found only one instance of this topic
but was unsuccessful in using the execute() command. Can someone help
by detailing how I can accomplish this?

Thank You!!



Reply With Quote
  #7  
Old   
Egbert Babst
 
Posts: n/a

Default Re: Calling CHM Help File From a Form - 08-12-2008 , 02:31 AM



Hi,
try this:
("stHilfePfad"=path to the help-file
"Relations1.chm"= the actual chm-file,
siID=index for the relevant chapter of the file)

Quote:
var
stHilfePfad String
endVar

stHilfePfad=getAliasPath("Work")+"\\Hilfe"

if siID>0 then
execute("hh.exe -mapid " + string(siID) + " " +
stHilfePfad+"\\Relations1.chm")
endIf
<<<
HTH
Egbert

<edoropesa (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:d7ec5ce5-9ec9-425c-9613-d4f7f35b86a7 (AT) m45g2000hsb (DOT) googlegroups.com...
Quote:
How do I do this?

I have no problem calling a .HLP file using the following:

method keyPhysical(var eventInfo KeyEvent)
var
theKey String
endvar
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
theKey = eventInfo.vChar() ; tell me what key was
pressed
if theKey = "VK_F2" then
disableDefault
helpShowIndex("R:\\Clients\\PDOXHLP.hlp")
endif
else
;// This code executes only for the form
endIf
endMethod

However, the HTML based help (which uses a .CHM file) is so much
better and does not work using the method above.

I've searched this usenet and found only one instance of this topic
but was unsuccessful in using the execute() command. Can someone help
by detailing how I can accomplish this?

Thank You!!



Reply With Quote
  #8  
Old   
Egbert Babst
 
Posts: n/a

Default Re: Calling CHM Help File From a Form - 08-12-2008 , 02:31 AM



Hi,
try this:
("stHilfePfad"=path to the help-file
"Relations1.chm"= the actual chm-file,
siID=index for the relevant chapter of the file)

Quote:
var
stHilfePfad String
endVar

stHilfePfad=getAliasPath("Work")+"\\Hilfe"

if siID>0 then
execute("hh.exe -mapid " + string(siID) + " " +
stHilfePfad+"\\Relations1.chm")
endIf
<<<
HTH
Egbert

<edoropesa (AT) gmail (DOT) com> schrieb im Newsbeitrag
news:d7ec5ce5-9ec9-425c-9613-d4f7f35b86a7 (AT) m45g2000hsb (DOT) googlegroups.com...
Quote:
How do I do this?

I have no problem calling a .HLP file using the following:

method keyPhysical(var eventInfo KeyEvent)
var
theKey String
endvar
if eventInfo.isPreFilter() then
;// This code executes for each object on the form
theKey = eventInfo.vChar() ; tell me what key was
pressed
if theKey = "VK_F2" then
disableDefault
helpShowIndex("R:\\Clients\\PDOXHLP.hlp")
endif
else
;// This code executes only for the form
endIf
endMethod

However, the HTML based help (which uses a .CHM file) is so much
better and does not work using the method above.

I've searched this usenet and found only one instance of this topic
but was unsuccessful in using the execute() command. Can someone help
by detailing how I can accomplish this?

Thank You!!



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.