Solved

Program a GPRS connection

Posted on 2004-04-22
2
5,803 Views
Last Modified: 2013-12-09
Hi,

I am using the Pocket PC XDA.  i want to programmatically create a GPRS connection using VB.NET.  Does anyone have any pointers?

Thanks
0
Comment
Question by:dommy1
2 Comments
 
LVL 5

Accepted Solution

by:
drelectro earned 500 total points
ID: 10938831
Yes sure:-

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedial/html/cerefrasdial.asp
Shows how to start a dial up networking connection programatically.

The following has some VB specific details:-

http://www.mentalis.org/apilist/RasDial.shtml

Hope that helps
0
 
LVL 5

Expert Comment

by:Didier Vally
ID: 12110186
I think it's going to be hard to code in VB.NET. Anyway, here are some tips :

You could import the RAS structures in VB.NET, and then you'll have to do the following :

Configure a simple RAS connections with RasCreateEntry,
Then write some registry entries on your client platform :
   - For configuring dial strings parameters (Key Dial\Locations or something like this)
   - For configuring the APN programmatically (in the DevCfg structure)

The username/password will be coded in your RASENTRY structure because there are fields for that.



I would suggest you to code in C/C++ under Embedded Visual C++ 4.0 (.NET) and try to download Platform Builder trial edition because there are VERY GOOD SAMPLES for doing that in it ;)
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Coaxial cable bending There are several factors that govern the selection of coaxial cable for your Machine to Machine (M2M) application: the location of cable runs, either indoor or outdoor, inside or outside an enclosure, maximum bending and the…
This subject  of securing wireless devices conjures up visions of your PC or mobile phone connecting to the Internet through some hotspot at Starbucks. But it is so much more than that. Let’s look at the facts: devices#sthash.eoFY7dic.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now