Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Help VB6 Finding Code Line Number

Posted on 2004-08-24
7
Medium Priority
?
208 Views
Last Modified: 2010-05-02
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
Comment
Question by:falconone2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 3

Expert Comment

by:nichia
ID: 11888567
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
 

Author Comment

by:falconone2
ID: 11888589
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
 
LVL 3

Expert Comment

by:nichia
ID: 11888628
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
Technology Partners: 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!

 
LVL 3

Expert Comment

by:nichia
ID: 11888650
If you do not see it, make sure that the "Standard Toolbar" is checked in the View->ToolBars->Standard menu selection.
0
 

Author Comment

by:falconone2
ID: 11888656
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
 

Author Comment

by:falconone2
ID: 11888678
Standard Toolbar is the one I had left on. Just no LN etc.
0
 
LVL 3

Accepted Solution

by:
nichia earned 750 total points
ID: 11888715
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question