Home > Archive > FoxPro Setup > September 2005 > shellopen.scx & foxpro 8









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author shellopen.scx & foxpro 8
Emilio

2005-09-19, 1:26 pm

Hello all,

My foxpro 8 folders didn't contain a shellopen.scx, so I copied the one from
a foxpro 7 installation. It ran fine (after I had to locate a couple of
..vcx's), but I still get a new instance of foxpro for every file I open
(double-click in Windows Explorer). How can get all (foxpro) files to open in
the current foxpro 8 instance (that I double-click)?

Much appreciated,
Emilio
Portland, OR
Fred Taylor

2005-09-20, 3:24 am

You can't. What you'd have to do is check if the app is already running and
exit the new instance. There's a wide variety of ways you could do this,
like checking for the exclusive use of a table, a record in a table being
locked, a mutex in the OS, etc.

--
Fred
Microsoft Visual FoxPro MVP


"Emilio" <Emilio@discussions.microsoft.com> wrote in message
news:2F7389CE-12FC-4E2D-954C- D17F72C85584@microso
ft.com...
> Hello all,
>
> My foxpro 8 folders didn't contain a shellopen.scx, so I copied the one
> from
> a foxpro 7 installation. It ran fine (after I had to locate a couple of
> .vcx's), but I still get a new instance of foxpro for every file I open
> (double-click in Windows Explorer). How can get all (foxpro) files to open
> in
> the current foxpro 8 instance (that I double-click)?
>
> Much appreciated,
> Emilio
> Portland, OR



Emilio

2005-09-21, 8:25 pm

Thank you Fred.

That's unfortunate, but I appreciate the reply.

-Emilio

Mike Pratt

2005-09-26, 1:25 pm

Hi Emilio,

In a run box you could alwas try <path to vfp8> with the /regserver command
line switch.

On mine it would be "C:\Program Files\Microsoft Visual Foxpro 8\VFP8
/regserver".

Regards,

Mike

"Emilio" <Emilio@discussions.microsoft.com> wrote in message
news:2F7389CE-12FC-4E2D-954C- D17F72C85584@microso
ft.com...
> Hello all,
>
> My foxpro 8 folders didn't contain a shellopen.scx, so I copied the one

from
> a foxpro 7 installation. It ran fine (after I had to locate a couple of
> .vcx's), but I still get a new instance of foxpro for every file I open
> (double-click in Windows Explorer). How can get all (foxpro) files to open

in
> the current foxpro 8 instance (that I double-click)?
>
> Much appreciated,
> Emilio
> Portland, OR



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com