Click-Once w/ parms not passing into app

  • Thread starter Thread starter CSharpner
  • Start date Start date
C

CSharpner

Problem:
I've created a click-once deployed application that cannot receive
paramters from the query string in the URL of the click once page.

I've followed this to the letter:
http://msdn2.microsoft.com/en-us/library/ms172242(VS.80).aspx

My query string is always blank. Here's my actual URL:

http://MyMachine/MyApplication/publish.htm?test=something

The application starts up just fine, it's just that
ApplicationDeployment.CurrentDeployment.ActivationUri.Query is always
blank.

Has anyone ever gotten this to work?
 
I had the same problem some time ago - I never was able to get it to work.

I didn't try to hard to fix it, as it was a "would be nice if it's easy and
quick" feature, so we went ahead and just shipped without it.

I'm just chiming in here as a "Me too" voice, and hoping someone has a good
answer.

(As an aside, I've doing Silverlight work all day today - Ugh. I forgot how
vast the difference is between Alpha, Beta, and Production grade products
really is... )
 
Thanks Chris.

I'm hoping I'll get an answer from MS sometime soon. I'll have to do
something funky as a workaround otherwise, like write to a table with
the user id and his parms from a web app that sends the user to the
click once page, then have the desktop app read the table to get the
parms. I'd hate to have to do that when there's already a built-in
way.
 
Anyone from MSFT??

Thanks Chris.

I'm hoping I'll get an answer from MS sometime soon. I'll have to do
something funky as a workaround otherwise, like write to a table with
the user id and his parms from a web app that sends the user to the
click once page, then have the desktop app read the table to get the
parms. I'd hate to have to do that when there's already a built-in
way.







- Show quoted text -
 
MSFT only answers q's here if you be payin' for it via some kind of support
contract. Just FYI.

Robin S.
----------------------------
 
Thanks for taking the time to write that up. Hopefully other people (like
me!) will find it useful.
 
Back
Top