473,383 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

how to handle a dial up connection on NT with C#

i want to run a windows application wich is automaticall connect to the
internet and upload a file to a server.and this application suppose to
shdule in the windows shedule.
so i am planing to do this application with C#.and if some one can help me
on the handiling the dial up connetion with C#.
so when we shedule this applicaion it will automatically connect to the
internet and upload the spesific file.
i am looking forward to having a reply from u all.
pls help me
thanks
Nov 15 '05 #1
3 3149
elementsEx from www.componentscience.net, has a RAS component

--

"eranga" <dv********@hotmail.com> wrote in message
news:uU**************@TK2MSFTNGP09.phx.gbl...
i want to run a windows application wich is automaticall connect to the
internet and upload a file to a server.and this application suppose to
shdule in the windows shedule.
so i am planing to do this application with C#.and if some one can help me on the handiling the dial up connetion with C#.
so when we shedule this applicaion it will automatically connect to the
internet and upload the spesific file.
i am looking forward to having a reply from u all.
pls help me
thanks

Nov 15 '05 #2
Hi,
You have several options:
1- Use P/Invoke to call the RAS methods, this is a complex matter :)
2- Use an Existent component, you can find several on the web, check
www.innovativedss.com I think they have one
3- If you have IE configured to automatically dial a connection you can
execute IE and it will dial it out for you. ( I haven't tested this but if
you do a search you will get code for this).
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"eranga" <dv********@hotmail.com> wrote in message
news:uU**************@TK2MSFTNGP09.phx.gbl...
i want to run a windows application wich is automaticall connect to the
internet and upload a file to a server.and this application suppose to
shdule in the windows shedule.
so i am planing to do this application with C#.and if some one can help me on the handiling the dial up connetion with C#.
so when we shedule this applicaion it will automatically connect to the
internet and upload the spesific file.
i am looking forward to having a reply from u all.
pls help me
thanks

Nov 15 '05 #3
I suppose you could use the windows communication controls but heres an
example you could try

http://www.codeproject.com/aspnet/webdialup.asp
eranga wrote:
i want to run a windows application wich is automaticall connect to the
internet and upload a file to a server.and this application suppose to
shdule in the windows shedule.
so i am planing to do this application with C#.and if some one can help me
on the handiling the dial up connetion with C#.
so when we shedule this applicaion it will automatically connect to the
internet and upload the spesific file.
i am looking forward to having a reply from u all.
pls help me
thanks


--
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilipdotnet at apdiya dot com
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: BrendonJ | last post by:
Hi. Could some one please point me in the right direction about vb.net support for Dial-up connectors? I could not find any documentation. Using VB.NET I would like to search the computer for...
0
by: BrendonJ | last post by:
Hi. Could some one please point me in the right direction about vb.net support for Dial-up connectors? I could not find any documentation. Using VB.NET I would like to search the computer for...
0
by: Davide Bedin | last post by:
Our .net application needs to open a dial up network connection to reach the internet and send and receive emails (we use a third party component for the email). Using wininet.ddl and...
0
by: sleepyant | last post by:
Hi, how can I check the internet connection and pop-up a Dial-Up Networking dialog when there isn't any? I've tried the following: Dim myReq As HttpWebRequest Try myReq =...
9
by: sleepyant | last post by:
Hi, I've posted this question on several forum but have no response. So I hope anyone who have any idea what I'm talking about please give your solution or advice. My problem is I need to check...
1
by: John Morgan | last post by:
I am using a dial up connection to the Internet and to an online SQL Server database. I have a problem in that when I use Enterprise Manager to access even my local server , or even, it...
0
by: Paul Johnson | last post by:
I have not found code that can successfully opena dn close a connection, so I created the class below. It will open, disconnect and check the type of internet connection you have. Paul R....
2
by: news dur Wanadoo | last post by:
Dear all, I need to writte a VB application that establish a dial up connection to the internet, upload and file on a ftp, then close the connection. what's the easiest way to do it ? ...
4
by: Anjan Bhowmik | last post by:
I want to query the dial up connections present in the system, which will host my application. My user want to connect automatically to the internet if the dialup connection was hanged. Ho do...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.