Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0 Win7 WebBrowserControl , +
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 30-Oct-12 4:21am
Comments
sinhasourabh at 30-Oct-12 9:36am
   
Which version of .net frame is used while build the application.
Sergey Alexandrovich Kryukov at 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

Rate this: bad
good
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.
http://msdn.microsoft.com/en-us/library/0t9yb2z4.aspx[^]
 
Good luck!
  Permalink  
Comments
sameerbhatt at 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
0 OriginalGriff 330
1 Sergey Alexandrovich Kryukov 279
2 BillWoodruff 245
3 Afzaal Ahmad Zeeshan 215
4 CPallini 205
0 OriginalGriff 5,635
1 DamithSL 4,496
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 30 Oct 2012
Copyright © CodeProject, 1999-2014
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