Hi All,

I need to deploy a foxpro application. The tables are foxpro tables and the
project also has .vcx files. How to package the tables and the class
libraries so that, when the application is deployed, the tables class library
files are hidden, even if the customer install visual foxpro developer's kit?

Regards,
kd

Re: Hiding tables and class libraries during deployment by Eric

Eric
Tue Feb 15 01:08:13 CST 2005

If you include the VCX files in your project and you compile to APP/EXE,
then you don't have to ship these with your APP/EXE. You can also include
your tables in the APP/EXE, but then you won't be able to store new data in
your tables.

You can protect your application against the Refox decompiler by branding it
with Refox, but this protection is not 100% safe.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8

"kd" <kd@discussions.microsoft.com> wrote in message
news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
> Hi All,
>
> I need to deploy a foxpro application. The tables are foxpro tables and
> the
> project also has .vcx files. How to package the tables and the class
> libraries so that, when the application is deployed, the tables class
> library
> files are hidden, even if the customer install visual foxpro developer's
> kit?
>
> Regards,
> kd
>
>
>



Re: Hiding tables and class libraries during deployment by kd

kd
Tue Feb 15 01:55:07 CST 2005

Thanks Eric.

I have a question though. When the class lirary is loaded, using
SET CLASSLIB TO
I have given a path to locate the vcx file. This being the scenario, how
would the application, after being deployed, be able to locate the vcx file,
if it is not present in given path?

Thanks

kd

"Eric den Doop" wrote:

> If you include the VCX files in your project and you compile to APP/EXE,
> then you don't have to ship these with your APP/EXE. You can also include
> your tables in the APP/EXE, but then you won't be able to store new data in
> your tables.
>
> You can protect your application against the Refox decompiler by branding it
> with Refox, but this protection is not 100% safe.
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>
> "kd" <kd@discussions.microsoft.com> wrote in message
> news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
> > Hi All,
> >
> > I need to deploy a foxpro application. The tables are foxpro tables and
> > the
> > project also has .vcx files. How to package the tables and the class
> > libraries so that, when the application is deployed, the tables class
> > library
> > files are hidden, even if the customer install visual foxpro developer's
> > kit?
> >
> > Regards,
> > kd
> >
> >
> >
>
>
>

Re: Hiding tables and class libraries during deployment by kd

kd
Tue Feb 15 02:21:03 CST 2005

I just tried out what you said. Built an exe and then didn't include the .vcx
in the deployed project. It works. The exe may be creating a reference I
guess. Thanks.

Another question. My project involves updation of tables. That would mean
that I may have to include the tables in the deployed project. Would it be
possible to hide the database structure - I mean the relationship between
tables, primary and foreign keys, etc?

kd

"Eric den Doop" wrote:

> If you include the VCX files in your project and you compile to APP/EXE,
> then you don't have to ship these with your APP/EXE. You can also include
> your tables in the APP/EXE, but then you won't be able to store new data in
> your tables.
>
> You can protect your application against the Refox decompiler by branding it
> with Refox, but this protection is not 100% safe.
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>
> "kd" <kd@discussions.microsoft.com> wrote in message
> news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
> > Hi All,
> >
> > I need to deploy a foxpro application. The tables are foxpro tables and
> > the
> > project also has .vcx files. How to package the tables and the class
> > libraries so that, when the application is deployed, the tables class
> > library
> > files are hidden, even if the customer install visual foxpro developer's
> > kit?
> >
> > Regards,
> > kd
> >
> >
> >
>
>
>

Re: Hiding tables and class libraries during deployment by Wolfgang

Wolfgang
Tue Feb 15 04:32:23 CST 2005

Hi!
You should never use a hard coded path to a dbf, classlib or any other file.
If you as Eric suggested, include the VCX,FXP... in the project (EXE) VFP
looks for it in the "Virtual Drive MyApp.exe" and if the fox cannot find it
there it will look for it along your Path (set path to Data,Reports).
As you cannot be sure, that your app is alway installed on the same Drive or
folder you should avoid hard coded paths

--


------------------------------

Mit freundlichen Güßen aus der Zigarrenstadt

Wolfgang Schmale

------------------------------------------------
"kd" <kd@discussions.microsoft.com> schrieb im Newsbeitrag
news:0E6088C5-27A4-4751-99BE-8807FEC75862@microsoft.com...
> Thanks Eric.
>
> I have a question though. When the class lirary is loaded, using
> SET CLASSLIB TO
> I have given a path to locate the vcx file. This being the scenario, how
> would the application, after being deployed, be able to locate the vcx
> file,
> if it is not present in given path?
>
> Thanks
>
> kd
>
> "Eric den Doop" wrote:
>
>> If you include the VCX files in your project and you compile to APP/EXE,
>> then you don't have to ship these with your APP/EXE. You can also include
>> your tables in the APP/EXE, but then you won't be able to store new data
>> in
>> your tables.
>>
>> You can protect your application against the Refox decompiler by branding
>> it
>> with Refox, but this protection is not 100% safe.
>> --
>> Eric den Doop
>> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>>
>> "kd" <kd@discussions.microsoft.com> wrote in message
>> news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
>> > Hi All,
>> >
>> > I need to deploy a foxpro application. The tables are foxpro tables and
>> > the
>> > project also has .vcx files. How to package the tables and the class
>> > libraries so that, when the application is deployed, the tables class
>> > library
>> > files are hidden, even if the customer install visual foxpro
>> > developer's
>> > kit?
>> >
>> > Regards,
>> > kd
>> >
>> >
>> >
>>
>>
>>



Re: Hiding tables and class libraries during deployment by Wolfgang

Wolfgang
Tue Feb 15 04:39:17 CST 2005

Hi!

you may include the dbfs oder DBC in your compiled EXE but then they are
readonly. As you have to deploy the Data files separately there is no
Protection for the table structure in a direct way.
You may control the table structure every time your app starts and refuse
running if the structure has been changed since the last time, or you may
encrypt your DBFs and DBC with Cryptor written by Xitech.

--


------------------------------

Mit freundlichen Güßen aus der Zigarrenstadt

Wolfgang Schmale

------------------------------------------------
"kd" <kd@discussions.microsoft.com> schrieb im Newsbeitrag
news:11EF0488-7921-4163-A4A5-E2963CB5F3A1@microsoft.com...
>I just tried out what you said. Built an exe and then didn't include the
>.vcx
> in the deployed project. It works. The exe may be creating a reference I
> guess. Thanks.
>
> Another question. My project involves updation of tables. That would mean
> that I may have to include the tables in the deployed project. Would it be
> possible to hide the database structure - I mean the relationship between
> tables, primary and foreign keys, etc?
>
> kd
>
> "Eric den Doop" wrote:
>
>> If you include the VCX files in your project and you compile to APP/EXE,
>> then you don't have to ship these with your APP/EXE. You can also include
>> your tables in the APP/EXE, but then you won't be able to store new data
>> in
>> your tables.
>>
>> You can protect your application against the Refox decompiler by branding
>> it
>> with Refox, but this protection is not 100% safe.
>> --
>> Eric den Doop
>> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>>
>> "kd" <kd@discussions.microsoft.com> wrote in message
>> news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
>> > Hi All,
>> >
>> > I need to deploy a foxpro application. The tables are foxpro tables and
>> > the
>> > project also has .vcx files. How to package the tables and the class
>> > libraries so that, when the application is deployed, the tables class
>> > library
>> > files are hidden, even if the customer install visual foxpro
>> > developer's
>> > kit?
>> >
>> > Regards,
>> > kd
>> >
>> >
>> >
>>
>>
>>



Re: Hiding tables and class libraries during deployment by Cyrus

Cyrus
Tue Feb 15 10:06:59 CST 2005

kd wrote:
> I just tried out what you said. Built an exe and then didn't include the .vcx
> in the deployed project. It works. The exe may be creating a reference I
> guess. Thanks.
>
> Another question. My project involves updation of tables. That would mean
> that I may have to include the tables in the deployed project. Would it be
> possible to hide the database structure - I mean the relationship between
> tables, primary and foreign keys, etc?
>
> kd
>
> "Eric den Doop" wrote:
>
>
>>If you include the VCX files in your project and you compile to APP/EXE,
>>then you don't have to ship these with your APP/EXE. You can also include
>>your tables in the APP/EXE, but then you won't be able to store new data in
>>your tables.
>>
>>You can protect your application against the Refox decompiler by branding it
>>with Refox, but this protection is not 100% safe.
>>--
>>Eric den Doop
>>www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>>
>>"kd" <kd@discussions.microsoft.com> wrote in message
>>news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
>>
>>>Hi All,
>>>
>>>I need to deploy a foxpro application. The tables are foxpro tables and
>>>the
>>>project also has .vcx files. How to package the tables and the class
>>>libraries so that, when the application is deployed, the tables class
>>>library
>>>files are hidden, even if the customer install visual foxpro developer's
>>>kit?
>>>
>>>Regards,
>>>kd
>>>
>>>
>>>
>>
>>
>>
It's normal that VFP always looks first inside the EXE or app for any
files referenced. This means that if you include a file in the project
and then try to distribute it as well, it will always find the internal
one rather than the external one.

--
Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com

Re: Hiding tables and class libraries during deployment by Tom

Tom
Tue Feb 15 10:38:52 CST 2005

Hi Kd,

I think there has been a misunderstanding here, though I may be wrong
because I do not have as much experience as others.

Anyway, it is my understanding that you want to INCLUDE your VCX files,
which is done by default anyway. Check <Project> <Project Info> [Files].

When a file in INCLUDED that means all the information (code, data, etc.) is
compiled into the executable, and since it is included in the executable,
you do not have to deploy any included file -- it's already there. (I am
not so sure about this but...) That means that you should not have to
reference a path because the EXE should find the "included file" inside
itself.

I have never done it but if you did include the DBC and DBFs then you should
be able to access those tables as read only tables like Wolfgang said.

Regards,
Tom Clark

"kd" <kd@discussions.microsoft.com> wrote in message
news:11EF0488-7921-4163-A4A5-E2963CB5F3A1@microsoft.com...
>I just tried out what you said. Built an exe and then didn't include the
>.vcx
> in the deployed project. It works. The exe may be creating a reference I
> guess. Thanks.
>
> Another question. My project involves updation of tables. That would mean
> that I may have to include the tables in the deployed project. Would it be
> possible to hide the database structure - I mean the relationship between
> tables, primary and foreign keys, etc?
>
> kd
>
> "Eric den Doop" wrote:
>
>> If you include the VCX files in your project and you compile to APP/EXE,
>> then you don't have to ship these with your APP/EXE. You can also include
>> your tables in the APP/EXE, but then you won't be able to store new data
>> in
>> your tables.
>>
>> You can protect your application against the Refox decompiler by branding
>> it
>> with Refox, but this protection is not 100% safe.
>> --
>> Eric den Doop
>> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>>
>> "kd" <kd@discussions.microsoft.com> wrote in message
>> news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
>> > Hi All,
>> >
>> > I need to deploy a foxpro application. The tables are foxpro tables and
>> > the
>> > project also has .vcx files. How to package the tables and the class
>> > libraries so that, when the application is deployed, the tables class
>> > library
>> > files are hidden, even if the customer install visual foxpro
>> > developer's
>> > kit?
>> >
>> > Regards,
>> > kd
>> >
>> >
>> >
>>
>>
>>



Re: Hiding tables and class libraries during deployment by Cyrus

Cyrus
Tue Feb 15 19:23:19 CST 2005

Tom Clark wrote:
> Hi Kd,
>
> I think there has been a misunderstanding here, though I may be wrong
> because I do not have as much experience as others.
>
> Anyway, it is my understanding that you want to INCLUDE your VCX files,
> which is done by default anyway. Check <Project> <Project Info> [Files].
>
> When a file in INCLUDED that means all the information (code, data, etc.) is
> compiled into the executable, and since it is included in the executable,
> you do not have to deploy any included file -- it's already there. (I am
> not so sure about this but...) That means that you should not have to
> reference a path because the EXE should find the "included file" inside
> itself.
>
> I have never done it but if you did include the DBC and DBFs then you should
> be able to access those tables as read only tables like Wolfgang said.
>
> Regards,
> Tom Clark
>
> "kd" <kd@discussions.microsoft.com> wrote in message
> news:11EF0488-7921-4163-A4A5-E2963CB5F3A1@microsoft.com...
>
>>I just tried out what you said. Built an exe and then didn't include the
>>.vcx
>>in the deployed project. It works. The exe may be creating a reference I
>>guess. Thanks.
>>
>>Another question. My project involves updation of tables. That would mean
>>that I may have to include the tables in the deployed project. Would it be
>>possible to hide the database structure - I mean the relationship between
>>tables, primary and foreign keys, etc?
>>
>>kd
>>
>>"Eric den Doop" wrote:
>>
>>
>>>If you include the VCX files in your project and you compile to APP/EXE,
>>>then you don't have to ship these with your APP/EXE. You can also include
>>>your tables in the APP/EXE, but then you won't be able to store new data
>>>in
>>>your tables.
>>>
>>>You can protect your application against the Refox decompiler by branding
>>>it
>>>with Refox, but this protection is not 100% safe.
>>>--
>>>Eric den Doop
>>>www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>>>
>>>"kd" <kd@discussions.microsoft.com> wrote in message
>>>news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
>>>
>>>>Hi All,
>>>>
>>>>I need to deploy a foxpro application. The tables are foxpro tables and
>>>>the
>>>>project also has .vcx files. How to package the tables and the class
>>>>libraries so that, when the application is deployed, the tables class
>>>>library
>>>>files are hidden, even if the customer install visual foxpro
>>>>developer's
>>>>kit?

I include read-only tables inside my EXEs all the time. If the customer
is never supposed to change them, and it's only supposed to be a
developer that changes them, this sure adds another layer of protection.
A lot of my functionality is table driven, but requires objects and
such that I had to create, so the definition files are all included in
the EXE so I don't have to worry about users deleting them or something
stupid like that.

--
Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com

Re: Hiding tables and class libraries during deployment by kd

kd
Tue Feb 15 23:09:02 CST 2005

Thanks to all of you for responding to my query.

I have now come to the understanding that, if I include files in <Project>
<Project Info> [Files], then I don't have to provide an external copy of the
same file, since it will be included in the .exe/.app. I can do this for .vcx
files, since I do not want the customer to modify them. In the code, how
would I tell the compiler where to look for the .vcx file unless I specify a
path. My .vcx files are not in the default directory of the project.

About the database and tables, my application involves inserting, updating
and deletion of records. As far as my understanding goes, if I include the
dbc with the tables in the project, then I would not be able to do the above
mentioned operations. Or do you mean that the above operations can be
performed and that only the dbc structure is read only.

Thanks.
kd

"Cyrus Welch" wrote:

> Tom Clark wrote:
> > Hi Kd,
> >
> > I think there has been a misunderstanding here, though I may be wrong
> > because I do not have as much experience as others.
> >
> > Anyway, it is my understanding that you want to INCLUDE your VCX files,
> > which is done by default anyway. Check <Project> <Project Info> [Files].
> >
> > When a file in INCLUDED that means all the information (code, data, etc.) is
> > compiled into the executable, and since it is included in the executable,
> > you do not have to deploy any included file -- it's already there. (I am
> > not so sure about this but...) That means that you should not have to
> > reference a path because the EXE should find the "included file" inside
> > itself.
> >
> > I have never done it but if you did include the DBC and DBFs then you should
> > be able to access those tables as read only tables like Wolfgang said.
> >
> > Regards,
> > Tom Clark
> >
> > "kd" <kd@discussions.microsoft.com> wrote in message
> > news:11EF0488-7921-4163-A4A5-E2963CB5F3A1@microsoft.com...
> >
> >>I just tried out what you said. Built an exe and then didn't include the
> >>.vcx
> >>in the deployed project. It works. The exe may be creating a reference I
> >>guess. Thanks.
> >>
> >>Another question. My project involves updation of tables. That would mean
> >>that I may have to include the tables in the deployed project. Would it be
> >>possible to hide the database structure - I mean the relationship between
> >>tables, primary and foreign keys, etc?
> >>
> >>kd
> >>
> >>"Eric den Doop" wrote:
> >>
> >>
> >>>If you include the VCX files in your project and you compile to APP/EXE,
> >>>then you don't have to ship these with your APP/EXE. You can also include
> >>>your tables in the APP/EXE, but then you won't be able to store new data
> >>>in
> >>>your tables.
> >>>
> >>>You can protect your application against the Refox decompiler by branding
> >>>it
> >>>with Refox, but this protection is not 100% safe.
> >>>--
> >>>Eric den Doop
> >>>www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
> >>>
> >>>"kd" <kd@discussions.microsoft.com> wrote in message
> >>>news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
> >>>
> >>>>Hi All,
> >>>>
> >>>>I need to deploy a foxpro application. The tables are foxpro tables and
> >>>>the
> >>>>project also has .vcx files. How to package the tables and the class
> >>>>libraries so that, when the application is deployed, the tables class
> >>>>library
> >>>>files are hidden, even if the customer install visual foxpro
> >>>>developer's
> >>>>kit?
>
> I include read-only tables inside my EXEs all the time. If the customer
> is never supposed to change them, and it's only supposed to be a
> developer that changes them, this sure adds another layer of protection.
> A lot of my functionality is table driven, but requires objects and
> such that I had to create, so the definition files are all included in
> the EXE so I don't have to worry about users deleting them or something
> stupid like that.
>
> --
> Cy Welch
> Senior Programmer
> MetSYS Inc
> http://www.metsysinc.com
>

Re: Hiding tables and class libraries during deployment by Cyrus

Cyrus
Wed Feb 16 00:00:16 CST 2005

kd wrote:
> Thanks to all of you for responding to my query.
>
> I have now come to the understanding that, if I include files in <Project>
> <Project Info> [Files], then I don't have to provide an external copy of the
> same file, since it will be included in the .exe/.app. I can do this for .vcx
> files, since I do not want the customer to modify them. In the code, how
> would I tell the compiler where to look for the .vcx file unless I specify a
> path. My .vcx files are not in the default directory of the project.
>
> About the database and tables, my application involves inserting, updating
> and deletion of records. As far as my understanding goes, if I include the
> dbc with the tables in the project, then I would not be able to do the above
> mentioned operations. Or do you mean that the above operations can be
> performed and that only the dbc structure is read only.
>
> Thanks.
> kd
>
> "Cyrus Welch" wrote:
>
>
>>Tom Clark wrote:
>>
>>>Hi Kd,
>>>
>>>I think there has been a misunderstanding here, though I may be wrong
>>>because I do not have as much experience as others.
>>>
>>>Anyway, it is my understanding that you want to INCLUDE your VCX files,
>>>which is done by default anyway. Check <Project> <Project Info> [Files].
>>>
>>>When a file in INCLUDED that means all the information (code, data, etc.) is
>>>compiled into the executable, and since it is included in the executable,
>>>you do not have to deploy any included file -- it's already there. (I am
>>>not so sure about this but...) That means that you should not have to
>>>reference a path because the EXE should find the "included file" inside
>>>itself.
>>>
>>>I have never done it but if you did include the DBC and DBFs then you should
>>>be able to access those tables as read only tables like Wolfgang said.
>>>
>>>Regards,
>>>Tom Clark
>>>
>>>"kd" <kd@discussions.microsoft.com> wrote in message
>>>news:11EF0488-7921-4163-A4A5-E2963CB5F3A1@microsoft.com...
>>>
>>>
>>>>I just tried out what you said. Built an exe and then didn't include the
>>>>.vcx
>>>>in the deployed project. It works. The exe may be creating a reference I
>>>>guess. Thanks.
>>>>
>>>>Another question. My project involves updation of tables. That would mean
>>>>that I may have to include the tables in the deployed project. Would it be
>>>>possible to hide the database structure - I mean the relationship between
>>>>tables, primary and foreign keys, etc?
>>>>
>>>>kd
>>>>
>>>>"Eric den Doop" wrote:
>>>>
>>>>
>>>>
>>>>>If you include the VCX files in your project and you compile to APP/EXE,
>>>>>then you don't have to ship these with your APP/EXE. You can also include
>>>>>your tables in the APP/EXE, but then you won't be able to store new data
>>>>>in
>>>>>your tables.
>>>>>
>>>>>You can protect your application against the Refox decompiler by branding
>>>>>it
>>>>>with Refox, but this protection is not 100% safe.
>>>>>--
>>>>>Eric den Doop
>>>>>www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>>>>>
>>>>>"kd" <kd@discussions.microsoft.com> wrote in message
>>>>>news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
>>>>>
>>>>>
>>>>>>Hi All,
>>>>>>
>>>>>>I need to deploy a foxpro application. The tables are foxpro tables and
>>>>>>the
>>>>>>project also has .vcx files. How to package the tables and the class
>>>>>>libraries so that, when the application is deployed, the tables class
>>>>>>library
>>>>>>files are hidden, even if the customer install visual foxpro
>>>>>>developer's
>>>>>>kit?
>>
>>I include read-only tables inside my EXEs all the time. If the customer
>>is never supposed to change them, and it's only supposed to be a
>>developer that changes them, this sure adds another layer of protection.
>> A lot of my functionality is table driven, but requires objects and
>>such that I had to create, so the definition files are all included in
>>the EXE so I don't have to worry about users deleting them or something
>>stupid like that.

It doesn't matter what the path is that you put in because the compiler
will handle all that at compile time and will store the paths to all the
files. Once the app is compiled it won't matter where they are because
it will also see what's in the app/exe no matter where you tell it to
look for them.

--
Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com

Re: Hiding tables and class libraries during deployment by kd

kd
Wed Feb 16 01:05:03 CST 2005

Thanks to all of you for responding to my query.

I have now come to the understanding that, if I include files in <Project>
<Project Info> [Files], then I don't have to provide an external copy of the
same file, since it will be included in the .exe/.app. I can do this for .vcx
files, since I do not want the customer to modify them. In the code, how
would I tell the compiler where to look for the .vcx file unless I specify a
path. My .vcx files are not in the default directory of the project.

About the database and tables, my application involves inserting, updating
and deletion of records. As far as my understanding goes, if I include the
dbc with the tables in the project, then I would not be able to do the above
mentioned operations. Or do you mean that the above operations can be
performed and that only the dbc structure is read only.

Thanks.
kd


"Tom Clark" wrote:

> Hi Kd,
>
> I think there has been a misunderstanding here, though I may be wrong
> because I do not have as much experience as others.
>
> Anyway, it is my understanding that you want to INCLUDE your VCX files,
> which is done by default anyway. Check <Project> <Project Info> [Files].
>
> When a file in INCLUDED that means all the information (code, data, etc.) is
> compiled into the executable, and since it is included in the executable,
> you do not have to deploy any included file -- it's already there. (I am
> not so sure about this but...) That means that you should not have to
> reference a path because the EXE should find the "included file" inside
> itself.
>
> I have never done it but if you did include the DBC and DBFs then you should
> be able to access those tables as read only tables like Wolfgang said.
>
> Regards,
> Tom Clark
>
> "kd" <kd@discussions.microsoft.com> wrote in message
> news:11EF0488-7921-4163-A4A5-E2963CB5F3A1@microsoft.com...
> >I just tried out what you said. Built an exe and then didn't include the
> >.vcx
> > in the deployed project. It works. The exe may be creating a reference I
> > guess. Thanks.
> >
> > Another question. My project involves updation of tables. That would mean
> > that I may have to include the tables in the deployed project. Would it be
> > possible to hide the database structure - I mean the relationship between
> > tables, primary and foreign keys, etc?
> >
> > kd
> >
> > "Eric den Doop" wrote:
> >
> >> If you include the VCX files in your project and you compile to APP/EXE,
> >> then you don't have to ship these with your APP/EXE. You can also include
> >> your tables in the APP/EXE, but then you won't be able to store new data
> >> in
> >> your tables.
> >>
> >> You can protect your application against the Refox decompiler by branding
> >> it
> >> with Refox, but this protection is not 100% safe.
> >> --
> >> Eric den Doop
> >> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
> >>
> >> "kd" <kd@discussions.microsoft.com> wrote in message
> >> news:ED2E6879-59A5-40CD-8C4B-EF502FAE263C@microsoft.com...
> >> > Hi All,
> >> >
> >> > I need to deploy a foxpro application. The tables are foxpro tables and
> >> > the
> >> > project also has .vcx files. How to package the tables and the class
> >> > libraries so that, when the application is deployed, the tables class
> >> > library
> >> > files are hidden, even if the customer install visual foxpro
> >> > developer's
> >> > kit?
> >> >
> >> > Regards,
> >> > kd
> >> >
> >> >
> >> >
> >>
> >>
> >>
>
>
>

Re: Hiding tables and class libraries during deployment by swdev2

swdev2
Wed Feb 16 01:32:55 CST 2005

Hi - you may want to take a look at Valhalla - available for d/l at
http://leafe.com/dls/vfp
hth - [Bill]
--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
Mondo Cool TeleCom -> http://www.efgroup.net/efgcog.html
Mondo Cool WebHosting -> http://www.efgroup.net/efglunar.html
Mondo Cool Satellites -> http://www.efgroup.net/sat
VFP Webhosting? You BET! -> http://efgroup.net/vfpwebhosting
mySql / VFP / MS-SQL

"kd" <kd@discussions.microsoft.com> wrote in message
news:254C8D9F-93C9-4096-9899-EA3BC4AEADFC@microsoft.com...
> Thanks to all of you for responding to my query.
>
[snip]



Re: Hiding tables and class libraries during deployment by Tom

Tom
Wed Feb 16 07:31:49 CST 2005

Hi Kd,

Cy answered quite well the question about paths. If you include a file, the
path becomes moot. Just think of it this way (whether true or not) when you
go to compile, if the compiler sees that you have a path for an included
file, well the compiler rewrites your code with no path. That's why the
path doesn't matter.

And, to the best of my knowledge, you are right about tables. You could not
include a .dbf or .dbc that records are getting updated in. That would
modify the .exe that is instantiated which is impossible to my knowledge.

Best Regards,
Tom Clark
PC-Enable



"kd" <kd@discussions.microsoft.com> wrote in message
news:BF03B8EE-9412-4025-A5B9-65B7658A5E26@microsoft.com...
> Thanks to all of you for responding to my query.
>
> I have now come to the understanding that, if I include files in <Project>
> <Project Info> [Files], then I don't have to provide an external copy of
> the
> same file, since it will be included in the .exe/.app. I can do this for
> .vcx
> files, since I do not want the customer to modify them. In the code, how
> would I tell the compiler where to look for the .vcx file unless I specify
> a
> path. My .vcx files are not in the default directory of the project.
>
> About the database and tables, my application involves inserting, updating
> and deletion of records. As far as my understanding goes, if I include the
> dbc with the tables in the project, then I would not be able to do the
> above
> mentioned operations. Or do you mean that the above operations can be
> performed and that only the dbc structure is read only.
>
> Thanks.
> kd