PC Review


Reply
Thread Tools Rate Thread

how to create IE process of 1 website then set value for text box?

 
 
Khanh
Guest
Posts: n/a
 
      2nd Jul 2004
dear all,

I would like to start a process for IE browser from my Pocket PC
App, this can be done by CreateProccess. Now how can I assign
a value to a text box on that website? for instance, open Yahoo mail,
then assign my account name into textbox Yahoo ID ? how about SendMessage API?

Regards,
Khanh
 
Reply With Quote
 
 
 
 
Jerry Pisk
Guest
Posts: n/a
 
      2nd Jul 2004
You would have to attach your code to the browser object and do this using
DOM. It's not that difficult in COM (using the IWebBrowser2 interface), but
I don't know if and how it can be done in .Net code.

Jerry

"Khanh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> dear all,
>
> I would like to start a process for IE browser from my Pocket PC
> App, this can be done by CreateProccess. Now how can I assign
> a value to a text box on that website? for instance, open Yahoo mail,
> then assign my account name into textbox Yahoo ID ? how about SendMessage
> API?
>
> Regards,
> Khanh



 
Reply With Quote
 
Nick Malik
Guest
Posts: n/a
 
      2nd Jul 2004
Are you trying to make it easier for a user to log in interactively, or are
you trying to download content from the Yahoo site. If you are only
downloading content, then there's no reason to use IE at all. You can
perform the entire HTTP interaction using .NET objects, collect the content,
and store it locally for pocket IE to browse. This is essentially what
AvantGo does (although they don't use .NET).

--- Nick

"Jerry Pisk" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> You would have to attach your code to the browser object and do this using
> DOM. It's not that difficult in COM (using the IWebBrowser2 interface),

but
> I don't know if and how it can be done in .Net code.
>
> Jerry
>
> "Khanh" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > dear all,
> >
> > I would like to start a process for IE browser from my Pocket PC
> > App, this can be done by CreateProccess. Now how can I assign
> > a value to a text box on that website? for instance, open Yahoo mail,
> > then assign my account name into textbox Yahoo ID ? how about

SendMessage
> > API?
> >
> > Regards,
> > Khanh

>
>



 
Reply With Quote
 
Khanh
Guest
Posts: n/a
 
      3rd Jul 2004
To Jerry,
Thanks for your help, but it seems you misunderstand me, that isn't
to embed IE control into my app, I just create 1 new process of IE
browser. And the problem here is how to assign a value into 1 textbox
of that website.
The reason why I don't embed the IE control into my App because
we're developing in Pocket PC, .NET compact framework, and it doesn't
support to embed IE control.

To Nick
We're trying to make it easier for a user to browse interactively,
and Yahoo mail is just an example. In fact, we would like to browse to
another website www.mapfan.com (useful website for searching region,
map, etc... by address, postal code), and customer info we can get
from database.

Hope to hearing from you soon.
Khanh

"Nick Malik" <(E-Mail Removed)> wrote in message news:<1XdFc.13359$wY5.10615@attbi_s54>...
> Are you trying to make it easier for a user to log in interactively, or are
> you trying to download content from the Yahoo site. If you are only
> downloading content, then there's no reason to use IE at all. You can
> perform the entire HTTP interaction using .NET objects, collect the content,
> and store it locally for pocket IE to browse. This is essentially what
> AvantGo does (although they don't use .NET).
>
> --- Nick
>
> "Jerry Pisk" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > You would have to attach your code to the browser object and do this using
> > DOM. It's not that difficult in COM (using the IWebBrowser2 interface),

> but
> > I don't know if and how it can be done in .Net code.
> >
> > Jerry
> >
> > "Khanh" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > dear all,
> > >
> > > I would like to start a process for IE browser from my Pocket PC
> > > App, this can be done by CreateProccess. Now how can I assign
> > > a value to a text box on that website? for instance, open Yahoo mail,
> > > then assign my account name into textbox Yahoo ID ? how about

> SendMessage
> > > API?
> > >
> > > Regards,
> > > Khanh

> >
> >

 
Reply With Quote
 
Jerry Pisk
Guest
Posts: n/a
 
      3rd Jul 2004
I'm not talking about embedding IE, I'm talking about creating a browser
helper object, or not even that, just attaching to the WebBrowser object in
the running IE process (the IE window you see is just a wrapper that embeds
the WebBrowser object, and you work with as such, even when it's not
embedded in your application).

Jerry

"Khanh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> To Jerry,
> Thanks for your help, but it seems you misunderstand me, that isn't
> to embed IE control into my app, I just create 1 new process of IE
> browser. And the problem here is how to assign a value into 1 textbox
> of that website.
> The reason why I don't embed the IE control into my App because
> we're developing in Pocket PC, .NET compact framework, and it doesn't
> support to embed IE control.
>
> To Nick
> We're trying to make it easier for a user to browse interactively,
> and Yahoo mail is just an example. In fact, we would like to browse to
> another website www.mapfan.com (useful website for searching region,
> map, etc... by address, postal code), and customer info we can get
> from database.
>
> Hope to hearing from you soon.
> Khanh
>
> "Nick Malik" <(E-Mail Removed)> wrote in message
> news:<1XdFc.13359$wY5.10615@attbi_s54>...
>> Are you trying to make it easier for a user to log in interactively, or
>> are
>> you trying to download content from the Yahoo site. If you are only
>> downloading content, then there's no reason to use IE at all. You can
>> perform the entire HTTP interaction using .NET objects, collect the
>> content,
>> and store it locally for pocket IE to browse. This is essentially what
>> AvantGo does (although they don't use .NET).
>>
>> --- Nick
>>
>> "Jerry Pisk" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > You would have to attach your code to the browser object and do this
>> > using
>> > DOM. It's not that difficult in COM (using the IWebBrowser2 interface),

>> but
>> > I don't know if and how it can be done in .Net code.
>> >
>> > Jerry
>> >
>> > "Khanh" <(E-Mail Removed)> wrote in message
>> > news:(E-Mail Removed)...
>> > > dear all,
>> > >
>> > > I would like to start a process for IE browser from my Pocket PC
>> > > App, this can be done by CreateProccess. Now how can I assign
>> > > a value to a text box on that website? for instance, open Yahoo mail,
>> > > then assign my account name into textbox Yahoo ID ? how about

>> SendMessage
>> > > API?
>> > >
>> > > Regards,
>> > > Khanh
>> >
>> >



 
Reply With Quote
 
Khanh
Guest
Posts: n/a
 
      4th Jul 2004
hi Jerry,

Could you please tell me more about how to control WebBrowser object
in IE window? a snippet of code would be welcome, or any link would
also be appreciated.

Thanks in advance,
Khanh

"Jerry Pisk" <(E-Mail Removed)> wrote in message news:<#(E-Mail Removed)>...
> I'm not talking about embedding IE, I'm talking about creating a browser
> helper object, or not even that, just attaching to the WebBrowser object in
> the running IE process (the IE window you see is just a wrapper that embeds
> the WebBrowser object, and you work with as such, even when it's not
> embedded in your application).
>
> Jerry
>
> "Khanh" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > To Jerry,
> > Thanks for your help, but it seems you misunderstand me, that isn't
> > to embed IE control into my app, I just create 1 new process of IE
> > browser. And the problem here is how to assign a value into 1 textbox
> > of that website.
> > The reason why I don't embed the IE control into my App because
> > we're developing in Pocket PC, .NET compact framework, and it doesn't
> > support to embed IE control.
> >
> > To Nick
> > We're trying to make it easier for a user to browse interactively,
> > and Yahoo mail is just an example. In fact, we would like to browse to
> > another website www.mapfan.com (useful website for searching region,
> > map, etc... by address, postal code), and customer info we can get
> > from database.
> >
> > Hope to hearing from you soon.
> > Khanh
> >
> > "Nick Malik" <(E-Mail Removed)> wrote in message
> > news:<1XdFc.13359$wY5.10615@attbi_s54>...
> >> Are you trying to make it easier for a user to log in interactively, or
> >> are
> >> you trying to download content from the Yahoo site. If you are only
> >> downloading content, then there's no reason to use IE at all. You can
> >> perform the entire HTTP interaction using .NET objects, collect the
> >> content,
> >> and store it locally for pocket IE to browse. This is essentially what
> >> AvantGo does (although they don't use .NET).
> >>
> >> --- Nick
> >>
> >> "Jerry Pisk" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > You would have to attach your code to the browser object and do this
> >> > using
> >> > DOM. It's not that difficult in COM (using the IWebBrowser2 interface),

> but
> >> > I don't know if and how it can be done in .Net code.
> >> >
> >> > Jerry
> >> >
> >> > "Khanh" <(E-Mail Removed)> wrote in message
> >> > news:(E-Mail Removed)...
> >> > > dear all,
> >> > >
> >> > > I would like to start a process for IE browser from my Pocket PC
> >> > > App, this can be done by CreateProccess. Now how can I assign
> >> > > a value to a text box on that website? for instance, open Yahoo mail,
> >> > > then assign my account name into textbox Yahoo ID ? how about

> SendMessage
> >> > > API?
> >> > >
> >> > > Regards,
> >> > > Khanh
> >> >
> >> >

 
Reply With Quote
 
Jerry Pisk
Guest
Posts: n/a
 
      5th Jul 2004
http://support.microsoft.com/?kbid=176792

Jerry

"Khanh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hi Jerry,
>
> Could you please tell me more about how to control WebBrowser object
> in IE window? a snippet of code would be welcome, or any link would
> also be appreciated.
>
> Thanks in advance,
> Khanh



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a child process where main process runs As Administrator Fred Heida Microsoft C# .NET 2 28th Feb 2007 07:43 PM
System.Diagnostics.Process - create new process group? Bo Byriel Nielsen Microsoft C# .NET 1 26th Dec 2005 03:27 AM
Can I create a FrontPage website over an existing website? =?Utf-8?B?S2F0aHJ5blA=?= Microsoft Frontpage 1 28th Nov 2005 05:27 PM
How Do I Create a Scrolling Text Box For News Items On My Website? =?Utf-8?B?QWRhbXVzMDE=?= Microsoft Frontpage 7 31st Oct 2005 02:17 PM
how to create process of IE and set value for text box? Khanh Microsoft Dot NET Compact Framework 1 2nd Jul 2004 01:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:22 AM.