Questions tagged [webbrowser-control]

This tag refers to the WebBrowser ActiveX Control (native) and for Windows Forms or WPF applications (.NET). This control "hosts Web pages and provides Web browsing capabilities to your application".

Filter by
Sorted by
Tagged with
0 votes
1 answer
46 views

VBA webbrowser findtext next occurrences

I use a web browser control as a html editor in a MS Access 2010 database. I am trying to create a find text function to find certain strings and then select them. I am using this code which works ...
emphyrio's user avatar
0 votes
0 answers
35 views

How to set Paper Size A5,PageOrientation,Set name Printer in a web browser control with code in VB.NET

I'm trying to set Paper Size A5,PageOrientation,Set name Printer in a web browser control with code in VB.NET I tried no webbrowser effect, is there anything I am wrong with the code I please guide me....
siwa86's user avatar
  • 365
0 votes
0 answers
73 views

why does my web browser's PrintPreviewDialog display become small when loaded in vb.net

I don't know why the size is small, is there something wrong or is there a way with the code so that the display becomes normal. Thanks Private Sub Button3_Click(sender As Object, e As EventArgs) ...
siwa86's user avatar
  • 365
0 votes
1 answer
31 views

C# Web Browser control: How to grab html from selection

I have a winform project where i am using web browser control which load a site. the site has many tabular data which is a html table. user will select large text from web browser control using their ...
Thomas's user avatar
  • 33.7k
0 votes
1 answer
27 views

C# How to extract html table from selected text of web browser control

I have a web browser control where a web site will load. web page has many tabular data which user will select and need to parse those data and show in datagridview. This is way i am extracting ...
Sankar's user avatar
  • 11
0 votes
0 answers
56 views

How can I show images from a Microsoft.Graph.Models.Message in a WebBrowser in C#

I'm tryna show content of a Microsoft.Graph.Models.Message in a Web Browser. My issue is that in some messages I only have a bad error picture instead of the pic. I try different things, last one is ...
Pablo Otero's user avatar
0 votes
0 answers
44 views

How to prevent JavaScript dialogue from triggering browser controls in PWA

I've recently noticed that if a PWA, bookmarked to the home screen of my Android phone triggers any JavaScript dialogue boxes, it introduces a random browser element at the top of the screen: ...
user3585522's user avatar
0 votes
0 answers
35 views

Create a unique UserToken for a browser to track user without login in Nextjs 13

I am trying to build a game very similar to https://www.moviegrid.io/, This Game generates some clues on the basis of the user guessing movies when the user guesses the first movie or tries to guess ...
Abdullah moiz's user avatar
0 votes
1 answer
21 views

How geckobrowser span button skip innertext click?

geckowebbrowser span button skip need clicked I'm trying hard to click the span button but it's not clicking at all. Span A class comes randomly so I can't do class dia. I have given the code below if ...
sirajul's user avatar
1 vote
1 answer
48 views

Error getting MouseClick coordinates in a WebBrowser Document

The form has 3 WebBrowser controls and I need to know which one originated the event. I try using the ClientMousePosition property of HtmlElementEventArgs to get the click point, but the compiler says:...
alexb's user avatar
  • 23
1 vote
0 answers
53 views

WebBrowser control open FTP Server folder

I'm trying to open a FTP server in my WebBrowser control, which works fine but when I double-click a folder, it opens it in Windows Explorer and not in my WebBrowser, which is what I want. I've found ...
CodingDude's user avatar
1 vote
2 answers
77 views

Using the properties of a System.EventArgs in C#

I have an application which was using a System.Windows.Forms.WebBrowser to enable users to navigate to a web page in order to allow an OAuth2 autentication to take place. This works for one ...
Jim Borland's user avatar
0 votes
1 answer
42 views

WinForms WebBrowser control Url poperty not updating

My Windows Forms project contains a WebBrowser control. When I try to change the Browsers Url property, it doesn't change. Uri url = new Uri(someString); myWebBrowser.Url = url; MessageBox.Show((...
CodingDude's user avatar
1 vote
0 answers
72 views

How can I execute java script code in c# winforms to download files?

This is the java script code in the class JavaScript when I'm using this code in my website pressing f12 open dev tools and put the code in the console window it's working fine. using System; using ...
Daniel Lip's user avatar
0 votes
0 answers
97 views

Microsoft WebBrowser (ieFrame.dll) no longer working

I just installed a new PC, running on Windows 10 22H2. My old PC was On Windows 10 1909. I have some VBA code that shows up a form that contains the Microsoft WebBrowser control. On the new PC, the ...
MSE's user avatar
  • 11
0 votes
0 answers
57 views

VB.NET Decode URL from webbrowser control in windows form

In my windows form, i have a webbrowser control used as "file explorer". I use webbrowser.url.localpath to get the actual path of selected folder. I want to decode url because special ...
Jimmy Dubray's user avatar
0 votes
0 answers
5 views

winforms webbrowser control shows a simple text in 3 lines

Trying to use a webbrowser control instead of label control for showing html in winforms page. I'm feeding it with a line as simple as <span style='font-family:symbol;'>a</span> and the ...
Alireza Ahmadi Rad's user avatar
0 votes
0 answers
46 views

Web browser content isn't zoomed correctly in my VB.NET application

I am developping a software for my company. I am coding everything in VB.NET in Visual Studio Professionnal 2019. At some point, I make a Control window in which I include a Panel object. I then add a ...
Lalastro's user avatar
  • 171
0 votes
1 answer
45 views

How load html text, rather than html file in WebBrowser

I am currently creating a winforms project and we have returned an html string from some method and now want to load it into the WebBrowser. I know I can use the WebBrowser.Document.Write() to write ...
大陸北方網友's user avatar
0 votes
0 answers
121 views

Recovering access to localhost web login after forgetting password and reinstallation

I had a web login at 127.0.0.1:8080 to run a service as the server. After the PC went down, I used another PC to run service. Now the previous PC was fixed and I'm trying to run it as the server again....
Ekonia Lance Wanariu's user avatar
0 votes
0 answers
117 views

How to fill a Textbox on any website using an embeded webbrowser

I have looked for a way to fill a Textbox on a website on a Windows form App that contains an embedded web browser(C# ). Above task used to be very easy using Microsoft WebBrowser. But Microsoft ...
S Nash's user avatar
  • 2,379
0 votes
1 answer
53 views

C# Custom abstraction layer for WPF UserControl when moved into a NuGet-Package makes it no longer function

At my work we have a custom class public partial class ExtendedWebBrowser : UserControl, IDisposable. This class have the following XAML <UserControl x:Class="Judex.AmPHI.MobileClient....
Andreasx23's user avatar
0 votes
0 answers
48 views

AdSense reaches 98% of web browser CPU

I have a strange problem with AdSense. When I scroll down the web page with auto ads, at the bottom the browser crashed because "the page doesn't respond". Checking the Dev Tool I discovered ...
Fabrix's user avatar
  • 39
0 votes
0 answers
17 views

python response does not include all html

I try to recieve html response through python. The problem is that some part of the html (The part that I need) does not exist in response that I got from python. While, when I control the html codes ...
Sina Kian's user avatar
0 votes
0 answers
84 views

selenium select outlook attachment upload

I want to upload attachement of a email using selenium in outlook. But when I am clicking on the attachment button, it shows the file manager window but I can't select any file using selenium. How can ...
PLABON DATTA's user avatar
0 votes
0 answers
15 views

C# Webbrowser text file doesn't update

I have a simple WebBrowser that I use to navigate, get HTML and do things automatically. At a point, I want to reach a text file I have on my website on my server. I reach that link every minute (with ...
Alfakyn1's user avatar
1 vote
0 answers
75 views

prevent browser back button caching without using no-store

Currently on the site, to prevent back button caching, we are using no-store header in response headers. However, we are leaving a lot of potential performance improvement on the table by completely ...
Joe Yahchouchi's user avatar
0 votes
1 answer
96 views

vb.net How to read cell color in HTML table

I need to export an HTML table from a webbrowser to an Excel file. Dim htmlDoc As HtmlDocument = WebBrowser1.Document Dim table As HtmlElement = htmlDoc.GetElementById("Table1") ...
Mika's user avatar
  • 5
0 votes
0 answers
31 views

Can't open Tor browser with webbrowser module (could not locate runnable browser)

could not locate runnable browser it neither opens in VSC nor python SHELL
Lesbian's user avatar
  • 21
0 votes
0 answers
53 views

Web page scraping with WebBrowser control: compensating for javascript error that disables needed script in target page

My question is not about how to suppress Javascript errors. It's a bit weirder than that. I am trying to write a screen scraper in C#, using WebBrowserWaiter as an optionally-headless browser. The ...
Ann L.'s user avatar
  • 13.8k
1 vote
0 answers
393 views

WebView2 Navigate

I got an old Windows Forms Tool that I wrote a few years ago, which is using WebBrowser. I want to change it to WebView2 so it's more compatible with new Browsers, as it won't work anymore if you have ...
Developer's user avatar
0 votes
0 answers
205 views

Browser control from Tarui main process

Is there a way to granularly control the Browser Process within the front-end WebView from the Tauri Core Process? Why? Because I want to put together a Tauri application with the ability to automate ...
longer's user avatar
  • 111
1 vote
1 answer
202 views

Is there any way to launch entire React application with all JS files through Web Browser control in WPF? Java scripts are not gettin loaded correctly

I am using .NET WPF WebBrowser control in our application to launch the whole react application in web browser control. But when I run the WPF application It shows me the dialog box with javascript ...
aayushi's user avatar
  • 76
0 votes
2 answers
138 views

<br> tag issue in webbrowser

When I try to add a <br> tag after table and open it using winforms control WebBrowser. <!DOCTYPE HTML><html lang="en" xmlns="http://www.w3.org/1999/xhtml"><...
大陸北方網友's user avatar
0 votes
0 answers
49 views

Try to learn Nuxt, hotload do not populate error event src for image

I try to learn some Nuxt by building a simple webshop. I have this component who a shoping site pull in, and it functions good, but if I reload the shoping site directly, it do not populate the image ...
Klas's user avatar
  • 166
0 votes
0 answers
31 views

C# Webbrowser AutoLogin Application Issue

First, when the website is loaded into the webbrowser, I programmatically click on the login with the e-token button. The problem occurs after this stage. At this stage, this process takes 3-5 seconds ...
user2853569's user avatar
0 votes
1 answer
391 views

How to check if File System Access API is available

I want to save a file with data input by the user on a website to the user's device using showSaveFilePicker() in Javascript (purely locally used). This is currently not supported by all browsers, ...
Xtof Amberg's user avatar
1 vote
0 answers
58 views

VB Webbrowser ProgressChange Altering

Private Sub BusyTimer_Timer() If WebBrowser.Busy = True Then WebBusy.Caption = Chr$(BusyChr(BusyIdx)) BusyIdx = IIf(BusyIdx >= UBound(BusyChr()), 0, BusyIdx + 1) Else ' Elements....
Colin's user avatar
  • 53
2 votes
1 answer
3k views

undetected_chromedriver add a plugin

I want to add a plugin to the undetected_chromedriver driver, just like in google chrome. I did some research and tried to add it with a crx file, but I could not succeed. can you help me with this. ...
hüseyin Kulu's user avatar
0 votes
0 answers
50 views

zoom webBrowser when embedded by pdf

Is there a way to zoom webbrowser when it loaded by pdf file. I tried some code but it didn't work. Like: private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs ...
Bani Dela Pena's user avatar
0 votes
1 answer
325 views

Fit html page width in WebBrowser control

I have a lot of local html pages which I open in a WebBrowser control in my app. I would like the page to initially open to fit the width of the control and ideally to change its width to fit the ...
alexb's user avatar
  • 23
0 votes
0 answers
65 views

How to handle the unloaded event of a webbrowser in order to do some stuff when it is closed

I am opening a PDF file using below code: System.Windows.Controls.Frame frame = new System.Windows.Controls.Frame(); System.Windows.Controls.WebBrowser browser = new System.Windows.Controls.WebBrowser(...
Willy's user avatar
  • 10k
0 votes
0 answers
237 views

Opening a PDF file which is a resource file embedded within a WPF application

I am trying to open a PDF file which is a resource file embedded within my WPF application. The resource file is marked as a Resource for build action and also as do not copy. I am doing below without ...
Willy's user avatar
  • 10k
0 votes
0 answers
58 views

How not to ignore blank lines in a web browser control?

I want to display an HTML document in a web browser control but all blank lines are ignored. The blank lines are present in the document and are also displayed by other browsers such as Chrome (see ...
fikewek832's user avatar
0 votes
0 answers
299 views

Display pdf byte[] or base64 string to WPF web browser without saving it in a local file

I have a .net web api that get a byte[] from a pdf file, convert it into a base64 string and send it to a frontend, in my case a WPF application. I'm wondering if it's possible to use directly the ...
Miggio's user avatar
  • 1
0 votes
1 answer
29 views

Open link Website from button on Wearable Sam sung Watch by code C#

I have tried some common ways in C# Programming Language but can't open a web link from Button on the Wearable Device (Tizen Samsung Watch) Browser is Samsung Browser, Looking forward to your support ...
LDT's user avatar
  • 1
0 votes
1 answer
57 views

How to display the content of a TextArea from the HtmlDocument of a WebBrowser Control

I have a TextArea in a page of my Site, I want to display the text of this TextArea, using the Document of a WebBrowser Control, to a Label. This is the TextArea definition: <textarea class="...
Programming Expert's user avatar
-1 votes
1 answer
93 views

Bbox For Image Grabbing

So , I'm Trying To Make A Automated App Actually , i'm making it for Dino Web Game Everything Is Fine , But ! Colors Array's Number Will Not Change , I Think It is Boxing Problem Can You Guide Me With ...
ArDaVaN81's user avatar
0 votes
1 answer
420 views

WebView2 show html variable instead of url

Hey guys I have a program that still uses the old WebBrowser Xaml control. Now I wanted to exchange this on WebView2 here I have problems. Currently, the body of an email is pulled from a database as ...
Angelo223's user avatar
1 vote
0 answers
135 views

Can this code be changed to support a preview in the print dialog?

I am not sure if this is an issue that can be resolved with coding or is by design. I am running the latest version of Windows 11 with all updates. And my application is a MFC dialog application built ...
Andrew Truckle's user avatar

1
2 3 4 5
95