Results 1 to 2 of 2

Thread: GetTapeStatus API

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    Hendersonville, NC, USA
    Posts
    3

    Post

    How do you use GetTapeStatus API in VB6 to query tape drive on a network server? Assume program executes from workstation.

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Post

    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
  •  



Click Here to Expand Forum to Full Width