Hi Peter,
thanks for your response and sorry for the vagueness of my
question. Yes, by Web Control, I meant Web Browser ActiveX
(AxWebBrowser). Exactly, I want to populate a web form and
submit that and retrieve the result. When I try with the
website I am interested on, it doesn't return the results.
I will look into the HTML object library.
Thanks,
LDV-ME.
-----Original Message-----
Hi Miky,
What do you mean by Web Control, do you mean the Web
Browser ActiveXcontrol?
Since the WebControl can not be used with Windows Form.
If so, I can not reproduce the problem.
I tested with the code below.
AxWebBrowser1.Navigate
("http://enterprisesecurity.symantec.com/products/products.cfm?productID=3")
It seems that you wants to automation the populate the
Form on the WebForm.I think you may try to use the Microsoft HTML Object
Library which is usedto manipulate the HTML DOM.
311292 HOW TO: Find the src Attribute of a Frame Element
in Visual Basic.NET
http://support.microsoft.com/?id=311292
If I misunderstand your meaning ,please feel free to let
me know.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and
confers no rights.--------------------From: "Miky" <le******@davinci.com>
Subject: Web Control in Windows Form
Date: Sun, 2 Nov 2003 09:09:34 -0500
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#5**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host:
pcp03305715pcs.waren301.mi.comcast.net 68.43.156.185Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!
tk2msftngp13.phx.gblXref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb:152798X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Hi,
I have the following problem:
I have a .CFM web page and I have to populate, from VB,
two textboxes onit.I
was thinking using sendkeys (even if I don't like it too
much) but when Iopen the web browser and navigate to the selected page,
I cannot set thefocus to the html part of the control (only the web
control takes thefocus)so I can't use sendkeys to populate the fields I need.
I made the same with another web site (in html), but I
create a local .HTMLfile that
simulates the form and then redirect the process to the
original websitegetting back the results. This sounds that cannot be
done with a .CFM page(if it is possible, please may you tell me how?), in
fact I can redirect tothe original web site but I got the same page (blank)
and not the results.
Any idea is greatly appreciated.
Thanks in advance,
LDV-ME.
.