PC Review


Reply
Thread Tools Rate Thread

acessing GPRS direct from C#

 
 
cle
Guest
Posts: n/a
 
      9th Sep 2003
Hi all,
I'm developing an PPC application which needs to get some
files via ftp from a server.
When I start the connection manually before I start my
application it works fine.
How can I start the GPRS connection within the
CompactFramework code written in C# ?
tia
cle
 
Reply With Quote
 
 
 
 
Alex Yakhnin [eMVP]
Guest
Posts: n/a
 
      9th Sep 2003
You will have to P/Invoke API's related to RAS or
ConnectionManager... Or you can use a 'ready' to use
solution:

http://www.intelliprog.com/netcf/ras.html

--
Alex Yakhnin, eMVP
IntelliProg, Inc.
http://www.intelliprog.com

>-----Original Message-----
>Hi all,
>I'm developing an PPC application which needs to get some
>files via ftp from a server.
>When I start the connection manually before I start my
>application it works fine.
>How can I start the GPRS connection within the
>CompactFramework code written in C# ?
>tia
>cle
>.
>

 
Reply With Quote
 
Neil Cowburn [MVP]
Guest
Posts: n/a
 
      9th Sep 2003
You will need to P/Invoke to the Connection Manger APIs. Check the Pocket PC
SDK for more information.

--Neil

--
Neil Cowburn
Microsoft Windows Embedded MVP



"cle" <(E-Mail Removed)> wrote in message
news:058101c376cb$f05cfb50$(E-Mail Removed)...
> Hi all,
> I'm developing an PPC application which needs to get some
> files via ftp from a server.
> When I start the connection manually before I start my
> application it works fine.
> How can I start the GPRS connection within the
> CompactFramework code written in C# ?
> tia
> cle



 
Reply With Quote
 
David Topps
Guest
Posts: n/a
 
      10th Sep 2003
I have a simpler solution. I just test to see if I can reach a web address -
doesn't matter what it is (www.msdn.com) - this gives a success/failure
flag...but it also makes the GPRS connection invoke automatically.

dt

"Alex Yakhnin [eMVP]" <(E-Mail Removed)> wrote in message
news:493f01c376cf$4e2f33d0$(E-Mail Removed)...
> You will have to P/Invoke API's related to RAS or
> ConnectionManager... Or you can use a 'ready' to use
> solution:
>
> http://www.intelliprog.com/netcf/ras.html
>
> --
> Alex Yakhnin, eMVP
> IntelliProg, Inc.
> http://www.intelliprog.com
>
> >-----Original Message-----
> >Hi all,
> >I'm developing an PPC application which needs to get some
> >files via ftp from a server.
> >When I start the connection manually before I start my
> >application it works fine.
> >How can I start the GPRS connection within the
> >CompactFramework code written in C# ?
> >tia
> >cle
> >.
> >



 
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
USB DIRECT LINK (Double Direct Data Transfer Cable Driver) =?Utf-8?B?bWZmYXN3YW4=?= Windows XP Help 4 12th Sep 2006 01:15 PM
serial or parallel direct cable connection without direct connect on one computer... lab Windows XP Networking 0 13th Nov 2005 10:46 PM
Acessing AD from a W2k pro =?Utf-8?B?U2Ft?= Microsoft Windows 2000 1 26th Feb 2005 02:29 PM
How to enable direct draw/direct 3d on rage IIC agp graphics cards =?Utf-8?B?S3lsZQ==?= Windows XP Hardware 4 9th Oct 2004 05:41 AM
GPRS Signal Strength on GPRS Datacard Tim Bartle Microsoft Dot NET Compact Framework 2 22nd Jul 2004 10:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:28 PM.