473,395 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

GetLocalDriveLetter()

Actually, this is in relation to VB6, but I couldn't find a corresponding
forum: How do I get a VB6, executable (Windows NT) to return the user's
local drive letter?

The Background:
Our target documents are stored on our LAN's G: drive. I've been working
out a way for our operators to be able to enter a part number, from their
local PCs, and have Windows Explorer open up to the corresponding document's
directory. (Most of this has been programmed and works.) In order to keep
sharing violations to a minimum, I have a LAN located batch file write the
DIR command's results to the user's local drive (the drive letter is passed
to the batch file). The results file is searched in order to find the target
directory. But, I don't know how to get an application, that is located on
the LAN, to return the local drive letter of a given user.

Can anyone help me out?
--
Trent Argante
[DC.J(71)!(348)]
Nov 21 '05 #1
4 974
Hi Trent!

Please use the VB 6 newsgroups for VB 6 questions. This is for VB.NET

IMO the best VB 6 forum is here:

http://www.developerfusion.com/forums/forum-4

You need to register for FREE. It is absolutly fantastic for the language
you want

Registration Page:

http://www.developerfusion.com/members/register.aspx

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2
Thanks.
--
Trent Argante
[DC.J(71)!(348)]
"Crouchie1998" wrote:
Hi Trent!

Please use the VB 6 newsgroups for VB 6 questions. This is for VB.NET

IMO the best VB 6 forum is here:

http://www.developerfusion.com/forums/forum-4

You need to register for FREE. It is absolutly fantastic for the language
you want

Registration Page:

http://www.developerfusion.com/members/register.aspx

Crouchie1998
BA (HONS) MCP MCSE

Nov 21 '05 #3
Hi Trent ! :O)

You can also post to one of the numerous Microsoft VB6 forums.

My favorite is this one :
microsoft.public.vb.general.discussion

but all newsgroups having "vb" in their without any "dotnet" or "vsnet"
should be a "classic" VB forum (6.0 and earlier).

As for your question, I think Randy has something on his site about this (in
the network section iirc) :
http://vbnet.mvps.org/code/main/index.html

--
Best Regards
Yanick

"Trent Argante" <Tr**********@discussions.microsoft.com> a écrit dans le
message de news:54**********************************@microsof t.com...
Actually, this is in relation to VB6, but I couldn't find a corresponding
forum: How do I get a VB6, executable (Windows NT) to return the user's
local drive letter?

The Background:
Our target documents are stored on our LAN's G: drive. I've been working
out a way for our operators to be able to enter a part number, from their
local PCs, and have Windows Explorer open up to the corresponding document's directory. (Most of this has been programmed and works.) In order to keep sharing violations to a minimum, I have a LAN located batch file write the
DIR command's results to the user's local drive (the drive letter is passed to the batch file). The results file is searched in order to find the target directory. But, I don't know how to get an application, that is located on the LAN, to return the local drive letter of a given user.

Can anyone help me out?
--
Trent Argante
[DC.J(71)!(348)]

Nov 21 '05 #4
Thank you, as well.
--
Trent Argante
[DC.J(71)!(348)]
"Zoury" wrote:
Hi Trent ! :O)

You can also post to one of the numerous Microsoft VB6 forums.

My favorite is this one :
microsoft.public.vb.general.discussion

but all newsgroups having "vb" in their without any "dotnet" or "vsnet"
should be a "classic" VB forum (6.0 and earlier).

As for your question, I think Randy has something on his site about this (in
the network section iirc) :
http://vbnet.mvps.org/code/main/index.html

--
Best Regards
Yanick

"Trent Argante" <Tr**********@discussions.microsoft.com> a écrit dans le
message de news:54**********************************@microsof t.com...
Actually, this is in relation to VB6, but I couldn't find a corresponding
forum: How do I get a VB6, executable (Windows NT) to return the user's
local drive letter?

The Background:
Our target documents are stored on our LAN's G: drive. I've been working
out a way for our operators to be able to enter a part number, from their
local PCs, and have Windows Explorer open up to the corresponding

document's
directory. (Most of this has been programmed and works.) In order to

keep
sharing violations to a minimum, I have a LAN located batch file write the
DIR command's results to the user's local drive (the drive letter is

passed
to the batch file). The results file is searched in order to find the

target
directory. But, I don't know how to get an application, that is located

on
the LAN, to return the local drive letter of a given user.

Can anyone help me out?
--
Trent Argante
[DC.J(71)!(348)]


Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.