Solved

Runtime Error 20532

Posted on 2000-03-24
11
1,181 Views
Last Modified: 2012-08-14
I'm trying to trouble-shoot an old visual basic program that was written for a small company in my area.
the problem is that the guy that origionally wrote this program has passed on and didn't give the source code for the program.
I've installed the program and have gotten it running except that I get a runtime error 20532 whenever I try to print anything.
I had talked to the fellow about 6 months ago (2 months before he passed away) and he had mentioned something about registering a database within windows manually but couldn't remember how.

The exact error is
Run-time error "20532"
Missing database DLL

appreciate any help,

0
Comment
Question by:cheryldon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 28

Expert Comment

by:Ark
ID: 2656080
Try
regsvr32 yourdbdll.dll
0
 

Expert Comment

by:jsteve
ID: 2656135
Search through the code for the number "20532". It is probably a user defined error
0
 

Expert Comment

by:sljbaqga
ID: 2656162
if you could put the code which gives troble here,that'll be easier to find the prob.

if the program was written in a vb version before vb5 then it probably mean some thing very different from what we use to think.

if it's possible to access the DB, then it should not give any prob while printing.
try to see which line of code exactly fails in debug mode

regards
Prasad
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 2656341
Hey guys, reread the question:
.... and didn't give the source code for the ... (wink)

The question you can ask is:
What type of database is it?

I think you have to get the guy on the phone again for the database dll, but i agree that this should not be the source of your printing problem.
I think (again???) that the application may expect a specific printer (driver/name/...) that is not present, or somethink similar. Again, the only thing I see is to recontact the guy.

Good luck
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2656586
sljbaqga,

If your response contains:

  "How about..."
  "If you..."
  "What about..."

Don't post it as an ANSWER... Post as a COMMENT.
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2656599
I believe Ark may have your solution.

Cheers!®©
0
 
LVL 1

Author Comment

by:cheryldon
ID: 2657353
The person in question is Dead now.
It might be looking for a specific printer, I'd like some more info.

thanks
0
 
LVL 1

Author Comment

by:cheryldon
ID: 2657598
Adjusted points from 500 to 600
0
 
LVL 4

Accepted Solution

by:
wylliker earned 600 total points
ID: 2657628
There is no easy way to figure out what is missing.
A couple of things to try to troubleshoot ...

1 - Is there a complete running version of this application on any PC anywhere at that small company?

If there is, you might be able to identify DLL files on that machine that are dated around the same time frame as the EXE and possibly one of those might be the missing link.

If there is no running version, is it possible that the company may have some old backup disks/tapes that might be restored to a PC that could have a running version?


2 - What is it that is going to be printed - e.g. an invoice, a report - in other words is it something that is likely to be generated from a set of records?

3 - Since you have the program running and it is capable (I hope) of adding or updating information - can you identify the file the information is stored in? It's name and extension?

This might give a clue as to the database - and let's hope it isn't a proprietary concoction of the deceased developer.

Printing generally doesn't have anything to do with a database per se, unless there is an older version of Crystal Reports or some other Report Generator tool that was being used as part of the application?

4- Which brings the bigger question - what version of VB?  And approximately when was the Application created?

5- Is it a true executable or is it a P-Code executable?

Other experts help here - if it were a p-code exe could the exe be dumped using a hex viewer to provide any clues, i.e. embedded strings, etc.

6 - Are there any old docs, a specification, a quote, or better yet an itemized invoice for that developers services and software that he provided?
Anything.  Old e-mails, letters, a proposal.

7 - How good are the memories of the people at the company about any meetings or conversations about the application at the time it was being developed?


In reality, it may end up easier to recreate the application from scratch.  However, you never know, you could get lucky from some of this detective work.




0
 
LVL 1

Author Comment

by:cheryldon
ID: 2659535
I ran debug on the program and the dll that seems to be missing is pdbxbse.dll
I did a search of the net and it seems this guy mixed up vb3 and dbase when writing this prog.
I'm gonna try angelIII 's idea about getting ahold of the old 'puter tommorrow (mon).
pleae email me that app that you're talking about.

Gettin closer.....
thanks for the help....
0
 
LVL 1

Author Comment

by:cheryldon
ID: 2790838
Sorry it took so long to get back and
award the points, it turns out that the guy had installed some old crystal printer drivers in the system that were not on his installation disks.....
Thanks for the help.....
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question