Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
 
I want to drag a link from address bar of internet explorer (opera, chrome, ie, firefox etc) to Listview in to my form and store it. Can anyone got easy idea?
 
thanx.
Posted 30-Oct-12 6:51am
SSAFAK345
Comments
Sergey Alexandrovich Kryukov at 30-Oct-12 22:37pm
   
What is broken? MSDN? Bing? Google? too bad... :-)
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Maciej Los at 1-Nov-12 11:12am
   
Nice collection of links. The 3. is my favourite.
+5!
Sergey Alexandrovich Kryukov at 1-Nov-12 12:41pm
   
...well, because this is most relevant to the question, the first to are the prerequisites to it... :-)
Thank you, Maciej.
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Thank you for the links. But i found my exact solution like that:
 
        private void listBox1_DragEnter(object sender, DragEventArgs e)
        {
            e.Effect = DragDropEffects.Copy;
        }
 
         private void listBox1_DragDrop(object sender, DragEventArgs e)
         {
             string gelen = (string)e.Data.GetData(typeof(string));
 
             if (!string.IsNullOrEmpty(gelen))
                 listBox1.Items.Add(gelen);
         }
 
 
PS: I am making url check and link check in my codes...
  Permalink  
Comments
Maciej Los at 1-Nov-12 11:13am
   
Please, mark this answer as "solved".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 275
1 OriginalGriff 230
2 BillWoodruff 173
3 CPallini 155
4 Kamal Rocks 144
0 OriginalGriff 5,655
1 DamithSL 4,506
2 Maciej Los 3,997
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 1 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100