Solved

Controlling Netscape from code

Posted on 1998-08-20
3
203 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 200 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now