By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
463,166 Members | 618 Online
Bytes IT Community
Submit an Article
Got Smarts?
Share your bits of IT knowledge by writing an article on Bytes.

What your program is doing / line by line / you can know

P: 109
Years ago I asked what my code was doing while it was running.

Smooth running or crashing or locking up. What did it do?

Am I sending data and values correctly?

Are my calculations actually working as I want them to work?

Are my returned values what I want them to be?

When I type this or that and then run the program, what is happening? Line by line, what is happening?

OK. So years ago, in VB6 (sp5, not sp6) I wrote a report process that I can incorporate into my VB6 code. It is not a simple error reporter. It is not a simple warning system. It is a full report.

It reports in rtf format. rtf is Rich Text Format which in Microsoft Windows is Unicode. Therefore if I want to see any character in any of it's Unicode capacity to output, I can put that into the report.

Here is an example of a full report that I think I was getting while writing a VB6 sp5 program that subclassed Firefox and controlled Firefox's individual tabs one at a time separate from all of the rest of the Firefox tabs.

Look at it. Get some ideas for yourself.

You are NOT limited to compiler responses. You can go far beyond that. did not allow the Report_Example.rtf to be uploaded because it has the ".rtf" extension, so I opened up the report in Word Pad and then saved it as a .txt file. You can open the .txt file in Note Pad and see the Rich Text Formatting. Word Pad and Note Pad are both available as 32 bit Microsoft programs, but Word Pad is much faster to edit in and can more easily handle very large files. If you want the report in rtf format then open up the .txt file with Word Pad and save it as a .rtf file.

Attached Files
File Type: txt Report_Example.txt (94.8 KB, 31 views)
4 Weeks Ago #1
Share this Article
Share on Google+

Post your comment

Sign in to post your comment or Sign up for a free account.