Anyone Able to help me with a MySQL orientated Datagrid? menu

User Tag List

Results 1 to 5 of 5
  1. #1
    DoxramosPS's Avatar Knight
    Reputation
    26
    Join Date
    Aug 2010
    Posts
    214
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anyone Able to help me with a MySQL orientated Datagrid?

    :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
    Mangos and Trinity Emulation
    Windows | Linux
    Under Development : morgangreen.org WoW CMS Site

    Anyone Able to help me with a MySQL orientated Datagrid?
  2. #2
    ZidaneT's Avatar Corporal
    Reputation
    6
    Join Date
    Jan 2012
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the error is correct...

    My.Computer.Network.DownloadFile(selectedDownloadCell.Value.ToString, "C:\DoxramosLauncherAddons\temp.zip")

    surely that would be a little less wrong? why is the "&" in there anyways?

  3. #3
    DoxramosPS's Avatar Knight
    Reputation
    26
    Join Date
    Aug 2010
    Posts
    214
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Honestly that would be a typo. We'll give it a shot, but yeah; I'm so used to putting the amperstands in when pulling text data and throwing it to the sql server I must've done it without thinking about it.
    Mangos and Trinity Emulation
    Windows | Linux
    Under Development : morgangreen.org WoW CMS Site

  4. #4
    ZidaneT's Avatar Corporal
    Reputation
    6
    Join Date
    Jan 2012
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hehe, it happens to us all! and when it does, you never see it till it's too late.

  5. #5
    DoxramosPS's Avatar Knight
    Reputation
    26
    Join Date
    Aug 2010
    Posts
    214
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very True haha. Much appreciated on the help. Now to implement the if else to delete if the temp file exists and to extract depending on an if else statement derived off the SQL server. YYYAAY
    Mangos and Trinity Emulation
    Windows | Linux
    Under Development : morgangreen.org WoW CMS Site

Similar Threads

  1. Anyone able to help with a PHP script by chance?
    By DoxramosPS in forum Programming
    Replies: 18
    Last Post: 02-25-2013, 05:52 PM
  2. [Request] Anyone, who can help me with a script
    By kakaeger in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 01-25-2013, 08:24 AM
  3. Paypal Problem? Anyone able to help?
    By dannyinside in forum Community Chat
    Replies: 3
    Last Post: 07-27-2012, 12:26 PM
  4. I'd be forever greatful if someone were able to help me with this...
    By Sundabar in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 01-07-2008, 07:35 PM
  5. anyone able to help
    By galataii in forum WoW ME Questions and Requests
    Replies: 12
    Last Post: 11-23-2007, 01:51 AM
All times are GMT -5. The time now is 02:45 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search