c# specified cast is not valid while assigning mshtml.HTMLDocument.frames

后端 未结 1 1423
傲寒
傲寒 2021-01-23 06:41

I\'m developing an IE BHO, While accessing frames in a html document i\'m getting this error

Here is the code.

foreach (SHDocVw.InternetExplorer objExplo         


        
相关标签:
1条回答
  • 2021-01-23 07:09

    OK people i got it solved by setting [STAThread] at function calling

    0 讨论(0)
提交回复
热议问题