wtand
Nov 6th, 1999, 04:04 AM
How do you use GetTapeStatus API in VB6 to query tape drive on a network server? Assume program executes from workstation.
Yonatan
Nov 6th, 1999, 04:14 AM
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: RZvika@netvision.net.il
ICQ: 19552879 (http://www.icq.com/19552879)
[This message has been edited by Yonatan (edited 11-06-1999).]