?
Solved

Controlling Netscape from code

Posted on 1998-08-20
3
Medium Priority
?
235 Views
Last Modified: 2010-04-01
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.
0
Comment
Question by:aderounm
  • 2
3 Comments
 
LVL 8

Expert Comment

by:trestan
ID: 1170765
You need to use CGI.
0
 
LVL 11

Accepted Solution

by:
alexo earned 400 total points
ID: 1170766
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
 
LVL 11

Expert Comment

by:alexo
ID: 1170767
I wonder, why the bad grade and no comment?
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question