473,800 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dial-up Connection in VB.Net

Hello Everyone and thanks for your help in advance. I am
writing an application in Vb.Net that queries a SQL Server
database and then builds a text file for submission to a
vendor. However, the vendor requires that the file be
sent via dial-up modem. This is where I am having the
problem as I haven't got a clue as to how to do this or
where to start. Could someone shed some light on this or
point me to a tutorial? Any help would be greatly
appreciated. Thanks.
Jul 21 '05 #1
1 10175
Hi Hugh,

Thanks for your post. .NET Framework does not presently provide any base
classes that access the Remote Access Services (RAS)API. That is, you will
have to use Platform Invoke to call RAS APIs in VB .NET if you want to
control dial up networking. Please refer to the following MSDN articles:

Consuming Unmanaged DLL Functions
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconconsumingu nmanageddllfunc tions.asp

Dialing Up the Internet with RAS
http://www.microsoft.com/mind/0698/ras/ras.asp

You may also consider using third-party ActiveX control that provide
dial-up functionality. For example:
RAS ActiveX Control
http://www.dart.com/ras.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #2

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

Similar topics

2
6207
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 searched the internet and all the netwroking website are about the internet and http!!! Thanks alot guys
5
2122
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 possible? At least in Windows? Any suggestions are appreciated. (Can this be done with a trusted java applet?) Many thank in advance!
2
1777
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 alot guys
0
1760
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
2765
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 pager. I have looked at the various SMS stuff, but it all goes to text message, etc. Nothing for a regular pager. I have a asp.net page, using c#. User clicks a button that says "Page Me." Somehow the box with the modem dials up the pager...
2
2117
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 of the modem to dial specific number thanks
3
1888
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 modem then dial specific number corresponding the name ,i want only the code that open port from dot net framework thanks everybody
0
333
by: Ghost | last post by:
Hello. Can anybody showme some example of how can I dial a phone number with AT commands
1
2868
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 application but I'm sure that there is better way, using the functions stored in the Windows dll If you have any clue how to use those functions, it should be much appreciated! Thanks
0
1339
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 box. the phone system uses a TAPI interface and I can get other windows apps to dial numbers. I cant find anything on how to go about doing it in Oracle, just VB. Thanks in advance TB
0
9691
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10276
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9090
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.