Try

Set var vHelpFile = (ENVVAL('USERPROFILE') + '\My Documents')

Dennis McGrath

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Dennis Fleming
Sent: Tuesday, March 30, 2010 6:55 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Help on Help

Our customers have access to a context sensitive help file using the Help and 
Manual software (just like RBTI!). But Explorer doesn't let you read a help.CHM 
file off of a server or on the internet unless you explicitly change the 
registry for each user. And, most of our customers have restrictions on their 
PC where we can't put our help file in the \Windows\Help folder.

So, the right place seems to be in the user's documents folder.
On Windows XP, Vista, and 7, is the Documents folder always named "Documents"?
Or do we have a CVAL function for that folder name. I wanted to add code to our 
app start up file like the following:

vHelpfile = ("C:\users\" + (cval("userid")) + "\documents")

I'm assuming it should be userid and not netuser.

Thanks in advance,

Dennis
*****

Dennis Fleming
IISCO
www.TheBestCMMS.com<http://www.thebestcmms.com/>
Phone: 570 775-7593
Mobile: 570 351-5290

Reply via email to