Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Help VB6 Finding Code Line Number

I am trying to make an exe file but I get an error on line xxxxx. Is there a way to find the line number without arrow down and counting each one.
0
falconone2
Asked:
falconone2
  • 4
  • 3
1 Solution
 
nichiaCommented:
When in the VB IDE, the cursor position is given in the toolbar.  As you scroll down, you will see the Ln (for line) and Col (for column) update.  Use the Ln number to find the correct line number where the error lies.

Hope it helps!
0
 
falconone2Author Commented:
I have not been doing this long. So will you tell me how to put it in VB IDE
Sorry if this sounds stupid.
0
 
nichiaCommented:
The IDE is the "Integrated Development Environment" which is what you are using when you run Visual Basic.  When you are editing your code, you should see in the toolbar (just under the menu bar) an area which displays your current cursor position in the editor.  It will look something like "Ln 32, Col 4"
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
nichiaCommented:
If you do not see it, make sure that the "Standard Toolbar" is checked in the View->ToolBars->Standard menu selection.
0
 
falconone2Author Commented:
I know I have seen it before but it is not showing up in the toolbar. I have closed all tools but one and nothing is there. If there is nothing I can do to turn it on tell me and I will accept your answer. Thanks falconone2
0
 
falconone2Author Commented:
Standard Toolbar is the one I had left on. Just no LN etc.
0
 
nichiaCommented:
It should appear when you have a code window open (editing the text of the code)
If you have a Form window open (designing a form) the toolbar will display the XY coords of the form's conrols as you place or move them.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now