Solved

How to get URL in IE

Posted on 2000-04-29
6
429 Views
Last Modified: 2012-06-21
How do i get the URL in IE
in the Delphi App?
Use Win32 API? Or DDE?
Who can help me ?
0
Comment
Question by:sunxiaomei
  • 4
  • 2
6 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
ID: 2762982
hi,
you can use dde hees an example someone made for anoter question:

add ddeman to uses section then:

                  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;


Regards Barry
0
 
LVL 17

Expert Comment

by:inthe
ID: 2770875
did you test ?
it works quite nice ..
0
 
LVL 17

Expert Comment

by:inthe
ID: 2884379
HELLO !
0
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.

 
LVL 17

Expert Comment

by:inthe
ID: 2884380
HELLO !
0
 

Author Comment

by:sunxiaomei
ID: 2895997
Answer accepted
0
 

Author Comment

by:sunxiaomei
ID: 2895998
very good!
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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

23 Experts available now in Live!

Get 1:1 Help Now