Solved

vb6: unexpected error(50003) ????

Posted on 2004-09-29
9
1,163 Views
Last Modified: 2012-08-14
hi.........
i have an application written in vb 6, crystal reports 10. it worked well on one pc. I copied it on USB storage drive and then tried to run the source code on my pc. it gave multiple errors..... most of them were of crystal reports.... and lastly an error " unexpected error (50003)"
and when i try again to run the source code only this error is displayed. after this the run mode is terminated.

waiting for help.
0
Comment
Question by:khankejan
9 Comments
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12180804
Do you have Crystal report files installed (registered) on your PC?
0
 
LVL 32

Expert Comment

by:Erick37
ID: 12180856
You cannot simply run the executable on any computer.  VB programs need a whole bunch of support files which need to be installed properly on the target machine.  

You can use a tool like the Package and Deployment Wizard to create a Setup program which will install all of the files your program needs to run.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12180906
Which edition of CR10.  You need at least the developer edition to do what you want.

Look at

http://support.businessobjects.com/communityCS/TechnicalPapers/rdc10_deployment.pdf.asp

mlmcc
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:khankejan
ID: 12181316
friends..... let me make it clear..... I am not running the exe file.  Its the source code that i try to run. i have installed visual studio. and i am trying to execute the source code using vb6 on my PC.
Second.... the reports were created in CR 8.0 and then upgraded to CR10. But i have CR8.5 on my PC. I will try to install CR10 on my system as well. But i dont think it s the real cause.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 12185683
CR 8.5 cannot read CR10 reports so if you upgraded them you will need to install CR10.

Also if the code was copied from the other PC and was working with CR10, the references will need to be changed to reflect CR8.5 before it will run.

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12559805
Installing CR10 probably solved the problem.   As my comment stated CR8.5 cannot read CR10 reports.

mlmcc
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now