I'm wondering how I would go about creating a simple web interface for an application. So in a browser, a user can type in the IP address of the computer it is running on to view/change program settings.
Thank you
Printable View
I'm wondering how I would go about creating a simple web interface for an application. So in a browser, a user can type in the IP address of the computer it is running on to view/change program settings.
Thank you
You could look at writing an ASP.NET application, you can write these in Visual Studio just like you would a normal program. Do a bit of reading up on it and post in the relevant section on this forum if you get stuck or have further questions :)
If you mean remotely change your program's settings from a web browser, then your program would need its own HTTP server built-in. Doesn't need to be really elaborate, but just be able to processes HTTP requests and return correct results.
There's a web/HTTP server made by CVMichael in the VB6 CodeBank that you can look off of.
Additionally, if the user running the program is behind a router or firewall, they will need to have port 80 (http) open and accessible. Assuming that is the port you use. If you use a different one, you'll need to specify it in the URL...
http://123.123.123.123:12345 - where 12345 is the port.