How can I solve this error? > "The requested resource is in use. (Exception from HRESULT: 0x800700AA)". This appears while navigating to a different website using the WebBrowser control in C# .NET. Why? read more
I'm developing an Internet Explorer command button that will open a specific web page once clicked. Here's a snippet of code (IEApp is a reference to an instance of IE.WebBrowser): IEApp.Navigate(sURL, ref one, ref two, ref three, ref four); The above line throws the following COMException: Exception Source: Interop.SHDocVw Exception [...] read more
Hoping someone here will be able to help me out. I'm creating a c# UWP app to run on a Raspberry Pi2 / Windows IOT core. I need to read the input from 2 serial devices (triggered by an external button / PLC) in order to calculate some values. I [...] read more
SCENARIO: I am using a project to manage MPT with Java. I've got a piece of code like: try { originalfilename = m_allFiles[i].getOriginalFileName(); } catch (Exception e) { System.out.println("Exception Caught"); } As I access the objects from different threads, sometimes this instruction throws an exception like be.derycke.pieter.com.COMException PROBLEM: The message [...] read more
My software handles navigation to target=_new through this function Private Sub Web1_NewWindow(...) Handles Web1.NewWindow Web1.Navigate(Web1.StatusText) e.Cancel = True End Sub Which allows me to open any new windows inside the same webbrowser control. However, when navigating to a "javascript:" link that creates a new popup, I get the following message [...] read more
How to update the lockscreen image from the isolated storage when the phone is playing music["show artist when playing music" is turned on in the lockscreen settings].? It throws an exception > System.Exception: The requested resource is in use. (Exception from HRESULT: > 0x800700AA) at Windows.Phone.System.UserProfile.LockScreen.SetImageUri(Uri > value) Or is [...] read more
I have a WPF application that displays 3 websites with 3 separate webbrowser controls. I have no control over the websites, they are 3rd party. Two of them I manipulate the DOM to only show the elements my client is interested in. And the third I log into it and [...] read more
I'm currently recreating my Image Explorer application, formerly written in Windows Forms to the Windows Presentation Framework. My WinForms application was using the WindowsThumbnailProvider from @DanielPeñalba (See this link for the original version of the code) WinForms Version - Successfully converting 0 alpha, 0 red, 0 green and 0 blue [...] read more
I have problem with start webdriver IE 11 in Selenium , Windows 10 version 20H2. [ERROR] Tests run: 23, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 820.596 s <<< FAILURE! - in TestSuite [ERROR] test.TestTrunkIE.firstTestIE Time elapsed: 0.07 s <<< FAILURE! org.openqa.selenium.WebDriverException: Failed to navigate to http://10.22.32.185:8090/login. This usually [...] read more
I am trying to use WPD Application Programming Interface to copy images from my iphone to Windows system. I am running the code on Windows 10 PC, code is listing the devices and enumerating all files in the device correctly. But when I am trying to transfer content from device [...] read more
I'm using the navigate function, but a COMException occurs on certain sites. When I checked ReadyState using Tostring, READYSTATE_LOADING continues to be checked and does not change to READYSTATE_COMPLETE. What exception handling should I apply to navigate normally? Use navigate in IExplorer. This problem only occurs on certain PCs. SHDocVw.WebBrowser [...] read more
I have opened 2 Ie in load event Dim Start As New ProcessStartInfo Dim Windows As New ShellWindows ' ShellWindowsClass Dim Count = Windows.Count Start.FileName = "iexplore.exe" Start.Arguments = "-private -nomerge " & "https://www.yahoo.com" If WindowState = ProcessWindowStyle.Hidden Then Start.WindowStyle = ProcessWindowStyle.Minimized Else Start.WindowStyle = WindowState End If Dim nos [...] read more
After a Windows 10 update, all of my Android emulators gave me this error on startup: > The emulator is unable to create the external network switches: > > Something happened while creating a switch: Failed while creating a virtual > Ethernet switch. > > Ethernet port '{...}' bind failed: [...] read more
I am using WinForms web browser and I would like to display a custom error html when the page is not valid but I can't figure out how to do it. I have this little snippet for displaying it: if (wb_Main.Document != null) { wb_Main.Document.Write(string.Empty); } wb_Main.DocumentText = html; And [...] read more
The exception is in the timer tick event. After the variable postsCounter is around 50 i'm getting the exception in the timer tick event it's getting to the catch there in the timer tick event. Bot sure on what line it happen and why. Without using the try and catch [...] read more
I use in a Windows 8 project (js/html) the SQLite3-WinRT library https://github.com/doo/SQLite3-WinRT. I create a function that is called in a for loop. I have this error: > SQLiteError: 0x800700aa: eachAsync("INSERT INTO home (id, url, cksum)VALUES > (16, 'main_page_2.jpg', 'e0d046ca3421a3c2df328b293ad5981a');", ) database is > locked I think the error is [...] read more
I have program in C# for parse new post on forum. When i parse page without post (post doesn't exist), i use if (find("Doesn't exist")) { System.Threading.Thread.Sleep(10000); button2.PerformClick(); } Then usually post again doesn't exist and again Thread is sleeping for 10 sec. But after i have COMException with HRESULT: [...] read more
I'm using C# with VS2012 to create an application containing a WebBrowser. After every [x] seconds of inactivity, I want my application to navigate back to its home page (This is designed as a terminal application). In principle, this is no problem, but I've stumbled upon an edge case: If [...] read more
I have a C# application and an embedded browser in it; its task is to go to my web site and right click on a link and press 'r' so the properties window appears (I move the mouse with code). It works on my laptop perfectly, but when I install [...] read more