By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,948 Members | 1,104 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,948 IT Pros & Developers. It's quick & easy.

How to create a web app for windows XP

P: 3
I want to create an app for a windows XP which essentially connects via an IP address to a switch. Can you please suggest me the best way to that and also the programming language for the same
Jul 27 '12 #1
Share this Question
Share on Google+
4 Replies

Expert Mod 5K+
P: 9,731
I'm not sure what you are trying to accomplish but since you are trying to connect over a network check out the .NET Socket class.

Since you're posting in .NET, you have many options for languages (C# and VB.NET being the most popular). They all connect to the same framework so the link I posted is relevant regardless of the syntax that you chose.

If you have never used .NET before, hoose the language that you are most comfortable using (syntactically)

Jul 27 '12 #2

P: 3
I have this web power switches which work when I enter the IP address in the browser I want to get rid of the browser page and create a desktop widget/ app so that it can runn on my side bar. I am really new to programing but i am quick learner please help me select a particular language for the task
Jul 27 '12 #3

Expert Mod 5K+
P: 9,731
If the hardware(the switch)generates a web page that lets you configure it, your program won't use socket programming.

You are going to have to:
  • retrieve the HTML page from the switch
  • parse the HTML to retrieve the information you need
  • send web requests to the switch to do things with it

To retrieve the webpage you will have to use the HttpWebRequest class.

You will have to authenticate with the switch in order to do things with it.

Jul 27 '12 #4

P: 3
Thank you I will try it and get back to you ASAP
Jul 27 '12 #5

Post your reply

Sign in to post your reply or Sign up for a free account.