(Msg. 1) Posted: Tue Sep 16, 2008 6:18 am
Post subject: Custom Folder and Folder Association Archived from groups: microsoft>public>windows>vista>file_management (more info?)
Hi,
Just wondering if it is possible to make a folder association on
windows xp/vista
Basically I have a folder with alot of things in it and I want my users
to just double click on that folder then it will launch my application
and have my application to go through the contents inside that folder. I
know how to do a file assoication but I really want to implement folder
association.
I am trying to make a shell extension through playing around with
registry, I have been reading forums and tutorials, not much luck. The
closest thing I encounter is
'_http://www.pctools.com/guides/registry/detail/73/_'
(http://www.pctools.com/guides/registry/detail/73/)
but this is not exactly want I want. I want it to be detect via
extension. I have been experimenting things like make an empty folder
with a CLSID (modify in regedit but it is not correct) and add that
extension ID to an empty folder, i.e. folder.{21321-21312..-..} that
seem solve some of my problem, like the icon changes and you can put
things in it, but when try to access via code, it recongise it as a
file, not a folder.
(Msg. 2) Posted: Tue Sep 16, 2008 3:44 pm
Post subject: Re: Custom Folder and Folder Association [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
You have the idea reversed. Make a short cut to start your application, and
have it start in that folder.
"extraz" <guest.DeleteThis@unknown-email.com> wrote in message
news:8da045db3a9ab81b90ee2a11db0c6169@nntp-gateway.com...
>
> Hi,
>
> Just wondering if it is possible to make a folder association on
> windows xp/vista
>
> Basically I have a folder with alot of things in it and I want my users
> to just double click on that folder then it will launch my application
> and have my application to go through the contents inside that folder. I
> know how to do a file assoication but I really want to implement folder
> association.
>
> I am trying to make a shell extension through playing around with
> registry, I have been reading forums and tutorials, not much luck. The
> closest thing I encounter is
> '_http://www.pctools.com/guides/registry/detail/73/_'
> (http://www.pctools.com/guides/registry/detail/73/)
>
> but this is not exactly want I want. I want it to be detect via
> extension. I have been experimenting things like make an empty folder
> with a CLSID (modify in regedit but it is not correct) and add that
> extension ID to an empty folder, i.e. folder.{21321-21312..-..} that
> seem solve some of my problem, like the icon changes and you can put
> things in it, but when try to access via code, it recongise it as a
> file, not a folder.
>
> Can someone kindly shed some light?
>
> Thank you
> Simon
>
>
> --
> extraz
(Msg. 3) Posted: Tue Sep 16, 2008 4:23 pm
Post subject: Re: Custom Folder and Folder Association [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Hi,
Thanks for the reply
Sorry, I didnt explain myself clear enough in my previous post, the
reason I want this is because I want my application to produce these
custom folders (many of these "packages") and when my users double click
on these "packages" instead of openning it as a folder, it will launch
my application and go through these "packages", is kind of like a
portable thing..
I have been experimenting with things, the code below sort out some of
my problems, but not exactly what I want...
if I rename a Vista folder and add the extension of the CLSID i.e.
MyCustomFolder.{30a7e1b3-e763-4789-a54d-fcc53dcf973a}]
(Please Refer to the code below)
it will create MyCustomfolder, but it does not give open my application
via double click
(Msg. 4) Posted: Wed Sep 17, 2008 3:12 am
Post subject: Re: Custom Folder and Folder Association [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
If your application is producing these packages then they should not be
folders, as presumably they should not be accessed other than by your
application.
You should use a zipping or archiving utility to create an executable
'package'. Use the option that invokes an application when the user
executes the 'package', and nominate your application as the one to be
invoked.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"extraz" <guest RemoveThis @unknown-email.com> wrote in message
news:da919b95d14e792e499f15f52b06e54c@nntp-gateway.com...
>
> Hi,
>
> Thanks for the reply
>
> Sorry, I didnt explain myself clear enough in my previous post, the
> reason I want this is because I want my application to produce these
> custom folders (many of these "packages") and when my users double click
> on these "packages" instead of openning it as a folder, it will launch
> my application and go through these "packages", is kind of like a
> portable thing..
>
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum