|
|
#1 |
|
New Member
Join Date: Oct 05
Posts: 15
![]() |
Hi all
I have this project that im doing and some of the code is from another real earlyer version and im trying to clean it up a bit or alot. Here is the code im working on. VB Code:
im just new to this site sorry for not reading before i posted!!! I now it looks messey but any help is appreciated Ed |
|
|
|
|
|
#2 |
|
PowerPoster
Join Date: Mar 04
Location: New Amsterdam
Posts: 20,367
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: VB6 code cleanup #2
What exactly would expect from "clean-up" ? Those are variable and/or array declarations and each of them is most likely to be used in your project somehow. If you really want to "clean-up" then you might need to revise your project completely and hopefully (for you) you'll find some logic to be redundant so you would egt rid of it wich may result in "deleting" some of your vars/arrays...
__________________
Microsoft MVP - Visual Basic 2006-2010 Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database . Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent . The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array Visual Basic 6.0 On-Line Documentation . Connection Strings |
|
|
|
|
|
#3 |
|
Banned
Join Date: Jun 04
Location: Center of it all
Posts: 17,901
![]() ![]() ![]() ![]() ![]() ![]() |
Re: VB6 code cleanup #2
If you download MZTools, it will tell you which variables are not used in your app, and which statements aren't called. It could be very useful to someone doing what you are doing. I use it all the time.
|
|
|
|
|
|
#4 |
|
Super Moderator
Join Date: Jan 05
Location: Sunny Adelaide
Posts: 12,532
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: [RESOLVED] VB6 code cleanup #2
Instead of posting the same thread again, you can edit your post using the little Edit button at the bottom right corner
![]() http://www.vbforums.com/showthread.php?t=363410 |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|