Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #2280

Re: Network drives in DrivelistBox.

Newsgroups comp.lang.basic.visual.misc
Date 2016-03-29 03:38 -0700
References <c234dac2-895c-4c5d-b434-c4397b14af98@googlegroups.com>
Message-ID <b919ce21-afea-4654-8d5f-b9ad5eb18d69@googlegroups.com> (permalink)
Subject Re: Network drives in DrivelistBox.
From bertdongen@gmail.com

Show all headers | View raw


Thank you for your reply, Tim and yes, I'm talking about VB6.
I think that you're pointing at the right cause.
I didn't know that drivemapping is per-user.
In Windows Explorer I do see the drivemapping, but not
in my VB6 application. That's a bit weird (I think), but
I am possibly another user when I start the application.
Could it be that my way of determining which user I am
in the application is wrong? I use the following:

    Dim WshNetwork
    Set WshNetwork = CreateObject("Wscript.Network")
    ThisUser = WshNetwork.UserName

Should I use a different procedure?
Bert.

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Network drives in DrivelistBox. bertdongen@gmail.com - 2016-03-28 06:02 -0700
  Re: Network drives in DrivelistBox. Tim Rude <timrude.nospam@nospam.hotmail.com> - 2016-03-28 15:30 -0500
  Re: Network drives in DrivelistBox. bertdongen@gmail.com - 2016-03-29 03:38 -0700

csiph-web