Solved

Program a GPRS connection

Posted on 2004-04-22
2
5,822 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
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…

632 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