Solved

Program a GPRS connection

Posted on 2004-04-22
2
5,801 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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.
Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
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…

762 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

6 Experts available now in Live!

Get 1:1 Help Now