Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting a macro via automation
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01286200
Message ID:
01286518
Views:
22
OK.
Tools->Macro->Security
Dialog "Security" open.
On the tab "Trusted Publishers" mark check-bok "Trust acces to Visual Basic Project"

Also you can place the part of code inside Try...Catch...Finally...Endtry
You can see another example in one of the my old articles.

(The article in Russian, but code is native VFP :) )

http://www.js-software.eu/content_ru/excel_automation_solution_01.htm


>Also getting the error:
>
>"Error Number: 1429
>Error: OLE IDispatch exception code 0 from Microsoft Office Excel: Programmatic access to Visual Basic Project is not trusted .."
>
>Thanks,
>
>Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform