Click to See Complete Forum and Search --> : DOS question..
Sophtware
Sep 2nd, 2000, 12:33 AM
How can i add the commands in DOS such as
timeout, size,count..stuff like that
into my vb app...without actually using DOS.
I already no how to send bytes but am not sure about everything else.
Thanks
Dim
Sep 3rd, 2000, 03:53 PM
by size do you mean the size of a particular file? If so then:
Text1.Text = FileLen("C:\test.txt")
FileLen is the function that would tell you the file size in bytes...if you need it in kb then simply use math. :)
I'm not sure what you mean by count though...
Hope that helps,
D!m
Sophtware
Sep 4th, 2000, 02:39 PM
But what i was trying to say was that , i want to be able to use DOS commands, such as ping and netstat (stuff like that) in my vb application.... (without having to open a DOS window.
Thanks again :)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.