Click here to Skip to main content
15,924,039 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How can I send a message to another computer? Pin
^eleK2-Jun-04 9:13
^eleK2-Jun-04 9:13 
GeneralRe: How can I send a message to another computer? Pin
Dave Kreskowiak2-Jun-04 12:15
mveDave Kreskowiak2-Jun-04 12:15 
GeneralRe: How can I send a message to another computer? Pin
tramdtt2-Jun-04 14:58
tramdtt2-Jun-04 14:58 
GeneralAPI / Hooking challenge Pin
ColonelSanders1-Jun-04 18:08
ColonelSanders1-Jun-04 18:08 
Generalvb.net class Pin
pnpfriend1-Jun-04 16:50
pnpfriend1-Jun-04 16:50 
GeneralRe: vb.net class Pin
Colin Angus Mackay1-Jun-04 22:37
Colin Angus Mackay1-Jun-04 22:37 
GeneralRe: vb.net class Pin
Dave Kreskowiak2-Jun-04 0:32
mveDave Kreskowiak2-Jun-04 0:32 
GeneralRe: vb.net class Pin
pnpfriend2-Jun-04 6:02
pnpfriend2-Jun-04 6:02 
This is in form.
<br />
 Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click<br />
        Dim sp As Course.theClass.myApp<br />
        sp.printOut(Me.InputText.Text())  ' here the error pointing to.<br />
    End Sub<br />


the myApp class

<br />
Option Strict On<br />
Option Explicit On <br />
<br />
Imports System.Windows.Forms<br />
<br />
' The class module is enclose in a namespace named CountingStatement. <br />
' The root namespace was set to Course using the Project Properties dialog box. <br />
Namespace theClass<br />
<br />
    ' The class is named StringProcessor.<br />
    Public Class myApp<br />
        Public Sub printOut(ByVal theText As String)<br />
            'get the total number of characters,#of Words, #of paragraph, and # of sentence in that paragraph. <br />
            MsgBox (theText)<br />
        End Sub<br />
    End Class<br />
End Namespace<br />


It is not as easy as c++. I dont know how to call the class function from the other class in VB.net.

Thank you
GeneralRe: vb.net class Pin
Dave Kreskowiak2-Jun-04 12:14
mveDave Kreskowiak2-Jun-04 12:14 
GeneralRe: vb.net class Pin
Anonymous3-Jun-04 10:50
Anonymous3-Jun-04 10:50 
Generaluser validation in vb.net Pin
vince campellone1-Jun-04 13:52
sussvince campellone1-Jun-04 13:52 
GeneralRe: user validation in vb.net Pin
Dave Kreskowiak1-Jun-04 15:08
mveDave Kreskowiak1-Jun-04 15:08 
GeneralSounds-playing in VB 6.0 Pin
Boggahutt871-Jun-04 12:58
Boggahutt871-Jun-04 12:58 
GeneralRe: Sounds-playing in VB 6.0 Pin
Dave Kreskowiak1-Jun-04 15:14
mveDave Kreskowiak1-Jun-04 15:14 
GeneralRe: Sounds-playing in VB 6.0 Pin
Boggahutt871-Jun-04 16:06
Boggahutt871-Jun-04 16:06 
Questionhow to -&quot; Pin
soul.ripper1-Jun-04 11:37
soul.ripper1-Jun-04 11:37 
AnswerRe: how to -&quot; Pin
skoizumi291101-Jun-04 14:54
sussskoizumi291101-Jun-04 14:54 
AnswerRe: how to -&quot; Pin
Dave Kreskowiak2-Jun-04 3:04
mveDave Kreskowiak2-Jun-04 3:04 
GeneralRe: how to -&quot; Pin
soul.ripper2-Jun-04 10:28
soul.ripper2-Jun-04 10:28 
GeneralRe: how to -&quot; Pin
Dave Kreskowiak2-Jun-04 12:10
mveDave Kreskowiak2-Jun-04 12:10 
GeneralRe: how to -&quot; Pin
soul.ripper3-Jun-04 6:29
soul.ripper3-Jun-04 6:29 
GeneralRe: how to -&quot; Pin
Dave Kreskowiak3-Jun-04 12:17
mveDave Kreskowiak3-Jun-04 12:17 
QuestionHow can I insert a new column in database table at the desired place? Pin
ATC1-Jun-04 11:33
ATC1-Jun-04 11:33 
AnswerRe: How can I insert a new column in database table at the desired place? Pin
Dave Kreskowiak2-Jun-04 2:56
mveDave Kreskowiak2-Jun-04 2:56 
GeneralRe: How can I insert a new column in database table at the desired place? Pin
ATC2-Jun-04 5:15
ATC2-Jun-04 5:15 

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.