hi
i have been trying to learn vb.net for about a year now
i have created my own program in vb.net, a simple calculator but i am on a home network and my parents want to be able to send messages to each other in the network, so i said i will make one. i am hoping to just use the windows messenger service so my family don't have to keep the application open all the time to recieve messages.
originally i thought about how i was going to do this. i have a combo box and i want it to be able to list the netorked computers names, so i wanted my program to create a batch file with so i would open command prompt and do 'net view' so i could get the computer names. i have another combo box and i want to be able to select a username to send this message to using the same technique. i don't know how to get my application to create these batch files
i have tried to start on this but my code hasn't really begun
PublicClass MainWindow
PrivateSub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
'Closes the application
End
EndSub
PrivateSub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
'Attepts to get computer names
File.Open("C:\LanIM.bat")
Dim Message As String
Message = (C:/LanIM.bat)
EndSub
EndClass
my syntax for the end is a bit wrong lol could i have some help with this
thanx
i have been trying to learn vb.net for about a year now
i have created my own program in vb.net, a simple calculator but i am on a home network and my parents want to be able to send messages to each other in the network, so i said i will make one. i am hoping to just use the windows messenger service so my family don't have to keep the application open all the time to recieve messages.
originally i thought about how i was going to do this. i have a combo box and i want it to be able to list the netorked computers names, so i wanted my program to create a batch file with so i would open command prompt and do 'net view' so i could get the computer names. i have another combo box and i want to be able to select a username to send this message to using the same technique. i don't know how to get my application to create these batch files
i have tried to start on this but my code hasn't really begun
PublicClass MainWindow
PrivateSub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
'Closes the application
End
EndSub
PrivateSub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
'Attepts to get computer names
File.Open("C:\LanIM.bat")
Dim Message As String
Message = (C:/LanIM.bat)
EndSub
EndClass
my syntax for the end is a bit wrong lol could i have some help with this
thanx