Paulo
Paulo

Reputation: 619

Change textbox value programatically on Visual Studio Setup project

I'm developing a Setup project using Visual Stual Studio 2008 using language C#. I added a Dialog with 4 textboxes to allow the users to provide some needed information. Is there any way to fill the value of one of the textboxes programatically, and the user only validate is it's correct and changes it if necessary.

Upvotes: 2

Views: 1954

Answers (3)

praveen p
praveen p

Reputation: 1

You can use an installer class for coding for installation (see this link). However, I don't know how to dynamically set the text box's value.

Upvotes: 0

Tergiver
Tergiver

Reputation: 14517

Open the properties page on the dialog and change Edit1Value, Edit2Value, Edit3Value, or Edit4Value from nothing to something.

Upvotes: 1

Wildhorn
Wildhorn

Reputation: 932

textboxname.Text = "whateveryouwant";

This?

Upvotes: 0

Related Questions