H
hailconan
Hi,
Suppose I have this code:
----------
Imports System.IO
Module Module1
Sub Main()
Dim TextFile As New StreamReader("c:\test.txt")
Dim Content As String
Do
Content = TextFile.ReadLine()
If (Content <> Nothing) Then
Console.WriteLine(Content)
End If
Loop While (Content <> Nothing)
TextFile.Close()
End Sub
End Module
--------
I have created Module1.vb
In the main Form I created Button & TextBox.
My problem:
How I can return Data from the Module1.vb to the TextBox ?
it is the first tim i am trying to use ind understand Modules
THX
Suppose I have this code:
----------
Imports System.IO
Module Module1
Sub Main()
Dim TextFile As New StreamReader("c:\test.txt")
Dim Content As String
Do
Content = TextFile.ReadLine()
If (Content <> Nothing) Then
Console.WriteLine(Content)
End If
Loop While (Content <> Nothing)
TextFile.Close()
End Sub
End Module
--------
I have created Module1.vb
In the main Form I created Button & TextBox.
My problem:
How I can return Data from the Module1.vb to the TextBox ?
it is the first tim i am trying to use ind understand Modules
THX