Click here to Skip to main content
15,904,153 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How can I disable CANCEL box in System.Window.form? Pin
ATC31-May-04 8:13
ATC31-May-04 8:13 
Generalanswer can or cannot Pin
GaryKoh29-May-04 16:12
GaryKoh29-May-04 16:12 
GeneralRe: answer can or cannot Pin
Hesham Amin31-May-04 7:33
Hesham Amin31-May-04 7:33 
GeneralRe: answer can or cannot Pin
f6431-May-04 10:05
f6431-May-04 10:05 
GeneralRe: answer can or cannot Pin
GaryKoh31-May-04 14:05
GaryKoh31-May-04 14:05 
General Importing from password protected .xls (I know the password) Pin
GameFaqsPower12329-May-04 9:29
GameFaqsPower12329-May-04 9:29 
GeneralRe: Importing from password protected .xls (I know the password) Pin
Dave Kreskowiak29-May-04 15:15
mveDave Kreskowiak29-May-04 15:15 
Generalconnect to server Pin
GaryKoh28-May-04 21:41
GaryKoh28-May-04 21:41 
hello
please help me
i have the code below that i got from a few books

Private Sub Connect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Connect.Click
If ipB.Text <> "" And portB.Text <> "" Then
chatB.AppendText("Requesting Connection" & vbCrLf)
On Error GoTo ErrorM

myclient = New TcpClient(ipB.Text, portB.Text)
myclient.GetStream.BeginRead(mydata, 0, 1024, AddressOf DoRead, Nothing)

Status.Panels.Text = "Requesting Connection..."
chatB.AppendText("Connected..." & vbCrLf)
chatB.AppendText("----------------" & vbCrLf)

Status1.Panels(0).Text = "Connected to " & ipB.Text & ":" & portB.Text
Timer1.Enabled = True

a = InputB("Enter Nickname:", "Chat 2003")
Send("nick:" & a)

portB.Enabled = False
SendB.Enabled = True
Connect.Visible = False
DC.Visible = True
ipB.Enabled = False

End If

ErrorM: If SendB.Enabled = False Then
chatB.AppendText("Please try again")
End If
End Sub

somehow the code wont work. i keep getting "Please try again"
im trying detect my college server with the coding
is it possible??
or do i need something else??
can u tell me what else i need
thank you in advance

Gary
GeneralPlugins Pin
beowulfagate28-May-04 14:15
beowulfagate28-May-04 14:15 
GeneralRe: Plugins Pin
Mike Ellison28-May-04 14:43
Mike Ellison28-May-04 14:43 
GeneralRe: Plugins Pin
beowulfagate28-May-04 14:56
beowulfagate28-May-04 14:56 
GeneralWM_GETTEXT from text box. Please Help... Pin
danfloun28-May-04 12:33
danfloun28-May-04 12:33 
Questionhow do you create a .mat file in VB6? Pin
murphypa28-May-04 8:49
murphypa28-May-04 8:49 
AnswerRe: how do you create a .mat file in VB6? Pin
Dave Kreskowiak28-May-04 9:25
mveDave Kreskowiak28-May-04 9:25 
GeneralIs there a general way to check a string... Pin
viettho28-May-04 7:30
viettho28-May-04 7:30 
GeneralRe: Is there a general way to check a string... Pin
Dave Kreskowiak28-May-04 7:44
mveDave Kreskowiak28-May-04 7:44 
GeneralRe: Is there a general way to check a string... Pin
viettho28-May-04 8:36
viettho28-May-04 8:36 
GeneralRe: Is there a general way to check a string... Pin
Dave Kreskowiak28-May-04 9:12
mveDave Kreskowiak28-May-04 9:12 
GeneralVBA/Excel - Chart options Pin
Jon G28-May-04 7:19
Jon G28-May-04 7:19 
GeneralRe: VBA/Excel - Chart options Pin
Dave Kreskowiak28-May-04 7:37
mveDave Kreskowiak28-May-04 7:37 
GeneralRe: VBA/Excel - Chart options Pin
Jon G28-May-04 8:09
Jon G28-May-04 8:09 
GeneralRe: VBA/Excel - Chart options Pin
amit2530-May-04 23:11
amit2530-May-04 23:11 
GeneralRe: VBA/Excel - Chart options Pin
Jon G31-May-04 2:31
Jon G31-May-04 2:31 
Generalfile size... Pin
Night_Soul28-May-04 5:10
Night_Soul28-May-04 5:10 
GeneralRe: file size... Pin
Dave Kreskowiak28-May-04 5:55
mveDave Kreskowiak28-May-04 5:55 

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.