I am developing in VB.net and using the OpenNETCF HTMLViewer contol
(Great library by the way guys, excellent work)

I need to fill out web forms programaticly (not from the keyboard) but
I cannot figure out how to send any text to the window, also the TAB
key on the keyboard doesent change fields/urls etc like I would
expect.

Any suggestions?



Jason

Re: OpenNETCF HTML Forms question by Chris

Chris
Mon Feb 23 12:42:08 CST 2004

Look at OpenNETCF.Win32.Core.SendkeyboardString()

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Jason Brown" <fakemail@nowhere.org> wrote in message
news:2rhk30trdnc7ng2gn7p5skq6d303nsk2rf@4ax.com...
> I am developing in VB.net and using the OpenNETCF HTMLViewer contol
> (Great library by the way guys, excellent work)
>
> I need to fill out web forms programaticly (not from the keyboard) but
> I cannot figure out how to send any text to the window, also the TAB
> key on the keyboard doesent change fields/urls etc like I would
> expect.
>
> Any suggestions?
>
>
>
> Jason



Re: OpenNETCF HTML Forms question by Jason

Jason
Tue Feb 24 13:16:32 CST 2004

I can make this function work with any other text control, (textbox,
textboxex, etc) but it does not appear to function with the html
viewer control.

I also need to parse some data from the page fetched with the
htmlviewer control, but none of the properties seem to give me the
data, .source , .text, etc Am I missing something fundamental about
this control?

Jason


On Mon, 23 Feb 2004 13:42:08 -0500, "Chris Tacke, eMVP"
<ctacke@spamfree-opennetcf.org> wrote:

>Look at OpenNETCF.Win32.Core.SendkeyboardString()


Re: OpenNETCF HTML Forms question by Jason

Jason
Tue Feb 24 13:19:57 CST 2004

Here is a code sample:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim tmpvar As String
' send keys to the web page
tmpvar = vbTab & "hello"
HtmlViewer1.Focus()
OpenNETCF.Win32.Core.SendKeyboardString("tmpvar")

' display the source contained in htmlviewer1
' .text = the control name, .title works fine for the page
title
TextBox1.Text = HtmlViewer1.Source


End Sub


On Tue, 24 Feb 2004 19:16:32 GMT, Jason Brown <fakemail@nowhere.org>
wrote:

>I can make this function work with any other text control, (textbox,
>textboxex, etc) but it does not appear to function with the html
>viewer control.
>
>I also need to parse some data from the page fetched with the
>htmlviewer control, but none of the properties seem to give me the
>data, .source , .text, etc Am I missing something fundamental about
>this control?
>
>Jason
>
>
>On Mon, 23 Feb 2004 13:42:08 -0500, "Chris Tacke, eMVP"
><ctacke@spamfree-opennetcf.org> wrote:
>
>>Look at OpenNETCF.Win32.Core.SendkeyboardString()