Detecting 'My Documents" usind vb.NET

  • Thread starter Thread starter Garry
  • Start date Start date
G

Garry

Coming from VB6, I can detect the My Documents and Application Data
directories using APIs.

Does VB.NET have its own methods to return these values and if so, what are
they.

The vs.net help function is useless.

Garry
 
If you have VB2005, try Environment.SpecialFolder.ApplicationData
and Environment.SpecialFolder.MyDocuments.

Robin S.
 
Garry said:
Coming from VB6, I can detect the My Documents and Application Data
directories using APIs.

Does VB.NET have its own methods to return these values and if so, what are
they.

'System.Environment.GetFolderPath'.
 
Thanks Robin - it werks!!!

Garry


RobinS said:
If you have VB2005, try Environment.SpecialFolder.ApplicationData
and Environment.SpecialFolder.MyDocuments.

Robin S.
 
oh how ****ing cute

did vb change? I for one am sick and tired of working with a BETA
LANGUAGE that is going to be discontinued.

you guys did get the memo about VB.net getting DISCONTINUED.. right?

-Aaron
 
Darn,

Now why didn't I get that memo???? Could you forward that to me Aaron, as
I'm sure you're so all-fired important to MS that they keep you fully
apprised of every move they're making.

Bruce
 
Back
Top