Open a file with my app (VB.NET)

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
conthox
Forum Commoner
Posts: 39
Joined: Tue Jun 25, 2002 1:44 pm
Location: Sweden

Open a file with my app (VB.NET)

Post by conthox »

Hello

I wonder how to do this:

When I dbl click at a file in Windows Explorer, say test.txt, how do I send the file to my application? I want my application to open the file and load its content in a RichtextBox.

How is the file info sent to the program, and how do I catch it in the code?

Thanx
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

The good thing with .Net is that you have MSDN. Hit F1 for all of your help. Also, if you have a pirated version and no MSDN, go to http://msdn.microsoft.com
conthox
Forum Commoner
Posts: 39
Joined: Tue Jun 25, 2002 1:44 pm
Location: Sweden

Post by conthox »

Ok,.. I'll check the MSDN and help files once more.. I couldn't find it last time, but I'll try again.

//edit

I found it in another forum.
Post Reply