###前提・実現したいこと
IEを自動操作するプログラムを作ろうと思っています。
使っているのは、Visual Studio 2017 C#です。
###発生している問題・エラーメッセージ
型の名前が見つかりませんでした。
と、出てきます。
###該当のソースコード
IEを起動するだけのプログラムです。
using System; using System.Windows.Forms; using SHDocVw; using System.Runtime.InteropServices; namespace WindowsFormsApp8 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public void StartIE() { var IE = new SHDocVw.InternetExplorer(); IE.Visible = true; } } }
よろしくお願いします。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/06/28 02:21