Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > parsing paramaters to the click clickonce .Net 2.0 framework from a network share
 

parsing paramaters to the click clickonce .Net 2.0 framework from a network share

Hello,

i created a clickonce application that is deployed on the networksharing not on a webserver.I'm trying to parsedparametersto the clickonce applicationbut i can't figure out what i'm doing wrong.I created a entry in the registry under:

RegistryKey regCmd = Registry.ClassesRoot.OpenSubKey("\\MyExtension\\shell\\open\\command", true);

regCmd.SetValue(

"", "explorer \"" +file://server/share/ExportToDBF.application+ "\" \"%1\"");

regKey.Close();

When i double click in windows exploreron my an file type that i register which must be parsed to the application i get a error following: Error image

Greetings,

Sander

Sanderb  Thursday, March 05, 2009 9:22 AM

Hi Sanderb,

I can't see the Error image from the link you provided. Would you please check it out?

Besides, please let me know what you want to achieve.


Best regards,
Bruce Zhou


Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Monday, March 09, 2009 10:20 AM
Are you trying to opena ClickOnce application and pass in information? Is that what you are trying to do?

If so, this should be useful:
How to retrieve query string information
http://msdn.microsoft.com/en-us/library/ms172242(VS.80).aspx

I don't think you can use this, however, unless you are deploying from a webserver and the user is installing with http.

Or are you trying to make it so you can double-click on a file, and open it with the application and have the application be able to get the file name? If that is the case, it only works (AFAIK) with .Net 3.5 SP-1. If you are using that version of the Framework, and this is what you are trying to do, post back and I'll give you the code for picking up the file name.

RobinS.
GoldMail.com

Ts'i mahnu uterna ot twan ot geifur hingts uto.
RobinDotNet  Monday, March 09, 2009 11:05 PM
We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post editor window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Friday, March 13, 2009 8:40 AM

You can use google to search for other answers

Custom Search

More Threads

• Click once Installation fails does not work for some users?
• exclude office.dll from application files, but still in manifest
• Click once application deployed in Shared folder for Disconnected
• ClickOnce Blue Screen of Death
• localization on clickOnce
• VS2008 deployment project: J# condition
• Making Visual J# a prerequisite in Visual Studio 2008 Clickonce App?
• Windows Installer Programs Folder
• ERROR: Could not find file 'FileName' 'Not enough storage is available to complete this operation.'
• creating the setup bootstrapper per install