I am using 'AutoCAD DwgThumbnail Control' (DWGThumbnail.ocx) version 2.0.0.0 in one of the VBA forms. It is working fine on XP 32 bit machines.
On a 64 bit machine with OS-7 also it works fine except it gives a security warning ....
"This application is about to initialize ActiveX controls that might be unsafe. If you trust the source of this file click OK and the control will be initialized using current workspace settings"
.... I am not sure whether OS-7 or 64 bit is the reason or something else is.
Can someone tell what could be the reason and how to get rid of this message as it gives user an uncomfortable feeling.
Solved! Go to Solution.
Solved by GTVic. Go to Solution.
Have you found what was the cause of this issue? I am having the same problem on 3 pcs running win7 32 bit. If I use the control on Excel VBA, it loads find without any messages. However, in AutoCAD 2010 every time the project or the form is loaded this message appears. Thanks for any help.
You can try adding a registry value:
HIVE=HKEY_CURRENT_USER
KEY="Software\Policies\Microsoft\VBA\Security"
VALUENAME="LoadControlsInForms"
VALUE=1 (DWORD)
GTVic. THANK YOU! I could not thank you enough. You should know that you have made a lot of people very happy. We have tried everything, I mean we ran out of options. It was really frustrating because initially I was convinced that it was a windows 7 security problem. We will celebrate tonight on your honor.
No problem, for us it was trying to get VBA macros running with Office 2010 installed. Older versions of Office set this value for you but now I guess it is a security risk :).
Don't forget to click the "Accept as Solution" button on the other post.