Shadow_x21
You Know How Certain Extensions Open With Certain Programs.
For Example Word Doocument(.docx) Opens With Word Automatically.
I Want To Know How To Make An Extension Open With My Program.
Also How Do You Open A File And Put It's Contents(Text) Into My Program.
I Created A Program In VB.net With A Textbox Then Chose For Text Files(went To The Properties)
To Open Up With My Program But The Text Didn't Show Up In My Textbox.
How Would You Do This...Please Help or Give Suggestions or Sites
Thanks...
Shadow_x21
Startup An Extension With My ProgramHow To...
Page 1 of 1
2 Replies - 981 Views - Last Post: 11 November 2008 - 06:47 AM
Replies To: Startup An Extension With My Program
#2
Re: Startup An Extension With My Program
Posted 10 November 2008 - 11:39 PM
You need to do two things to achieve this:
- Enable your program to take in command-line arguments where the first parameter would be the name of the file that is supposed to be opened in your app.
- Start Windows Explorer. Click Tools->Folder Options Menu and then choose the File Types Tab. You should be able to see this window now.

Click New to add your extension to the list and then click Change and select your program to link the extension with your program.
Click OK and you're all set.
Try double-clicking on the file. It should open with your program now.
#3
Re: Startup An Extension With My Program
Posted 11 November 2008 - 06:47 AM
read this this might help you out here
http://www.dreaminco...ile+association
but you need Visual studio.
http://www.dreaminco...ile+association
but you need Visual studio.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|