Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Error 430 in XLS file using ActiveX EXE

I recently upgraded an ActiveX EXE built in VB6 that is used by a few Excel
spreadsheets. I preserved binary compatibility when I compiled the project.

I can use the ActiveX EXE without any problems (it queries our database)
except in some cases where an existing spreadsheet that has a reference to it
set when the old version of the EXE was around. We found one old XLS that
didn't have a problem with the new EXE (which it shouldn't since the binary
compatibility was preserved). But others give the error 430, which seems to
go away if I drop the reference to the EXE, close and save the XLS, then
re-open it an restore the reference.

Is this a bug in Excel (version 2003)? Why would any XLS which is using a
binary compatible ActiveX EXE complain but others would not? Is Excel
caching something it shouldn't?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Error 430 in XLS file using ActiveX EXE

Sounds like it could be GUID related, let me have a dig around and come back
to you...
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Error 430 in XLS file using ActiveX EXE

Thank you, I appreciate it.
FWIW, I did check the registry on user's PC that was having an issue with
mine. The CLSID's were identical.

"Ben McBen" wrote:

Sounds like it could be GUID related, let me have a dig around and come back
to you...

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Error 430 in XLS file using ActiveX EXE

Oh deep joy! (not...)

Can I recomend a leaf through:

http://www.vbsight.com/BinaryComp.htm

It was a long time ago I had similar issues, and I think this is the page
that got me out of my hole.

Best of luck - get coffee in now!
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Error 430 in XLS file using ActiveX EXE

I did find that the "Forward" key changed. From the VBR files....

==========
OLD
==========
HKEY_CLASSES_ROOT\INTERFACE\{F4963AD7-3A31-11D3-94AE-00104BD267EE} = AutoQuery
HKEY_CLASSES_ROOT\INTERFACE\{F4963AD7-3A31-11D3-94AE-00104BD267EE}\ProxyStubClsid = {00020420-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\INTERFACE\{F4963AD7-3A31-11D3-94AE-00104BD267EE}\ProxyStubClsid32 = {00020420-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\INTERFACE\{F4963AD7-3A31-11D3-94AE-00104BD267EE}\Forward =
{14D6EF10-B00E-4437-B29B-FA5ED0D09481}
HKEY_CLASSES_ROOT\INTERFACE\{14D6EF10-B00E-4437-B29B-FA5ED0D09481} = AutoQuery
HKEY_CLASSES_ROOT\INTERFACE\{14D6EF10-B00E-4437-B29B-FA5ED0D09481}\ProxyStubClsid = {00020420-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\INTERFACE\{14D6EF10-B00E-4437-B29B-FA5ED0D09481}\ProxyStubClsid32 = {00020420-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\INTERFACE\{14D6EF10-B00E-4437-B29B-FA5ED0D09481}\Typelib =
{AD44705A-086C-11D3-94A6-00104BD267EE}
HKEY_CLASSES_ROOT\INTERFACE\{14D6EF10-B00E-4437-B29B-FA5ED0D09481}\Typelib\"version" = 5.2

==========
NEW
==========
HKEY_CLASSES_ROOT\INTERFACE\{F4963AD7-3A31-11D3-94AE-00104BD267EE} = AutoQuery
HKEY_CLASSES_ROOT\INTERFACE\{F4963AD7-3A31-11D3-94AE-00104BD267EE}\ProxyStubClsid = {00020420-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\INTERFACE\{F4963AD7-3A31-11D3-94AE-00104BD267EE}\ProxyStubClsid32 = {00020420-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\INTERFACE\{F4963AD7-3A31-11D3-94AE-00104BD267EE}\Forward =
{68C0AC0E-70EE-42E9-842A-33F776ECA6CC}
HKEY_CLASSES_ROOT\INTERFACE\{68C0AC0E-70EE-42E9-842A-33F776ECA6CC} = AutoQuery
HKEY_CLASSES_ROOT\INTERFACE\{68C0AC0E-70EE-42E9-842A-33F776ECA6CC}\ProxyStubClsid = {00020420-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\INTERFACE\{68C0AC0E-70EE-42E9-842A-33F776ECA6CC}\ProxyStubClsid32 = {00020420-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\INTERFACE\{68C0AC0E-70EE-42E9-842A-33F776ECA6CC}\Typelib =
{AD44705A-086C-11D3-94A6-00104BD267EE}
HKEY_CLASSES_ROOT\INTERFACE\{68C0AC0E-70EE-42E9-842A-33F776ECA6CC}\Typelib\"version" = 5.2



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting an ActiveX error on save TheMilkGuy Excel Discussion (Misc queries) 0 January 12th 09 05:35 PM
ActiveX error message Mike Dunk Excel Discussion (Misc queries) 1 November 29th 06 04:35 PM
ActiveX control error - Red Excel Programming 0 October 15th 05 12:30 AM
Error 50290: Error writing to Worksheet while using an ActiveX Control emblair3 Excel Programming 3 February 24th 04 06:03 PM
Raise Error from ActiveX dll to VBA Serge[_2_] Excel Programming 0 September 23rd 03 05:05 PM


All times are GMT +1. The time now is 11:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"