Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there,
I'm getting a crash when my .dll file (comprising of VB6 6.0.9782 code) attempts to open an Excel 2000 Add-in (.xla file) comprising of VBA 6.0.8714 code. Here's the scenario, 1) .dll file is registered with Excel 2000 2) Double clicking on an Excel Workbook in Explorer - Excel Opens, Workbook Opens 3) .dll file has an appevent associated with the Workbook Open event 4) .dll file triggers the opening of the Excel Add-in Here's the line where it crashes: gEventHandler.oXL.Workbooks.Open sXLAPath, 0 where gEventHandler = Event Handler class object oXl = Excel.Application sXLAPath = the entire path of the .xla's location (including the filename.xla) The crash is something along the lines of "instruction at 0x30033c38 referenced memory at 0x00000002. The memory could not be written" Any ideas to this problem? Thansk in advance. CM |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"Read Only" error when attempting to open EXCEL file | Excel Discussion (Misc queries) | |||
File crash when I try to open | Excel Discussion (Misc queries) | |||
Word and Excel crash when I try to open a folder to get to a file | Excel Discussion (Misc queries) | |||
"Frontpage " message appears on attempting to open excel | Excel Discussion (Misc queries) | |||
stubborn Excel crash when editing code with code, one solution | Excel Programming |