1. Reading from the Windows registry

Has anyone written a program which reads from the Windows registry?

In particular, I would like to know what the default program is for opening
files of certain types, like a .html file. Some users may have IE as default and
others firefox, for example.

If the registry is not where to look for this, let me know.

Andy Katz

B.S. Computer Science, 1978
Rensselaer Polytechnic Institute (RPI)

new topic     » topic index » view message » categorize

2. Re: Reading from the Windows registry

Answering your question, Davi Figueiredo made a library to handle registry long
time ago:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?win=on&keywords=registry

AFAIK, you can associate files in three parts of the registry:
HKEY_CLASSES_ROOT
HKEY_LOCAL_MACHINE\Software\Classes
HKEY_CURRENT_USER\Software\Classes

I don't know which one will be read first, I guess CURRENT_USER, but at least
you know what to search for now :)

Best Regards,
    Guillermo Bonvehi

new topic     » goto parent     » topic index » view message » categorize

3. Re: Reading from the Windows registry

Thanks for your help, but this link no longer works:
http://www16.brinkster.com/davitf/

B.S. Computer Science, 1978
Rensselaer Polytechnic Institute (RPI)

new topic     » goto parent     » topic index » view message » categorize

4. Re: Reading from the Windows registry

Andrew Katz wrote:
> Thanks for your help, but this link no longer works:
> <a
> href="http://www16.brinkster.com/davitf/">http://www16.brinkster.com/davitf/</a>

I have a copy of Davi's 1999 June 5th
registry read/write .zip on my disk.
I uploaded it just now, and changed his entry to link to:

   http://www.rapideuphoria.com/reg.zip

He has 5 other entries with links to brinkster.
If anyone has any of those files, 
I can upload them to RapidEuphoria.com 
and change his archive entries.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

5. Re: Reading from the Windows registry

Robert Craig wrote:

> Andrew Katz wrote:
>> Thanks for your help, but this link no longer works:
>> <a
>> href="http://www16.brinkster.com/davitf/">http://www16.brinkster.com/davitf/</a>
> 
> I have a copy of Davi's 1999 June 5th
> registry read/write .zip on my disk.
> I uploaded it just now, and changed his entry to link to:
> 
>    http://www.rapideuphoria.com/reg.zip
> 
> He has 5 other entries with links to brinkster.
> If anyone has any of those files, 
> I can upload them to RapidEuphoria.com 
> and change his archive entries.

I've found "reg.zip" version 1.2, dated November 2002, on my disk.
Please copy it from
   <http://luethje.eu/temp/reg.zip>

Regards,
   Juergen

new topic     » goto parent     » topic index » view message » categorize

6. Re: Reading from the Windows registry

Juergen Luethje wrote:
> I've found "reg.zip" version 1.2, dated November 2002, on my disk.
> Please copy it from
>    <<a
>    href="http://luethje.eu/temp/reg.zip">http://luethje.eu/temp/reg.zip</a>>

Thanks.
His entry is now updated to November 30, 2002, v1.2.
(If you accessed reg.zip earlier today, be careful
that your browser does not give you his old v1.0 .zip
from its cache.)

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

7. Re: Reading from the Windows registry

Robert Craig wrote:
> He has 5 other entries with links to brinkster.
> If anyone has any of those files, 
> I can upload them to RapidEuphoria.com 
> and change his archive entries.

We are just missing 3 of his files now.
GZIP, Arcfour and Screen Savers:

http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=Figueiredo

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

8. Re: Reading from the Windows registry

Robert Craig wrote:
> 
> Robert Craig wrote:
> > He has 5 other entries with links to brinkster.
> > If anyone has any of those files, 
> > I can upload them to RapidEuphoria.com 
> > and change his archive entries.
> 
> We are just missing 3 of his files now.
> GZIP, Arcfour and Screen Savers:
> 
>   <a
>   href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=Figueiredo">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=Figueiredo</a>
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>

The arcfour file could be recreated without too much pain. I got the C source
for it, and porting it appears almost trivial. But slower, of course.

CChris

new topic     » goto parent     » topic index » view message » categorize

9. Re: Reading from the Windows registry

CChris wrote:
> 
> Robert Craig wrote:
> > 
> > Robert Craig wrote:
> > > He has 5 other entries with links to brinkster.
> > > If anyone has any of those files, 
> > > I can upload them to RapidEuphoria.com 
> > > and change his archive entries.
> > 
> > We are just missing 3 of his files now.
> > GZIP, Arcfour and Screen Savers:
> 
> The arcfour file could be recreated without too much pain. I got the C source
> for it, and porting it appears almost trivial. But slower, of course.

That's OK, I have it now.
We have recovered 5 out of Davi's 6 entries.
Just his screen savers are missing.

http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=Figueiredo

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

10. Re: Reading from the Windows registry

I was sitting around thinking that what I want to do is basic to almost all
professional Windows applications, and I doubt whether they mess with reading the
registry. And I was correct. I found out that what I need to do is so simple.
This is the code I need to add to a help button (or whatever UI):

shellExecute("open", "help.htm", SW_SHOWNORMAL)


But it seems as if I inadvertently helped bring back long ago contributions from
Davi.

Andy Katz
B.S. Computer Science, 1978
Rensselaer Polytechnic Institute (RPI)

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu