Click here to Skip to main content
13,047,131 members (60,181 online)
Rate this:
Please Sign up or sign in to vote.

We have develop windows application. In that application we are using invokemember method of webbrowser control. this application running good in windows XP. but when we are trying to run same application in windows 7(32 bit). It crash application and we also try "any cpu" option from the debug of the solution but it does not work.

I think it will crash at when we try to use invokemember method of web browser control.

Please help me. Its urgent.

Sameer Bhatt
Posted 30-Oct-12 3:21am
sinhasourabh 30-Oct-12 9:36am
Which version of .net frame is used while build the application.
Sergey Alexandrovich Kryukov 30-Oct-12 10:52am
Not enough information. Most usually, this is permissions. You need to run it under debugger or catch/log the exceptions, provide comprehensive exception information, including the fragment of code where an exception is thrown.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It should work fine for windows 7. Are you sure the element exists? Have a look at the msdn example again.[^]

Good luck!
sameerbhatt 30-Oct-12 11:20am
yes sure the element exist in the webbrowser document. but when i am trying to call invoke member of submit button. the application crash and after that it close the application.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 30 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100