Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello,

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.

Thanks,
Sameer Bhatt
Posted
Comments
[no name] 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.
--SA

1 solution

It should work fine for windows 7. Are you sure the element exists? Have a look at the msdn example again.
http://msdn.microsoft.com/en-us/library/0t9yb2z4.aspx[^]

Good luck!
 
Share this answer
 
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900