Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 18th, 2008, 10:35 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Since you cannot debug the program by running it in the VB IDE, perhaps you could add the ability to write to a log file, and in the area where the problem is occurring, log everything the program does.

That way, you can go back to the code and at least figure out the line that is raising the error.

Once you’ve done that, yo can remove most of the logging that you had put in, and add intensive information gathering right around that statement, to get a better idea on any environmental/contextual issues that might be causing trouble.

Or at least you would be able to post here the problematic area of code.
 
Old March 21st, 2008, 09:48 AM
Authorized User
 
Join Date: Mar 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Gonzalo,
Sorry about the long delay in replying; I had to take a couple of days out.
I program is using VisData (from VB6)but I am now trying to solve by writing a second Database in M/S Access. If this has no effect I shall rewrite the program frame by frame and try to isolate the fault that way.Very many thanks for taking an interest in my tales of woe, it is very much appreciated.

My thanks also to Woodie and Brain Wren, the replies gave me lots different ideas to work on.
UKBrad

A R Bradley
 
Old March 21st, 2008, 10:19 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It shouldln't be too hard to search the registry on a machine where the applicaton DOES work for the class id that is being displayed. Using the information you get that way will tell you a great deal about what needs to be fixed.


Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
My blog... please visit





Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the error message for a 500 server error? chobo2 C# 2005 1 May 4th, 2008 03:11 AM
Where does the error message go? Wei Wang BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 March 13th, 2006 02:03 PM
Error Message alannoble26 Excel VBA 4 November 25th, 2005 11:20 AM
error message. Tasha Access VBA 2 August 11th, 2004 11:07 PM
Help with Error message mariakovacs Classic ASP Databases 3 October 10th, 2003 03:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.