In your response, feel free to go private so we don't gum up this list
unless others are interested.
But if I assign a volume name to the E:\ drive, won't the E:\ drive
show the name regardless of what's plugged in? If I were to plug in
another device wouldn't it still be called the same thing?
Karen
-----Original Message-----
From: Dennis McGrath <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Thu, Feb 19, 2015 2:48 pm
Subject: [RBASE-L] - Re: "Name" of a USB device?
Try it. The volume name becomes part of the drive.
*From:*[email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]?>] *On Behalf Of
*Karen Tellef
*Sent:* Thursday, February 19, 2015 2:44 PM
*To:* RBASE-L Mailing List
*Subject:* [RBASE-L] - Re: "Name" of a USB device?
Don't think that would work. I doubt it would "save" the volume name,
and even if it did it would call it the same for both devices, right?
Karen
-----Original Message-----
From: Dennis McGrath <[email protected] <mailto:[email protected]>>
To: RBASE-L Mailing List <[email protected] <mailto:[email protected]>>
Sent: Thu, Feb 19, 2015 2:40 pm
Subject: [RBASE-L] - Re: "Name" of a USB device?
Right click on the drive, select properties, fill in the volume name
and apply
*From:*[email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]?>] *On Behalf Of
*Dennis McGrath
*Sent:* Thursday, February 19, 2015 2:35 PM
*To:* RBASE-L Mailing List
*Subject:* [RBASE-L] - Re: "Name" of a USB device?
Since it looks like a drive you may be able to use your windows tools
to assign a volume name to the “drive”
*From:*[email protected] <mailto:[email protected]>
[mailto:[email protected]] *On Behalf Of *Karen Tellef
*Sent:* Thursday, February 19, 2015 2:31 PM
*To:* RBASE-L Mailing List
*Subject:* [RBASE-L] - Re: "Name" of a USB device?
No such luck, it comes up empty. When I do a "dir e:\" at the r>
prompt the listing is headed with:
Volume in drive e has no label.
Volume Serial Number is 4652-5699
My C: drive has a label and that returns correctly. Now what is this
"serial number"? I can't find a cval or a getval to trap that.
Karen
-----Original Message-----
From: Dennis McGrath <[email protected] <mailto:[email protected]>>
To: RBASE-L Mailing List <[email protected] <mailto:[email protected]>>
Sent: Thu, Feb 19, 2015 2:21 pm
Subject: [RBASE-L] - Re: "Name" of a USB device?
*Check out the docs for GETVAL*
**
*(GETVAL('GetVolumeID','driveletter'))*
**
*I’ll bet each device has a unique VOLUME name*
*From:*[email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]?>] *On Behalf Of
*Dennis McGrath
*Sent:* Thursday, February 19, 2015 2:00 PM
*To:* RBASE-L Mailing List
*Subject:* [RBASE-L] - Re: "Name" of a USB device?
Can each scanner be set up to write a unique filename?
That way, you can tell which format to use based on the available
filename.
*From:*[email protected] <mailto:[email protected]>
[mailto:[email protected]] *On Behalf Of *Karen Tellef
*Sent:* Thursday, February 19, 2015 1:54 PM
*To:* RBASE-L Mailing List
*Subject:* [RBASE-L] - Re: "Name" of a USB device?
Both of these scanners are recognized, but they both show up as the
E:\ drive (only one would be plugged in). I would like my program to
be able somehow to distinguish which physical device it is and just
didn't know if there was an ENVVAL that would trap an identifier of a
removeable disk. Sounds like perhaps the blob editor is able to "trap"
an identifier, I'd love to know what that is!
Both of these scanners do batch scanning, and the batches are saved as
csv files on the devices. So after scaning you just plug it in and
RBase sees the scanner as if it's a drive, so I just load my table
from the file on the scanner. Easy Peasy!
Karen
-----Original Message-----
From: Javier Valencia <[email protected]
<mailto:[email protected]>>
To: RBASE-L Mailing List <[email protected] <mailto:[email protected]>>
Sent: Thu, Feb 19, 2015 1:45 pm
Subject: [RBASE-L] - RE: "Name" of a USB device?
Karen,
The scanner and driver need to be installed so they are recognized, on
the newer Windows this happens when you plug in the device. I know you
can set a default printer but I am not sure you can define default
scanner.
I use the Blob editor to do scanning and if you look under
File>>Select Source you should see all the available scanners listed
by their correct names; my list even shows an old one that I removed
and fully uninstalled but somehow cannot get it to completely go away;
probably stored in the registry somewhere.
BTW, how do you do the scanning? Are you using a plugin? Blob Editor?
Javier,
Javier Valencia, PE
O: 913-829-0888
H: 913-397-9605
C: 913-915-3137
*From:*[email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]?>] *On Behalf Of
*Karen Tellef
*Sent:* Thursday, February 19, 2015 1:19 PM
*To:* RBASE-L Mailing List
*Subject:* [RBASE-L] - "Name" of a USB device?
At one of my clients, they plug in a USB scanner and it is recognized
as a removeable disk. So my RBase program simply retrieves a file
E:\Scanner.txt
They are going to buy a different scanner which they will also plug
into the same USB port and import into the same RBase program, but the
file will be in a different format. So what I would like to do is
automatically "recognize" what device is plugged in. Is there any kind
of environment value that I can retrieve that distinguishes one USB
device from another, some kind of "name? Otherwise I'll just have to
ask them to select the device from a list. Would be cool if I could
automate it though!
Karen