Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Log internet activity

Posted on 2000-05-02
2
Medium Priority
?
152 Views
Last Modified: 2010-04-04
I've been asked to write a program for NT that logs all internet activity.  I just want to know how to get a list of web sites that I am currently connected to from within Delphi 4.

Any ideas?

John.
0
Comment
Question by:Jaymol
2 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 1000 total points
ID: 2769532
hi john,maybe this helps:
add ddeman to uses section then use this
code from a paq ,dunno who from

function Get_URL(Servicio: string): String;
var
Cliente_DDE: TDDEClientConv;
begin
Result := '';
Cliente_DDE:= TDDEClientConv.Create( nil );
with Cliente_DDE do
 begin
SetLink( Servicio,'WWW_GetWindowInfo');
Result := StrPas(RequestData('0xFFFFFFFF'));
CloseLink;
end;
Cliente_DDE.Free;
end;

procedure TForm1.Button1Click(Sender);
begin
 showmessage(Get_URL('Netscape'));
    or
 showmessage(Get_URL('IExplore'));
end;
0
 
LVL 6

Author Comment

by:Jaymol
ID: 2772740
As always, thanks for a superb answer!!

Ta,

John.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

783 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