Advertisement

02.09.2005 at 04:24PM PST, ID: 21308883
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

VB6 tools for "creating" application structure documentation... and more

Asked by jacobhoover in Miscellaneous Programming

Tags: , ,

Gahhhhhhhh!!! Every programmer hates this...

Ok,
  I have a question which is more in theory/concept than a concrete question.  Basically I have been handed 6 VB6 applications that have NO documentation, NO comments, and the origional developer(s) is(are) either long gone or long since forgotten.  The code is terrible in both structure and design.  
  These applications currently use DAO and an Access 97 database to store their data.  The issue is these applications were from a recently purchased company and now we have been mandated to get their data to integrate with our data.  (Were both manufacturing company's of similar products.)  Currently all of our engineering data is stored in an Oracle 9i enterprise server and we have several applications (VB6, C++, ASP, ASP.Net, Python/Zope) which interact with the data.
  I have been tasked with the "conversion" of these applications from using Access as a database to using Oracle.  While most of the applications were initially started by a part time programmer (whom I'd like to kick, but that's anoither story) the last one I am looking at now was written entirely by an engineer in the "cobbel feature, test, deploy" development cycle, for lack of a better term.  As you can imagine after 6 years of continous cobbeling there is no clear program flow or structure.
  I regret to say it but there are well over a hundred global variables which "control" how the application runs.  Above and beyond that, he always implictly used forms (IE he never declared a form on his own, just let VB do it [Grrrrrrr]).

  Givin this situation, I want to attempt to inject some resembelence of OOP into the application in regards to the database access.  For the previous apps, I wrote 2 custom classes for the database: a singleton connection class and a "recordset" class which mimiced several of the features of DAO.  I would love to (and seriously hate the engineer [who is now my boss]) rewrite the application, but I only have 3 weeks before I MUST have all these applications ready to deploy.  None of this would of been that bad untill I walked into the verification and testing phase of this application, in which I was informed I was givin the wrong source, as it was 2 years out of date.

  **********

  Ok, that's my situation and I am wondering:
  A) Is there any software that can take a VB6 spaghetti code application and give me a visual representation of the "workflows" and data (IE who is really using those global variabels. (Hopeing for a trial version that I could use, as I am sure there would be no way I could get the $$ to get it before the deadline.)
  B) Is there any way to prevent VB6 from allowing implied decleration of forms? (Option Explicit dosen't do it.)
  C) Do you know of any other tools which would help in defining the code (Also looking for dead code, as I KNOW there is some that exists.)
  D) Anyone else have a story to share and how they addressed it short of a ugly bandaid or a complete rewrite?Start Free Trial
 
Loading Advertisement...
 
[+][-]02.09.2005 at 07:04PM PST, ID: 13271784

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Miscellaneous Programming
Tags: vb6, tools, application
Sign Up Now!
Solution Provided By: emoreau
Participating Experts: 1
Solution Grade: B
 
 
[+][-]02.10.2005 at 01:39PM PST, ID: 13280464

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.14.2005 at 03:12PM PST, ID: 13309356

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.21.2005 at 11:58AM PST, ID: 13365992

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32