Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 3rd, 2007, 07:34 PM
Authorized User
 
Join Date: Jun 2005
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to aldwinenriquez
Default Parameterized Smart Client Applications

How do I pass a parameter to a Smartclient application?

I managed to make it worked in a file system but after I deployed it as a smartclient app, it doesn't seem to get the parameters.

I saw one article wherein I have to create an aspx page and from there pass the parameter to the smartclient executable via query strings. Is there other way to do it without using a helper aspx page?

This is how I am to trying to accomplish this.

//ProcessStartInfo pInfo = new ProcessStartInfo(@"C:\Documents and Settings\username\Desktop\wiz\wizard.exe", "4");this one works
           ProcessStartInfo pInfo = new ProcessStartInfo(@"http://myserver/wizard/wizard.exe","1");

// ProcessStartInfo pInfo = new ProcessStartInfo(@"http://myserver/wizard/wizard.exe?1");

            Process.Start(pInfo);
            Console.WriteLine();
            Console.Read();

None of them seem to work.

"Dont you ever give up!"
__________________
\"Dont you ever give up!\"





Similar Threads
Thread Thread Starter Forum Replies Last Post
smart card reader on client using asp.net mkmustafa ASP.NET 2.0 Professional 3 July 4th, 2007 01:11 PM
cdn JSF be used in client/server java applications zaferaktan Java GUI 2 February 8th, 2005 05:49 PM
Client/Server applications Tasha Access VBA 2 August 3rd, 2004 02:28 AM
Smart client template solution ??? gicio General .NET 1 June 23rd, 2004 09:53 AM
Smart client in .Net Enterprise Development in C# bookworm_zju Wrox Book Feedback 0 February 17th, 2004 06:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.