473,394 Members | 1,699 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,394 software developers and data experts.

Dial-up connection

Hi,

I have to change the phone number of a dial-up network connection by a C#
program. Then the connection should be connected. How can I do this?

TIA for any help,

Frank
Aug 28 '06 #1
2 1345
Frank,

From what I saw from a quick search, there is nothing in the framework to
accomplish this. You need to usd interop via PInvoke to call into the
RASAPI32.DLL. Searching for "RASAPI32 DOTNET" or "RASAPI32 C#" should show
you some source code.

Not much but I hope it helps.

Michael

"Frank Hardy" wrote:
Hi,

I have to change the phone number of a dial-up network connection by a C#
program. Then the connection should be connected. How can I do this?

TIA for any help,

Frank
Aug 28 '06 #2
Michael,

I just didn't know that there is a dedicated API32 for RAS. Your answer
helped perfektly. Thank you!

Frank

"Michael" <Mi*****@discussions.microsoft.comschrieb im Newsbeitrag
news:8B**********************************@microsof t.com...
Frank,

From what I saw from a quick search, there is nothing in the framework to
accomplish this. You need to usd interop via PInvoke to call into the
RASAPI32.DLL. Searching for "RASAPI32 DOTNET" or "RASAPI32 C#" should
show
you some source code.

Not much but I hope it helps.

Michael

"Frank Hardy" wrote:
>Hi,

I have to change the phone number of a dial-up network connection by a C#
program. Then the connection should be connected. How can I do this?

TIA for any help,

Frank

Aug 29 '06 #3

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

Similar topics

2
by: Firewalker | last post by:
Hello guys, I was wondering if you can give m little help with this. I am trying to write a small program that dial a phone number through the modem. Is it possible to do it in java? Any help? I...
5
by: Bura Tino | last post by:
Sorry if this is offtopic. I'm developing a website which, among other things, has contacts. I would like my users to be able to click on a number and have the computer dial that number. Is this...
2
by: Firewalker | last post by:
Hello guys, I was wondering if you can give me little help with this. I am trying to write a program that dial a phone number through the modem. Can you give me little help with this? Thanks...
0
by: anonymous | last post by:
Currently using the auto dial code in access to speed dial phone numbers from a form in the database. If we switch to VOIP will we still be able to do this? If so, how?
4
by: john_20_28_2000 | last post by:
Does anyone know of anything out there that I can use to dial up a numeric pager, leave a number and then hang up? It is not a "fancy" pager. No message, not text, no nothing. Just a regular old...
2
by: mohamed farouk | last post by:
hi everyone i have sql database containing the name of person and his telephone number, i select the name from combo box and I want to click on the button make dial action so i can open the port...
3
by: mohamed farouk | last post by:
hi everyone i have a database on sql server that contain the name and the telephne number ,i have a combo box that contain the names i want to put button so when i click on it open port in the...
0
by: Ghost | last post by:
Hello. Can anybody showme some example of how can I dial a phone number with AT commands
1
PEB
by: PEB | last post by:
Hi all, I'm looking for a clue about how can i dial a phone number stored in access field using Access Basic... I can do it using subs like SendKeys that sends the numbers to the respective...
0
by: telcoboy | last post by:
Hi Guys, I;m a bit out of my depth here and was wondering if someone could point me in the right direction. We have an Oracle Database and want to put a button on the form to dial the number in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.