I have an application that I want to be able to include some "optional"
components into. Currently the application is one big image and ideally
I would like to not have the optional pieces increase the image size
etc.

What techniques have people used to modularize applications?


thanks,

pete

Re: Segmenting an application by Anders

Anders
Mon May 24 06:56:35 CDT 2004

Peter
A VFP exectuable can call VFP code compiled as COM-server DLL files or as
APP files.


"Peter Huish" <huish@ozemail.com.au> wrote in message
news:MPG.1b1c55fab55d896698972e@news.easynews.com...
>
> I have an application that I want to be able to include some "optional"
> components into. Currently the application is one big image and ideally
> I would like to not have the optional pieces increase the image size
> etc.
>
> What techniques have people used to modularize applications?
>
>
> thanks,
>
> pete


Re: Segmenting an application by Rick

Rick
Mon May 24 08:17:30 CDT 2004

Pete,
Just to add to Anders information, if you do this, it's a good idea to =
add version checking capabilities to your APPs and/or VFP COM =
components. Otherwise you may find yourself trying to figure out =
"problems" that are due to users restoring or copying around "old" code =
files.

Rick

"Peter Huish" <huish@ozemail.com.au> wrote in message =
news:MPG.1b1c55fab55d896698972e@news.easynews.com...
>=20
> I have an application that I want to be able to include some =
"optional"=20
> components into. Currently the application is one big image and =
ideally=20
> I would like to not have the optional pieces increase the image size=20
> etc.
>=20
> What techniques have people used to modularize applications?
>=20
>=20
> thanks,
>=20
> pete

Re: Segmenting an application by Peter

Peter
Mon May 24 16:29:29 CDT 2004


> A VFP exectuable can call VFP code compiled as COM-server DLL files or as
> APP files.

Can these include forms etc?


thanks,

pete

Re: Segmenting an application by Peter

Peter
Mon May 24 16:30:27 CDT 2004


> Just to add to Anders information, if you do this, it's a good idea to =
> add version checking capabilities to your APPs and/or VFP COM =
> components. Otherwise you may find yourself trying to figure out =
> "problems" that are due to users restoring or copying around "old" code =
> files.

Good pint, thanks

Re: Segmenting an application by William

William
Mon May 24 21:36:21 CDT 2004

VFP .DLL's don't support a user interface, you have to use VFP .EXE
automation servers for that. Not sure about .APP's.

--
William Fields
MCSD - Microsoft Visual FoxPro
MCP - Win2k Pro
US Bankruptcy Court
Phoenix, AZ

"I love deadlines. I love the whooshing sound they make as they fly by."

- Douglas Adams (R.I.P.)


"Peter Huish" <huish@ozemail.com.au> wrote in message
news:MPG.1b1d144c3f459a18989730@news.easynews.com...
>
> > A VFP exectuable can call VFP code compiled as COM-server DLL files or
as
> > APP files.
>
> Can these include forms etc?
>
>
> thanks,
>
> pete



Re: Segmenting an application by Pierre

Pierre
Tue May 25 01:10:21 CDT 2004

Hi Peter,

how about dividing the whole thing into several Projects, compiling
them as EXE-Files and then calling your classes via "NewObject"?

I'm running the same thing with EXE-Files in a subfolder to my MainApp.
Releasing he class from memory when it's not needed at the moment,
enables me to change whole user-interfaces during runtime.

HTH,
Pierre

Re: Segmenting an application by Roger

Roger
Tue May 25 08:26:26 CDT 2004

Peter Huish <huish@ozemail.com.au> wrote:
>> A VFP exectuable can call VFP code compiled as COM-server DLL files
>> or as APP files.
>
> Can these include forms etc?

APPs execute in-process and can include forms.
COM DLLs execute in-process but can't include any visual interface.
COM EXEs can include forms but execute out-of-process.

For segmenting an application into logical components, using APPs
is by far the simplest approach and is seamless from an end-user
perspective.

-Roger
--
Roger Ansell
Adelaide, Australia

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