legacy

What is procErr: used for in Visual Basic?

I'm currently maintaining a legacy Visual Basic project that has these "procErr:" statements all over the place. My guess is, that they are used as a way to handle if any error occurred while executing the function, is this correct? I've converted the project to VB.NET. Would a better way not be, instead of using this procErr syntax, to...

Tips for testing data intensive legacy application

I'm working on a very large, data-intensive legacy application. Both the code base & database are massive in scale. A great deal of the business logic is spread across all of the tiers including in stored procedures. Does anybody have any suggestions on how to begin applying "unit" tests (technically integration tests because they n...

Will "Working Effectively with Legacy Code" help someone working with an app ported from VB6 to VB.NET?

I would like to refactor a large legacy application originally written in VB6 and subsequently ported to .NET. In order to do this with confidence, I want to have unit tests around the existing code so I can compare before and after. What's the easiest and most effective way of doing this? There's a book called "Working Effectively wi...

Getting Access to Products No Longer Available From Microsoft

As a consequence of a legal settlement with Sun regarding the Java technology, Microsoft has removed certain products from being available directly from them through any means. Here is an excerpt from their MSDN site: http://msdn.microsoft.com/en-gb/subscriptions/aa948864.aspx Products Unavailable due to Java-related Settlement ...

ConstantScoreRangeQuery in Lucene

How is Lucene's ConstantScoreRangeQuery better than the old RangeQuery? In what case should you use still use RangeQuery? ...

Using PVCS for DOS (Intersolv version) on Win'XP

Is anybody (for whatever reason) successfully using old PVCS ver.5.1.1 for DOS (by Intersolv) on Win'XP system? I'm having the following problem: Either immediately or after several successfully operations we get an error message "license notification: not configured to access network files". After this happens all subsequent attempt...

How do I Open a Stored Procedure and Edit it in SQL*Plus

I need to make some changes to an old Oracle stored procedure on an obsolete box that is being kept around to run an old legacy process. The only tool I can connect to the db with is SQL*Plus. How do I load a stored proc into memory for editing in SQL*Plus? The tutorials I've found on-line don't exlain how that's done. :-( ...

How can we work with VB6 dll called from a multithreaded c# windows service application?

I'm running a multithreaded windows service that need to call a VB6 dll. There's no documentation about this VB6 dll and this legacy system supports a very critical business process. At first time (1º thread), this dll performs well. As other threads need access, it start provide wrong results. I read one guys saying: "Just be careful...

Questions about a possible replacement of batch files on a Windows application?

I've got a big Windows legacy application composed by many executables interacting with a database. Executables have 4 main purposes: (a) parsing and loading a file on a database (b) transform a file (e.g. encode a file.) Tthis may as well split a file in many parts. (c) perform some sort of complex updates in the database (d) produc...

How to override activerecord's default attribute column associations?

I'm working on a legacy database that is complete non-sense. I have a table called movie that contains columns with names like c00, c01, c02 and so on. The table also uses non-standard primary_keys. So I've created a class called movie like this: class Movie < ActiveRecord::Base set_table_name "movie" set_primary_key "idMovie" ...

ActiveRecord Join table for legacy Database

I have a legacy database that I'm working on getting ActiveRecord to work with. I've run into a problem with join tables. I have the following: class TvShow < ActiveRecord::Base set_table_name "tvshow" set_primary_key "idShow" end class Episode < ActiveRecord::Base set_table_name "episode" set_primary_key "idEpisode" end ...

Is there still a good reason to support JDK 1.4?

I'm looking at putting together an opensource project in Java and am heavily debating not supporting JDKs 1.4 and older. The framework could definitely be written using older Java patterns and idioms, but would really benefit from features from the more mature 1.5+ releases, like generics and annotations. So really what I want to know i...

How can I manage Perl module dependencies?

I'm currently in a project which develops using a framework developed by another department as the base. We are currently introducing quality standards (at last, yay!) in our department, but it's currently impossible to introduce those to the other department. As a consequence, we are working against a constant moving target without eith...

adding adorners to legacy textboxes

Whats the best way to add an adornment layer to legacy controls, or in other words you know jetbrains refactoring tools, how do they draw the squiggly lines under incorrect text? Also on another note can one draw said adorments on controls not under the direct reference of the application, ie using a handle? If you have insights, or jus...

Manugistics/Avyx Forest and Trees scheduling utilities

In 1994, someone wrote a scheduling package for NASA utilizing a scheduling package of software that defined forests and trees. I have the complete source of the package except for the one library. No where in the include files is there any indication of who wrote it, but I have reason to believe that it was Manugistics. Can anybody p...

Legacy code, legacy tools - what to do?

Hi, I have a bit old project that I would call legacy. Some characteristics of it are: It is a working product (for about 3 years) and is under continuous development. Code-base is pretty large and includes (CS, SQL, ASPX, Jayrock, JS/HTML/CSS etc) Platform is .NET 1.1. IDE is Borland C# Builder 2006 (what a ...). Other tool is Enter...

Stategies for Rebuilding Legacy Applications

I have a new assignment coming up shortly where I have re-architect some legacy COM applications in .Net WPF. If possible I need to re-use functionality or existiing code however I suspect the scope for this is limited. I need to replicate existing functionality but need to achieve it using a modern and extensible architecture. Does a...

Django and weird legacy database tables

Hi, I'm trying to integrate a legacy database in Django. I'm running into problems with some weird tables that result from horribly bad database design, but I'm not free to change it. The problem is that there are tables that dont have a primarykey ID, but a product ID and, here comes the problem, a lot of them are multiple in case of...

Help me explain the benefits of XML and other markup languages

I am trying to convince some senior people at my company of the advantages of transmitting data in a structured format between two of our systems. Currently one system outputs flat text files and complicated parsers have to be written to extract the data on the other side. Every time the data is changed, the 'positions' have to be adjus...

Are there any tools to migrate the interface from legacy GTK applications to a modern GTK Builder based application

I'm responsible for a number of legacy C based GTK applications which are starting to show their age. I'm toying with the idea of re-implementing some of them in a more modern framework. Are there any tools which can help migrate a hand-built C based GTK interface into a GTK Builder based XML interface description? My aim would be to sep...