From: "Boomer24" boomer24 at floridus spam sucks dot on
Hi everyone,



I am working on an application that runs on the Symbol/Motorola MC75. This
unit has the ability to connect to the Internet via cellular network.



When I open Internet Explorer it established a GPRS or EVDO (depending on
the unit) connection if one is not already active.



How can I get my app to establish a connection when it needs it if one is
not already active?



Thanks,



Boomer24


From: Chris Tacke, eMVP on
By calling the ConnectionManager and telling it to make a connection for
you.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"Boomer24" <boomer24 at floridus spam sucks dot com> wrote in message
news:euBqFr0FJHA.612(a)TK2MSFTNGP06.phx.gbl...
> Hi everyone,
>
>
>
> I am working on an application that runs on the Symbol/Motorola MC75.
> This unit has the ability to connect to the Internet via cellular network.
>
>
>
> When I open Internet Explorer it established a GPRS or EVDO (depending on
> the unit) connection if one is not already active.
>
>
>
> How can I get my app to establish a connection when it needs it if one is
> not already active?
>
>
>
> Thanks,
>
>
>
> Boomer24
>
>


From: "Boomer24" boomer24 at floridus spam sucks dot on
Is there anyway to do this in eVB? I am porting my application to .NET CF
but for the moment if I can make this change to my app in it's existing form
then this would save me from instructing my users to first open IE and
navigate to google.com.

Boomer24


"Chris Tacke, eMVP" <ctacke.at.opennetcf.dot.com> wrote in message
news:e7TZF30FJHA.4460(a)TK2MSFTNGP02.phx.gbl...
> By calling the ConnectionManager and telling it to make a connection for
> you.
>
>
> --
>
> Chris Tacke, Embedded MVP
> OpenNETCF Consulting
> Giving back to the embedded community
> http://community.OpenNETCF.com
>
> "Boomer24" <boomer24 at floridus spam sucks dot com> wrote in message
> news:euBqFr0FJHA.612(a)TK2MSFTNGP06.phx.gbl...
>> Hi everyone,
>>
>>
>>
>> I am working on an application that runs on the Symbol/Motorola MC75.
>> This unit has the ability to connect to the Internet via cellular
>> network.
>>
>>
>>
>> When I open Internet Explorer it established a GPRS or EVDO (depending on
>> the unit) connection if one is not already active.
>>
>>
>>
>> How can I get my app to establish a connection when it needs it if one is
>> not already active?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Boomer24
>>
>>
>
>


From: Chris Tacke, eMVP on
From eVB? I've not looked at eVB in a long, long, long time. But since you
can call Win32 APIs in eVB, and the ConnectionManager stuff is exposed as an
API, it can definitely be called. ConnMgr came out some time after eVB was
OELed so you're almost certain to have to wrap the calls youself as I doubt
anyone has done the work, let alone published it anywhere.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com


"Boomer24" <boomer24 at floridus spam sucks dot com> wrote in message
news:uowzQ70FJHA.4864(a)TK2MSFTNGP02.phx.gbl...
> Is there anyway to do this in eVB? I am porting my application to .NET CF
> but for the moment if I can make this change to my app in it's existing
> form then this would save me from instructing my users to first open IE
> and navigate to google.com.
>
> Boomer24
>
>
> "Chris Tacke, eMVP" <ctacke.at.opennetcf.dot.com> wrote in message
> news:e7TZF30FJHA.4460(a)TK2MSFTNGP02.phx.gbl...
>> By calling the ConnectionManager and telling it to make a connection for
>> you.
>>
>>
>> --
>>
>> Chris Tacke, Embedded MVP
>> OpenNETCF Consulting
>> Giving back to the embedded community
>> http://community.OpenNETCF.com
>>
>> "Boomer24" <boomer24 at floridus spam sucks dot com> wrote in message
>> news:euBqFr0FJHA.612(a)TK2MSFTNGP06.phx.gbl...
>>> Hi everyone,
>>>
>>>
>>>
>>> I am working on an application that runs on the Symbol/Motorola MC75.
>>> This unit has the ability to connect to the Internet via cellular
>>> network.
>>>
>>>
>>>
>>> When I open Internet Explorer it established a GPRS or EVDO (depending
>>> on the unit) connection if one is not already active.
>>>
>>>
>>>
>>> How can I get my app to establish a connection when it needs it if one
>>> is not already active?
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> Boomer24
>>>
>>>
>>
>>
>
>


From: Christopher Fairbairn [MVP] on
Hi Boomer24,

"Boomer24" <boomer24 at floridus spam sucks dot com> wrote in message
news:uowzQ70FJHA.4864(a)TK2MSFTNGP02.phx.gbl...
> Is there anyway to do this in eVB? I am porting my application to .NET CF
> but for the moment if I can make this change to my app in it's existing
> form then this would save me from instructing my users to first open IE
> and navigate to google.com.

I have not used eVB for a very long time so can't give you specifics.

The API you would probably want to access is ConnMgrEstablishConnectionSync
(documented on MSDN at
http://msdn.microsoft.com/en-us/library/bb416346.aspx). It is present within
a DLL called cellcore.dll.

There is a good example of how to use this API from C# available on Anthony
Wong's blog at
http://blogs.msdn.com/anthonywong/archive/2006/03/13/550686.aspx which might
give you a something to try to convert into eVB.

Alternativly you may like to try to execute a small utility executable
(\windows\rnaapp.exe) to establish your connection. A thread titled "How to
dial a RAS entry from VB?" within the microsoft.public.vb.vbce newsgroup
(available via Google Groups at
http://groups.google.com/group/microsoft.public.vb.vbce/browse_thread/thread/53642d11a027816c/f367cb05bf4797e7)
may be a good place to start.

Hope this helps,
Christopher Fairbairn