I am trying to allow drag&drop from my program (winforms) to windows 7 taskbar (pin my program), without success.
What am I doing wrong?
DataObject objData = new DataObject();
objData.SetData(DataFormats.FileDrop, true, new string[] { Application.ExecutablePath });
((Control)sender).DoDragDrop(objData, DragDropEffects.Link);