|
by: David Pendrey |
last post by:
Hello all,
I am using the WebBrowser control to browse a webpage containing frames and am having difficulties accessing the 'frames' property of a document object. Bellow is my code and the error recieved:
webAccess.Navigate(URL);
// Wait until document is loaded. This part DOES work
IHTMLDocument2 mDoc = (IHTMLDocument2)(webAccess.Document);
IHTMLFramesCollection2 mFrames = (IHTMLFramesCollection2)(mDoc.frames);
|
by: Lars-Erik Aabech |
last post by:
Hi!
I've been walking in extacy since reading the article about test automation
with IE in the latest MSDN mag.
(http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/default.aspx)
After a while, I had to find an issue I couldn't solve. (Of course)
If an ASP.NET page uses the smartnav option, the document you get from IE
only contains the viewstate input etc, the scripts and an IFrame.
|
by: ddd |
last post by:
I am trying to use MSHTML without the webbrowser and I am having a few
problems. Right now all I am trying to do is load an URL(html page) and
access its innerhtml.
What I have is:
Dim doc As mshtml.HTMLDocument = New mshtml.HTMLDocument()
Dim d1 As mshtml.IHTMLDocument4 = doc
Dim d2 As mshtml.IHTMLDocument4 = doc
d2.write("<html><body>test</body></html>")
|
by: J Williams |
last post by:
I'm using the WebBrowser control and mshtml library to modify the HTML in a
web page. E.g. the code below is meant to change all .txt links to .zip,
but doesn't because mAnchorElement is just a copy of mElement and doesn't
reference mElement and any changes I make to it affect the copy and not
mElement.
Private Sub Web1_DocumentComplete(ByVal sender As Object, ByVal e As
AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent) Handles...
|
by: DK - Minneapolis |
last post by:
I am trying to use the Web Browser in a VB .Net windows application to host
external web sites. I have a problem when I try and capture one of the
document objects events.
I used the KB 311284 "How to handle...VB .Net". coied all the code into my
version of VS 2003.
The code contains "AddHandler..." code, when active
doesn't allow the textbox to recieve input, and the text links don't
navigate to the next URL.
When I comment out all...
|
|
by: Filippo Bettinaglio |
last post by:
Hi all,
In the past 3 days I have done some research about Microsoft.mshtml
component within .NET 2 framework.
I need some clarification/comfermation about the Microsoft.mshtml componet
and microsoft stargey. In specific: Microsoft.mshtml within the .net 2
framework
|
by: holder |
last post by:
Folks, I have a simple web page with frames. I am trying to automate
internet explorer to display the page and allow access to its frames.
Here is the sample code :
using mshtml;
static void Main(string args)
{
|
by: dorock |
last post by:
My question is, every time I write a string containing HTML to an MSHTML it connects to the internet to get all the .css files and .js files. Is there anyway to stop this?
Dim doc As mshtml.IHTMLDocument = New mshtml.HTMLDocument
doc.write(html)
doc.close()
Application.UseWaitCursor = True
' The following is a must do, to make sure that the data is fully load.
|
by: michelqa |
last post by:
Hi,
I'm doing a kind of control picker like the one in spy++ but for html
document.
When the control picker is over an IFRAME, the mshtml function
ElementFromPoint return an IFrame element.
How can I identify this particular frame/iframe in the frame
collection??? I can only select frame in the framecollection by using
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|