Questions tagged [axwebbrowser]

39 questions
4
votes
1 answer

Web Browser to handle pop ups within the application

I am trying to use the WebBrowser control to launch a new form for popups instead of it opening in IE. I have tried to use the AxWebBrowser instead to get the popups which works with NewWindow3 event and just doing e.ppDisp =…
2
votes
2 answers

A button that can ONLY be used by clicking. No Enter, no Return. Just clicks

I wish I could throw a ! on a Google search, and turn up the opposite answer. Looking for having buttons NOT activated by keypresses only turns up folks who need their buttons activated by keypresses. I'm having issues with buttons on a form being…
friggle
  • 3,362
  • 3
  • 35
  • 47
2
votes
1 answer

Separate sessions using aXWebBrowser controls in WinForms app?

How to programmatically control multiple browsers (aXWebBrowser control), from a single winforms app process, targeting the same remote website, but each browser living in its own session scope with the remote site? Goals - Build an application…
Sonny
2
votes
1 answer

C# after Select option page not refreshed in axwebBrowser control

I'm trying to select an option in the web page with axwebBrowser control. I know how to select a value, here is my code: mshtml.IHTMLElement ddlid1b = doc.getElementById("id56"); ddlid1b.children[3].SetAttribute("selected", "selected"); After that I…
purna.n
  • 287
  • 1
  • 3
  • 11
2
votes
1 answer

IDocHostUIHandler TranslateAccelerator not allowing keyboard input

I implemented an AxWebBrowser control and added the IDocHostUIHandler to my Document at Navigation for custom contextmenu. After research i found out that i have to throw new System.Runtime.InteropServices.COMException("", 1); in the…
Florian Leitgeb
  • 15,657
  • 6
  • 31
  • 40
2
votes
1 answer

How to invoke scripts work in msHTML

I'm using axWebBrowser and I need to make a script work which works when selected item of a listbox is changed. In default webBrowser control there is a method like; WebBrowserEx1.Document.InvokeScript("script") But in axWebBrowser I can not work…
Mtok
  • 1,600
  • 11
  • 36
  • 62
2
votes
2 answers

C# Internet Explorer 9 and AxWebBrowser

I have .NET Framework 2.0 project and AxWebBrowser control runing on Windows 7 with IE9 web browser. When I put this code to my IE9 web browser:
Przemysław Michalski
  • 9,627
  • 7
  • 31
  • 37
2
votes
0 answers

Attempted to read or write protected memory. This is often an indication that other memory is corrupt

I create a Windows application in C# 4.0. I try to create a dynamic WebBrowser. This function works inside the loop. Please see my function code below: public WebBrowser GetLoadText(string url) { string html = string.Empty; WebBrowser…
Ragesh P Raju
  • 3,879
  • 14
  • 101
  • 136
1
vote
1 answer

How to save webpage/image

I am using the following project due to its ability to fill forms and click buttons programmatically: http://www.codeproject.com/Articles/5452/Microsoft-Web-Browser-Automation-using-C I can browse internet programmatically however I am unable to…
1
vote
1 answer

AxWebbrowser Event Handlers not working anymore

The event handlers on my program don't work anymore for some reason. This same exact code I've ran several times before. object loc = "http://www.google.com/"; object null_obj_str = ""; System.Object null_obj = 0; this.axWebBrowser1.Navigate2(ref…
Proximo
  • 6,235
  • 11
  • 49
  • 67
1
vote
0 answers

Problems automating FileDownload in the axWebBrowser control in C#

I'm working on a project trying to scrape an intranet site at my company because right now there are constraints that prohibit me from getting help on the server end of things. I'm writing a C# client using an axWebBrowser control to navigate to…
crlanglois
  • 3,537
  • 2
  • 14
  • 18
1
vote
1 answer

How to wait for axWebBrowser to finish loading?

I am using axWebBrowser to do some web automation. When the system triggers the NewWindow2 event, it is unable to keep track of an HTML element in the new window. After debugging, I noticed that the axWebBrowser1.ReadyState is equal to…
DEN
  • 1,893
  • 7
  • 27
  • 51
1
vote
0 answers

Error using AxWebBrowser after disabling Refactor

i was using AxWebBrowser (Microsoft WebBrowser // ieframe.dll) but when i decided to disable Refactor addon for Visual Studio (2017), its not working anymore at all. And whenever i try to add an axWebBrowser to my form it throws this error: PS: I…
user3916429
  • 562
  • 6
  • 25
1
vote
1 answer

msLaunchUri not working from WebBrowser Control

Setup: Windows 10 with IE 11. WebBrowser control in compatibility mode 11011 (11 Forced). When used from the WebBrowser control navigator.msLaunchUri is defined but it fails to do anything and does not even call the 'fail'…
donaddon
  • 413
  • 2
  • 13
1
vote
1 answer

AxWebBrowser : Download file when already logged in

I am trying to "download" a file using the AxWebbrowser in VB.Net language (though, the answer could be in C#, I don't matter). The browser is already logged in, so I tried to catch the download, but for now the test is done with a PDF and I think…
Master DJon
  • 1,899
  • 2
  • 19
  • 30
1
2 3