Reading Windows Registry
Hi.
Here is the scenario:a file called needs to be opened. We want to
open it using the program windows has associated with it (ie Microsoft
Word). We tried the following code:
task.part.OperatingSystem.RunCommand(
command = 'C:\\MSOffice\\Winword\\WINWORD.EXE
C:\\windows\\desktop\\psgsyb.txt',IsSynchronous = FALSE);
This code accomplished what we wanted it to for a file where we know the
associated program we want to use. Now we want to be able to use
similar code to open any file dynamically. Therefore we need a way to
determine what the associated program file is that needs to be executed
to run the requested file and where the associated file can be found.
We know this information is stored in the windows registry but we don't
know exactly where or what the best way to read the registry is. Any
suggestions?Has anyone been able to do this type of processing some
other way?
Thanks,
Michelle Leber
Software Developer
Metrix,Inc
(414) 798-8560x1196
<a href=
"MailTo:michellel@metrix-inc.com">MailTo:michellel@metrix-inc.com</a>
<a href="http://www.metrix-inc.com">http://www.metrix-inc.com</a>
I just got lost in thought...it was unfamiliar territory... :)

