Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 2nd, 2006, 02:21 AM
Registered User
Join Date: Apr 2006
Location: St Louis, Missouri, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default My ActiveX doesn't work anymore

Hi All,

I have some problem creating an ActiveX control to use in an Excel plugin.
I did this:
- created the version 1.0.0 of an ActiveX control in VB6
- inserted it in an Excel plugin form
- set the binary compatibility to the control v1.0.0
- added 2 properties to the control
- compiled and created the control v1.0.1
At this point the Excel plugin stopped working.
Removing the 2 new properties and recompiling it re-worked, adding them it didn't. According to http://msdn.microsoft.com/library/de...asp?frame=true it should work, but it doesn't.

I gave it up and decided to restart:
- removed the ActiveX from the Excel plugin
- unregistered the plugin
- removed compatibility to the VB6 project
- added the 2 properties
- created a brand new v1.0.0 (with the same name)
- added the control to the Excel plugin form
At this point the control works, but I get the message "This application is about to initialize ActiveX controls that might be unsafe". I can work if I load the macro manually and click on OK, but fails if I click on the toolbar button that loads the plugin.

Why didn't the message appear on the first first version and it appears on the second first version?

How can I get rid of it?

I tried to create a new ActiveX with a different name and... even this has the same problem.

I didn't change any setting in the Excel security options.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP, I CANT EXECUTE a CMD anymore! URGENT rtr1900 Classic ASP Professional 1 January 9th, 2007 09:43 PM
not receiving emails anymore Michele_Haywood Access VBA 1 October 27th, 2006 09:52 AM
Cannot INSERT INTO mySQL database anymore! aspiretech PHP Databases 2 December 10th, 2005 01:07 AM
Right after DTS, query doesn't work anymore?! rweide Classic ASP Databases 6 January 21st, 2005 04:11 PM
Error # -2147467259: Cannot open anymore tables ejan Crystal Reports 0 December 26th, 2004 03:12 AM

All times are GMT -4. The time now is 01:21 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.