SIMIN Posted April 13, 2008 Posted April 13, 2008 Hi, I have a program that do a long process over the Internet. I wanna give my user this option to disconnect all active connections after the process! But don't know how to do this in VB.NET 2008 & .NET Framework 2.0? Please help me! :confused: Quote
Administrators PlausiblyDamp Posted April 13, 2008 Administrators Posted April 13, 2008 What are you connecting to? How are you currently keeping track of open connections? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
SIMIN Posted April 14, 2008 Author Posted April 14, 2008 Hi, I am not connected to. My users are connected! I don't know how do they connect, I just want to give them an option to disconnect. This is not unusual, did you see download managers? Many of them give this option to user that "Disconnect active connections after download completes". :confused: Quote
Administrators PlausiblyDamp Posted April 15, 2008 Administrators Posted April 15, 2008 Without more detail nobody is able to give you an answer... If your users are on dial up or similar and you just want to hang up when the work is finished then you could find http://www.pinvoke.net/default.aspx/wininet.InternetHangUp useful. If you mean something else however you will need to provide more specific information. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
SIMIN Posted April 15, 2008 Author Posted April 15, 2008 Hi, Thanks friend:) Yes I mean dial-up and something similar, Declare Function InternetHangUp Lib "wininet.dll" (TODO) As TODO should be the one but I don't know how to use it:( Quote
OMID SOFT Posted April 16, 2008 Posted April 16, 2008 http://support.microsoft.com/kb/821770 Quote Don't ask what your country can do for you, ask what you can do for your country...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.