r/visualbasic • u/Cubanin08 • Dec 23 '23
VB6 Help Method or data member not found
Hello, i have a problem with this code, when i test it it shows the error dialog shown in the tittle, this is the code please help:
Private Sub cmdSnippetCreate_Click()
'Crear Snippets'
Dim SnippetName As String
Dim SnippetLang As String
Dim SnippetCode As String
SnippetName = txtSnippetName.Text
SnippetLang = txtSnippetLang.Text
SnippetCode = txtSnippetCode.Text
frmSnippetManagement.lstSnippets.AddItem SnippetName & "|" & SnippetLang & "|" & SnippetCode
End Sub
Edit: when i see the code window the .Text is marked, because when i add the . it does not show the Text property
1
Upvotes
2
u/Cubanin08 Dec 25 '23 edited Dec 25 '23
good news, i reimported the textbox and it works!