Click here to Skip to main content
15,881,843 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: hai Pin
Colin Angus Mackay15-Feb-07 4:31
Colin Angus Mackay15-Feb-07 4:31 
AnswerRe: hai Pin
Marcus J. Smith15-Feb-07 4:46
professionalMarcus J. Smith15-Feb-07 4:46 
QuestionString length problem Pin
penguin500015-Feb-07 2:29
penguin500015-Feb-07 2:29 
AnswerRe: String length problem Pin
Tamimi - Code15-Feb-07 3:49
Tamimi - Code15-Feb-07 3:49 
GeneralRe: String length problem Pin
penguin500015-Feb-07 23:25
penguin500015-Feb-07 23:25 
Questionsecond form Pin
KOKEMO15-Feb-07 1:47
KOKEMO15-Feb-07 1:47 
AnswerRe: second form Pin
Marcus J. Smith15-Feb-07 2:13
professionalMarcus J. Smith15-Feb-07 2:13 
AnswerRe: second form Pin
jim_taylor16-Feb-07 10:21
jim_taylor16-Feb-07 10:21 
The best way is to use properties to pass stuff back and forth, but you don't have to restrict yourself to properties you define. For instance, if you want to collect a chunk of text in the second form, you can code something like this, assuming you have a text box on the second form:

    <br />
    Dim MyString as string<br />
    Dim dlg as new FormTwo<br />
    Dim result as DialogResult<br />
<br />
    dlg.TextBox1.text = "Default Value"<br />
    result = dlg.ShowDialog()<br />
    If result = DialogResult.OK Then<br />
        MyString = dlg.TextBox1.text<br />
    Else<br />
        ' Some kind of error handling code<br />
    End If<br />


JimT
QuestionNeed Help while deployment ...Anyone please help me. Pin
Member 371873315-Feb-07 0:32
Member 371873315-Feb-07 0:32 
AnswerRe: Need Help while deployment ...Anyone please help me. Pin
nlindley715-Feb-07 6:04
nlindley715-Feb-07 6:04 
QuestionValidating characters Pin
Mark0614-Feb-07 23:50
Mark0614-Feb-07 23:50 
AnswerRe: Validating characters Pin
KeithF15-Feb-07 0:09
KeithF15-Feb-07 0:09 
QuestionDynamic compilation Pin
JCSillero14-Feb-07 21:53
professionalJCSillero14-Feb-07 21:53 
AnswerRe: Dynamic compilation Pin
Dave Kreskowiak15-Feb-07 13:00
mveDave Kreskowiak15-Feb-07 13:00 
GeneralRe: Dynamic compilation Pin
JCSillero15-Feb-07 18:56
professionalJCSillero15-Feb-07 18:56 
QuestionHow 2 Fix the Form Size in Vb.Net? Pin
Parameswar Mal14-Feb-07 21:38
Parameswar Mal14-Feb-07 21:38 
AnswerRe: How 2 Fix the Form Size in Vb.Net? Pin
Ankur.Bakliwal14-Feb-07 23:48
Ankur.Bakliwal14-Feb-07 23:48 
QuestionHow to increase the Field Size in Access2003 Pin
somagunasekaran14-Feb-07 19:38
somagunasekaran14-Feb-07 19:38 
AnswerRe: How to increase the Field Size in Access2003 Pin
KeithF14-Feb-07 22:44
KeithF14-Feb-07 22:44 
QuestionProblem while deployment of Application having Crystal Report Pin
priya_p23314-Feb-07 19:12
priya_p23314-Feb-07 19:12 
QuestionAdd Checkbox to DataGridView at code behind. Pin
cheeken2u14-Feb-07 19:01
cheeken2u14-Feb-07 19:01 
AnswerRe: Add Checkbox to DataGridView at code behind. Pin
Marcus J. Smith15-Feb-07 2:06
professionalMarcus J. Smith15-Feb-07 2:06 
QuestionRe: Add Checkbox to DataGridView at code behind. Pin
priya_p23315-Feb-07 18:24
priya_p23315-Feb-07 18:24 
AnswerRe: Add Checkbox to DataGridView at code behind. Pin
Marcus J. Smith19-Feb-07 2:43
professionalMarcus J. Smith19-Feb-07 2:43 
QuestionBinding datagrid to collection class Pin
jazzyjboombox14-Feb-07 17:51
jazzyjboombox14-Feb-07 17:51 

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.