I really don't know where to post this, but, anyways.... here is my problem....
I have built a program that generates a waveform for a .wav or .wave file....
but the music clip can only go in through the "file, open, and blah blah blah"
I really want to make it so the audio clip can be dragged onto my panel (the panel that generates the waveform)... from my desktop, ore some other location. How do i do this?
(I have tried many times, but failed)... you can help me in the following codes "vb.net code___c___c#___c++" big thanks...
P.S i know how to drag and drop items from text boxes... so here is my code for that..
Public Class frmDragDrop
Private Sub textBoxMouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles tbDragFrom.MouseDown
Private Sub textBoxDragEnter(ByVal sender As Object, ByVal e As DragEventArgs) Handles tbDragTo.DragEnter
If (e.Data.GetDataPresent(DataFormats.Text)) Then
e.Effect = DragDropEffects.Move
Private Sub textBoxDragDrop(ByVal sender As Object, ByVal e As DragEventArgs) Handles tbDragTo.DragDrop
tbDragTo.Text &= e.Data.GetData(DataFormats.Text).ToString
tbDragFrom.Text = ""