Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Program a GPRS connection

Posted on 2004-04-22
2
Medium Priority
?
5,829 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 1500 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Need WiFi? Often, there are perfectly good networks that don't have WiFi capability - and there's a need to add it.  - Perhaps you have an Ethernet port into a network but no WiFi nearby. - Perhaps you have a powerline extender and no WiFi at the…
This article is a step by step guide on how to create a basic PTP link using Ubiquiti airOS devices. This guide can be used on the following Ubiquiti AirMAX devices. Nanostation, Bullets, AirBridge, Nanobeam, NanoBridge to name a few. Please review …
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…
Suggested Courses

926 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