Click here to Skip to main content
15,901,666 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWin CE && ADO Pin
Like2Byte21-Aug-02 8:14
Like2Byte21-Aug-02 8:14 
GeneralSetModifiedFlag(); Pin
Garry White21-Aug-02 7:42
sussGarry White21-Aug-02 7:42 
GeneralRe: SetModifiedFlag(); Pin
Chris Richardson21-Aug-02 7:46
Chris Richardson21-Aug-02 7:46 
GeneralRe: SetModifiedFlag(); Pin
G. White21-Aug-02 8:25
G. White21-Aug-02 8:25 
GeneralMain window pops out Pin
Shay Harel21-Aug-02 7:18
Shay Harel21-Aug-02 7:18 
GeneralAuto Fill in IE or Netscape Pin
Ranjan Banerji21-Aug-02 6:49
Ranjan Banerji21-Aug-02 6:49 
GeneralRe: Auto Fill in IE or Netscape Pin
Domenic Denicola21-Aug-02 7:04
Domenic Denicola21-Aug-02 7:04 
GeneralRe: Auto Fill in IE or Netscape Pin
Stephane Rodriguez.21-Aug-02 7:24
Stephane Rodriguez.21-Aug-02 7:24 
Depends if you are on the client-side or on the server side :

- on the server side, the solution will work for ALL browsers including Opera as well :

your web server is a proxy server. Surfers surf the net through your web server by urls of the form http://www.yoursite.com?url=... where ... is the URL of the target site.
What you do is that you get this request, you DO yourself the request against the target URL, retrieve the HTML, and once you've got the HTML you must do two things :
- remap all relative links to absolute links by adding http://www.yoursite.com?url= prefixes
- parse the HTML source code and fill out yourself all recognized forms in it, such like those for login, and so on.

Using PHP or ASP that's very easy. Even a dumb can do it.

That's it !!



- on the client-side, it will work on IE only. Do a C++ app, MFC-based is highly recommended. Do an app that wraps the web browser control. And override the OnDocumentComplete() event. That will give you access to the DOM once the HTML page is retrieved. Using the DOM, you can easily find form fields (there is even a collection for forms), and apply new value for recognized forms such like login, ...


That's it !!




And I swallow a small raisin.

GeneralRe: Auto Fill in IE or Netscape Pin
Ranjan Banerji21-Aug-02 10:22
Ranjan Banerji21-Aug-02 10:22 
GeneralRe: Auto Fill in IE or Netscape Pin
Stephane Rodriguez.21-Aug-02 22:22
Stephane Rodriguez.21-Aug-02 22:22 
GeneralRe: Auto Fill in IE or Netscape Pin
Anonymous22-Aug-02 12:22
Anonymous22-Aug-02 12:22 
GeneralRe: Auto Fill in IE or Netscape Pin
Anonymous22-Aug-02 12:33
Anonymous22-Aug-02 12:33 
GeneralCString Problerm Pin
Zayax21-Aug-02 6:07
Zayax21-Aug-02 6:07 
GeneralRe: CString Problerm Pin
lucy21-Aug-02 6:09
lucy21-Aug-02 6:09 
GeneralRe: CString Problerm Pin
Zayax21-Aug-02 6:16
Zayax21-Aug-02 6:16 
GeneralRe: CString Problerm Pin
-Dy21-Aug-02 6:23
-Dy21-Aug-02 6:23 
GeneralRe: CString Problerm Pin
Zayax21-Aug-02 6:46
Zayax21-Aug-02 6:46 
GeneralRe: CString Problerm Pin
lucy21-Aug-02 6:51
lucy21-Aug-02 6:51 
GeneralRe: CString Problerm Pin
Zayax21-Aug-02 7:08
Zayax21-Aug-02 7:08 
GeneralRe: CString Problerm Pin
lucy21-Aug-02 7:16
lucy21-Aug-02 7:16 
GeneralRe: CString Problerm Pin
Zayax21-Aug-02 7:28
Zayax21-Aug-02 7:28 
GeneralRe: CString Problerm Pin
lucy21-Aug-02 7:36
lucy21-Aug-02 7:36 
GeneralRe: CString Problerm Pin
Zayax21-Aug-02 7:43
Zayax21-Aug-02 7:43 
GeneralRe: CString Problerm Pin
lucy21-Aug-02 7:42
lucy21-Aug-02 7:42 
GeneralRe: CString Problerm Pin
Zayax21-Aug-02 7:53
Zayax21-Aug-02 7:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.