[RESOLVED] Whts wrong in code ?????
i made my mu louncher but it allways says server offline !
Code:
Private Sub Command1_Click()
Shell "Main.exe connect /usmj-mu.sytes.net /p44405"
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
If Inet1.StillExecuting Then Exit Sub
result = Inet1.OpenURL("http://127.0.0.1/wap/launcher.php")
If result = "Online" Then
SmJ_Mu.Enabled = True
MsgBox ("Welcome to Smj Mu"), vbOKOnly, "System"
Else
MsgBox "Server offline", vbOKOnly, "System"
End
End If
End Sub
Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
WebBrowser1.Navigate ("http://127.0.0.1/wap/")
End Sub
So plzz help whats wrong.
Re: Whts wrong in code ?????
what is the value of result? put a breakpoint to see what value is in the variable
Re: Whts wrong in code ?????
Code:
Private Sub Command2_Click()
End
End Sub
Using End to abruptly stop the program is a bad thing to do. If you have only one form then do Unload me, and if you have more than one form then search this forum for UnloadAllForms.
Re: [RESOLVED] Whts wrong in code ?????
I find the problem, my php was wrong !
It shows text in green but when i change it to black it shows correct !