473,406 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

VB utilities??

Don


The compamy that I was doing software development went bust in early
2001 and I've only occasionally been messin' arround with programming
since.

On one of my attempts to get into VB.Net I think I saw a free add-in
that did a "sort-of" stack trace of all your code. It went threw all
the code modules and built a heirarchy of what procedure called what
others. It also found dead procs. It was like that Aivosto add-in for
VB5 & 6.

Am I making sense? Does anyone have a clue abouy waht I'm talking
about?

Any help will be appreciated.

Don
Mar 17 '06 #1
8 1326
Don,

I think it does not make sense. Partially your code is done from the stack,
however a much more major part is done from the objects, which are instanced
and released all the times. Some thousands time in a nanosecond.

Just my two worthless Dutch cents.

Cor

"Don" <don81846@NO_CaCa.Earthlink.net> schreef in bericht
news:nd********************************@4ax.com...


The compamy that I was doing software development went bust in early
2001 and I've only occasionally been messin' arround with programming
since.

On one of my attempts to get into VB.Net I think I saw a free add-in
that did a "sort-of" stack trace of all your code. It went threw all
the code modules and built a heirarchy of what procedure called what
others. It also found dead procs. It was like that Aivosto add-in for
VB5 & 6.

Am I making sense? Does anyone have a clue abouy waht I'm talking
about?

Any help will be appreciated.

Don

Mar 18 '06 #2
Aren't they Euro Cents these days?

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Don,

I think it does not make sense. Partially your code is done from the
stack, however a much more major part is done from the objects, which are
instanced and released all the times. Some thousands time in a nanosecond.

Just my two worthless Dutch cents.

Cor

"Don" <don81846@NO_CaCa.Earthlink.net> schreef in bericht
news:nd********************************@4ax.com...


The compamy that I was doing software development went bust in early
2001 and I've only occasionally been messin' arround with programming
since.

On one of my attempts to get into VB.Net I think I saw a free add-in
that did a "sort-of" stack trace of all your code. It went threw all
the code modules and built a heirarchy of what procedure called what
others. It also found dead procs. It was like that Aivosto add-in for
VB5 & 6.

Am I making sense? Does anyone have a clue abouy waht I'm talking
about?

Any help will be appreciated.

Don


Mar 18 '06 #3
Martin,
Aren't they Euro Cents these days?

No those old ones have still the name Dutch cents, but as I wrote they are
worthless.

:-)

Cor
Mar 18 '06 #4
Don

Hi Cor,

Yes, I understand how the "actual" call stack works. What I'm talking
about is an add-in that builds a hierarchical list of procedure calls.
It's for a number of purposes, 1. to find dead procedures that are
never called. 2. to illustrate how the application is designed. It's a
bit like the idea of a flowchart. I know that a flowchart can not
anticipate how an event driven app will actually run though.

The Aivosto add-in that I mentioned had this function (among many
others). I found it quite helpful in understanding how someone else's
software works.

http://www.aivosto.com/

Thank you for your help,

Don

On Sat, 18 Mar 2006 08:31:08 +0100, "Cor Ligthert [MVP]"
<no************@planet.nl> wrote:
Don,

I think it does not make sense. Partially your code is done from the stack,
however a much more major part is done from the objects, which are instanced
and released all the times. Some thousands time in a nanosecond.

Just my two worthless Dutch cents.

Cor

"Don" <don81846@NO_CaCa.Earthlink.net> schreef in bericht
news:nd********************************@4ax.com.. .


The compamy that I was doing software development went bust in early
2001 and I've only occasionally been messin' arround with programming
since.

On one of my attempts to get into VB.Net I think I saw a free add-in
that did a "sort-of" stack trace of all your code. It went threw all
the code modules and built a heirarchy of what procedure called what
others. It also found dead procs. It was like that Aivosto add-in for
VB5 & 6.

Am I making sense? Does anyone have a clue abouy waht I'm talking
about?

Any help will be appreciated.

Don

Mar 18 '06 #5
Don,

From your message I understand that you know how the stacks work. However
what do you do with all the objects. Those are not in the stack and have a
lot of hidden codes.

By the way, the program you are talking about are in my idea already there.

Have a look at google for "profiler Net"

I hope this gives an idea

Cor

"Don" <don81846@NO_CaCa.Earthlink.net> schreef in bericht
news:i7********************************@4ax.com...

Hi Cor,

Yes, I understand how the "actual" call stack works. What I'm talking
about is an add-in that builds a hierarchical list of procedure calls.
It's for a number of purposes, 1. to find dead procedures that are
never called. 2. to illustrate how the application is designed. It's a
bit like the idea of a flowchart. I know that a flowchart can not
anticipate how an event driven app will actually run though.

The Aivosto add-in that I mentioned had this function (among many
others). I found it quite helpful in understanding how someone else's
software works.

http://www.aivosto.com/

Thank you for your help,

Don

On Sat, 18 Mar 2006 08:31:08 +0100, "Cor Ligthert [MVP]"
<no************@planet.nl> wrote:
Don,

I think it does not make sense. Partially your code is done from the
stack,
however a much more major part is done from the objects, which are
instanced
and released all the times. Some thousands time in a nanosecond.

Just my two worthless Dutch cents.

Cor

"Don" <don81846@NO_CaCa.Earthlink.net> schreef in bericht
news:nd********************************@4ax.com. ..


The compamy that I was doing software development went bust in early
2001 and I've only occasionally been messin' arround with programming
since.

On one of my attempts to get into VB.Net I think I saw a free add-in
that did a "sort-of" stack trace of all your code. It went threw all
the code modules and built a heirarchy of what procedure called what
others. It also found dead procs. It was like that Aivosto add-in for
VB5 & 6.

Am I making sense? Does anyone have a clue abouy waht I'm talking
about?

Any help will be appreciated.

Don

Mar 19 '06 #6
Don
Hello Cor,

I'm sorry, I should not have used the word "stack". What I was trying
to say, but did not do a very good job of, was something like below.

Thank you,
Don

Sub Main
Sub3
End Sub

Sub Sub2
Sub4
End Sub

Sub Sub3
Sub2
End Sub

Sub Sub4
'--Do Something
End Sub

Function Func1
Sub2
End Function

Function Func2
'--Do Something else
End Function

* * * OUTPUT * * *
Main
----Sub3
--------Sub2
------------Sub4

Func1
----Sub2

DEAD PROCEDURES

Function Func2

DECLARED but UNUSED VARIABLES

mstrDbPath As String, Declared in Sub3
mintParent As Intege, Declared in Func7

On Sun, 19 Mar 2006 07:39:30 +0100, "Cor Ligthert [MVP]"
<no************@planet.nl> wrote:
Don,

From your message I understand that you know how the stacks work. However
what do you do with all the objects. Those are not in the stack and have a
lot of hidden codes.

By the way, the program you are talking about are in my idea already there.

Have a look at google for "profiler Net"

I hope this gives an idea

Cor

Mar 19 '06 #7
Don,

I understood that, however what as it is this

Sub1

dim a as classA
a.methoda
all other methods of objecta are not used.
in a.methoda
dim b as classB
b.methodb
all other methods of methodb are not used.

etc.

End sub

The way you show it is not the way as it is done in VBNet anymore. That is
the main difference between VB<7 and dotnet VB.

Cor

"Don" <don81846@NO_CaCa.Earthlink.net> schreef in bericht
news:hh********************************@4ax.com...
Hello Cor,

I'm sorry, I should not have used the word "stack". What I was trying
to say, but did not do a very good job of, was something like below.

Thank you,
Don

Sub Main
Sub3
End Sub

Sub Sub2
Sub4
End Sub

Sub Sub3
Sub2
End Sub

Sub Sub4
'--Do Something
End Sub

Function Func1
Sub2
End Function

Function Func2
'--Do Something else
End Function

* * * OUTPUT * * *
Main
----Sub3
--------Sub2
------------Sub4

Func1
----Sub2

DEAD PROCEDURES

Function Func2

DECLARED but UNUSED VARIABLES

mstrDbPath As String, Declared in Sub3
mintParent As Intege, Declared in Func7

On Sun, 19 Mar 2006 07:39:30 +0100, "Cor Ligthert [MVP]"
<no************@planet.nl> wrote:
Don,

From your message I understand that you know how the stacks work. However
what do you do with all the objects. Those are not in the stack and have a
lot of hidden codes.

By the way, the program you are talking about are in my idea already
there.

Have a look at google for "profiler Net"

I hope this gives an idea

Cor

Mar 19 '06 #8
> DEAD PROCEDURES

Function Func2

DECLARED but UNUSED VARIABLES

mstrDbPath As String, Declared in Sub3
mintParent As Intege, Declared in Func7


You can use MZ-Tools add-in (http://www.mztools.com/) to review dead
code. It does exactly what you described above.

In addition, it doesn't show method call "stack" but it has similar very
useful function "Find Method Callers".

--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code
Mar 19 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Miki Tebeka | last post by:
Hello All, I'd like to create several utilities with py2exe and place them all in the same directory. However for each utility py2exe creates a different library.zip. Any ideas on how to...
9
by: Bura Tino | last post by:
Hi, Coming back from java to c++. I wondering if there's a standard set of utilities for c++ like there is for java. In particular, I'm looking for a way to read from a URL, to send an EMail,...
0
by: Prem K Mehrotra | last post by:
I am using db2 version 6 on zos. I am trying to runutility using utilities menu option in spufi. After specifying information on the screen: DB2 UTILITIES "DOWN " is not acti ==> ...
1
by: Mike Labosh | last post by:
I know there are lots of these out there, but I'm looking for two source code utilities: 1. Something that can sift through source code and dead code, unused variables, analyze inheritance,...
2
by: Noticedtrends | last post by:
Are there search-engine utilities that allow searches of content only contained in titles (as opposed to regular searches that search through all content)? Would any of these search-engine...
1
by: Noticedtrends | last post by:
Hello, I'm seeking search-engine utilities that allow searches of content only contained in titles (as opposed to regular searches that search through all content)? The tools provided in...
7
by: dad | last post by:
REQ: any utilities for designing front-ends for databases
1
by: satish mullapudi | last post by:
Hi everyone, I am using DB2 v8.2. I am able to use the Data Movement Utilities (IMPORT/EXPORT/LOAD) from the db2 CLP. But now I got a scenario, where I need to call these utilities from within a...
1
by: Justin | last post by:
I am restoring a database (approximately 1 Terabyte). After the restore started, I noticed that the "list utilities" completed work was not being updated. I checked the location of the restore...
4
by: Don Quijote de Nicaragua | last post by:
Hi, I have a problem trying to load a page, sends me the following error message: Error Message: BC30451: Name 'Utilities' is not declared. Line 50: </ DIV> Line 51: <div id="side"> Line 52:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.