小编Ric*_*ram的帖子

如何从Spotify拖放到Winforms应用程序

如果有人将Spotify轨迹从spotify桌面应用程序拖放到Excel,则Excel会显示歌曲的艺术家和标题.

我有一个winforms应用程序,我想在其中做同样的事情.如果我拖放到这样的列表框....

Private Sub ListBox1_DragEnter(sender As Object, e As DragEventArgs) Handles ListBox1.DragEnter
    ListBox1.Items.Add(e.Data.GetData(DataFormats.Text))
End sub
Run Code Online (Sandbox Code Playgroud)

....所有它曾经做过,是显示spotify轨道ID.由于Excel不是为读取Spotify网址而设计的,因此数据必须位于拖放中.但无论我选择哪种数据格式,我都只能获得ID.

vb.net url drag-and-drop spotify

6
推荐指数
1
解决办法
99
查看次数

标签 统计

drag-and-drop ×1

spotify ×1

url ×1

vb.net ×1