sQuo Posted July 29, 2012 Share Posted July 29, 2012 Making a simple pinger in VB Requirements -any version of VB preferably 2008 -at least a little bit of knowledge in coding -creativity after you have installed your selected version of visual basics, run it. once the client has opened, head over to the top left corner where it says file and click "New Project..." and select the settings like so. This is the hidden content, please Sign In or Sign Up and press continue You should now have a blank formYeye you can rescale this form to the size you want, but being that it is just a simple program..lets start smallish. On the left side of the Vb client there should be a toolbox filled with tools that you can use. Lets start by finding the TextBox tool (the tools are in alphabetical order). Place the TextBox some where near the top of your form and make it not too big. Now look on the ToolBox for a tool called Button, it should be near the top of the list. Once you found it, place two buttons onto your form. single click on Button1 and follow the settings as shown This is the hidden content, please Sign In or Sign Up and do the same to the second button, but name it "Stop". Now scroll down the ToolBox until you find a tool named Timer and place it to the side of your buttons(the Timer won't be visible once this is all finished). Make sure on the right side that the timers "Enabled" is False, and to set the Interval to 250. HERE COMES THE ACTUAL CODING PART! double click on all of the tools on the form, including the time which is at the bottom below the form, and make the code look exactly like this This is the hidden content, please Sign In or Sign Up if you would like to just copy and paste the whole code here it is This is the hidden content, please Sign In or Sign Up TO finish up you can test your new application by pressing F5, customize it a bit, or save and exit VB and enjoy your new but SIMPLE pingerThumbsup Credits: d3m0ndrug Link to comment Share on other sites More sharing options...
Recommended Posts