Not exactly a VFP question

Is there a firing event that can be used
when someone opens a folder?

I would like to make an app that would start
when the user enters into a folder, in order, let us say,
to remind you something.

Demetrios, Greece

Re: to GURUs by Roger

Roger
Fri Mar 05 06:58:42 CST 2004

Demetrios Panayiotakopoulos <dpanayiotakopoulos_my_dat@_my_ametro.gr>
wrote:
> Not exactly a VFP question

That's OK, I'm not exactly a Guru! ;-)

> Is there a firing event that can be used
> when someone opens a folder?

> I would like to make an app that would start
> when the user enters into a folder, in order, let us say,
> to remind you something.

It's possible to create a Shell extension (in-process
COM server) to handle moving, re-naming, copying
or deleting folders - have a look at ICopyHook and
its CopyCallBack method in MSDN.
AFIAK, there's no way capture the event of "opening"
a folder (ie expanding folder node in Explorer).

Anyway, it would be pretty annoying for the end user
if every time they "opened" a specific folder in Explorer,
they got some pop-up reminder or whatever.
Perhaps there's a better way to alert your end-users
of things they should do!

-Roger
--
Roger Ansell
Adelaide, Australia

My real email address is ransell at senet dot com dot au



Re: to GURUs by Demetrios

Demetrios
Fri Mar 05 09:03:48 CST 2004

Roger,

Thanks for your reply.

We handle a a lot of raw data for transportation models, and the reason that
I want this is that in a couple of cases, someting in these data needs to be
modified, before converted.
And all I wanted to do is to have some tool to remind me that.
So that, any time I entered in these specific folders (useing explorer) to
download and convert the data, to have a reminder. "Don't forget to do...".
Fortunately I can annotate a folder, but all I am afraid off is that some
day, I may forget to make the change.

Demetrios, Greece

"Roger Ansell" <notmyreal@emailaddress.com> wrote in message
news:c29tho$em0i7$1@ID-212432.news.uni-berlin.de...
> Demetrios Panayiotakopoulos <dpanayiotakopoulos_my_dat@_my_ametro.gr>
> wrote:
> > Not exactly a VFP question
>
> That's OK, I'm not exactly a Guru! ;-)
>
> > Is there a firing event that can be used
> > when someone opens a folder?
>
> > I would like to make an app that would start
> > when the user enters into a folder, in order, let us say,
> > to remind you something.
>
> It's possible to create a Shell extension (in-process
> COM server) to handle moving, re-naming, copying
> or deleting folders - have a look at ICopyHook and
> its CopyCallBack method in MSDN.
> AFIAK, there's no way capture the event of "opening"
> a folder (ie expanding folder node in Explorer).
>
> Anyway, it would be pretty annoying for the end user
> if every time they "opened" a specific folder in Explorer,
> they got some pop-up reminder or whatever.
> Perhaps there's a better way to alert your end-users
> of things they should do!
>
> -Roger
> --
> Roger Ansell
> Adelaide, Australia
>
> My real email address is ransell at senet dot com dot au
>
>



Re: to GURUs by Jacobus

Jacobus
Fri Mar 05 12:41:03 CST 2004

Some ideas:

You can take a look at .NET's FileSystemWatcher Class

You can write a service or a separe program with a timer which monitors
certain folders or files for changes and then notify
users.

Jacobus Terhorst


"Demetrios Panayiotakopoulos" <dpanayiotakopoulos_my_dat@_my_ametro.gr>
wrote in message news:uUXsZBcAEHA.2632@TK2MSFTNGP12.phx.gbl...
> Not exactly a VFP question
>
> Is there a firing event that can be used
> when someone opens a folder?
>
> I would like to make an app that would start
> when the user enters into a folder, in order, let us say,
> to remind you something.
>
> Demetrios, Greece
>
>



Re: to GURUs by Demetrios

Demetrios
Sat Mar 06 03:58:35 CST 2004

Hi Jacobus,

That's really for GURUs !!
I am afraid I am not that good.

Thanks anyway.

Demetrios, Greece

"Jacobus Terhorst" <lanto3000@hotmail.com> wrote in message
news:OyPGmFuAEHA.3184@TK2MSFTNGP09.phx.gbl...
> Some ideas:
>
> You can take a look at .NET's FileSystemWatcher Class
>
> You can write a service or a separe program with a timer which monitors
> certain folders or files for changes and then notify
> users.
>
> Jacobus Terhorst
>
>
> "Demetrios Panayiotakopoulos" <dpanayiotakopoulos_my_dat@_my_ametro.gr>
> wrote in message news:uUXsZBcAEHA.2632@TK2MSFTNGP12.phx.gbl...
> > Not exactly a VFP question
> >
> > Is there a firing event that can be used
> > when someone opens a folder?
> >
> > I would like to make an app that would start
> > when the user enters into a folder, in order, let us say,
> > to remind you something.
> >
> > Demetrios, Greece
> >
> >
>
>



Re: to GURUs by Roger

Roger
Sat Mar 06 08:13:12 CST 2004

Jacobus Terhorst <lanto3000@hotmail.com> wrote:
> Some ideas:
>
> You can take a look at .NET's FileSystemWatcher Class
>
> You can write a service or a separe program with a timer which
> monitors certain folders or files for changes and then notify
> users.
>
> Jacobus Terhorst

Unfortunately, that won't do the job either.
.Net's FileSystemWatcher class can do no more than
a Shell hook. IOW it can't detect if a folder has been
"opened" in Win Explorer.

--
Roger Ansell
Australian President
FE AVP et Cie
Adelaide, Australia

My real email address is ransell at senet dot com dot au



Re: to GURUs by Roger

Roger
Sat Mar 06 08:59:00 CST 2004

Demetrios Panayiotakopoulos <dpanayiotakopoulos_my_dat@_my_ametro.gr>
wrote:
> Roger,
>
> Thanks for your reply.
>
> We handle a a lot of raw data for transportation models, and the
> reason that I want this is that in a couple of cases, someting in
> these data needs to be modified, before converted.
> And all I wanted to do is to have some tool to remind me that.
> So that, any time I entered in these specific folders (useing
> explorer) to download and convert the data, to have a reminder.
> "Don't forget to do...". Fortunately I can annotate a folder, but all
> I am afraid off is that some day, I may forget to make the change.


Hi Demetrios,

Well, unless someone else has a better idea, you're out of luck.
Since the Shell has no idea about folders being "opened" or "closed",
the only option as far as I can see is to try to hook into
Win Explorer's Treeview control and detect when
a particular node is expanded/selected or not.
Just to complicate matters, Explorer has a ListView control too
(the right-hand panel in Explorer).

Bottom line is, you'd have to create a Shell extension COM
inproc server to do this .. but it would have to involve some
pretty fancy legwork (screen-scraping, message intercepting).

Having said all that, as sure as night follows day, some smart
bastard will follow up with an "easy" way to do it. ;-)
In the meantime, I'd say ... forget it!

Regards

-Roger
--
Roger Ansell
Australian President
FE AVP et Cie
Adelaide, Australia

My real email address is ransell at senet dot com dot au



Re: to GURUs by Anders

Anders
Sun Mar 07 11:52:17 CST 2004

Why not put the reminder at the start of the conversion routine.
-Anders

"Demetrios Panayiotakopoulos" <dpanayiotakopoulos_my_dat@_my_ametro.gr>
wrote in message news:uXBbTNsAEHA.1420@TK2MSFTNGP11.phx.gbl...
> Roger,
>
> Thanks for your reply.
>
> We handle a a lot of raw data for transportation models, and the reason
that
> I want this is that in a couple of cases, someting in these data needs to
be
> modified, before converted.
> And all I wanted to do is to have some tool to remind me that.
> So that, any time I entered in these specific folders (useing explorer) to
> download and convert the data, to have a reminder. "Don't forget to
do...".
> Fortunately I can annotate a folder, but all I am afraid off is that some
> day, I may forget to make the change.
>
> Demetrios, Greece
>
> "Roger Ansell" <notmyreal@emailaddress.com> wrote in message
> news:c29tho$em0i7$1@ID-212432.news.uni-berlin.de...
> > Demetrios Panayiotakopoulos <dpanayiotakopoulos_my_dat@_my_ametro.gr>
> > wrote:
> > > Not exactly a VFP question
> >
> > That's OK, I'm not exactly a Guru! ;-)
> >
> > > Is there a firing event that can be used
> > > when someone opens a folder?
> >
> > > I would like to make an app that would start
> > > when the user enters into a folder, in order, let us say,
> > > to remind you something.
> >
> > It's possible to create a Shell extension (in-process
> > COM server) to handle moving, re-naming, copying
> > or deleting folders - have a look at ICopyHook and
> > its CopyCallBack method in MSDN.
> > AFIAK, there's no way capture the event of "opening"
> > a folder (ie expanding folder node in Explorer).
> >
> > Anyway, it would be pretty annoying for the end user
> > if every time they "opened" a specific folder in Explorer,
> > they got some pop-up reminder or whatever.
> > Perhaps there's a better way to alert your end-users
> > of things they should do!
> >
> > -Roger
> > --
> > Roger Ansell
> > Adelaide, Australia
> >
> > My real email address is ransell at senet dot com dot au
> >
> >
>
>