Re: VFP2MySQL demo app posted on ProFox downloads site

Author: Ajit Abraham

Posted: 2011-10-27 at 09:32:42

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

On 26/10/2011 22:16, MB Software Solutions, LLC wrote:

> On 10/26/2011 4:19 AM, Andrew Stirling wrote:

>> Hi Mike

>>

>> I can't find 'mslc.h' which is required in the 'frmusers.scx'.

>> Any ideas?

>

>

> That shouldn't be needed for anything. Just make an empty file and let

> me know how that turns out. The IDE here had that set as the default

> include file in the Options. It's not needed.

>

>

_______________________________________________

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/4EA95D7A.8070902@ua-group.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 Ajit Abraham