473,395 Members | 1,791 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,395 software developers and data experts.

Get names and types of modules/forms VB sub, functions and variables

Hi!

Is it possibile to get names and types of functions, subs and variables
included in modules and forms VB code?
The reason - I must to create documentation of application.
I would to automate this process.
So far I've created proedure whitch return the list of all
objects od my DB like forms, modules, reports, tables, views and sps.
And procedure based on regular expr. whitch give me list of all
variables, subs and functions includet in some text.
The problem is that I must to paste this text into editbox, because
I don't have any idea how to get it directly from form's or module's
code ;)

Can anyone help me or say (if) it's IMPOSSIBLE :]

Regards, Leon!
Nov 12 '05 #1
4 2272
Not 100% sure what your syaing, but if you're talking about Access module
objects, then you can access each one by going throught the Modules
collection of the Database object. There are a number of methods(functions)
you can use here or with the individual Module object, that provide a number
of different pcs of information.

Mike Storr
www.veraccess.com

"Leon" <et**@op.pl> wrote in message news:bu**********@news.onet.pl...
Hi!

Is it possibile to get names and types of functions, subs and variables
included in modules and forms VB code?
The reason - I must to create documentation of application.
I would to automate this process.
So far I've created proedure whitch return the list of all
objects od my DB like forms, modules, reports, tables, views and sps.
And procedure based on regular expr. whitch give me list of all
variables, subs and functions includet in some text.
The problem is that I must to paste this text into editbox, because
I don't have any idea how to get it directly from form's or module's
code ;)

Can anyone help me or say (if) it's IMPOSSIBLE :]

Regards, Leon!

Nov 12 '05 #2
Have a look and see if the "Generate XML Documentation" in MZ Tools
(www.mztools.com) fits your requirements.

Terry
"Leon" <et**@op.pl> wrote in message news:bu**********@news.onet.pl...
Hi!

Is it possibile to get names and types of functions, subs and variables
included in modules and forms VB code?
The reason - I must to create documentation of application.
I would to automate this process.
So far I've created proedure whitch return the list of all
objects od my DB like forms, modules, reports, tables, views and sps.
And procedure based on regular expr. whitch give me list of all
variables, subs and functions includet in some text.
The problem is that I must to paste this text into editbox, because
I don't have any idea how to get it directly from form's or module's
code ;)

Can anyone help me or say (if) it's IMPOSSIBLE :]

Regards, Leon!

Nov 12 '05 #3
Any reason why you don't use the built in database documenter?

You should/will play with some of the options, as it will kill a lot tress
in the process. However, you can get some nice listings of all forms, code
modules etc.

The documentor will even list out all your tables, fields and indexes. And,
if you play with the option, that table list is columnar.

Try the options on a small test database until you get some outputs. Then,
fill your printer up with paper, and let it run!
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
No************@msn.com
http://www.attcanada.net/~kallal.msn
Nov 12 '05 #4

Użytkownik "Albert D. Kallal" <pl********************@msn.com> napisał w
wiadomo¶ci news:_U1Nb.82692$JQ1.4276@pd7tw1no...
Any reason why you don't use the built in database documenter?

You should/will play with some of the options, as it will kill a lot tress
in the process. However, you can get some nice listings of all forms, code
modules etc.
I know this solution ;)
Try the options on a small test database until you get some outputs. Then,
fill your printer up with paper, and let it run!


I want to obtain rather editable document :|

But thanx for yours sugestions ;)

Leon! :)
Nov 12 '05 #5

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

Similar topics

9
by: Anon Email | last post by:
Hi people, I'm learning about header files in C++. The following is code from Bartosz Milewski: // Code const int maxStack = 16; class IStack
1
by: Andrew Poulos | last post by:
If I'm writing a sizeable chunk of javascript (1000s of lines) and it includes lots of custom functions, global variables, prototypes etc is there an agreed, customary, conventional, or best...
7
by: Lauren Quantrell | last post by:
At running the risk of asking how big is too big... Is there a rule of thumb or a best practice that says I may have too many modules? I currently have a Access2K app with about 30 code modules,...
46
by: James Harris | last post by:
Before I embark on a new long-term project I'd appreciate your advice on how to split up long names. I would like to keep the standards for command names the same as that for variable names....
66
by: Mike Meyer | last post by:
It seems that the distinction between tuples and lists has slowly been fading away. What we call "tuple unpacking" works fine with lists on either side of the assignment, and iterators on the...
20
by: Shawnk | last post by:
I would like to get the class INSTANCE name (not type name) of an 'object'. I can get the object (l_obj_ref.GetType()) and then get the (l_obj_typ.Name) for the class name. I there any way of...
14
by: Jamey Shuemaker | last post by:
Greetings all, I've been reading for the last couple hours posts on this site and various MS sites about reference libraries and class modules. System: Windows 2K running an A2K db with...
173
by: Zytan | last post by:
I've read the docs on this, but one thing was left unclear. It seems as though a Module does not have to be fully qualified. Is this the case? I have source that apparently shows this. Are...
23
by: mike3 | last post by:
Hi. (posted to both newsgroups since I was not sure of which would be appropriate for this question or how specific to the given language it is. If one of them is inappropriate, just don't send...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.