I am currently using Control.DoDragD rop to drop a text string into Excel. I
use the following code
DataObject dd = new DataObject();
dd.SetData(Data Formats.Text,"\ \\\ws-it-bstough\\ShareF older\\Test.wav ");
DoDragDrop(dd,D ragDropEffects. Copy);
The code works as expected but it will always populate into Excel as a
string literal and not as a link to the audio file. If I type the path into
a excel the link appears correctly. I am using a windows form in C# to
initiate the drag request.
Any Suggestions ?
Bruce Stough
use the following code
DataObject dd = new DataObject();
dd.SetData(Data Formats.Text,"\ \\\ws-it-bstough\\ShareF older\\Test.wav ");
DoDragDrop(dd,D ragDropEffects. Copy);
The code works as expected but it will always populate into Excel as a
string literal and not as a link to the audio file. If I type the path into
a excel the link appears correctly. I am using a windows form in C# to
initiate the drag request.
Any Suggestions ?
Bruce Stough
Comment