Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 23 Jul 2008 05:42:02 -0700,    group: microsoft.public.dotnet.framework.windowsforms.controls        back       


webbrowser - fill form   
Hello. I use VS 2005 and winform app. 
It is simple app with one button and webbrowser object. 
I open some link in this webbrowser  and when i click on the button it 
should fill login and pass in form.
The problems:
1) This page use <iframe src="http://someurl.com">  to show this login form, 
so i don't have the code on this page and can't found this control and use 
something like .SetAttribute("value", "mypassword");
2) I can't use DOM model of this page because this <iframe> from other doman 
and browser don't give me access to it. 
3) I don't know how to find handles of those text boxes and use WM_SETTEXT 
windows message :( I have handle of webbrowser, but not from elements inside 
of this object. 

So, i see the html form in my webbrowser but don't know how to fill it. Give 
me some idea please.
date: Wed, 23 Jul 2008 05:42:02 -0700   author:   SushiSean

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us