LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Reference to DLL corrupts on recompile of dll

This is one I don't understand. I'm porting a heap of code out of an excel
class module into a VB6 activex dll for security reasons, and to provide a
multi-app interface that I can use in Word later.

It works fine, much to my surprise since I've always been horribly confused
about com add-ins and such, but every time I amend the code in the dll and
recompile it, when I reload the code in excel that has a reference to the
dll, I get a Misssing error even though the recompiled dll is in exactly the
same place as before.

The solution is fairly simple but very annoying: goto Tools, Reference,
uncheck the missing reference, click OK. Then do it again, Tools, Reference,
the reference is there without a missing flag this time, and I can reselect
it with no problems.

Any suggestions as to what is going on and how I can stop this? Would it be
a changing prog ID or something that is being done during the compile in VB?

Thanks,

Robin Hammond
www.enhanceddatasystems.com


 
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
Excel corrupts when asking to update vlookups Bob-ISTA Excel Worksheet Functions 1 April 20th 10 01:42 PM
Excel corrupts charts. How do I stop this? Mad@Microsoft Charts and Charting in Excel 0 March 9th 10 02:51 PM
Excel crashes, corrupts PowerPoint Bob Excel Discussion (Misc queries) 0 February 9th 09 08:49 PM
File corrupts when saving under a different name - xl2000 Clayman Excel Discussion (Misc queries) 8 June 18th 07 07:19 PM
Attaching to an email corrupts workbook edger Excel Discussion (Misc queries) 1 February 10th 06 10:36 PM


All times are GMT +1. The time now is 10:08 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"