Newbie Question

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

Hi. I am new to programming in VB.net, and am making my first application.
But I have no clue what I'm doing.
Somehow I managed to get most of the errors fixed, but I have six left with
the same problem: Identifier Expected.
Here's an example:
---
Public Sub
(V_Click)(ByVal eventSender As System.Object, ByVal eventArgs As
System.EventArgs) Handles V.Click

NotaciousVersion.DefInstance.Show()

End Sub
---
All of them have a little wavy line under the b in Sub (for Public
Sub).

What do i need to put there?

Thanks in advance!
 
Hi. I am new to programming in VB.net, and am making my first application.
But I have no clue what I'm doing.
Somehow I managed to get most of the errors fixed, but I have six left with
the same problem: Identifier Expected.
Here's an example:
---
Public Sub
(V_Click)(ByVal eventSender As System.Object, ByVal eventArgs As
System.EventArgs) Handles V.Click

NotaciousVersion.DefInstance.Show()

End Sub
---
All of them have a little wavy line under the b in Sub (for Public
Sub).

What do i need to put there?

Thanks in advance!

Well, if it is on separate lines like that, you might want to put a line
continuation character (the _)...

Public Sub _
V_Click (....) _
Handles ...
End Sub

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top