Calling CHM Help File From a Form

This is a discussion on Calling CHM Help File From a Form within the Paradox Database forums in Other Databases category; 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 ...

Go Back   Database Forum > Other Databases > Paradox Database

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-11-2008, 06:11 PM
Default Calling CHM Help File From a Form

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 08-12-2008, 04:31 AM
Default Re: Calling CHM Help File From a Form

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

>>>

var
stHilfePfad String
endVar

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

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

schrieb im Newsbeitrag
news:d7ec5ce5-9ec9-425c-9613-d4f7f35b86a7-at-m45g2000hsb.googlegroups.com...
> 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



All times are GMT -4. The time now is 02:34 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.