Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i CAN'T be the only one : wherez the line numbers in VB6? ... aaaaahhh

Status
Not open for further replies.

mahaMutant

Programmer
Dec 12, 2001
55
GB
i keep thinking that i am just missing the option somewhere, although i've been through '/Tools/Options' a hundred times [like a redmond droid] believing it MUST be there somewhere....

I mean i write java, c++ and php on a daily basis using masterpieces like textpad & pico.
How in the name of holy trinix do you lot manage to code without obvious line numbers...???
Not sure at this point whether i admire you or feel sorry for you...
Let's all admit that VB is hardly rocket science, but surely even a little programmer like me need line numbers...
So far i humbly admit defeat - please don't tell me that it's not there because i will then finally be forced to declare that this is possibly one of the main reasons why microscrap software is what it is, or mostly what it's not...

Much looking forward to someone enlightening me; else let's all stand together and do what we must, running(crawling) the old windoze, gritting our teeth
 
um ok... i may be missing the point here but!!

right click the toolbar and click "standard" and there you go... wen in code view you have line and column data!!!

good luck!

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
A General Guide To Excel in VB FAQ222-3383
The Great Date Debate Thread222-368305
File Formats Galore @ or
 
Line numbers???. That brings back memories. Whats wrong with labels???
 
Pah! And we'd want line numbers why? (leading question, by the way, and worth discussing)
 
um... to confuse the hell outa innocent passers by that get dragged into questions like this!!!

{LOL}

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
A General Guide To Excel in VB FAQ222-3383
The Great Date Debate Thread222-368305
File Formats Galore @ or
 
Keeps the world turning I suppose. Chuckle Chuckle.
 
Bah! It makes no difference. The old hands refuse to rise to the bait, and the new hands don't realise that bait is being laid...
 
Well, we caould improve the business position of the mfg. arm of the ecomomy. Line Numbers everwhere would use more ink/toner/ribbon on a daily basis, increase the wear rate on the mechanical printers - which (in turn) causes them to expire sooner ... more printer corpses in the jusk yard, more polymer palstices in production, ...




MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Line numbers make using the goto statements much easier and we all know we should use goto statements every chance we get.
 

Ahhhh!.... Ummmm.... Let me just say that in my humble opinion that line numbers SUCK!!!

Ahhh... errr... that is when you have to type them in manually.

Now with that said vb does support line numbers but you have to type them in...
[tt]
Option Explicit

Private Sub Form_Load()
1 Command1.Left = 500
2 Command1.Top = 500
3 Frame1.Left = 1500
4 Frame1.Top = 1500
5 Frame1.Height = 1500
6 Frame1.Width = 2000
End Sub

Private Sub Command1_Click()
1 Set Command1.Container = Frame1
2
End Sub
[/tt]

damn, did I just hooked [lol]

 
kersenMutant

mztools will sove your problem!
strongm

Line numbers, never seen the use for them, since I stopped using Apple II basic! Am I missing something that will\makemy life easy?




Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
I second the suggestion but not for the line numbers, very cool addin. By the way try this goto statement Goto thread222-602411 and throw some suggestions my way.
 
DrJavaJoe

agreed mztools goes way further than line numbers... but does solve the query. Whether mutant uses the other stuff...

as for your other thread, I can't help I am afraid

Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
As ADoozer pointed out there are sort of line numbers on the standard toolbar however this is for all the code in the form/module and not per sub/function.

Personally, I've never needed them....
 
The last time I used line numbers was when a ZX 81 was still a cool thing and only a priviedged few knew what that meant.
 
>when a ZX 81 was still a cool thing

Mine always overheated!

Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
In short kersenMutant, there are no line numbers. We outgrew them a long time back. Why are you looking for line numbers, may I ask?
[bigcheeks]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top