Click here to Skip to main content
15,923,015 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Are there no VB.NET programmers on CP? Pin
Ray Cassick26-Nov-02 7:03
Ray Cassick26-Nov-02 7:03 
GeneralRe: Are there no VB.NET programmers on CP? Pin
leppie26-Nov-02 9:43
leppie26-Nov-02 9:43 
GeneralRe: Are there no VB.NET programmers on CP? Pin
Steven Lyons26-Nov-02 10:20
Steven Lyons26-Nov-02 10:20 
GeneralRe: Are there no VB.NET programmers on CP? Pin
Ray Cassick26-Nov-02 10:58
Ray Cassick26-Nov-02 10:58 
GeneralRe: Are there no VB.NET programmers on CP? Pin
leppie26-Nov-02 11:08
leppie26-Nov-02 11:08 
QuestionWhy does the process not end? Pin
Fredrik Skog25-Nov-02 0:21
Fredrik Skog25-Nov-02 0:21 
AnswerRe: Why does the process not end? Pin
Ray Cassick25-Nov-02 7:00
Ray Cassick25-Nov-02 7:00 
GeneralRe: Why does the process not end? Pin
Fredrik Skog25-Nov-02 21:06
Fredrik Skog25-Nov-02 21:06 
Ah, there is a form that is hidden (frmComSelect in the code below). But how do I close it? I have a hard time finding anything useful in MSDN.
The app is designed like this:
First a window is displayed prompting the user to make a selection.
Thereafter, the main window is displayed.

Private Sub Command1_Click()
 If (optCom1(0).Value = True) Then
        PortNum = 1     
    ElseIf (optCom1(1).Value = True) Then
        PortNum = 2
            ElseIf (optCom1(2).Value = True) Then
        PortNum = 3
            ElseIf (optCom1(3).Value = True) Then
        PortNum = 4
        End If
 
 If (Adapter(0).Value = True) Then
        PortType = 1    
    ElseIf (Adapter(1).Value = True) Then
        PortType = 5    
        End If
 
 frmComSelect.Hide
 frmMain.Show
 Main
End Sub



Cheers,
Fredrik

"Felix qui potuit rerum cognoscere causas."
GeneralRe: Why does the process not end? Pin
David Stone25-Nov-02 21:14
sitebuilderDavid Stone25-Nov-02 21:14 
GeneralRe: Why does the process not end? Pin
Fredrik Skog25-Nov-02 21:19
Fredrik Skog25-Nov-02 21:19 
GeneralRe: Why does the process not end? Pin
Fredrik Skog25-Nov-02 21:40
Fredrik Skog25-Nov-02 21:40 
Generalcross language question Pin
krauftig23-Nov-02 22:09
krauftig23-Nov-02 22:09 
GeneralRe: cross language question Pin
Steven Lyons24-Nov-02 19:13
Steven Lyons24-Nov-02 19:13 
GeneralSingletons Pin
SuperGeek22-Nov-02 10:49
SuperGeek22-Nov-02 10:49 
GeneralVB.NET - Dial-up Pin
dayWalker22-Nov-02 5:51
dayWalker22-Nov-02 5:51 
GeneralVB window disappears. Pin
Deepti22-Nov-02 3:52
Deepti22-Nov-02 3:52 
QuestionHow to draw a graph Pin
mr200322-Nov-02 2:12
mr200322-Nov-02 2:12 
AnswerRe: How to draw a graph Pin
SimonS22-Nov-02 2:58
SimonS22-Nov-02 2:58 
GeneralRe: How to draw a graph Pin
mr200322-Nov-02 4:14
mr200322-Nov-02 4:14 
AnswerRe: How to draw a graph Pin
Ray Cassick22-Nov-02 5:04
Ray Cassick22-Nov-02 5:04 
GeneralRe: How to draw a graph Pin
mr200322-Nov-02 6:24
mr200322-Nov-02 6:24 
GeneralRe: How to draw a graph Pin
Ray Cassick22-Nov-02 10:49
Ray Cassick22-Nov-02 10:49 
GeneralRe: How to draw a graph Pin
mr200325-Nov-02 2:51
mr200325-Nov-02 2:51 
GeneralRe: How to draw a graph Pin
Ray Cassick25-Nov-02 6:45
Ray Cassick25-Nov-02 6:45 
QuestionHow to make a graph into a HTML file Pin
mr200322-Nov-02 0:59
mr200322-Nov-02 0:59 

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.