Click here to Skip to main content
15,898,134 members
Everything / Web_browser

Web_browser

web_browser

Great Reads

by Athari
A walkthrough of creating a user style which changes GitHub user interface to one resembling classic Windows GUI from Windows 9x.
by Andy South
We have established a goal to decide, what solution (as in a combination of software and services) among those we chose allows extending the audience of an event with minimum efforts.
by Dave Kerr
Tips for CKA Certification
by Steffen Ploetz
JavaScript plugin gaugeSVG to generate widely configurable SVG gauge for a web dashboard

Latest Articles

by Dave Kerr
Tips for CKA Certification
by Ahmed Bouchefra
Throughout this Angular 9 tutorial, we’ll learn to build an example web application using APIs like HttpClient, Angular Router, and Material Design. We’ll learn to generate components and services using Angular CLI and deploy your final app to the cloud (Firebase)..
by Athari
A walkthrough of creating a user style which changes GitHub user interface to one resembling classic Windows GUI from Windows 9x.
by favedj
A fully working fix for this longstanding problem, tested in Windows 7 - 10

All Articles

Sort by Score

Web_browser 

8 Jul 2018 by Athari
A walkthrough of creating a user style which changes GitHub user interface to one resembling classic Windows GUI from Windows 9x.
16 Feb 2016 by Andy South
We have established a goal to decide, what solution (as in a combination of software and services) among those we chose allows extending the audience of an event with minimum efforts.
16 Jun 2012 by db7uk
This really (and I mean really!) depends on the actual requirements from the client. I am very bias towards Microsoft but can sometimes be very pricey for newcomers.Here are my thoughts.1) Which language. Microsoft have invested subsequent amounts of money in their ASP.NET platform....
22 Dec 2011 by Member 7983150
Hi Guys,I need your help with the Webbrowser element.I made a program that plays youtube-links like a mediaplayer.So you have serveral URLs that direct you to youtube and plays the video.Since the last flashplayer update it doesn´t work anymore.If you try for example to start this...
22 Dec 2011 by Sunasara Imdadhusen
HiI think this may help youASP.NET Embedded Video Player (YouTube™ API, C#)[^]Thanks,Imdadhusen
18 Jan 2013 by V G S Naidu A
Hai, I am trying to display the Excel document in windows forms using the webbrowser Control. using the code googled in Codeproject How to Integrate Excel in a Windows Form Application using the WebBrowser[^] and i am able to disaply excel(.xls and .xlsx) files in 32 bit Operating...
16 May 2020 by Ali Al-Masry
hello guys , here a code that`s contains a button i need to click but i can`t do it although i tried many way to do it using currentwb.Document.GetElementByIdbut as we see this code have no id for the element ,, ...
4 Nov 2013 by Zoltán Zörgő
You can't click on it? This makes no sense to me. You want to trigger the click event on the element from javascript? Try this: http://www.nonobtrusive.com/2011/11/29/programatically-fire-crossbrowser-click-event-with-javascript/[^][Update]If you want to automate IE, you better use this...
29 Jan 2014 by Pete O'Hanlon
Unfortunately, there isn't a straightforward solution. I've seen samples that rely on the overriding the Navigate method which works when you directly load the page, but fails when the user clicks a hyperlink in the returned document. Fortunately, there's a thorough working solution here[^].
15 Aug 2014 by Sergey Alexandrovich Kryukov
There is no such thing as "downloading from WebBrowser control". If something is rendered in a WebBrowser, it is already downloaded. It looks like you just need to obtain the images in some files on your local drive. If has nothing to do with a browser, as you probably understand yourself, you...
8 Mar 2012 by El_Codero
Hi,just add ?autoplay=1 behind your youtube url.webBrowser1.Navigate("http://www.youtube.com/embed/rdKFioMyieQ?autoplay=1");With Best Regards,Björn
15 Mar 2012 by Dave Kreskowiak
The onyl way to do that from code would be to write a global keyboard hook and eat the Ctrl or Esc key. There's tons of examples out on the web on how to do this, though, I don't recommend doing this.Try this[^] instead. You'll have more control of additional hotkey combinations.
12 Jan 2013 by Dave Kreskowiak
Nope. You're not going to get away with doing this. At a MINIMUM, you'll violate the terms of service for Facebook and then you won't have an account to get back into.At the worst, you'll be arrested for computer crimes. "Hacking" a password is illegal, even if it's your own...
2 Dec 2014 by Sergey Alexandrovich Kryukov
It has nothing to do with threading. All .NET UI libraries work in one thread. More exactly, you can create an application which uses two different threads with two different instanced of UI (two or more), but to do so, each of those threads should start with Application.Start. Then you will get...
22 Jun 2015 by ZurdoDev
I've not heard of one but you wouldn't want to rely on one anyway. For example, they won't be able to notice if the UI looks different. If you find one it could probably help test some functionality but you'll still want to do manual testing.
11 Jul 2015 by Wendelius
The error actually says it all:button3_Click(object, System.EventArgs)' must declare a body because it is not marked abstract, extern, or partialYou probably have a button object named button3 drawn in your UI and you have wired a click event for it.Anyways, you need to modify the method...
22 Jun 2016 by OriginalGriff
You'd need to ask the admins: Bugs and Suggestions[^] and give them as much info as you can. The email address would be a good start! But if you remember the names, it's possible they can see which one is you and help you.
13 Sep 2016 by F-ES Sitecore
The solution is to re-write your code to not use the browser control. You can access html etc via the WebClient class and others, but it ultimately depends on what it is you want to do.WebClient Class (System.Net)[^]
13 Sep 2016 by Dave Kreskowiak
You cannot use the browser control in a web application. The browser control is dependent on a Windows Forms app Form object in order to work properly. Since you can't have a Windows Forms Form object in an ASP.NET app the WebBrowser control won't work.You have to use some other method, like...
13 Sep 2016 by Karthik_Mahalingam
use Html Agility Pack[^] to retrieve data from a sitenote: this is one of the method.
20 Feb 2018 by Richard Deeming
You need to register your application as a URL protocol handler for the tel: protocol: Custom URL Protocol for Invoking Application[^]
9 Aug 2020 by Garth J Lancaster
I'd ask the question : How complex is this PDF ? can you build in 'on the fly' using iTextSharp or such ?? That would then do away with issues you have with the PDF being 'at rest' on a server somewhere and then having to find the 'at rest'...
11 Aug 2020 by Michael Breeden
The link Garth offered led to the solution. c# - Display ASP.NET generated pdf byte[] to web page without saving the file - Stack Overflow[^] There were a few others offered for how to do it with an MVC web site but only that page led me to how...
3 Mar 2022 by Luc Pattyn
The winforms WebBrowser Control uses the code of ancient Internet Explorer, which means it is far from perfect. And it inherits its settings from Internet Explorer. The page you're interested in heavily relies on JavaScript, e.g. it needs JS...
3 Mar 2022 by Maciej Los
WebBrowser control has got a lot of limitations: Quote: Detecting when page is really done loading is very difficult to do reliably, in fact, you have to employ a series of hacks in order to be able to do this, some methods and ideas aren't...
26 Oct 2011 by Cool Smith
Hello,Is it possible to pass and get values to a web-browser embedded in winform?if yes, can you point me to any reference or code samplethanks
26 Oct 2011 by Pascal Ganaye
There are ways using COM objects which I find complicated because on the client side you must use some tags and it is using com behind the scene.I prefer calling a scripts to speak to the page from C#private void RunScript(string cmd, params object[] args){ var doc =...
7 Jan 2012 by Eranz1111
Hello,I have a strage and inconsistent problem.I am using System.Windows.Forms.WebBrowser object in order to scan web pages content from some external web pages (in that way I am able to get the full content that I need to use).I use it under 2 processes running on the same machine: IIS7...
7 Jan 2012 by thatraja
Here a fix linkUnable to get the window handle for the 'WebBrowser' control. Windowless ActiveX controls are not supported[^]
11 Jan 2012 by Jαved
i dont know if it could help you a bitMyDownloader: A Multi-thread C# Segmented Download Manager[^]
11 Jan 2012 by Sergey Alexandrovich Kryukov
I'm sorry if my post will help you not so much as I wish to help. To me, it looks like a considerable problem, too.A while ago, I found only one product which can do this on Windows. This is VideoLAN, see:http://en.wikipedia.org/wiki/VideoLAN[^],http://www.videolan.org/[^].Right now,...
15 Mar 2012 by badbooy8192
I made a browser like Kiosk mode,i disabled almost everything...but not able to disable ctrl+esc...please help me in disabling ctrl+esc...:)
16 Mar 2012 by badbooy8192
i want to disable flip 3d...how can i achieve it...any suggestions...!!!and i am also not able to disable ctrl+esc and alt+space...:(please help me out...!!
16 Mar 2012 by psgviscom
Refer these linkshttp://msdn.microsoft.com/en-us/magazine/cc188951.aspx[^]Lock Windows Desktop[^]
22 Jan 2017 by GentlemanK
I am automating the process of Ticket booking through www.irctc.co.in Till now I am able to login.. But when specifying ticket details in next form, I am not able to set the Journey Date field(Calender with text box) value..I tried this...
8 May 2012 by Vijay Walunj,Navi mumbai
Hi...........
8 May 2012 by Prasad_Kulkarni
Please refer similar discussion on following links:how to fit the web page to the screen[^]How to make web page Cross-Browser compatible[^]
8 May 2012 by Abhijit Parab
Hi,Follow W3c Standards and make dynamic CSS according to Browser.Same for scripting.........
9 May 2012 by Sandeep Mewara
Look here for various answers for similar question asked here: Browser Compatibility Application[^]doubt regarding browser compatability[^]
16 May 2012 by Ugur Inanc
Hello, Using C# I'm using a 'webbrowser' to navigate to particular URLs. However, when I clicked on a certain button on the browser, a new page is opened and I need to get the session id (in other words, the part after the question mark) of this page.The URL of the new page is...
15 May 2012 by Sebastian T Xavier
try Request.Querystring to extract those valuesHere is a sample[^]RegardsSebastian
15 May 2012 by sunandandutt
you can try this:string value=Request.QueryString["OWASP_CSRFTOKEN"];
16 May 2012 by sjelen
Add a handler for 'Navigated' event:private void webBrowser1_Navigated(object sender, WebBrowserNavigatedEventArgs e){ string query = e.Url.Query;}This will give you query string part of URL including the question mark at start.Alternatively you can...
16 May 2012 by hunain.esh
you can try this one also:string strval=Request.QueryString[0];
4 Jun 2012 by Vvelawras
Hello everyone!I would like to help me for something.Is there a way that someone can embedded iframe google maps in webbrowser control??string Locations = "http://maps.googleapis.com/maps/api/staticmap?center=" + this.txtLatitude.Text + "," + this.txtLongitude.Text + "&zoom=17&size=640x640...
10 Jun 2012 by Lecter11
Nowadays, I am in a project of webkit. when I wanna use the function of Undo/Redo, I found none of them, please give some suggestion about realizing them. Thx!
10 Jun 2012 by Abhinav S
I don't know to much about webkit, but I guess using the UndoManager[^] might offer a plausible solution.
16 Jun 2012 by Member 9129971
i am a software engineering student and want to learn web development ,,,so that i can make a complete website with dynamic webpages...one company has offered me to create website for them but i have no idea where to start..any one plz guide me about1)which lang. or plateform is best for...
29 Aug 2012 by khangaldi
Hi i have a c# application and an embedded browser in it.Its task is to find a link and then right click on it and click on properties! mouse moves programmatically so i need to find properties in righ click menu! Can you help me how to do this? I tried pressing 'r' after right click, but it...
4 Sep 2012 by Abed AlSayed
how to make a web browser with a file downloader, means that when I want to download any thing don't open the IE downloader, it opens my own downloader.
7 Oct 2012 by fRenatoNapoli
Hi, I'm implementing an application which navigate on a website, using Delphi Twebbrowser object: as final step, there's a link to click. The event associated with the link is my nightmare, because: - if I try to fire the event (parentWindow.ExecScript) or to click on the link, I get...
7 Oct 2012 by E.F. Nijboer
You need to check if the link is an actual url, or if it is a javascript link. First check out this link, describing how to determine what kind of link needs to be handled.http://stackoverflow.com/questions/11556943/opening-twebbrowser-link-in-default-browser[^]Here some extra info on...
8 Oct 2012 by fRenatoNapoli
Hi, thanks for your answer...but I'm still living my nightmare :-)The link is a javascript link, this is the code:ExcelPlease help me! :-)
8 Oct 2012 by fRenatoNapoli
Sorry, the code between tag is: ""onclick="$find('p_lt_WebPartZone6_zoneContent_pageplaceholder_pageplaceholder_lt_zoneCenter_pageplaceholder_pageplaceholder_lt_WebPartZone1_zoneContent_StatementOfAccount_ctl16').exportReport('EXCELOPENXML');" href="javascript:void(0)"...
8 Oct 2012 by fRenatoNapoli
Well... Finally I got my Excel document...The code didn't work due page wasn't completly downloaded yet: I'have fired a "onDownloadComplete" in the point of code where I was clicking. In "onDownloadComplete", I do use link.click and it works fine...Thank you, see you soon :-)
10 Oct 2012 by NukiNuki
Hi allI am using VS2008, C#, with WPF application (WebBrowser and Microsoft.Office.Interop.Excel)I have a task : Hosting Excel on WPF-form in mode readonly.How can I do this:if ((WebBrowserExcel.Document as Excel.Workbook) == null) return; try { _Book =...
11 Oct 2012 by NukiNuki
it's baghttp://support.microsoft.com/kb/165435/en[^]
2 Nov 2012 by Sandeep Mewara
It does not work like this here.Here is what is expected of enquirers:1. TRY first what you want to do! You may find that it's not that hard.2. Formulate what was done by you that looks like an issue/not working. Try them and tell if you face issues.Members will be more than happy...
8 Dec 2012 by Member 9668367
hi,i try to read a word document in a webbrower (VBA code with Word Application) but the document is opened outside the userform:ex1: webbrowser1.Navigate "D:\TEST.doc" = not ok ex2: webbrowser1.Navigate "D:\TEST.htm" = ok (in the userform)Someone has the solution ?thanks
8 Dec 2012 by Krunal Rohit
As per MSDN Example[^] :- ;)Imports SystemImports System.Windows.FormsImports System.Security.Permissions _ _Public Class Form1 Inherits Form Private webBrowser1 As New...
15 Dec 2012 by sokunthor
I have more than one webbrowser controls on my program, and it seams they all share session cookies. What i want is that they DONT share the session cookies.I have different webbrowser controls that opens the same website with different accounts, or open the same web-page that store...
16 Dec 2012 by Stephen Hewison
You can operate your session state in cookieless mode. This means you're required to persist a session reference using the url. But this will be ideal for you as each new request without a session parameter in the url will create a redirect with a new session which is your desired...
16 Dec 2012 by sokunthor
hmmmm i am not sure with your meaning ! but i building multiple browser for multiple user to login in the same website ! but all webbrowser control in my form shared session, so i can't login multiple user in the same website !Please help !
16 Dec 2012 by Rahul Rajat Singh
Cookies when stored in non-persistent mode can only be shared by one browser at a time i.e. IE for instance. but multiple instances of IE can use this cookie. but other browsers will not be able to access it. So if other type of browsers i.e. Chrome is able to access the session cookie then...
15 Jan 2013 by CMS1968
Hi,I have a web browser object in one of my forms.When I open the form and try and load this URL .... 'http://www.bbc.co.uk/news/world/' the application crashes.The same thing happens when the application is compiled and installed on a different machine and the above URL is...
15 Jan 2013 by OriginalGriff
It works fine for me - I placed a WebBowser on my form, added a button, and pasted your line of code into the Click event handler:void button1_Click(object sender, EventArgs e) { webBrowser1.Navigate("http://www.bbc.co.uk/news"); }Click the button, the page laods, my app is...
17 Feb 2013 by pal2ashish
Hi Everyone, I am creating one 64 bit WPF application.It needs to show created PDF in WebBrowser control. While doing , "WebBrowser.Navigate(new Url("D:\\TestPDF\\MyDocument.pdf"))"; , It opens PDF file in Adobe reader window. My Need is PDF should be opened inside WebBrowser...
20 Feb 2013 by CMS1968
Apologies for the delay in replying.Your code worked fine once I put it in a new project.The issue seemed to be with the initial project.In the end I created a new project and copied all the files across.That seemed to cure it.Slightly disconcerting that I had to do...
4 Apr 2013 by Marc Clifton
This is a very strange problem. I have an embedded WebBrowser control, and sometimes, depending on my previous action, the keyboard shortcuts for selected menu items (like "Alt-F" to pull down the File menu) do not work. Other times, they do.When I run Spy++, I can see that the window that...
11 Apr 2013 by Member 9565931
Hello,I use a WebBrowser control to open an Excel file.The problem is that if there is already an open Excel before, the WebBrowser uses the same instance of Excel (Application).Is there a method to indicate that the WebBrowser should create a new instance of Excel?Or is it...
13 Apr 2013 by Maciej Los
If i understand you well...MS Excel is a single-instance application, which means that Excel will open next file in the same instance. To force creating another instance, using Interop, you need to open it using new keyword.Excel.Application oExcFirstInstance = new...
2 May 2013 by Marc Clifton
It seems that no one has actually written the code to save the contents of a page, including images, as rendered by the .NET webbrowser control. And the ShowSaveAsDialog provided by the WebBrowser control sucks - it doesn't return the filename, and it doesn't work - try saving a Google page...
2 May 2013 by Sergey Alexandrovich Kryukov
This problem is not actually related to the browser control, not a browser itself. You need a browser to render the Web page, but to save a Web page, you don't really need to render it. You need to use the well-known technique of Web...
5 Aug 2013 by Coder.86
Hi,I am facing focus issue with the WinformHost control. I have a webbrowser control hosting Microsoft office documents using WinForm usercontrol. I need to display this WinForm control using WPF window as WebBrowser in WPF is having limited capabilities compared with WinForm's one (ours is...
30 Aug 2013 by Member 10003809
Hi,I'm a newby in VB.Net.I need to connect to the site of the european union to validate a VAT number.the webpage is "http://ec.europa.eu/taxation_customs/vies/vatRequest.html"On the webpage you need to select the country and enter the VAT number.Can anyone give me some clues on...
17 Sep 2013 by Sergey Alexandrovich Kryukov
This is the updated useful information on the VLC component binding for.NET:http://sourceforge.net/projects/libvlcnet/[^],https://wiki.videolan.org/C_Sharp/[^],https://wiki.videolan.org/.Net_Interface_to_VLC/[^].Notably, you can find material for using the component for both WPF and...
19 Oct 2013 by nader11ndeu
Hello Firstly I so sorry my bad english.I hope mpgh users help me I write c++ dll. I use dll in form codeSources here:Source Files:Main.cpp#include extern int DesignMain();DWORD WINAPI Main(LPVOID ParaMetre){ DesignMain(); return 1;}BOOL...
19 Oct 2013 by nader11ndeu
Why any body person dont answer me ?
7 Nov 2013 by Sergey Alexandrovich Kryukov
If you mean http://en.wikipedia.org/wiki/Pygame[^], http://www.pygame.org[^], I don't think it can target Web applications.If your goal includes using Python on client side (this is how I could interpret your "run it on the Web browser"), look at pyjs instead, which targets both Web and...
30 Dec 2013 by Member 10494883
Im trying to automate some things for work, ive tried various methods so far, but its not working. heres the html code , its within a frame, not complete but what i think pertains here. http://imgur.com/3xUchoD[^]I cant seem to get the webbrowser to do onclick, ive tried using the...
29 Jan 2014 by BenJBaker╣
I've been trying to make a proxy web browser in a c# application so far I have only managed to do this by changing the system registry to use a proxy, this is not the way I want to do it as that effects all browsers on the PC i want it to be within the application. I have tried this but it is...
20 Feb 2014 by markand911
http://support.microsoft.com/k...
14 Apr 2014 by Member 10749093
can some one please tell me how do i change the entire div?here's my example,i have created a page and it contains the following:Div HelloDiv Hello2and on my VB or C# project i want to add a Webbrowser and Button,when i click on that...
14 Apr 2014 by AmitGajjar
Hello buddy,you can write one javascript function that can update your div. You can call javascript function of webbrowser control page. Please check this article to call javascript from win form :Calling JavaScript function from WinForms and vice-versa[^]Let me know if you have any...
28 May 2014 by Member 10734075
Hello,I have a problem. i need to share webbrowser's cache with another users at LAN for multilogin. Because i need to multilogin a site but site is blocking multilogin. If i use same browser's tabs site not blocking. This tought to me i must to use same cache on another pcs or i must to...
27 Jul 2014 by Eren001
hi, i've opened a pdf file in webbrowser control , how could i make the pdf file scroll down.. i try the following but it give an error.. WebBrowser1.Document.Window.ScrollTo(New Point(0, 50)) this only work when you open a web page in the webbrowser ( as i think )
5 Aug 2014 by Rodrigo.Assumpcao
In VS2010, C#, when a PDF content is loaded via http in a WebBrowser component, not a local file, the DocumentCompleted event is called and Acrobat Reader opens the content into the WebControl. It is OK, but the PDF content can not be acessed in WebBrowser.Document. This content will be saved...
7 Aug 2014 by BaSs_HaXoR
I'm Currently working on an application in C#, trying to get a textbox to send the textBox.Text to HTML tag value... which works for everything else (ex. Username/email, D.O.B., Captcha), BUT won't work for the password on the site. Trust me, i have been researching this, and nothing works. But...
8 Aug 2014 by Sergey Alexandrovich Kryukov
Forget plain text. Password can be sent in the form of cryptographic hash function; and only the hash should be stored and later used in authentication.But even this would be unsafe, unless the connection itself is properly encrypted; it should use HTTPS, not...
16 Nov 2014 by fanoftheplanet
I have a VB.NET forms application that uses the webcontrol to show a local html page with music album covers. All covers contain a link to a local text file. I added a handler to the linkcollection, so that when clicking on a cover, a subroutine reads the text file and adds its content to a...
16 Nov 2014 by Sheepings
A handler is created as follows: AddHandler eventargs, AddressOf subroutine. I.e. AddHandler TextBox1.KeyDown, AddressOf MySubOf course, you need to have a subroutine called MySub for this example, and from here you add the code you want to do the work for that event to that subroutine...
17 Nov 2014 by sachi Dash
I am using IE version 11.But When I upload a website through webbrowser control, I can see that through the following code my webBrowser using IE 9. private string GetIEVersion() { string key = @"Software\Microsoft\Internet Explorer"; ...
17 Nov 2014 by Dave Kreskowiak
A quick Google for "webbrowser control ie version" comes up with this[^].That took all of 5 seconds to find.
18 Nov 2014 by tstramesh1
Hi,i am trying to load Siebel CRM application on Webbrowser control in C# form, however it loads in IE with out any issue, when it loads in Webbrowser control, i am getting System.Access.voilation error. any idea ?and i am also figured out to get the Webbrowser control from running...
18 Nov 2014 by fanoftheplanet
I have a WPF VB.NET webbrowser control, showing a local HTML file with album covers as jpg images. All album covers have a link to a text file containing the albumdata. When clicked, a listbox is populated with the items in the text file.Currently I am using the Webbrowser Navigating event...
18 Nov 2014 by Zoltán Zörgő
This approach might help you: http://stackoverflow.com/questions/9110388/web-browser-control-how-to-capture-document-events[^]It looks, like WPF WebBrowser control is facing even vorse flaws than the Windows Forms version. The concept of the solution on the link is to directly hook into the...
24 Nov 2014 by sachi Dash
I want to get all the content of an webpage. My target is to generate a report using those content.Suppose I have a table in webpage. Now I want to get all the html & css content then I want to put it in excel. I have already made it through webbrowser and I am using C#(.NET) when the data...
21 Nov 2014 by BillWoodruff
You can, indeed, as Afzaal shows you here, use WebClient to get the "raw text" of the currently rendered page in the Browser.However that "raw text" will probably incorporate CSS by links to external files, and you will have to parse the "raw text" to discover those files, extract the...
28 Dec 2014 by SevenWow
I can successfully call JS function in the main page from VC++, but when I call the JS function in frame, GetIDsOfNames() return DISP_E_UNKNOWNNAME. The question can be describe as below:main page is INDEX.HTM, loaded in webbrowser control, src: