Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Using DOS commands in VS 2013:Another odd ball project for the books

$
0
0

Hello all!

It’s been awhile and I’m back with another odd ball application.

I’ve never played much with Visual Studio 2013 and DOS. I’m starting with a plane-Jane form, nothing special.

I have a need to create an application that will use DOS. I know, DOS! Yes. It’s still used very widely.

What I need to do is:

1.)    1.)Have text box where I can enter a server IP

2.)    2.)Have a text box where I can enter a time in minutes. This Text box will be controlling a Timer function.

3.)  3.) Have a check box that will enable the timer

4.)   4.)Have a start button that will start the timer (based on the contents in the text box for time)

5.)   5.)A stop button to Stop the Timer cycle

6.)    6.)And finally a TEST button

What does this all do? Pings a server of the IP I entered into text box 1.

I’m working with a remote router that likes to fall asleep. Boss wants me to come up with a way we can enter the router’s IP addy, select a time in minutes and “Ping” this thing ever so many minutes.

I’ve included the form layout and am not sure exactly where to start. I’d like a text box to display the results of the ping when I click the test button as well.

So, I guess the first task is:

How can one enter an IP addy into a text box and tell DOS to Ping that IP addy and display that result in a text box?

Please let me know if this is not the right forum, it’s been a few years since I’ve been on here. Any help will be greatly appreciated.

Thanks in advance, these forums have helped me in some very odd ball projects in the past. I’d like to work through the entire project on here in this thread. Things discovered in this project could really be helpful to others.

Thanks,

-Chris


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>