:confused:
I'm working on a WoW multilauncher and I'm looking to see if anyone here would know how to do this? Right now the only thing I can think of doing is
Code:
Private Sub DataGridView1_CellClick(ByVal sender As Object, ByVal e As DataGridViewCellEventArgs) Handles DataGridView1.CellClick
If DataGridView1.Columns(e.ColumnIndex).HeaderText = "Download" Then
Dim selectedDownloadCell As DataGridViewCell = DataGridView1.Rows(e.RowIndex).Cells(e.ColumnIndex)
If selectedDownloadCell.Value IsNot Nothing Then
Dim cell As New DataGridViewLinkCell
'Set linkCell's Content
cell.Value = "Download!"
My.Computer.Network.DownloadFile(" & selectedDownloadCell.Value.ToString", "C:\DoxramosLauncherAddons\temp.zip")
End If
End If
End Sub
This is an attempt to make a addon installer for multiple client versions with an integrated MySQL database hosting all the information;
however, this throws the error of & selectedDownloadCell.Value.ToString is not a valid url. While I appreciate Visual Basic throwing me the most obvious conclusion in history the attempt is to pull the Download Cells VALUE url, if anyone knows how to accomplish this in C# it'd be much appreciated. Thanks