activeX events fire again AFTER installing VS .NET 2003

  • Thread starter Thread starter Sagaert Johan
  • Start date Start date
S

Sagaert Johan

hi

I have the following problem:

I have a C# application that uses an activeX .
I installed the application and the NET 1.1 Runtimes on a clean pc
When running the application i discover that the activeX events do not fire.

I installed VS NET 2003 on that machine.(in an attempt to start debuggging)
Now the activeX events fire again (application works as expected ).

How is this to explain ?
Why does my application work again just by installing vs .NET 2003?
Is something missing by only installing the NET 1.1 runtimes ?
 
I also discovered when i delete te VS 2003 install dir under \program files
, the app continues to work
If i unstall vs.net via control panel, then again the events stop
firing.(let me remark that the application or activex do not issue an error,
just the events fail to fire... )
 
no need to reply

Case solved : stdole.dll was not deployed and caused this behaviour.
local copy was false (seems te be default )
In widbey this value seems te be true.
 
Hi Sagaert Johan,

i have similar problems with my app, so i have some question:

Wich version of Word do You (Your customers) use?
if Word2002: Did You deploy the PIAs?
if Word2003: Where the PIAs installed on the client machines (It's ".Net
Programmability Support" in Office Setup)?

The question would be, why that didn't install th correct stdole.dll

Thanks
 
Hi Johan,

Where did you find the local copy property of stdole.dll?

I referenced the PIAs for Word 2003 as documented in MSDN and there is no
reference to stdole.
Do i look on the wrong place?

Thanks

Christof
 
in the solution explorer look under references.

Click on stdole.dll or anothere referenced assembly, in the propery window
you will see the 'copy local' property.
if it it set true then the IDE will copy that DLL to the output directory of
your project.

Johan

ps i am not using word 2003, it seems stdole.dll is installed when
installing VS 2003
 
Back
Top