1. Reading from the Windows registry
- Posted by Andrew Katz <Akatz712 at gmail.com> May 13, 2007
- 680 views
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)
2. Re: Reading from the Windows registry
- Posted by Guillermo Bonvehi <gbonvehi at gmail.com> May 13, 2007
- 659 views
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
3. Re: Reading from the Windows registry
- Posted by Andrew Katz <Akatz712 at gmail.com> May 13, 2007
- 649 views
Thanks for your help, but this link no longer works: http://www16.brinkster.com/davitf/ B.S. Computer Science, 1978 Rensselaer Polytechnic Institute (RPI)
4. Re: Reading from the Windows registry
- Posted by Robert Craig <rds at RapidEuphoria.com> May 13, 2007
- 644 views
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
5. Re: Reading from the Windows registry
- Posted by Juergen Luethje <j.lue at gmx.de> May 13, 2007
- 669 views
- Last edited May 14, 2007
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
6. Re: Reading from the Windows registry
- Posted by Robert Craig <rds at RapidEuphoria.com> May 13, 2007
- 646 views
- Last edited May 14, 2007
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
7. Re: Reading from the Windows registry
- Posted by Robert Craig <rds at RapidEuphoria.com> May 14, 2007
- 670 views
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
8. Re: Reading from the Windows registry
- Posted by CChris <christian.cuvier at agriculture.gouv.fr> May 14, 2007
- 622 views
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
9. Re: Reading from the Windows registry
- Posted by Robert Craig <rds at RapidEuphoria.com> May 14, 2007
- 666 views
- Last edited May 15, 2007
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
10. Re: Reading from the Windows registry
- Posted by Andrew Katz <Akatz712 at gmail.com> May 15, 2007
- 649 views
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)