Questions tagged [axwebbrowser]
39 questions
1
vote
1 answer
Windows Credentials dialog won't show when navigating using axWebBrowser
I'm doing some maintenance work on a legacy app that is using AxSHDocVw.AxWebBrowser to access in an intranet website. The web site required Windows Authentication. When I navigate to the page directly using IE I get a pop-up asking for Active…

Fletchius
- 438
- 4
- 13
1
vote
1 answer
How can I get a screenshot a the AxWebBrowser instance in C#?
I am creating an instance of AxWebBrowser in a win forms app because I need it to render flash. How can take a screenshot of the page it's rendered in C#?

James Alexander
- 6,132
- 10
- 42
- 56
1
vote
2 answers
Navigate to next document without saving any changes in last document in AxWebBrowser
I am opening MS Office Document file in AxWebBrowser after that I navigate to next Office Document ,before navigating I saved the last document like this
AxWebBrowser1.ExecWB(SHDocVw.OLECMDID.OLECMDID_SAVE, SHDocVw.OLECMDF.OLECMDF_ENABLED)
but how…

Amit
- 55
- 2
- 8
1
vote
0 answers
C# AxSHDocVw.AxWebBrowser handle window.open() event
I'm developing a windows form that opens a web application page.
I'm obliged to use the COM AxWebBrowser for this goal.
the problem is when a window.Open() action is executed in the web page, the new page is opened in my axWebBrowser and another…

Maha Rizk
- 85
- 1
- 8
1
vote
0 answers
WebBrowser control emulation not working when passing POST parameters
In my application I use the WebBrowser control.
Since the content requires a higher version of IE - I used the FEATURE_BROWSER_EMULATION as explained here:
http://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx
this worked perfectly until I…

Nissim
- 6,395
- 5
- 49
- 74
1
vote
4 answers
How to use AxWebBrowser in console application
I wanna use AxWebBrowser on console application, but it give me following exception:
Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown.
anybody please help me on this by any sample code for using AxWebBrowser in…

mohsen asfia
- 36
- 1
- 3
1
vote
1 answer
AxSHDocVw.AxWebBrowser CanGoBack/CanGoForward missing like in WebBrowser
I am using AxWebBrowser control and i need to implement an interface that indicates if the user can navigate back or forward.
In the "normal" WebBrowser control i had the booleans CanGoBack/CanGoForward.
Does AxWebBrowser have similar bools or do i…

Florian Leitgeb
- 15,657
- 6
- 31
- 40
1
vote
1 answer
Getting loaded web page HTML source document from PIE web browser in windows mobile
We need to get web page HTML source document loaded on the PIE web browser in windows mobile. source code that we tried is listed below:
IDispatch* pHtmlDocDispatch;
IOleCommandTarget* pOleCommandTarget;
WEBVIEWLib::IPIEHTMLDocument2* …

Ramanand Bhat
- 183
- 2
- 5
- 22
0
votes
3 answers
I must be a heretic for wanting a C# browser with both NewWindow2 and GetElementsByTagName
You can't have your cake and eat it too, apparently.
I'm currently using the System.Windows.Forms.WebBrowser in my application. The program currently depends on using the GetElementsByTagName function. I use it to gather up all the elements of a…

friggle
- 3,362
- 3
- 35
- 47
0
votes
1 answer
Word no longer embeds after windows update using AxSHDocVw.AxWebBrowser
We have been using AxSHDocVw.AxWebBrowser for some time embed word for mailmerge template creation but as of windows update July 12, 2022—KB5015807, this no longer works.
We expect the windows application to be embedded into the AxWebBrowser control…

Award
- 1
0
votes
0 answers
Filling value in web browser thru asp.net
I have a requirement of filling a text box in open web browser page through asp.net/vb.net application.
My website1 will be opened first by user then he will open another website2. I have to push a value in textbox in website2 from website1.
How can…

Jacob
- 7
- 3
0
votes
1 answer
WebBrowser control: Block a specific ActiveX control from loading
I am hosting the WebBrowser control (using ATL), and I'm looking for a way to block a specific ActiveX control (by CLSID) from loading.
I know ProcessUrlAction can block ActiveX controls, but that's for the entire URL, it doesn't appear to allow…

donaddon
- 413
- 2
- 13
0
votes
2 answers
AxWebBrowser.Navigate2 issue
I am using AxWebBrowser object to render html/flash. I have added this object in a form. I have noticed a strange issue while rendering onto the form using AxWebBrowser.Navigate2.
But it is not consistent and occurs intermittently (4/10).
The…

GoGetIt
- 1
- 1
0
votes
0 answers
Handle WebBrowser.ShowPrintDialog() close event without "SHDocVw"
To print document I have created separate WindowsApplication and each time I want to print any document I call that application with path as parameter and Print application have below code:
public static void Print(string path)
{
WebBrowser wb =…

Bharatkumar Leel
- 97
- 1
- 13
0
votes
1 answer
Disabling the AxWebbrowser Context Menu VB.NET
I'm using Axwebbrowser to display HTML page in my VB.NET application and i would like to know how disable its context menu ?
I use AxWebbrowser more than the original Webbrowser component because it handle the NewWindows 2 event that help me getting…

Lucas Duval
- 43
- 1
- 9