?
Solved

Quick one on FSO

Posted on 2004-08-12
4
Medium Priority
?
269 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 500 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

764 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