Home > Archive > FoxPro Help and Support > October 2005 > vb6 exe creation needs foxpro7 installed to run with fp database









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 vb6 exe creation needs foxpro7 installed to run with fp database
Aykut Canturk

2005-10-27, 8:34 am


A small program that only reads fpxpro7 database (dbf file) from a directory
using ADO connection string cannot be run if compiled on a machine without
foxpro installed. In order to run, the exe needs to be compiled in VB6 WITH
foxpro7 installed.

Actually, ADO connection string is not hardcoded. It can be configured from
my application with ado connection wizard. naturally, if foxpro does not
exists on my VB development computer, I cannot build a connectionstring for
foxpro database. but on client's computer, as foxpro installed, user can
configure it according to use foxpro db.

According to this, if my program needs to use foxpro, I have install faxpro
to my development computer. if it needs oracle, do I need to install oracle
in my computer ? what's wrong here. I don't want to install foxpro in my
computer. I want to write my code and I want my client to configure my
application.

any help please ?


Fred Taylor

2005-10-27, 8:34 am

You need to have the VFP 7 runtimes installed, it's against the licensing to
install VFP itself unless it was purchased for that installation.

http://fox.wikis.com/wc.dll? Wiki~V...imeFile
s


--
Fred
Microsoft Visual FoxPro MVP


"Aykut Canturk" <aykut.canturk@karina-mira.com> wrote in message
news:%237oK6OYyFHA.2932@TK2MSFTNGP10.phx.gbl...
>
> A small program that only reads fpxpro7 database (dbf file) from a
> directory using ADO connection string cannot be run if compiled on a
> machine without foxpro installed. In order to run, the exe needs to be
> compiled in VB6 WITH foxpro7 installed.
>
> Actually, ADO connection string is not hardcoded. It can be configured
> from my application with ado connection wizard. naturally, if foxpro does
> not exists on my VB development computer, I cannot build a
> connectionstring for foxpro database. but on client's computer, as foxpro
> installed, user can configure it according to use foxpro db.
>
> According to this, if my program needs to use foxpro, I have install
> faxpro to my development computer. if it needs oracle, do I need to
> install oracle in my computer ? what's wrong here. I don't want to install
> foxpro in my computer. I want to write my code and I want my client to
> configure my application.
>
> any help please ?
>



Fred Taylor

2005-10-27, 8:34 am

Wait, since you're using ADO, you really don't even need the runtimes, you
just need the VFP OLEDB provider installed.

http://www.microsoft.com/downloads/...&displaylang=en
--
Fred
Microsoft Visual FoxPro MVP


"Aykut Canturk" <aykut.canturk@karina-mira.com> wrote in message
news:%237oK6OYyFHA.2932@TK2MSFTNGP10.phx.gbl...
>
> A small program that only reads fpxpro7 database (dbf file) from a
> directory using ADO connection string cannot be run if compiled on a
> machine without foxpro installed. In order to run, the exe needs to be
> compiled in VB6 WITH foxpro7 installed.
>
> Actually, ADO connection string is not hardcoded. It can be configured
> from my application with ado connection wizard. naturally, if foxpro does
> not exists on my VB development computer, I cannot build a
> connectionstring for foxpro database. but on client's computer, as foxpro
> installed, user can configure it according to use foxpro db.
>
> According to this, if my program needs to use foxpro, I have install
> faxpro to my development computer. if it needs oracle, do I need to
> install oracle in my computer ? what's wrong here. I don't want to install
> foxpro in my computer. I want to write my code and I want my client to
> configure my application.
>
> any help please ?
>



Cindy Winegarden

2005-10-27, 8:34 am

Hi Aykut,

Next time you have a question, please do not multi-post to so many different
groups. (Multi posting means that you post the same message over and over.)
If you want to post to more than one group please use the Newsgroups: button
in the upper left of the OE message window to choose additional groups. When
you "cross-post" in this way, the default behavior is that all the response
messages show up in every group. That way people don't spend time preparing
an answer for a question that's already adequately answered.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy_winegarden@msn
.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden


"Aykut Canturk" <aykut.canturk@karina-mira.com> wrote in message
news:%237oK6OYyFHA.2932@TK2MSFTNGP10.phx.gbl...
.....


Aykut Canturk

2005-10-27, 8:34 am

On client computer of course FP7 is installed, in fact, my EXE is perfoectly
running on client computer. Problem is, "if I don't install FP7 on
development computer and make EXE file, it does not run on client". but; EXE
file should not be linked to any foxpro7 DLL or components because it just
uses ADO.

basically, if client can create and MSaccess database, identical to fp7
database, also my EXE file should work....


Aykut Canturk

2005-10-27, 8:34 am

Hi Cindy,

I posted my message to several groups because all of this groups have
different point of view and expertise. As you may see, answers are also
different and my question is related on different isuues. I posted several
groups because I need mode than one expertise.

Best regards.

"Cindy Winegarden" < cindy_winegarden@msn
.com> wrote in message
news:OqFbPhdyFHA.2880@TK2MSFTNGP12.phx.gbl...
> Hi Aykut,
>
> Next time you have a question, please do not multi-post to so many
> different groups. (Multi posting means that you post the same message over
> and over.) If you want to post to more than one group please use the
> Newsgroups: button in the upper left of the OE message window to choose
> additional groups. When you "cross-post" in this way, the default behavior
> is that all the response messages show up in every group. That way people
> don't spend time preparing an answer for a question that's already
> adequately answered.
>
> --
> Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
> cindy_winegarden@msn
.com www.cindywinegarden.com
> Blog: http://spaces.msn.com/members/cindywinegarden
>
>
> "Aykut Canturk" <aykut.canturk@karina-mira.com> wrote in message
> news:%237oK6OYyFHA.2932@TK2MSFTNGP10.phx.gbl...
> ....
>



Dan Freeman

2005-10-27, 8:34 am

A Foxpro exe file is dependent on the Foxpro runtime, the C++ runtime, GDI+,
and a couple of other things swirling around in the Windows ooze. Without
all of those present, your EXE will never even get off the ground.

It doesn't matter if it "just uses ADO". The part that *uses* ADO isn't
available until the rest of Foxpro is unfurled.

Dan

Aykut Canturk wrote:
> On client computer of course FP7 is installed, in fact, my EXE is
> perfoectly running on client computer. Problem is, "if I don't
> install FP7 on development computer and make EXE file, it does not
> run on client". but; EXE file should not be linked to any foxpro7 DLL
> or components because it just uses ADO.
>
> basically, if client can create and MSaccess database, identical to
> fp7 database, also my EXE file should work....



Cindy Winegarden

2005-10-27, 8:34 am

Hi Aykut,

Yes, I agree that it's good to get expertise from many different product
areas, but the best was is to cross-post - that is, have more than one group
listed in the Newsgroups: box in the OE message window. You can choose
groups using the (hidden - took me a while to find it) button under
"Newsgroups:" in the OE window.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy_winegarden@msn
.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden


"Aykut Canturk" <aykut.canturk@karina-mira.com> wrote in message
news:%23i89KjxyFHA.1856@TK2MSFTNGP12.phx.gbl...
> Hi Cindy,
>
> I posted my message to several groups because all of this groups have
> different point of view and expertise. ........



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