I have a VB6 program that uses the "Microsoft Excel 11.0 Object Library." It's been working fine for 2 days and then right when I was going to show it to some people I get this strange error. Whenever I get to the point where it uses Excel it breaks on the following line and says "Error loading DLL."
I've restarted my computer, removed and readded the Excel reference, and ran "excel.exe /regserver", but nothing has made a difference.Code:Set m_App = New Excel.Application
Why would it work for several days and then stop without cause?
Thanks!




Reply With Quote