-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Jigs
Message 8 in Discussion




  
    
    New Message on MumbaiUserGroup
  
  





      How to Capture the Active IE window URL

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 3 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              Jigs
            
            
              

               
   yaad aa gaye VB ke woh 
din......

   Hi Ashok....
   
   Take 
a reference of Microsoft Internet Controls and try this code....



Private IEs 
As New 
SHDocVw.ShellWindows
Private IE As 
SHDocVw.InternetExplorer
Private Declare Function GetForegroundWindow Lib "user32" () As Int32
Dim Ret As Int32

Private Sub Form5_Load(ByVal sender As System.Object, ByVal e As 
System.EventArgs) Handles MyBase.Load

For Each IE In IEs
Ret = GetForegroundWindow()


' If Ret = IE.HWND 
Then
     MsgBox(IE.LocationURL)
 ' End 
If

Next
End Sub
 
Regards,
Jignesh Desai
www.dotnetjini.com 
 
 


----- Original Message ----- 
From: AshokkumarLingappan 
To: 
MumbaiUserGroup 
Sent: Thursday, January 20, 2005 3:07 PM
Subject: How to 
Capture the Active IE window URL


New Message on 
MumbaiUserGroup



How to Capture the Active IE window 
URL

Reply
 Reply to Sender   Recommend Message 1 in 
Discussion 

From: AshokkumarLingappan 



Hi 
All,
          I want to know 
how to capture the URL of the ACTIVE IE window in VB.Net Application
very 
urgent.
thanks in Advance,
waiting for your valuable 
suggestions.
Ashokkumar


View other groups in this category. 


 
Also on MSN:
Start Chatting | Listen to Music | House & 
Home | Try Online Dating | Daily Horoscopes 



To stop getting this 
e-mail, or change how often it arrives, go to your E-mail Settings. 

Need 
help? If you've forgotten your password, please go to Passport Member Services. 

For other questions or feedback, go to our Contact Us page. 

If you 
do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list. 
Remove my e-mail 
address from MumbaiUserGroup. 
          
        
      
          
  

    View other groups in this category.
  

  

      




-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to