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

VB6 Runtime Error 5 Invalid Procedure Problem

Hello,
I'm currently maintaining a system software right now (done with visual basic 6.0) that runs on windows 98 flatform before. Time came when we upgraded to win2003 and accessed the server through terminal services. Right now an error always appears in certain process and it says "Runtime error 5, Invalid procedure" something like that. The process edits/saves data to access database. And also the program automatically launches foxit software to view corressponding pdf files of a certain record. I found it hard to trace the main reason why the error appear. I once encountered this error during debug mode when the program executes setfocus event of a certain control in the form. My primary suspect right now is that but I've already made some changes and still the error appears.
Hope someone can give me idea in solving these problem.

Thanks a lot!

Chito
Nov 16 '07 #1
2 3123
VijaySofist
107 100+
If you mean, you are copying the project to a new system
I think this will fix your problem

1. Go to Project References in your project.
2. Click the selected references and note down the path.
3. Open the Windows explorer and Copy those files you have noted in that path and paste it in your new system.
4. Do the same procedure for the Project Conponents in your project.
5. Now Copy the Project from your old system to new system and run the project.


All the Best

Regards
Vijay
Nov 16 '07 #2
Hmmmm... thanks for that Vijay. I'll try what you've said. But I've already created a setup program for that and as far as I know dlls and other components used by the program will be automatically updated on the new flatform. Well, as I said, I'd still give it a try.

Thanks a lot!

Chito
Nov 17 '07 #3

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

Similar topics

9
by: Raquel | last post by:
Following is a simple trigger definition: CREATE TRIGGER TRIG_EMPLOYEE_1 AFTER UPDATE OF SALARY ON DB2ADMIN.EMPLOYEE FOR EACH STATEMENT MODE DB2SQL CALL DB2ADMIN.SQLSP10( ) This gives an...
5
by: PeteCresswell | last post by:
----------------------------------------------------------------- Sub Sheesh() Dim myYears As Double Dim myRawCumulative As Double Dim myAnnualizedROR As Double ...
13
by: Thelma Lubkin | last post by:
I use code extensively; I probably overuse it. But I've been using error trapping very sparingly, and now I've been trapped by that. A form that works for me on the system I'm using, apparently...
19
by: sara | last post by:
I am trying to identify if a information in a details field (damagedetails; soildetails) has NOT been entered if the presence of damage or soil has been determined (check boxes: chkDamage and...
1
by: Bob | last post by:
I installed the Flight Simulator 2004 and now I get the following error from Visual Basic -Runtime error "5" - invalid procedure or argument. This occurs using office 2000, works and when I shut...
3
by: John J. Hughes II | last post by:
I have a SqlDataAdapter.Fill filling a standard dataset and my code is returning the below error. The "Error Loading data" is just a message my code displays. "Error:" is the Exception.Message...
1
by: janakivenk | last post by:
Hello, I am running Oracle 10g R2 in our office. I created the following procedure. It is suppose to access an xml file ( family.xml). The procedure is compiled and when I try to run it, i get the...
0
by: janakivenk | last post by:
Hello, I am running Oracle 10g R2 in our office. I created the following procedure. It is suppose to access an xml file ( family.xml). The procedure is compiled and when I try to run it, i get the...
4
by: barmatt80 | last post by:
I am stumped on the error reporting with sql server. I was told i need to return @SQLCode(code showing if successful or not) and @ErrMsg(and the message returned). I am clueless on this. I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.