?
Solved

How I create a dial-up connection ?

Posted on 1999-11-29
6
Medium Priority
?
199 Views
Last Modified: 2010-04-27
I´m searching for a vb code thats create an dial-up connection whitout user prompts ....... but, I can only show the wizard of the "Make new connection" .... can I automaticly make this without any window show ?

thanks and sorry my bad english (I'm brazilian...)

[ ]
0
Comment
Question by:eschoedl
  • 3
  • 3
6 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 200 total points
ID: 2242334
You can do it programatically using the RAS API.  In particular the RasSetEntryProperties function is used.

Using the RAS API from VB requires using the RASAPI32.DLL library.
0
 

Author Comment

by:eschoedl
ID: 2242461
Where are the code ????? : )
0
 
LVL 32

Expert Comment

by:jhance
ID: 2243163
Just call RasSetEntryProperties with the setup you want for the new dial-up connection.  Did you even read the function description for this function?
0
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 

Author Comment

by:eschoedl
ID: 2243597
Yes ... in the MSDN ...... but the code are in C ...... I know very very little C ..... can you make the declaration as call de function for me ???

thanks.....

[ ]
0
 
LVL 32

Expert Comment

by:jhance
ID: 2243652
The problem is that I know very little VB.  I know it can be done, I just don't know specifically how to do it in VB.
0
 

Author Comment

by:eschoedl
ID: 2243674
Thanks for the help.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Suggested Courses

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question