aqeelmoosa
0
Newbie Poster
Recommended Answers
Jump to PostI am assuming it is like vb express.
You declare a variable like:Private MyObject As Class1 = New Class1
Then you call your function:
Dim MyMessage As String = MyObject.dismsg
Jump to PostTry this. Create a new form and add a button. Right click on the form and select view code. Then add this.
Public Class Form1 Private MyObject As Class1 = New Class1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show(MyObject.AddNumbers(1, 2)) End …
All 5 Replies
waynespangler
63
Posting Pro in Training
aqeelmoosa
0
Newbie Poster
waynespangler
63
Posting Pro in Training
aqeelmoosa
0
Newbie Poster
waynespangler
63
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.