Get contents of My Network Places in C#

  • Thread starter Thread starter Michael A. Covington
  • Start date Start date
M

Michael A. Covington

In a C# program, how can I obtain the contents of My Network Places (i.e., a
set of UNC paths) in order to use them in a menu of my own design? My
Network Places does not appear to be a folder of links, which is what I
thought it was. Is it kept in the Registry?
 
Michael said:
In a C# program, how can I obtain the contents of My Network Places (i.e., a
set of UNC paths) in order to use them in a menu of my own design? My
Network Places does not appear to be a folder of links, which is what I
thought it was. Is it kept in the Registry?

"My Network Places" is a shell namespace extension. I think there's
still no direct support for shell namespaces in .NET 2, so you'll have
to use interop to access the namespace. There's a series of very good
articles on Code Project that explain how to do this (this is the first):

http://www.codeproject.com/csharp/csdoesshell1.asp





Oliver Sturm
 
Oliver Sturm said:
"My Network Places" is a shell namespace extension. I think there's still
no direct support for shell namespaces in .NET 2, so you'll have to use
interop to access the namespace. There's a series of very good articles on
Code Project that explain how to do this (this is the first):

http://www.codeproject.com/csharp/csdoesshell1.asp
Thanks!

omnibus ex nihilo ducendis sufficit unum

"One thing is sufficient for bringing everything (everyone?) out of
nothing"? Alchemy? Number theory?
 
Back
Top