Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~949 People Reached
Favorite Forums
Favorite Tags
Member Avatar for NEo4

Hello! I have program that consists of multiple forms. Each of the forms share a common variable which I stored in the main form. But to access the variable from another form, I have to type something quite long like this: MainForm.CommonVar.Function(arg1, arg2, arg3, arg8) I use this many times …

Member Avatar for NEo4
0
83
Member Avatar for kritiohri
Member Avatar for kajames

Try changing the code in frmAddress to: [CODE=VB.NET] Public Shared strName As String Dim DataForm As New frmData Private Sub lblContact_SelectedIndexChanged _ (ByVal sender As System.Object, _ ByVal e As System.EventArgs) _ Handles lblContact.SelectedIndexChanged Me.lblContact.Text = strName End Sub [/CODE] and code for frmDate to: [CODE=VB.NET] Private Sub Button1_Click(ByVal sender …

Member Avatar for NEo4
0
93
Member Avatar for bharanidharanit

Take a look at [URL="http://www.homeandlearn.co.uk/NET/vbNet.html"]this tutoria[/URL]l, you may have an idea about what a beginner tutorial should have.

Member Avatar for bharanidharanit
0
85
Member Avatar for manoj_582033

Put the date in a variable first and then compare them. [Code=VB.NET] Private Sub Form1_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) _ Handles MyBase.Load Dim dateFrom As Date = New Date(2008, 12, 1) Dim dateTo As Date = New Date(2008, 12, 5) Dim dateAttend As Date = New …

Member Avatar for NEo4
0
140
Member Avatar for lerkei

This code may help: [CODE=VB] Private Sub Form1_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) _ Handles MyBase.Load Dim filename As String = "afile.txt" ' Your file name/path Dim filereader As New System.IO.StreamReader(filename) ' Open the file for reading Dim readline As String Dim data As String Dim dataparts(1) …

Member Avatar for NEo4
0
205
Member Avatar for Bill Purkins
Member Avatar for NEo4

Hello, How can I create a multi-field list box like in the picture in the link below in Visual Studio. NEo4 [URL="http://i465.photobucket.com/albums/rr12/black-eagle-bucket/multi-field_listbox.png"]http://i465.photobucket.com/albums/rr12/black-eagle-bucket/multi-field_listbox.png[/URL]

Member Avatar for NEo4
0
103