Solved

Controlling Netscape from code

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
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 learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

776 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