Linker IT Software
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
vb6 and lost references (Read 2809 times)
Gerrit-Jan Linker
YaBB Administrator

Posts: 75
vb6 and lost references
14.11.09 at 14:33:25
vb6 and lost references
In classic VB, VB6, references to other OLE objects can get lost. It is a real pain. You need to use the references dialog to add them again, but which one was it?...
I found that you can edit the .vbp file to add them manually.
For example referencing Office 2007 I added a reference to mso.dll. However I also want to use this when I am using Office 2003. True, the 2007 functionality won't work but it is still nice if the project compiles, right? So, I renamed mso.dll to mso12.dll and put it in the project directory. I added the following reference in the .vbp:
Please note that I removed all information after the last #. If you keep this VB6 will recognise the dll and mess it up again.
Back to top
« Last Edit: 14.11.09 at 14:35:04 by Gerrit-Jan Linker »  

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1