473,788 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Check internet connection, pop up dial-up networking dialog

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 = WebRequest.Crea te("http://www.yahoo.com/")
myReq.GetRespon se()
Catch ex As Exception
----------------> pop up Dial-Up network here
End Try

The checking part is ok so far. But it can't automatically dial up or prompt
for dial up.
I need your advice on the correct way in doing this stuff. Thanks.
Jul 21 '05 #1
0 1299

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

Similar topics

2
25230
by: Kadir CAMOGLU | last post by:
Hi all, I am writing a program with vb.net which getting some information from internet. I must check internet connection before some prosess. But how?
9
7281
by: ThunderMusic | last post by:
Hi, probably the question have been asked many times, but I can't find the answer anywhere. Is there a way to detect if an internet connection is active? just like Internet explorers detect you are offline when you try to open it when not connected (then asks if you want to connect or work offline). I need to detect if there is an internet connection available. And if possible too (for another project) detect if a network connection...
3
6640
by: Jonny | last post by:
Hi, Please could you tell me how to check for an internet connection in C. I'm using Windows 2000. Many Thanks, Jonny
1
4476
by: Sean Barnes | last post by:
Hello all, I am having a bit a problem with the InternetDial function in the wininet.dll. The problem is that despite passing in a null terminated string as the lpszConnectoid param to the function it simply picks the top connection in an alphanumerically sorted list obtained from the rasapi32.dll RasEnumEntries function.
2
1597
by: Timothy V | last post by:
Hi, Does anyone know how to dial a connection to the internet in C#? Thanks, Tim.
4
1313
by: Dirk Reske | last post by:
Hello, is there a way to get informed before a connections is established? I want to know the number that is going to be dialed... thx ------------------------------------------------ I think my english is terrible today.... I'm from germany ;)
1
1837
by: Paras Sharma | last post by:
Hi all, this is a query more than a problem. I have a task in hand, whose scenario is as follows. i have a window application, using a button on which (say 'upload' or 'download') i need to connect to internet and then open my abcd.aspx page to process the text file passed.. The problem is not in sending or fetching the file or to process it, but the
10
1505
by: Bob Hollness | last post by:
OK. The below text is from the MySQL website. "When you connect to a MySQL server, you should use a password. The password is not transmitted in clear text over the connection. Password handling during the client connection sequence was upgraded in MySQL 4.1.1 to be very secure" Has anyone actually tested this by "sniffing" their packets during use? Also, does anybody know if this applies when using VB to connect using the connection...
0
1395
by: Arthur | last post by:
Hi, I am trying to write a windows service in VC++.NET 2003, the task of this server is to detect the kind of internet connection and if there is a connection send some file and do something. I have found a method calls InternetGetConnectedState() in .net, this returns false or true for connection also this one has flags and you can use them to know what kind of connection machine uses. But here is my problem: suppose you don't have...
1
2666
by: jeffreykr | last post by:
hi, i am trying to this from portable code. ie, i have seen how to check for a live connection from .NET but i'm not using those libraries. any other way to check for a live internet connection from c ++? any libraries with a function that could be used? thanks.
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10373
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
10177
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...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8995
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
6750
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
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2897
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.