I want to associate my program with a .text file so that when I double click on the file it reads the contents of my application into the VB.net application. Can someone help me with a code sample to just read the file when the text file is opened?
I think what you want to do is to create a file associate with your extension and in your program, accepts the filename as a parameter then use a stream reader to read the data.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.