Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 3rd, 2007, 07:34 PM
Authorized User
 
Join Date: Jun 2005
Location: , , Philippines.
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!\"
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:28 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.