Posts 11 - 18 of 18
First | Prev. | 1 2 | Next | Last
|
|
ong beng hin
Posts: 9
Joined: 2004-08-22
|
OK, delected the key HKEY_CURRENT_USER...\AddIns and Excel is back to normal. But then when I run debug (F5) again with the original ADX Toys .Net source project files, Excel loads, follow by the ADX Toys's About screen, and then this same "unspecified error" message pop up again and stops there - the Toy popup is not showing anywhere anymore!
Help please?? |
|
Posted 24 Aug, 2004 07:46:11
|
|
Top
|
|
Sven Heitmann
Posts: 193
Joined: 2004-08-23
|
hm... its working for me...
howeve i had to change the code a little bit because i am using rc2 and they changed some method names a little bit...
change the XLToysConnect_OnError method so that its printing the stacktrace too
however you can also do what i do in some situations?
1. set a breakpoint so the constructor of your addin
2. start debug mode
3. when excel starts your visual studio shoul popup caused by the breakpoint
4. step through with f11 (step by step) or shift+f11 (step until return) until all is loaded
5. do the same what caused the error
step trouh the code with f11 and you will see when the error will happenBest regards,
Sven Heitmann |
|
Posted 24 Aug, 2004 08:12:52
|
|
Top
|
|
Eugene Starostin
ADX Team
Add-in Express team
Posts: 430
Joined: 2004-04-05
|
Hi,
We seem not to have shown the main rule in ADX Developer's Guide.
An add-in based on ADX should be unregistered via
regasm only. If you delete the add-in regkey you should be aware that your add-in simply will not start next time by the add-in hostapp. That is all add-in command bars and their controls will remain in the hostapp command bar system. In this case it is necessary to remove controls and command bars manually via Tools|Customize. And only then your add-in can be registered correctly. |
|
Posted 24 Aug, 2004 08:13:19
|
|
Top
|
|
Eugene Starostin
ADX Team
Add-in Express team
Posts: 430
Joined: 2004-04-05
|
Sven,
You are right. It seemed quite loqical indeed to rename some methods, properties and events, so we did this because by that time we hadn't published the official release.
|
|
Posted 24 Aug, 2004 08:30:57
|
|
Top
|
|
ong beng hin
Posts: 9
Joined: 2004-08-22
|
Eugene,
Can you please enlighten me on how to use regasm to unregistered ADX??
|
|
Posted 24 Aug, 2004 08:50:48
|
|
Top
|
|
Eugene Starostin
ADX Team
Add-in Express team
Posts: 430
Joined: 2004-04-05
|
As a rule regasm isn't available in PATH. I have it in the folder C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\
for example:
regasm myaddin99.dll /unregister
|
|
Posted 24 Aug, 2004 09:01:06
|
|
Top
|
|
ong beng hin
Posts: 9
Joined: 2004-08-22
|
Eugene,
Sorry I didn't make my self clear. In this case which dll should I unregister??
|
|
Posted 24 Aug, 2004 10:40:13
|
|
Top
|
|
Sven Heitmann
Posts: 193
Joined: 2004-08-23
|
the dll that contains your addin class (AddInModule)... by default its named the same as your project...Best regards,
Sven Heitmann |
|
Posted 24 Aug, 2004 10:52:34
|
|
Top
|
|
Posts 11 - 18 of 18
First | Prev. | 1 2 | Next | Last
|