Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have an app that pulls data from a SQL server over any data connection (activesync, wifi, evdo, etc). It works great. At the moment I have it check to see if it has a connection and if it doesnt it alerts the person and bails on the sql query. So far its a pretty decent little app.

 

Heres the deal. If you open IE/opera/etc and browse to a webpage, I get a notification bubble that says dialing my data connection, which thereafter the webpage connects.

 

I want the same for my app. I do not want to use opennetcf's connection manager. I want to rely strickly on .net 2.0 if i can.

 

How can I invoke a connection to the net. (I dont need to be able to see errors, I dont need to disconnect, I dont need all the extra stuff opennetcf provides).

 

I have spent hours on the net trying to figure something out. I tried an httpwebrequest and it didnt work. Maybe I did it wrong? I just need to spawn a data connection if there isnt one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...