목차
준비 과정
Reference
- SHDocVw : Microsoft Internet Controls
따라하기
프로젝트 생성
Reference 추가
코딩
private void button1_Click(object sender, EventArgs e) { var IE = new SHDocVw.InternetExplorer(); IE.Visible = true; object oURL = "http://docs.whiteat.com"; IE.Navigate2(ref oURL); }
결과
버튼을 클릭할 때마다 새로운 Internet Explorer 창이 열립니다.
C# Automating Internet Explorer 목차
- C# Automating Internet Explorer #1 창 열기
- C# Automating Internet Explorer #2 창 열고 코드 가져오기
- C# Automating Internet Explorer #3 창 열고 내용 변경하기