Setting a file type as your programs own.

Hello. I am making a programming engine that requires a file to load off of the startup. Example, Notepad owns the *.txt file usually, and it does whenever it is installed. And whenever you double click on a *.txt file, it opens in Notepad. So if you know how to do this, please post.

[292 byte] By [optifront] at [2007-12-16]
# 1
Hi,

There is a clear explanation of this with a code sample as well here:
http://vbnet.mvps.org/index.html?code/reg/association.htm

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 2

Ok I think there is an error in the tutorial.

sValue = vValue & Chr$(0)

Type character '$' does not match declared data type 'Char'
If I get rid of the $ then it doesn't even work.

Please give a solution.

optifront at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 3
Hi,

Ready to use VB.NET code with a help file: Download from here:
http://www.mentalis.org/soft/class.qpx?id=5

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic Language...