|
-
Sep 2nd, 2000, 12:33 AM
#1
Thread Starter
Addicted Member
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
-
Sep 3rd, 2000, 03:53 PM
#2
Fanatic Member
by size do you mean the size of a particular file? If so then:
Code:
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
-
Sep 4th, 2000, 02:39 PM
#3
Thread Starter
Addicted Member
Thanks
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 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|