Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FoxPro / General FoxPro Topics / July 2008

Tip: Looking for answers? Try searching our database.

problems with my.vcx

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KevClark64@hotmail.com - 28 Jul 2008 18:20 GMT
I am trying to use the My object in a program.  When I run it on my
computer, it works fine, but when I run it on another computer, it
fails.  Here is the code:

My = newobject('My', 'my.vcx')

Any line after that that references My.xxx states that "My is not an
object."  I have the my.vcx file embedded in the EXE so I'm a little
confused.

What am I doing wrong?  Does this require that the my.vcx is present
on each computer?

Kevin Clark
Seton Home Study School
Dan Freeman - 28 Jul 2008 18:39 GMT
Use the 3rd parameter of NewObject():

My = newobject('My', 'my.vcx', 'the.exe')

Dan

> I am trying to use the My object in a program.  When I run it on my
> computer, it works fine, but when I run it on another computer, it
[quoted text clipped - 11 lines]
> Kevin Clark
> Seton Home Study School
Sergey Berezniker - 28 Jul 2008 22:07 GMT
Hi Kevin,

You have to include my.dbf in the project/EXE as well

Signature

--sb--

VFP MVP

> I am trying to use the My object in a program.  When I run it on my
> computer, it works fine, but when I run it on another computer, it
[quoted text clipped - 11 lines]
> Kevin Clark
> Seton Home Study School
Dan Freeman - 28 Jul 2008 22:33 GMT
Thanks, Sergey!

I always forget about that "My" boondoggle. (Blocking it, I think.)

Dan

> Hi Kevin,
>
[quoted text clipped - 15 lines]
>> Kevin Clark
>> Seton Home Study School
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.