[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 562
  • Last Modified:

How to open Network Share Folder

How to open Network Share Folder from a Windows application using VB.NET?
0
YZlat
Asked:
YZlat
  • 2
  • 2
1 Solution
 
Bob LearnedCommented:
It could be as simple as this:

  Process.Start("\\server\share\path")

Bob

0
 
YZlatAuthor Commented:
what about if I have to use server and a user name to create a path to the shared folder?

can I do this:

Process.Start("\\server\share\path\username") ?
0
 
Bob LearnedCommented:
All you need to have is a valid UNC name for your network.  This would be the same as opening Windows Explorer and typing in the UNC name in the Address block.

Bob
0
 
YZlatAuthor Commented:
Thanks man, it worked!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now