Click here to Skip to main content
15,888,116 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi,

I want to develop such a interface which will collect the desired information from users such as Name and Roll no. before allowing them to use internet (by any means... like on starting up te web browsers..etc)


Using VB.NET or any best resource.

Please suggest me the best way...Thanks
Posted

Here's an example of how to detect changes in network availability.

Use "netsh interface set interface "Local Area Connection" DISABLE" to disable the internet until the user provides you with the desired information.

This is just a small part of what you'll need to make this work, but it's what you asked for.

- Pete
 
Share this answer
 
First, you might want to learn how proxy servers work before you even think of starting to write a single line of code.
 
Share this answer
 
Comments
ddrraamm 24-Sep-13 1:17am    
Proxy server is already there to authenticate the users....sry this is not a solution
Dave Kreskowiak 24-Sep-13 8:31am    
Great. Now you'll have to go into the documentation for your proxy server and discover if it has the ability to serve up a security page where you'll ask for the thing you want the user to enter.
Are you writing the web browser yourself, or are you using an existing web browser? If your users are going to use the web browser you write, this is very easy to do, however, if they're using existing browsers, there's little VB alone can do. You need to configure a proxy server, and then use your VB program to grant access to the user via the proxy server. This can get very complicated.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900