Dial-up Connection in VB.Net

  • Thread starter Thread starter Hugh McLaughlin
  • Start date Start date
H

Hugh McLaughlin

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.
 
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/default.asp?url=/library/en-us/cpguide/htm
l/cpconconsumingunmanageddllfunctions.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.
 
Back
Top