Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 8th, 2005, 01:17 AM
Registered User
Join Date: Nov 2005
Location: Karachi, sind, Pakistan.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to pass data to user interface (.NET Setup)


I want to make a setup project, which take the following input parameters during setup
-server name
i hav don that, but now there's a bit issue, for the next version of my product i want to make a setup which gets the previously installed configuration (server name,userid,password) say from web.config, populate the user interface dialog boxes with the previously installed values, i searched the google but couldn't find ny thing related to it:(
I retreive the user interface dialog box values using the following syntax
string UserName = this.Context.Parameters["Username"];
but when i tried to assign using
in installer class's install method (override) it can't set the textbox value....
can any one help me in this regards, or propose me a good alternative solution??????
Thx in advance.


Reply With Quote
  #2 (permalink)  
Old November 8th, 2005, 06:01 PM
Jul Jul is offline
Registered User
Join Date: Nov 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Don't you have to say, that it is the Text property you want to set?
Something like that,if Parameters["Username"] is a Text Box.:


If you are using VS, it should be quite easy to figure out the possible attributes.

Hope it helps

Reply With Quote
  #3 (permalink)  
Old November 10th, 2005, 06:48 AM
Registered User
Join Date: Nov 2005
Location: Karachi, sind, Pakistan.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

jul the following syntax wont work, vs dont show Text attribute:(

Reply With Quote

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
how to pass data between asp.net forms hemanshubhojak ASP.NET 1.0 and 1.1 Professional 1 August 14th, 2005 12:27 AM
how to show user interface data in crystal report sanjay_jadam Crystal Reports 1 May 26th, 2005 02:25 AM
user interface Kasia Access VBA 6 March 14th, 2005 09:52 AM
Installation User Interface snowy0 VB.NET 2002/2003 Basics 0 October 8th, 2004 08:52 PM

All times are GMT -4. The time now is 11:58 AM.

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