Hi,

I need to check frm my Pocket PC 2003 (vb.net) application the status my
Device whether it is connected on Cradle or ActiveSync is connected.

This status is required for application prior to execute RDA.Pull method.

Any help... shall highly be appreciate.

Re: how to check a Device is Connected to ActivSync by Harry

Harry
Wed Dec 29 08:19:34 CST 2004

' Initialize the WebRequest.

Dim myRequest As HttpWebRequest =
HttpWebRequest.Create("http://www.google.com")

' Return the response.

Dim myResponse As HttpWebResponse = myRequest.GetResponse()

If myResponse.StatusCode = HttpStatusCode.OK Then

g_blnConnected = True

Else

g_blnConnected = False

End If

HTH
Harry Simpson

"AJK" <AJK@discussions.microsoft.com> wrote in message
news:2C5A4AFC-96D2-4197-A798-7229943A89AA@microsoft.com...
> Hi,
>
> I need to check frm my Pocket PC 2003 (vb.net) application the status my
> Device whether it is connected on Cradle or ActiveSync is connected.
>
> This status is required for application prior to execute RDA.Pull method.
>
> Any help... shall highly be appreciate.
>



Re: how to check a Device is Connected to ActivSync by AJK

AJK
Fri Dec 31 23:41:01 CST 2004

Hi,

Your reply is bit confused me.

I don't undrestand using HTTP WebRequest.

I have a Pocket PC "imate PDA2k" device and installed VB.NET Pocket PC
application. I have to check whether "PocketPC Device" is connected to
Desktop via ActiveSync" from applciation upon user clicking of certain
options.

PocketPC is not being configured "BlueTooth" or LAN. It can communicate to
desktop PC via "ActiveSync".

Any idea...

Aprpeciate your help..

"Harry Simpson" wrote:

> ' Initialize the WebRequest.
>
> Dim myRequest As HttpWebRequest =
> HttpWebRequest.Create("http://www.google.com")
>
> ' Return the response.
>
> Dim myResponse As HttpWebResponse = myRequest.GetResponse()
>
> If myResponse.StatusCode = HttpStatusCode.OK Then
>
> g_blnConnected = True
>
> Else
>
> g_blnConnected = False
>
> End If
>
> HTH
> Harry Simpson
>
> "AJK" <AJK@discussions.microsoft.com> wrote in message
> news:2C5A4AFC-96D2-4197-A798-7229943A89AA@microsoft.com...
> > Hi,
> >
> > I need to check frm my Pocket PC 2003 (vb.net) application the status my
> > Device whether it is connected on Cradle or ActiveSync is connected.
> >
> > This status is required for application prior to execute RDA.Pull method.
> >
> > Any help... shall highly be appreciate.
> >
>
>
>

Re: how to check a Device is Connected to ActivSync by r_z_aret

r_z_aret
Mon Jan 03 15:58:22 CST 2005

On Wed, 29 Dec 2004 01:57:07 -0800, AJK
<AJK@discussions.microsoft.com> wrote:

>Hi,
>
>I need to check frm my Pocket PC 2003 (vb.net) application the status my
>Device whether it is connected on Cradle or ActiveSync is connected.

I just used google (http://groups.google.com/advanced_group_search) to
look up
detecting activesync
in this newsgroup (microsoft.public.pocketpc.developer) and got 16
hits. I looked quickly and saw info that would be useful for someone
using eVC. I don't use VB.NET, so I can't really judge.

I then tried using google to look up
vb.net activesync
without restricting to newsgroup and got 382 hits. I didn't see
anything when I looked quickly. However, I did get a lead on a more
appropriate newsgroup. So I tried looking up
detect activesync
in microsoft.public.dotnet.framework.compactframework and got 20 hits.
A quick look makes me think you'll get useful info from that
collection.

>
>This status is required for application prior to execute RDA.Pull method.
>
>Any help... shall highly be appreciate.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com

Re: how to check a Device is Connected to ActivSync by AJK

AJK
Tue Jan 04 02:11:02 CST 2005

Thanks a lot...

Regards

"r_z_aret@pen_fact.com" wrote:

> On Wed, 29 Dec 2004 01:57:07 -0800, AJK
> <AJK@discussions.microsoft.com> wrote:
>
> >Hi,
> >
> >I need to check frm my Pocket PC 2003 (vb.net) application the status my
> >Device whether it is connected on Cradle or ActiveSync is connected.
>
> I just used google (http://groups.google.com/advanced_group_search) to
> look up
> detecting activesync
> in this newsgroup (microsoft.public.pocketpc.developer) and got 16
> hits. I looked quickly and saw info that would be useful for someone
> using eVC. I don't use VB.NET, so I can't really judge.
>
> I then tried using google to look up
> vb.net activesync
> without restricting to newsgroup and got 382 hits. I didn't see
> anything when I looked quickly. However, I did get a lead on a more
> appropriate newsgroup. So I tried looking up
> detect activesync
> in microsoft.public.dotnet.framework.compactframework and got 20 hits.
> A quick look makes me think you'll get useful info from that
> collection.
>
> >
> >This status is required for application prior to execute RDA.Pull method.
> >
> >Any help... shall highly be appreciate.
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
>
> Robert E. Zaret, eMVP
> PenFact, Inc.
> 500 Harrison Ave., Suite 3R
> Boston, MA 02118
> www.penfact.com
>