|
-
Jul 12th, 2000, 05:03 AM
#1
Thread Starter
New Member
Need info on VB functions/Sub-routines etc to access a SCSI tape drive (In order to Backup/Restore databases to a tape drive). Any ideas, suggestions, links would be welcome. Help Guys and Gals!!
-
Jan 11th, 2001, 06:39 AM
#2
New Member
Trying to do the same thing!
I've managed to get a small way towards manipulating a tape device using VB. I've been using the CreateFile API call to get a handle to the device.
CreateFile("\\.\TAPE0", 0, 0, 0&, OPEN_ALWAYS, 0, 0&)
After I realised that the desiredAccess parameter was causing the call to error I have been able to get a handle to the tape drive by replacing GENERIC_ALL with 0. I am now getting a handle back but when I use the GetTapeStatus API call it is returning ERROR_ACCESS_DENIED.
Anyone got any pearls of wisdom they'd like to share with me to stop me banging my head against this big brick wall in front of me!
-
Jan 13th, 2001, 04:37 AM
#3
if you just need to read/write data you could use a common dialog to open it, that would list all drives inc your scsi one
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
|