応用

Cookieの取得

Cookieを取得します。

					Dim cookieText As String = ""
					Dim doc As mshtml.IHTMLDocument2 = CType(objIE.Document, mshtml.IHTMLDocument2)
					If Not doc Is Nothing Then
						cookieText = doc.cookie
					End If
					MsgBox(cookieText)
				
					MsgBox(WebBrowser1.Document.Cookie)
				

参考

HtmlDocument.Cookie プロパティ