Starter Question
-
Never done any Web development before, but would like my MFC dialog program to interface with Web Pages. The server will obtain data and this data will be displayed on Web Pages. My 1st question is what should I be looking at to use Edit boxes, push buttons combo list etc on the Web Page to Get/Set various options using these controls. Can I do it with plain HTML, or do I need to use ASP or JavaScripts. I have just started to use HTML, so a good tutorial would be very helpful. 2nd question, how do I get hold of the data on these controls (Edit box, combo list- on the Web Page) in my MFC program. I have placed an ActiveX Web Browser on my main dialog. Currently I can Set/Get the Web Browsers current ULR. grahamfff
-
Never done any Web development before, but would like my MFC dialog program to interface with Web Pages. The server will obtain data and this data will be displayed on Web Pages. My 1st question is what should I be looking at to use Edit boxes, push buttons combo list etc on the Web Page to Get/Set various options using these controls. Can I do it with plain HTML, or do I need to use ASP or JavaScripts. I have just started to use HTML, so a good tutorial would be very helpful. 2nd question, how do I get hold of the data on these controls (Edit box, combo list- on the Web Page) in my MFC program. I have placed an ActiveX Web Browser on my main dialog. Currently I can Set/Get the Web Browsers current ULR. grahamfff
I assume the web pages you will be creating will be on a web server and not on the local machine. I know some developers put their help section in a web page and make it a part of the installation on the end-user's computer, but this limits you to what can be done. If it is on the server, you can use whatever you like. The good news is you can do it with plain HTML if your help section is pretty basic. This would give you pages with text and regular hyperlinks. If you want to add in something like a text search or anything like that, you will need to use a back-end language like ASP, PHP, etc. I wouldn't worry about javascript for your situation. If the files are on a web server, you can start out with raw html and later beef-up the pages with ASP or whatever you want. If you are new to web development, stick to the easy path until you want to add in more things.
-
I assume the web pages you will be creating will be on a web server and not on the local machine. I know some developers put their help section in a web page and make it a part of the installation on the end-user's computer, but this limits you to what can be done. If it is on the server, you can use whatever you like. The good news is you can do it with plain HTML if your help section is pretty basic. This would give you pages with text and regular hyperlinks. If you want to add in something like a text search or anything like that, you will need to use a back-end language like ASP, PHP, etc. I wouldn't worry about javascript for your situation. If the files are on a web server, you can start out with raw html and later beef-up the pages with ASP or whatever you want. If you are new to web development, stick to the easy path until you want to add in more things.
Thanks for your post. I will be using Visual Studio .Net to produce these Web Pages, but having trouble getting a value from an Edit Box or Combo into say a table on the Web Page. Is that another page? May be getting confused with MFC C++ events etc Any good sites/books for getting started, writing simple display Web Pages is OK its the interaction/moving data around. Thanks. grahamfff