Click to See Complete Forum and Search --> : Problem running application on other machines...


TomJ
June 5th, 2005, 08:12 PM
Hello,

I have recently started a new project (I'm still a big newbie!), using the technique outlined here:

http://ryanfarley.com/blog/archive/2004/12/23/1330.aspx

Basically, it uses an embedded browser to act as a display. It requires AxInterop.SHDocVw.dll and Interop.SHDocVw.dll to run, and I suspect this is causing a problem when trying to run it on other machines. For some reason it works fine on mine, but I've tried two other computers and it causes an "Application has generated an exception that could not be handled". I also tried running the sample download application at the web address above, and it too runs fine on my computer, but not the other two.

I guess I'm wondering what's going on. If it makes any difference, I know that the .NET 1.1 framework is running on at least one of the machines where the application is not working.

Thanks for any help you might be able to offer.

Thank you,
TomJ

boudino
June 6th, 2005, 02:28 AM
AxInterop.SHDocVw works as wrapper on COM object. It strongly expects the same version of COM objects that was used for its generation.

Check version of IE (very carefuly) on both machines - yours and the other on which you have problems. If you have full acccess to other machine, try to generate AxInterop.SHDocVw on it.

Or wait for .NET 2.0 - it should contain .NET native browser objects.