Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / December 2006

Tip: Looking for answers? Try searching our database.

Need to make a folder that will show in everyones MyDocuments

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Franky - 29 Dec 2006 03:23 GMT
In a prior post I asked about referencing the folder "My Documents"

and someone was good enough to tell me about:

SHGetFolderPath(NULL, CSIDL_PERSONAL|CSIDL_FLAG_CREATE, NULL, 0,
szMyDocPath);

But now I think I asked the wrong question. What I want is a folder into
which I can put a folder that will show in everyone's MyDocuments.

Is there a reference to such a thing??

Thanks
Brian Muth - 29 Dec 2006 04:26 GMT
> In a prior post I asked about referencing the folder "My Documents"
>
[quoted text clipped - 5 lines]
> But now I think I asked the wrong question. What I want is a folder into
> which I can put a folder that will show in everyone's MyDocuments.

Why? They are already there under "C:\Documents and Settings\<users>"

By the way, you will need local Administrator privileges to look at other
people's documents.

Brian
Franky - 31 Dec 2006 16:58 GMT
> > In a prior post I asked about referencing the folder "My Documents"
> >
[quoted text clipped - 7 lines]
>
> Why? They are already there under "C:\Documents and Settings\<users>"

I want to my program to add a new folder

> By the way, you will need local Administrator privileges to look at other
> people's documents.
>
> Brian
David Lowndes - 29 Dec 2006 14:14 GMT
>In a prior post I asked about referencing the folder "My Documents"
>and someone was good enough to tell me about:
[quoted text clipped - 4 lines]
>But now I think I asked the wrong question. What I want is a folder into
>which I can put a folder that will show in everyone's MyDocuments.

Have you tried CSIDL_COMMON_DOCUMENTS?

Dave
Franky - 31 Dec 2006 16:55 GMT
Thanks

> >In a prior post I asked about referencing the folder "My Documents"
> >and someone was good enough to tell me about:
[quoted text clipped - 8 lines]
>
> Dave
Ben Voigt - 29 Dec 2006 14:42 GMT
> In a prior post I asked about referencing the folder "My Documents"
>
[quoted text clipped - 7 lines]
>
> Is there a reference to such a thing??

I don't think so.  The All Users' My Documents folder, called Shared
Documents, doesn't appear to be merged with the user My Documents like the
All Users' Desktop or Start Menu.

You can get an item to appear in the logical "My Documents" view using a
shell namespace extension, of course.  That may be far more trouble than
it's worth to you.  You could also drop a shortcut in the Default User's My
Documents, which will cause every new profile created to include the
shortcut, and then also create the shortcut in existing profiles as desired.

> Thanks
Franky - 30 Dec 2006 15:38 GMT
Thanks

I'm not where I can try anything out.

Would you please comment on what  CSIDL_COMMON_DOCUMENTS is for

Franky

> > In a prior post I asked about referencing the folder "My Documents"
> >
[quoted text clipped - 19 lines]
>
> > Thanks
David Wilkinson - 30 Dec 2006 19:32 GMT
> Thanks
>
[quoted text clipped - 3 lines]
>
> Franky

Franky:

At least on XP, CSIDL_COMMON_DOCUMENTS will give

C:\Documents and Settings\All Users\Documents

which is also called "Shared Documents". By default, any user can read
or write there.

David Wilkinson
Franky - 31 Dec 2006 16:56 GMT
Thanks

> > Thanks
> >
[quoted text clipped - 14 lines]
>
> David Wilkinson

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.