[program-l] vb: shaky editor

  • From: "Che" <che@xxxxxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Thu, 22 Sep 2005 17:23:01 -0500

I am working on a tutorial and putting in the code line for line as they have it listed. They have a variable name that starts with an underline:
Code snippet:


Private _dev As Device
_dev = New Device
end snippet.
When I move off this line, I get an error saying declaration expected that is pointing to the line
_dev = New device


When I go through the line character by character, it is not showing me the underline before the dev in the editor. If I add an underline, it is still not showing it in the editor, and as soon as I arrow off the line, I get the same error.
Is this just a jaws bug? Is there a way to verify that the underline is there? Why would I be getting an undeclared variable error when it looks like I have just declared the variable? I am copying this code line for line from the online tutorial, and it is coded for vb .net 2005 express beta, which is what I am using.


Finally, how do I turn off this annoying error box that pops up everytime I try to edit my code? As it stands, I have to alt f4 it away, then f7 back to my form and arrow down to the line I need to edit. Gotta be a better way, eh?
Much thanks,
Che




** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: