Set obj = DotNetFactory.CreateInstance("System.Windows.Forms.Form","System.Windows.Forms")
Set objBrwsr = DotNetFactory.CreateInstance("System.Windows.Forms.WebBrowser","System.Windows.Forms")
With objBrwsr
.Width=800
.Height=800
.AllowNavigation=True
.AllowWebBrowserDrop=True
.IsWebBrowserContextMenuEnabled=True
End With
With obj .Controls.Add objBrwsrEnd with
objBrwsr.Navigate("www.google.com")
obj.showdialog
Set obj =Nothing
Set objBrwsr=Nothing
You will get DOT Net Dialog with browser control as same as below,
Thanks and regards,
Asiq Ahamed
Hi Asiq
ReplyDeleteWell Done!!
Thanks
Karthi
Hi asiq thanks....
ReplyDeleteGreat Work buddy...
Keep it up....