473,480 Members | 2,592 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

dial up networking from a Windows Service

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 rasapi32.dll I can list the connections and connect to
a specific named connection.
If the application is launched as a windows forms application it is able to
get the connections defined in the user profile.

This application has to move inside a Windows service application, where the
application runs in the context of the account assigned to the service,
typically local system.
If I assign a specific user account to the Windows service the application
has access to the same profile information (and to the dial up connections)
and everything works as expected but it's my last choice.

Is there a way to copy the dial up connection settings from a user profile
to the local system account profile?
Are there other ways to interact with dial up networking from a Windows
service?

thanks,
Davide Bedin
Jul 21 '05 #1
0 1490

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

Similar topics

1
2301
by: ch | last post by:
Hi, I am trying to write a VB program to detect the Dial Up Networking window in WinXP. For instance, everytime when i launch my Internet Explorer, the default MS windows Dial Up Networking will...
0
1525
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
1494
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...
1
10161
by: Hugh McLaughlin | last post by:
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...
0
1278
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 =...
46
2050
by: H.A. Sujith | last post by:
Why doesn't the standard library provide (at least basic) networking facilities using TCP/IP ?
3
1400
by: mirek | last post by:
Hello, My ASP.NET application must have additional functionality which isn't typical for ordinary web use. It is: - connecting to the other server using specified protocol (an option to...
0
342
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...
2
986
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi, I have a C++ unmanaged application that controls a MODEM using the Remote Access Service (RAS) APIs to manipulate PhoneBook entires and control the dial-up connection. I would like to...
0
7060
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,...
0
7106
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...
1
6760
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...
0
5365
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,...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4501
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...
0
3004
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
572
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
206
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.