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
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
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

762 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