views:

48

answers:

2

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.

A: 
textboxname.Text = "whateveryouwant";

This?

Wildhorn
No. The problem is to do that in a Textbox inside a Interface Dialog in a Visual Studio Setup project.
Paulo
A: 

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

Tergiver
That actually does the trick, but what I need is to set Edit1Value programatically with C#
Paulo
I didn't know it was possible to add any code to a VS Setup Project.
Tergiver