Many thanks to everyone who input into my issue. I have eventually found a solution.
I wrote a VBScript that calls the ActiveX object and that works now. Initially it was not working when I tested it on the desktop but it works from within 4D v15. Here is my crude understanding of what was happening: When the script was double clicked it is running WScript and given the platform it is probably running the 64 bit version which could not create the ActiveX object. When I write and run the script file from within 4D I am using CScript and this is working. I am assuming because it is running 32bit version of CScript. What ever the reason I now have a working solution with the COM object and LAUNCH EXTERNAL PROCESS Thank you everyone who gave input as knowing I had other minds on it helped keep me sane. Regards, Dougie ________________________________________________________ telekinetix Limited- J. Douglas Cryer Phone : 01234 761759 Mobile : 07973 675 218 2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE Email : [email protected] Web : http://www.telekinetix.com ________________________________________________________ ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

