.NET Application Causes Exception

E

Eric

Hello,

I built an applicaiton using the Windows Media Player ActiveX control. It
works fine on my dev machine.

I deploy it a second machine with WMP and .NET, and the Debugger reports an
exception occurred. Nothing else. No .NET runtime error stack - I'm
figuring the app didn't successfully load. I do include the Interop DLL
that was generated with my EXE and PDB files.

If I remove the ActiveX control from the program, the program loads.

1. How can I get more information from the "second machine" exception?
2. I am guessing that the Interop DLL - referencing a WINDIR\system32 DLL-
should work fine, even though the WINDIR name is different on the machines?

I am going home to RTFM. If you have a suggestion of what to read in the
TFM, or any other advice, please reply.

Eric
 
V

VJ

You should use the Packaging from .NET ( i.e Setup & Delpoyment Project ) to
deploy windows forms applications. It should solve your problem, just
copying sometimes does not work, specificaly if u have included COM
components

VJ
 

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