Solved

Quick one on FSO

Posted on 2004-08-12
4
267 Views
Last Modified: 2010-05-02
Using this:
        Set objFSO = New FileSystemObject
        Set objuser = GetObject("WinNT://myDC/" & txtInfo(2).Text & ",user")
        strSrcPath = objuser.homedirectory

How do I bring up an explorer window to strSrcPath's UNC?
(equivalent to performing Start->Run->\\Server\objUser)

I know I could shell a start command, but I don't want that route...
0
Comment
Question by:sirbounty
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 15

Accepted Solution

by:
Colosseo earned 125 total points
ID: 11782851
Hi sirbounty

The only way I can think that you will get this to work is

Set oShell = CreateObject("WScript.Shell")

oShell.Run strSrcPath

Set oShell = Nothing

Regards

Scott
0
 
LVL 15

Expert Comment

by:Colosseo
ID: 11782883
btw I know you said you didnt want to use Shell, just saying thats the only way I can think of :)

Scott
0
 
LVL 67

Author Comment

by:sirbounty
ID: 11783016
Good enough sir - btw, I meant the other shell...I'm not as familiar with Wsh, so I wasn't thinking wscript shell... - thanx.
0
 
LVL 15

Expert Comment

by:Colosseo
ID: 11788551
No bother glad to help :)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question