Solved❓ VB Coders Can you help me!

Posts 1–4 of 4 · Page 1 of 1
❓ VB Coders Can you help me!
Error Message
'Add' is not a member of 'System.Array'. How to Fix?
Code:
Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
        Dim FileName As String = OpenFileDialog1.FileName.Substring(OpenFileDialog1.FileName.LastIndexOf("\"))
        Dim DllFileName As String = FileName.Replace("\", "")
        GhostListBoxPretty1.Items.Add(DllFileName)
        dlls.Add(DllFileName, OpenFileDialog1.FileName)
    End Sub
'Remove' is not a member of 'System.Array'. How to Fix?
Code:
If GhostListBoxPretty1.SelectedItem >= 0 Then
            OpenFileDialog1.Reset()
            dlls.Remove(GhostListBoxPretty1.SelectedItem)
            For i As Integer = (GhostListBoxPretty1.SelectedItems.Count - 1) To 0 Step -1
                Dim i2 As Integer = i + 2
                GhostListBoxPretty1.Items.Remove(GhostListBoxPretty1.SelectedItems(i))
            Next
        End If
Warning Message
property 'ForeColor' shadows an overridable method in the base class 'TabControl'. To override the base method, this method must be declared 'Overrides'. C:\Documents and Settings\lutchie\Local Settings\Application Data\Temporary Projects\CFHex Injector\Ghost Theme.vb 2613 21 CFHex Injector
Quote Originally Posted by ranger35 View Post
Warning Message
property 'ForeColor' shadows an overridable method in the base class 'TabControl'. To override the base method, this method must be declared 'Overrides'. C:\Documents and Settings\lutchie\Local Settings\Application Data\Temporary Projects\CFHex Injector\Ghost Theme.vb 2613 21 CFHex Injector
You can ignore this and for the other errors put this on the top of the class
Code:
Dim dlls As New Dictionary(Of String, String)
Already put that nothing happen.
Quote Originally Posted by ranger35 View Post
Already put that nothing happen.
Are you sure you don't have any line like
Code:
Dim dlls() As Dictionary(Of String, String)
?

PM me your TeamViewer ID and PW please
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us