application.executeProgram()

Hi

I am trying to use a FoxPro exe to post transactions to MYOB using MYOB’s “complex” ODBC driver. Thought I could get around not being able to use a com object this way.

It works perfectly connecting to postgresql, but when use same code and syntax to connect to MYOB then the application hangs. Exe works fine if run from command window prompt or just as exe. Problem only happens when called via plugin.

Can any help as to why this would happen, and if there is any solution. i.e. just call the exe and release it to do it’s own thing.

Thanks

Mark