Click here to Skip to main content
15,895,606 members
Home / Discussions / C#
   

C#

 
QuestionHow to declare an Array of Pens? Pin
...---...9-Sep-05 6:59
...---...9-Sep-05 6:59 
AnswerRe: How to declare an Array of Pens? Pin
Andy Moore9-Sep-05 7:27
Andy Moore9-Sep-05 7:27 
GeneralRe: How to declare an Array of Pens? Pin
...---...9-Sep-05 7:33
...---...9-Sep-05 7:33 
QuestionDataBinding statusBarPanel Pin
rich_wenger9-Sep-05 6:03
rich_wenger9-Sep-05 6:03 
AnswerRe: DataBinding statusBarPanel Pin
miah alom9-Sep-05 8:24
miah alom9-Sep-05 8:24 
GeneralRe: DataBinding statusBarPanel Pin
rich_wenger9-Sep-05 14:12
rich_wenger9-Sep-05 14:12 
QuestionDialog in deployment project (any tutorials?) Pin
BlackDice9-Sep-05 4:09
BlackDice9-Sep-05 4:09 
AnswerRe: Dialog in deployment project (any tutorials?) Pin
Susan Hernandez9-Sep-05 13:05
Susan Hernandez9-Sep-05 13:05 
BlackDice wrote:
I've added a dialog to prompt the user to enter a server name.

Have you done this via adding a "Textboxes" user interface window to the User Interface screen? If so, go to the properties window and you will see, in addition to BannerBitmap, BannerText, and BodyText, 4 possible edit values.

Each of the 4 edit values have a label, a property name (use this to then retrieve the input at a later time), and a boolean visible. You can make 3 of them invisible if you only need the first one. You will notice in Edit1Property, the default value is "EDITA1"

So for instance, if you are wanting to do something with the server name during the "Install" phase, you would do the following:

(1) Add a class library to your setup project's solution;
(2) Mark that class as an installer project through an attribute (MSFT[^])
(3) Open the Custom Actions editor window, and right-click on Install
(4) Add your output for your class library
(5) Get the Properties for that new entry under Install, and look at the CustomActionData field.
(6) Add a string to pass in such as /f1=[EDITA1]

Back in the class...
(7) Override the Install method
(7a) Call base.Install()
(7b) Call Context.Parameters["f1"] to get the value

That may not be completely accurate, but may give you more stuff to search for on google.
GeneralRe: Dialog in deployment project (any tutorials?) Pin
BlackDice12-Sep-05 3:36
BlackDice12-Sep-05 3:36 
GeneralRe: Dialog in deployment project (any tutorials?) Pin
Susan Hernandez12-Sep-05 6:49
Susan Hernandez12-Sep-05 6:49 
GeneralRe: Dialog in deployment project (any tutorials?) Pin
BlackDice12-Sep-05 6:53
BlackDice12-Sep-05 6:53 
GeneralRe: Dialog in deployment project (any tutorials?) Pin
BlackDice12-Sep-05 7:04
BlackDice12-Sep-05 7:04 
GeneralRe: Dialog in deployment project (any tutorials?) Pin
Susan Hernandez12-Sep-05 7:12
Susan Hernandez12-Sep-05 7:12 
QuestionArrayList Pin
Agyeman9-Sep-05 3:56
Agyeman9-Sep-05 3:56 
AnswerRe: ArrayList Pin
miah alom9-Sep-05 4:07
miah alom9-Sep-05 4:07 
AnswerRe: ArrayList Pin
brunoconde9-Sep-05 4:10
brunoconde9-Sep-05 4:10 
GeneralRe: ArrayList Pin
Guffa9-Sep-05 4:20
Guffa9-Sep-05 4:20 
GeneralRe: ArrayList Pin
miah alom9-Sep-05 4:32
miah alom9-Sep-05 4:32 
GeneralRe: ArrayList Pin
Judah Gabriel Himango9-Sep-05 4:57
sponsorJudah Gabriel Himango9-Sep-05 4:57 
GeneralRe: ArrayList Pin
Daniel Turini9-Sep-05 11:05
Daniel Turini9-Sep-05 11:05 
AnswerRe: ArrayList Pin
Guffa9-Sep-05 4:12
Guffa9-Sep-05 4:12 
QuestionThread Safe or not ... Pin
brunoconde9-Sep-05 3:37
brunoconde9-Sep-05 3:37 
AnswerRe: Thread Safe or not ... Pin
Dave Kreskowiak9-Sep-05 4:42
mveDave Kreskowiak9-Sep-05 4:42 
AnswerRe: Thread Safe or not ... Pin
S. Senthil Kumar9-Sep-05 4:52
S. Senthil Kumar9-Sep-05 4:52 
AnswerRe: Thread Safe or not ... Pin
Judah Gabriel Himango9-Sep-05 4:57
sponsorJudah Gabriel Himango9-Sep-05 4:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.