|
-
Nov 6th, 1999, 05:04 AM
#1
Thread Starter
New Member
How do you use GetTapeStatus API in VB6 to query tape drive on a network server? Assume program executes from workstation.
-
Nov 6th, 1999, 05:14 AM
#2
Guru
I'm not sure about this:
To use GetTapeStatus on the current computer, you have to use the following lpFileName in CreateFile:
"X:" ' Where X is the drive letter of the tape drive
To use it on a different server, you use the following lpFileName in CreateFile:
"\\ServerName\X:"
Having never used this API, and having never used CreateFile for this reason, if the tip I gave you doesn't work, please provide some code from your project which might help...
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
[This message has been edited by Yonatan (edited 11-06-1999).]
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
|