Encountering errors like Type '13' mismatch, Run Time Error "6" Overflow , Run Time Error "5"

Posted on 2005-03-16
Medium Priority
Last Modified: 2013-12-25
Good Day for all the experts and people associated .

I have an VB application, Access Database. I have installed that exe file and running.
Now when I access that exe file from Networking it is showing Type '13' mismatch and application terminates.

2.When I access a certain element it is showing Run Time Error '5' - Invalid procedure call or argument.

3. One more error is Runtime Error '6' Overflow.

This is a chemical compounds database used for safety modelling purpose.
Basically Iam Chemical Enggr very latent and novice in computer knowledge.
Question by:v_shiva
  • 3
LVL 53

Accepted Solution

Dhaest earned 500 total points
ID: 13562682
Can you post the code where the error's occur ?

Runtime error 6: overflow. Probably you'll have a variable declared as integer (but it can hold a value with a max of 32768). Try declaring it like an float or double

Runtime 13: is it on your development pc or at another pc ? If it's on another pc, try reinstalling mdac
(it's alo possible that you didn't declare your variable. In each form, start with Option Explicit)

Runtime 5: the error usually indicates that you are calling a function with a INVALID argument, such as using the Mis$() function, and starting at Character 0 of the string (you MUST start at CHaracter 1 or greater).


Author Comment

ID: 13566776
Thank u Dhaest

Definitely I will try ur comment  and check, asu know I am just gaining knowledge like this.. anyhow thank u.

shiva prasad

Expert Comment

ID: 13570912
Does it run fine when u are on the machine it is installed on without accessing over network.
Is the path the database defined correctly? If not path could pointing at current path and app.path or mdb path.

Hello fellow Chemical engineer.

Author Comment

ID: 13571777
Yes the path for database is defined correctly sir


Author Comment

ID: 13848558
Hello   & Thank u Dhaest

I really worked on this application since last few months. Now it is working fine.There were few problems in our application when it was developed, but now they have corrected and with your valuable advice & suggestion its is good and working.
Thanks a lot.
Keep in touch
shiva viswanatha

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

616 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