Scratch that, I can create the object using registry.vcx but now it errors out at:
nErrNum = oReg.GetAppPath(m.cExtn,@cAppKey,@cAppName)
because I have not set cAppKey. What value gets assigned to that variable? I do not know what the appkey is...
I'm testing it. I have registry.prg in the same directory, but it errors on this line:
oReg = CREATEOBJECT("FileReg")
Where is the class definition for filereg? I do not have one in my registry.prg
>sFilePath is path of the file to open... "C:\MyFiles\Tracy.pdf".
>Well, the códe find Acrobat Reader file EXE in the Registry. This is make ShellExecute.
>And then the códe concatenate the path of Acrobat with your File Name.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"