How do i reference %homeshare% in vb.net

Posted on 2009-02-19
Medium Priority
Last Modified: 2012-05-06
I am writing a VB.net app that is too Sync my documents and desktop to a homedrive.
Currently i am trying to find the VB code that in vb script would %homeshare%.
any ideas?
If you want to see the string im trying to access, open a command line prompt and type 'set'
our company uses the "homeshare" string and i am simply trying to read that string in vb! readonly is just fine.
Question by:scottsilvi

Accepted Solution

vigylant earned 500 total points
ID: 23685516
Simply this:

Open in new window


Author Closing Comment

ID: 31548939
Easy Mode, TYvm

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

862 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