How do you use GetTapeStatus API in VB6 to query tape drive on a network server? Assume program executes from workstation.
Printable View
How do you use GetTapeStatus API in VB6 to query tape drive on a network server? Assume program executes from workstation.
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).]