Open GPRS Connection

B

barry.burke

Hey Guys,

i have an application that performs an FTP over a GPRS connection. The
problem is i need to be able to activate the GPRS connection through my
application.

How is it possible through code to initialise the GPRS connection.

Instead of the user having to do: Start -> Settings -> Network
Connections -> GPRS -> Connect
 
H

Hauer Wolfgang

Hi!

If you have Windows Mobile try that
-----------------
Try
Dim oWebRequest As System.net.WebRequest =
System.Net.WebRequest.Create("http://www.sysdat.at/short.htm")
Dim oResponse As System.Net.WebResponse = oWebRequest.GetResponse()
oResponse.Close()
Catch e As Exception
AppShared.LogEvent("SendMailSimple: Fehler http://www.sysdat.at/short.htm" &
e.ToString, OpenNETCF.Diagnostics.EventLogEntryType.Error)
Return False
End Try
 
H

Hauer Wolfgang

Hi!

If you have Windows Mobile try that
-----------------
Try
Dim oWebRequest As System.net.WebRequest =
System.Net.WebRequest.Create("http://www.sysdat.at/short.htm")
Dim oResponse As System.Net.WebResponse = oWebRequest.GetResponse()
oResponse.Close()
Catch e As Exception
AppShared.LogEvent("SendMailSimple: Fehler http://www.sysdat.at/short.htm" &
e.ToString, OpenNETCF.Diagnostics.EventLogEntryType.Error)
Return False
End Try
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top