代码如何使用InternetExplorer
来自SHDocVw
. 在 C# 中???
非常感谢您
我的代码:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SHDocVw;
using mshtml;
namespace TTD_2
{
class Program
{
static void Main(string[] args)
{
InternetExplorer webBrowser1 = new InternetExplorer();
webBrowser1.Visible = true;
object mVal = System.Reflection.Missing.Value;
webBrowser1.Navigate("https://xxxxxxx.xxx", ref mVal, ref mVal, ref mVal, ref mVal);
// rest of the code
// Closing the Internet Explorer Window
//webBrowser1.Quit();
}
}
}