Hi, all

I'm a Visual Basic 6.0 Programmer and I was wondering if Visual Fox Pro has
an exportable object library the VB6 could use as an embeded object in an
application
(like Microsoft Excel Object library).

If so, Which files should I use?

--
Rick

Re: VF6 Objects? by Anders

Anders
Thu Oct 13 00:36:34 CDT 2005

There's the VisualFoxPro.Application object with these methods:
DataToClip
DoCmd
Eval

Help
Item
Quit

RequestData
SetVar


With DoCmd() and Eval() you can execute any command and call any function.
SetVar() maeks it possiblel to handle a variable . DataToClip() gets data
from a cursor or table to the clipboard. RequestData() puts data into an
array. You'd need a copy of Visual FoxPro or a COM DLL compiled in VFP and
supported by the VFP runtime files.
There are some 30 properties of which some may be useful for you. As you see
you'll get nowhere without knowing the Commands and Functions of VFP that
DoCmd() and Eval() serve as wrapers for.
But there's VFPOLEDB and for older version tables (<= VFP6) there's also
VFPODBC. That would be the way to ogo if you want to use the Visual FoxPro
data engine and databases.
-Anders

"Rick" <Rick@discussions.microsoft.com> skrev i meddelandet
news:44DD8827-41D0-4258-BFFE-9759BB393C24@microsoft.com...
> Hi, all
>
> I'm a Visual Basic 6.0 Programmer and I was wondering if Visual Fox Pro
> has
> an exportable object library the VB6 could use as an embeded object in an
> application
> (like Microsoft Excel Object library).
>
> If so, Which files should I use?
>
> --
> Rick



Re: VF6 Objects? by Rick

Rick
Wed Oct 12 17:51:02 CDT 2005

Thank you.

Now, which files should accompany the vb6 project.
--
Rick


"Anders" wrote:

> There's the VisualFoxPro.Application object with these methods:
> DataToClip
> DoCmd
> Eval
>
> Help
> Item
> Quit
>
> RequestData
> SetVar
>
>
> With DoCmd() and Eval() you can execute any command and call any function.
> SetVar() maeks it possiblel to handle a variable . DataToClip() gets data
> from a cursor or table to the clipboard. RequestData() puts data into an
> array. You'd need a copy of Visual FoxPro or a COM DLL compiled in VFP and
> supported by the VFP runtime files.
> There are some 30 properties of which some may be useful for you. As you see
> you'll get nowhere without knowing the Commands and Functions of VFP that
> DoCmd() and Eval() serve as wrapers for.
> But there's VFPOLEDB and for older version tables (<= VFP6) there's also
> VFPODBC. That would be the way to ogo if you want to use the Visual FoxPro
> data engine and databases.
> -Anders
>
> "Rick" <Rick@discussions.microsoft.com> skrev i meddelandet
> news:44DD8827-41D0-4258-BFFE-9759BB393C24@microsoft.com...
> > Hi, all
> >
> > I'm a Visual Basic 6.0 Programmer and I was wondering if Visual Fox Pro
> > has
> > an exportable object library the VB6 could use as an embeded object in an
> > application
> > (like Microsoft Excel Object library).
> >
> > If so, Which files should I use?
> >
> > --
> > Rick
>
>
>