zainhansrod 0 Newbie Poster

Hi,

I have designed a application in VB.net on Win Vista using the MS Office spreadsheet component.

When launching the app on the client PC it gives a 'Windows has encountered a problem and needs to close' error, when clicked on Debug the error says 'An Unhandled exception occured ('System.InvalidOperationException') in 'ApplicationName.exe'.

The client PC runs WinXP SP3 with .NET framework 3.5 with SP1 and Office Web Components, also has Office 2007 installed.

When I remove the spreadsheet componenet from the app and redeploy the app to the client it works fine!

Please help.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.