![]() ![]() PingRoundTrip.Text = "Round Trip Time: " & rep.RoundtripTime & "ms " & ĭebug.Print("Round Trip Time : " & rep. This uses the following code (which I have borrowed from somewhere): Private Sub OnePingCadSvr_Click(sender As Object, e As EventArgs) Handles OnePingCadSvr.Clickĭim rep As PingReply = pingreq.Send(host)Ĭonsole.WriteLine("Pinging ", (), rep.RoundtripTime, ) In the controls Properties window, rename the menu strip control from 'MenuStrip1' to 'mnuEasyPaint'. I have a user form with a button on it to ping the cad server and this works and I can get a single result. In the toolbox, expand the Menus & Toolbars pane, and double-click the MenuStrip item to create a menu strip control on your form (by default, the menu strip will dock with the top of your form). I would like to do something similar in vb.net. When the CAD stops working, I start a command prompt window and ping the server and get something like the following. Sometimes the issue is not the CAD software, but the latency of the VPN connection (this is not at my end, but the server connection). The CAD software I use in my day job, is quite processor hungry/dependent and sometimes the CAD software will stop working as it processes work/commands. I am connected to a server via VPN, but the connection speed to the server is kind of erratic. Assuming you have already created your project. I've only just started to develope some code in VB.net and i have very little experience in it and some of the "instructional" web pages are very confusing to my dyslexic mind. We are going to create an app that will ping a certain IP address. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |