Re: Setting Special Folders

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Quemasda (basura_at_basura.com)
Date: 06/01/04


Date: Tue, 01 Jun 2004 13:39:44 GMT

Hi Jay,

  I hadn't realized your point of view. You are right, it is potentially
very dangerous. Thank you very much for your comments. I'll think of another
way to solve my problem without using this ;-)

Que_Mas_Da.

"Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_MVP@msn.com> escribió en el
mensaje news:uA2qHb9REHA.1340@TK2MSFTNGP12.phx.gbl...
> Quemasda,
> Imagine a "virus" that changed one of the paths without letting the user
> know. I suspect most users won't realize that when your program sets the
> Favorite Folder path, it actually setting the Favorite Folder for all
> programs.
>
> > However, yesterday I found where all those paths are stored in the
> Windows
> > Registry. I'm trying to modify them in the registry. If I success, I'll
> post
> > the way here.
> IMHO this is even worse then using the API! As I understand they are in
the
> registry if they are not the default value...
>
> If you have the API use the API. It sounded like you have the API. I hope
> you realize that is what APIs are for...
>
> Hope this helps
> Jay
>
>
> "Quemasda" <basura@basura.com> wrote in message
> news:kMVuc.697069$A6.2670422@telenews.teleline.es...
> > Hi Jay,
> >
> > Why are you so concerned about modifying those paths? Image a program
> > which sets the Favorite Folder. It could modify the current path of that
> > folder and set a new path in user convinience.
> >
> > However, yesterday I found where all those paths are stored in the
> Windows
> > Registry. I'm trying to modify them in the registry. If I success, I'll
> post
> > the way here.
> >
> > Thanks, Que_Mas_Da.
> >
> >
> > "Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_MVP@msn.com> escribió en el
> > mensaje news:efcYlS5REHA.1208@TK2MSFTNGP09.phx.gbl...
> > > Que_Mas_Da,
> > > .NET does not expose that API to be used, I would seriously question a
> > > program that needed to use that API.
> > >
> > > Anyway you can use the same API in VB.NET if you can use it in VB6.
Just
> > > remember that Integer is 16 bit in VB6 while its 32bit in VB.NET.
> > >
> > > Hope this helps
> > > Jay
> > >
> > > "Quemasda" <basura@basura.com> wrote in message
> > > news:N5Euc.678299$A6.2613056@telenews.teleline.es...
> > > > You could do it up to VB6 by using and API function, so I suppose it
> > might
> > > > be possible as well with VB.Net.
> > > >
> > > > Que_Mas_Da
> > > >
> > > >
> > > > "Cor Ligthert" <notfirstname@planet.nl> escribió en el mensaje
> > > > news:#ikRSmvREHA.3016@TK2MSFTNGP10.phx.gbl...
> > > > > Hi Quemasda,
> > > > >
> > > > > I think you can not change this kind of maps by hand, so why would
> you
> > > be
> > > > > able to do it by program. It is just an enumeration from the used
OP
> > > > system
> > > > > in my opinon.
> > > > >
> > > > > Cor
> > > > > >
> > > > > > thanks a lot for your answer. In fact, this is what I use to
get
> > the
> > > > > > current path, but how do you set a new one if you want to change
> it?
> > > > > >
> > > > > > Thanks again, Que_Mas_Da.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: How to change a single value in Registry with a simple file?
    ... You can modify a single value using a .REG file. ... But for acting in Registry, ... Search or Command Prompt opens when double clicking a folder ...
    (microsoft.public.windowsxp.general)
  • Re: Setting Special Folders
    ... folder and set a new path in user convinience. ... I'm trying to modify them in the registry. ... > program that needed to use that API. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Rights to run a program...
    ... Hummm...doesn't sound like a well-written program. ... can't find anything to modify in the registry is there any ... files in another folder such as Windows or similar may ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Copy folder w/ user permission intact
    ... but it keep telling me that 0 files and folder was copied. ... You can modify how Windows Explorer handles permissions when objects are ... If you use Registry Editor incorrectly, ...
    (microsoft.public.windows.server.general)
  • Re: Setting Special Folders
    ... Favorite Folder path, it actually setting the Favorite Folder for all ... I'm trying to modify them in the registry. ... IMHO this is even worse then using the API! ...
    (microsoft.public.dotnet.languages.vb)