Office 2003 FLAKINESS!

A

Andrew M

Hello

I am developing an Office addin in VB6 and am getting a bit upset....

Whenever I try to run code in the V6 IDE, odd things happen.

- When I compile the addin, occaisionally Win XP pro explorer goes
berserk - desktop icons dissappear, start menu dissappears, etc
- Sometimes I cannot open code modules in the IDE (have to delete the
..vbw file)
- Icons in the VB6 IDE get replaced with ones from my application
- VB6 crashes consistently on exit


When I run the compiled code, occasionally, I get a GPF - I get run time
errors when I go to Save As - and hit the cancel button on the dialog.
(What's with that?)

Anyway, I tried pulling my code out of the .DSR and having the basic
connectivity running. With NO code in the DSR(just event handlers) it is
stable, and noting weird happens. However, as soon as I reference the
callbacks (Private withevents oApp as Word.Application)

I am testing out some GPF handling code, but I am concerned that it is
actually happening in Word

Oh yeah - noting weird happens with EXCEL or POWERPOINT, just WORD

Any ideas / suggestions?

Thanks

Andrew
 
A

Andrew M

Again..

Answered my own question. Dont try to make an addin that works for all
MS office Versions. If you don't specify the version the addin is for, it
will load under all versions. This is a problem when you compile against a
certain version's type libs. This may be a contextual problem, however, as
soon as I made my addin Office 2003 specific, the BSOD's stopped.

Thought that would be useful to someone.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top