Re: VFP2MySQL demo app posted on ProFox downloads site

Author: MB Software Solutions, LLC

Posted: 2011-10-27 at 14:22:53

On 10/27/2011 9:32 AM, Ajit Abraham wrote:

> Hi Mike,

>

> I had to the following to run it from the project.

>

> 1. Right at the top of main.prg, I had to set a "SET DEFAULT TO......"

> the current location of the project file

>

> 2. Had to hard code the path of registry.h for the include statement at

> the top of main.prg

>

> 3. In the InstallMySQL fuction, changed

> lcFile =".\MyODBC\setup.exe"

> to

> lcFile =".\setup.exe"

>

> 4. In the same function changed

> loShell = NEWOBJECT("_ShellExecute","_Environ.vcx")

> to

> loShell = NEWOBJECT("_ShellExecute",HOME(1)+"Ffc\_Environ.vcx")

>

> Maybe I had to do the above due to some existing settings in my VFP

> environment.

>

> Thanks once again for sharing your code.

>

> Sincerely,

>

> _Ajit Abraham

Many thanks for this. I wanted the feedback to know what to cleanup so

the rest of the community could benefit. I'll take care of these

changes and update the ProFox site later.

Please keep comments/changes/suggestions coming for the benefit of all.

Thanks!

--Mike

--

Mike Babcock, MCP

MB Software Solutions, LLC

President, Chief Software Architect

http://mbsoftwaresolutions.com

http://fabmate.com

http://twitter.com/mbabcock16

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/4EA9A17D.2000106@mbsoftwaresolutions.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 MB Software Solutions, LLC