Windows Develop Bookmark and Share   
 index > Windows Forms General > Working with the Shell
 

Working with the Shell

I have a VB.NET application.  I have a proprietary file extension that is associated with my application.  I have registered the file extension in windows.  I know how to register it.  When a user opens the file from the shell (explorer)  My appliation opens, but nothing happens.  

In file associations the open command looks like this
"C:\Program Files\foldername\Unplugged.exe" "%1"

I have learned that the file name of what was opened is passed as the %1  

How do I get that value(%1) from the shell.  I have looked around everywhere and all I can find is how I register the file name programatically.  I can do that I just want to know what file was double clicked.

Any help will be greatly appreciated.

Thanks.
MigrationUser 1  Monday, February 14, 2005 5:02 PM
I was able to figure out a lot on this subject with the following article.

<a href="http://www.devx.com/dotnet/Article/7914/1954?pf=true">http://www.devx.com/dotnet/Article/7914/1954?pf=true</a>

Good Luck!
MigrationUser 1  Monday, February 14, 2005 7:37 PM

You can use google to search for other answers

Custom Search

More Threads

• Repeating Objects List on a winform
• GetFocus on TextBox
• MDI ToolStripManager Multiple ToolStrips Merge
• ListBox and Drag&Drop
• Load tab on demand?
• problem to show hirarical data in TreeView.
• tabpages issue
• How to set parent/child relationship between old frame and new form
• Control for docked "flyout" (unpinned) panels?
• Stored Procedure