Jump to content
iPain

Visual Basic Sever(Gaming) Status Checker

Recommended Posts

Posted

Am nevoie pentru un buton si un text box de un algoritm care daca voi introduce in text box ip-ul (gaming) imi va arata daca server-ul este offline sau nu dant click pe buton

Thx

Posted

ai 2 posibilitati una prin webbrowser creezi un browser si navighezi apoi faci request prin el

WebBrowser1.navigate("sitestatuscheck")

la webbrowser_document_completed

webbrowser1.document.getelemenetbyid("id inputului").innerhtml = textbox1.text

webbrowser1.document.getlementbyid("id butonului de submit").invokemember("click")

a 2 ar fi prin ping

o metoda simpla care o poti face si din cmd

run->cmd-> ping ip -t

vb code

shell("cmd.exe" , "ping" & textbox1.text & k)

daca doresti poti sa iti declari singur browserul folosind handle

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...