Has anyone in this wonderful throng of people had any success using regsvr32 to register an OCX programmatically in VFP.
I have a routine that used to run brilliantly on XP but it just fails on Win 7 despite giving the indication that all is OK. I am sure it is to do with elevated permissions and UAC. The additional problem is also to decide whether to copy the OCX into the Windows\System, or Windows\System32 or Windows\SYSWOW64 folder before registering it as the OCX's required are held on a network share, but that is just a nicety just to package the OXC installation up into a one off "if it isn't there then install it" routine. I would ideally like to use only inbuilt VFP commends (DLL Calls etc) and not have to shell out to the command window on both 32 and 64 bit operating system versions. Thanks in anticipation. Dave --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/18725b8cd2d5d247873a2baf401d4ab259751...@ex2010-a-fpl.fpl.LOCAL ** 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.