Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2007

Tip: Looking for answers? Try searching our database.

Click-Once w/ parms not passing into app

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CSharpner - 06 Jun 2007 14:24 GMT
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?
Chris Mullins [MVP] - 07 Jun 2007 02:39 GMT
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... )

Signature

Chris Mullins, MCSD.NET, MCPD:Enterprise, Microsoft C# MVP
http://www.coversant.com/blogs/cmullins

> Problem:
> I've created a click-once deployed application that cannot receive
[quoted text clipped - 12 lines]
>
> Has anyone ever gotten this to work?
CSharpner - 07 Jun 2007 13:17 GMT
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.

> I had the same problem some time ago - I never was able to get it to work.
>
[quoted text clipped - 29 lines]
>
> - Show quoted text -
CSharpner - 21 Jun 2007 02:18 GMT
Anyone from MSFT??

> Thanks Chris.
>
[quoted text clipped - 44 lines]
>
> - Show quoted text -
RobinS - 11 Jul 2007 05:42 GMT
MSFT only answers q's here if you be payin' for it via some kind of support
contract. Just FYI.

Robin S.
----------------------------
> Anyone from MSFT??
>
[quoted text clipped - 53 lines]
>>
>> - Show quoted text -
CSharpner - 17 Jul 2007 17:41 GMT
Well, after openning a support incident with M$, I finally resolved it
myself (and quickly closed the support incident so I didn't lose one
of my 4 available).

I posted it on my blog.
http://csharpner.blogspot.com/2007/07/click-once-deployed-winforms-receiving.html

Hope this helps!

> I had the same problem some time ago - I never was able to get it to work.
>
[quoted text clipped - 29 lines]
>
> - Show quoted text -
Chris Mullins [MVP] - 17 Jul 2007 18:20 GMT
Thanks for taking the time to write that up. Hopefully other people (like
me!) will find it useful.

Signature

Chris Mullins, MCSD.NET, MCPD:Enterprise, Microsoft C# MVP
http://www.coversant.com/blogs/cmullins

> Well, after openning a support incident with M$, I finally resolved it
> myself (and quickly closed the support incident so I didn't lose one
[quoted text clipped - 43 lines]
>>
>> - Show quoted text -
CSharpner - 19 Jul 2007 15:46 GMT
You're not the same Chris Mullins that went to NDHS in Chattanooga are
you?

> Thanks for taking the time to write that up. Hopefully other people (like
> me!) will find it useful.
[quoted text clipped - 55 lines]
>
> - Show quoted text -
Chris Mullins [MVP] - 19 Jul 2007 19:15 GMT
Nope. CHS in Cheshire, CT.  (waaay back when)

Signature

Chris Mullins, MCSD.NET, MCPD:Enterprise, Microsoft C# MVP
http://www.coversant.com/blogs/cmullins

> You're not the same Chris Mullins that went to NDHS in Chattanooga are
> you?
[quoted text clipped - 63 lines]
>>
>> - Show quoted text -
CSharpner - 17 Jul 2007 21:04 GMT
I finally got it working!!!

I posted the solution on my blog:
http://csharpner.blogspot.com/2007/07/click-once-deployed-winforms-receiving.html

> I had the same problem some time ago - I never was able to get it to work.
>
[quoted text clipped - 29 lines]
>
> - Show quoted text -

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.