Click here to Skip to main content
15,885,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
So... I'm currently working on a solution that has put tens of thousands of lines of code into into single files, and then numbered the lines based on each function i.e. line 550 appears on hundreds of methods... does anyone have a suggestion to assist "bookmarking" interesting lines/logic other then the old pen and paper method..?

Ohh..-(and splitting up the file into smaller bits is not allowed, must stay basically the way it is...)-

-I'm accustomed to working with code which is VS, the IDE is Visual Basic 6.0 [Designer] (2003-2005 era)

this is not a .NET Code Base
Posted

Looks like VB6 has bookmark functionality built in: http://articles.techrepublic.com.com/5100-10878_11-5670964.html
 
Share this answer
 
Comments
ely_bob 30-Aug-10 21:50pm    
Thank you, Thank you, Thank you.
VB6 has been obsolete for a decade now, why are you putting so much effort into a language that is not going to grow, and will only become more and more outdated ? If you can't split your project up into sensible file sizes, then you're already being asked to do things really badly, and I'm not sure what you can do about it. You're violating every best practice I can think of. You will struggle to find people still using VB6 who will be able to give you more practical advice, what with it being obsolete.
 
Share this answer
 
Comments
ely_bob 30-Aug-10 19:10pm    
When the boss says this is what your doing.. you don't get much say in it... =S
Christian Graus 30-Aug-10 20:39pm    
I see that, but if the boss is a moron ( and if you're starting new work with VB6, then he is ), then it's time to find a new job.
ely_bob 30-Aug-10 21:49pm    
Reason for my vote of 3
TRUE, but unfortunately not very helpful.
ely_bob 30-Aug-10 21:52pm    
No, we are doing support and maintenance on a vb6 sunset. And I'm tasked with extracting the business logic as best I can (abstractly)... Hold me in your prayers... it's ugly.
why is splitting the code not allowed? Some archaic policy?

To me this is perfect case of refactoring the code. Period.
 
Share this answer
 
Comments
Christian Graus 31-Aug-10 1:41am    
Yeah, that's what I think. If the boss won't allow it, he's stupid and a new job is needed.
AspDotNetDev 31-Aug-10 2:14am    
Refactoring is not what is needed. An entire rewrite in a modern language is what is needed. But I've been there with my last job. Managers just don't see the need to upgrade when there are still some developers around to support VB6 and when only small changes are required to keep the old beast up and running (poorly).
Yusuf 31-Aug-10 9:17am    
I'm not sure if I agree with that aspdotnetdev. It all depends on what the application does and how much maintenance it requires. I have worked in many places where utility application written in archaic languages. Since no or very little maintenance is required (like once in a year or two) we decided it is best left alone. On the other hand if frequent or active maintenance is needed then it is time for an upgrade.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900