Question:
my software developed in VB 6.0 not running in other computer. (MS Access Database.) Please help.?
b&d¥n
2009-12-27 05:41:34 UTC
data connection in vb 6.0, ms access data connection in vb6.0, database connectivity in vb 6.0, database connection in vb 6.0
Six answers:
MichaelInScarborough
2009-12-27 06:37:35 UTC
There are two things:

you can download a runtime environment for the different versions of ms office from microsoft. So in case the target computer does not have the version of i.e. ms access you are using to deploy your software, the runtime environment will do.

Beside versioning problemsthere is also the problem that you may use controls, something external to the ms access environment you are using. These controls usually need to be registered on the target machine. In case you have many controls, you also will have many steps to register all the controls for your software to work as intended. These kind of functions are usually handled by a setup program.

for visual office 2007 the easy to use setup program generator is included. Besides following links i might provide, check first microsoft msn regards ms access setup program. Though i rarely used it, with ms office 2000 developer a cd is coming called Micosoft office 2000 developer Tools (version 1.5) I think on this cd ms bundled everything you need to deploy a ms access application.



This link promises to build a setup program (i am not sure, whether it really is ms access) with a few mouse clicks)

http://visualsetup.software.informer.com/4.0/



beside that i found it promising to google as follows:

http://tinyurl.com/ya5rwwv



http://visualsetup.software.informer.com/4.0/
Phoenix @ the gates
2009-12-27 05:53:38 UTC
You're not giving me much to work with here m8, an error message description or number would help, but in general I think you need to make sure the database file is in the same folder as the executable, and it would be a better programming practice to variablize everything, from the path of the MS Access file to the names of the tables and the fields...etc.



Also, when you moved the program to another computer, did you move it as an installation package or just copy/paste from one computer to another?
deonejuan
2009-12-27 05:49:53 UTC
(It has been over 13 years since I last did VB).... but



I remember the minimum library needed to make VB "portable" is you need run.dll or vbrun.dll installed on the computer you want to run your code. Search online for vbrun .dll, and if I were you, I would only download this .dll from Microsoft.
?
2016-05-26 14:32:28 UTC
yes if u r developing a program then u should install MS Access database but if u have setup file to install then no need to install MS Access on the machine
Gopal Veeranala
2009-12-27 05:56:28 UTC
actually,what error message you are getting ?



if its about missing some dlls then download vbruntime dlls vb6sp6.exe from this link



http://www.microsoft.com/downloads/details.aspx?FamilyId=7B9BA261-7A9C-43E7-9117-F673077FFB3C&displaylang=en



install the above setup

then try to run your application



if it's not working, then



create setup file of your project using Setup & Packaging Wizard



use this setup file to install your project into other pc



that's it
expertaziz
2009-12-27 08:38:44 UTC
paste you connection string to analyze the problem.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...