File Extensions & Associations
Hi,
One of my self-written Programs stores data in files with a own extension.
I want to make a association, so that I only have to double click on the data file and it is open with my application.
I know how to do this in windows, but i want want my program to check, if theres an association with this file type, and if not, ask, if he should create one (and then do this)
But I don't know
a) how to check an association
b) how to create an association
(with visual baisc)
thx,
Tom
Re: File Extensions & Associations
You will find all answers here:
http://www.mvps.org/vbnet/code/syste...executable.htm
http://www.mvps.org/vbnet/code/reg/r...sociations.htm
http://www.mvps.org/vbnet/code/reg/association.htm
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.