Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Calling CHM Help File From a Form

 
   Database Help (Home) -> Paradox RSS
Next:  BDE on 64 bit Vista  
Author Message
edoropesa

External


Since: Aug 11, 2008
Posts: 1



(Msg. 1) Posted: Mon Aug 11, 2008 2:11 pm
Post subject: Calling CHM Help File From a Form
Archived from groups: comp>databases>paradox (more info?)

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!!

 >> Stay informed about: Calling CHM Help File From a Form 
Back to top
Login to vote
Egbert Babst1

External


Since: Aug 29, 2003
Posts: 36



(Msg. 2) Posted: Tue Aug 12, 2008 9:31 am
Post subject: Re: Calling CHM Help File From a Form [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

> 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!!
>

 >> Stay informed about: Calling CHM Help File From a Form 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
renaming a file - After I export a db file to a text file, I tried to rename it as a unique file. Since this process is going to happen every month, I would like to place the renaming process in a script. The script works until I try to rename it. The following is in..

Reading a paradox file - Hi all, I have a paradox file and I need to convert it into a word document. Is it possible ? If so can anyone tell me how to do it ?The paradox file itself is 4.5 MB.

Preventing a form from opening a second time - I have a form that assists me with programming tasks, and I would like to make sure it does not open a second time. Using a script, I am familiar with doing something like the following ( I am typing this off the top of head, so it is not syntax checked...

import a CSV file w/ First row of data as field names by p.. - I need to import a CSV comma delimited file which has First row of data as field names by program not interactive way. Pdox Win (v. 11) INTERACTIVE import has the check mark box for First row of data as field names. Unfortunately ObjectPAL..

write to paradox via web - I have a client that uses software developed in delphi. It uses paradox database files. Can these be written to from the web? I am familiar with php/mysql...is there a similar capability with delphi/paradox?
   Database Help (Home) -> Paradox All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]