Controlling Netscape from code

How can one enter char strings into HTML forms in Netscape from a C++program. I would like to write a program to automatically fill forms at websites. I have seen some programs that automatically enter your username and password into forms at websites.
aderounmAsked:
Who is Participating?
 
alexoConnect With a Mentor Commented:
1) You can write a global windows hook.  See the SetWindowsHookEx() API.  Also you can see a code example (taken from production code) at http://www.experts-exchange.com/Q.10063288.

2) You can send keystrokes to an application using the keybd_event() API.

2) Netscape supports DDE.  See http://developer.netscape.com/docs/manuals/communicator/DDE/index.htm.

0
 
trestanCommented:
You need to use CGI.
0
 
alexoCommented:
I wonder, why the bad grade and no comment?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.