Click-Once w/ parms not passing into app

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?
 
C

Chris Mullins [MVP]

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... )
 
C

CSharpner

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.
 
C

CSharpner

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 -
 
R

RobinS

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

Robin S.
----------------------------
 
C

Chris Mullins [MVP]

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top