• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

ODBC error while running the exe.

Hello,
   I have a problem.i have developed an application using vb5.0 and db2 and ms access as database.iam accesing both the databases for the records.i created a setup program and i installed in the remote system it worked fine.but i installed visual studio 6.0 to install visual interdev i think it asked to replace all the old version dll'S with new version i said yes.
  Here again i created a setup program of visual basic application.i was able to create successfully.but when i installed at the remote system its giving odbc32.dll vesion mismatch odbcint.dll resource is different from driver manager  and so on.its giving a message reinstall odbc32.dll for proper work of the application.i don't know how to install and how to make the application work.please someone help me out from this problem.

Raghavendra Tantri
0
ragtan
Asked:
ragtan
1 Solution
 
jdunckCommented:
You have installed an incomplete fileset for ODBC.  Your dependency files for ODBC32.DLL are probably out of date.  Try downloading and installing the latest version of ODBC from MS.

 -JDunck
0
 
CatiCommented:
Raghavendra Tantri the solution is not far away it is just
a few minutes work
step1
*****
copy the file odbc32.dll(the missing file) to the windows system directory ("c:\windows\system" or "c:\winnt\system32\" in the case win95  and winnt respectivlye) .Any other directory can be used but it is good practise to have dll's  in the system directory
step2
****
now you have to register the dll.Hope you would know it but still to give a complete answer here it is
go to windows start menu
click run and type the following
"c:\windows\regsvr32.exe" "c:\windows\system\odbc32.dll"
in case of winnt it may be
"c:\winnt\system32\regsvr32.exe" "c:\winnt\system32\odbc32.dll"

the path in the firts section of quotes says the path where the regsvr32.exe exists and the path in the next seciton says where the dll you want to register exists
In case you have any problems keep me informed
0
 
ragtanAuthor Commented:
Thanx cati for giving an excellent solution to solve my problem.Once again thank you very much.

Now I have another problem could you solve that problem.i had posted in the question form.

Raghavendra tantri.

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now