jgore
asked on
Registry? Want to add my Prog to Win95!
I have written an encryption/decryption program (hasn't everyone?).
I want to add it to Win95 so that when the User clicks on a file of a certain type it will bring up MY program!
It should call my Program with a command line statement saying what file the User has clicked.
Kinda like clicking on a zip and WinZip pops up! How do I do this?
Using VB5 Enterprise Edition
I want to add it to Win95 so that when the User clicks on a file of a certain type it will bring up MY program!
It should call my Program with a command line statement saying what file the User has clicked.
Kinda like clicking on a zip and WinZip pops up! How do I do this?
Using VB5 Enterprise Edition
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK, I checked it out and it looks good.
One question though:
I can edit my own Registry and make those changes,but I
can't ask the Users of my program to do that.
I have some VB code to edit the registry, but I hate using it.
Do you think it would work if I just copied that part of my registry and saved it
as "test.reg" and then have user click on it? Perhaps I could even shell to it!
I've seen something like that before. Would Win95 then absorb it?
It would save a lot of code!
One question though:
I can edit my own Registry and make those changes,but I
can't ask the Users of my program to do that.
I have some VB code to edit the registry, but I hate using it.
Do you think it would work if I just copied that part of my registry and saved it
as "test.reg" and then have user click on it? Perhaps I could even shell to it!
I've seen something like that before. Would Win95 then absorb it?
It would save a lot of code!
jgore,
The link that I mentioned in my comment contained the code example to do this. Please let me know if you don't get it.
By the way, if you really want to export the registry setting and save to a .reg file(eg. test.reg). You could use
Shell("Regedit.exe test.reg",1) to import the registry file. The traditional way is using registry api to insert those registry setting and the code example existed in MS kb that I mention.
Regards.
The link that I mentioned in my comment contained the code example to do this. Please let me know if you don't get it.
By the way, if you really want to export the registry setting and save to a .reg file(eg. test.reg). You could use
Shell("Regedit.exe test.reg",1) to import the registry file. The traditional way is using registry api to insert those registry setting and the code example existed in MS kb that I mention.
Regards.
http://support.microsoft.com/support/kb/articles/q185/4/53.asp