hi!
i am stuck in a problem ...i had made a setup of vb6.0
project through visual studio installer the set up works perfectly fine on the same pc .but when i install it on other machine it installs easily but when i open up any form it give me path errors that access file not found .it occurs because i have given the path of that pc on which i had made the project ..some body help me to resolve this issue plz so that my project can run on other pc also .......waiting for the response
10 replies to this topic
#1
Posted 03 November 2011 - 10:19 AM
|
|
|
#2
Posted 03 November 2011 - 10:47 AM
Moved to the correct forum.
Aside from the question of why you're using VB6.0, Can you provide more information about the paths, versions of Windows, etc?
Aside from the question of why you're using VB6.0, Can you provide more information about the paths, versions of Windows, etc?
#3
Posted 03 November 2011 - 12:43 PM
Look :Must specify all the required files first .... Skip the following steps
And especially the database file and DLL & Ocx

While it is best to use the program Setup Factory 8
And especially the database file and DLL & Ocx

While it is best to use the program Setup Factory 8
#4
Posted 04 November 2011 - 09:44 AM
i am using factory setup for making the setup the issue is that when i run my project setup installer on the same PC it works fine but when i work it on other machine setup installs successfully but when i play vb forms it gives error that this path does not exist .the problems occurs because my vb form submit the data from vb form to a access database and i have give the location of the database on that pc in which i had made my project so how can i make my project work also on other pcs .
#5
Posted 04 November 2011 - 09:49 AM
i am using window xp......
and for path
con.Provider = "Microsoft.ACE.OLEDB.12.0"
con.ConnectionString = "D:\Downloads\Compressed\Project \vb6\pd.accdb"
this path is on that pc on which i had my project but this path does not exist on other pc thats why it is giving error so how to resolve it???
i am using factory setup for making the setup the issue is that when i run my project setup installer on the same PC it works fine but when i work it on other machine setup installs successfully but when i play vb forms it gives error that this path does not exist .the problems occurs because my vb form submit the data from vb form to a access database and i have give the location of the database on that pc in which i had made my project so how can i make my project work also on other pcs .
and for path
con.Provider = "Microsoft.ACE.OLEDB.12.0"
con.ConnectionString = "D:\Downloads\Compressed\Project \vb6\pd.accdb"
this path is on that pc on which i had my project but this path does not exist on other pc thats why it is giving error so how to resolve it???
i am using factory setup for making the setup the issue is that when i run my project setup installer on the same PC it works fine but when i work it on other machine setup installs successfully but when i play vb forms it gives error that this path does not exist .the problems occurs because my vb form submit the data from vb form to a access database and i have give the location of the database on that pc in which i had made my project so how can i make my project work also on other pcs .
#6
Posted 04 November 2011 - 11:39 AM
Quote
I have give the location of the database on that pc in which i had made my project
The Connection must be like : App.Path & "\DataBase Name.mdb"
don't use for example "c\MyFolder\DatabaseName.mdb"
#7
Posted 04 November 2011 - 05:31 PM
I would install the access database to a known location, such as %My Documents%. Alternatively, you could have a small configuration file to store the location of the database and read in the connection string on startup.
#8
Posted 05 November 2011 - 02:24 AM
could you explain in detail i will be thankful to you
#9
Posted 05 November 2011 - 02:49 AM
thanks ! its solve my problem:rolleyes:)
---------- Post added at 03:49 PM ---------- Previous post was at 03:33 PM ----------
itz working fine with my vb forms but i had made reports also on vb6.0 but now the problems occurs that when i play the reports it give me this error
[ATTACH]4288[/ATTACH]
kindly help me out
---------- Post added at 03:49 PM ---------- Previous post was at 03:33 PM ----------
itz working fine with my vb forms but i had made reports also on vb6.0 but now the problems occurs that when i play the reports it give me this error
[ATTACH]4288[/ATTACH]
kindly help me out
#10
Posted 05 November 2011 - 06:05 PM
Invalid attachment. Also, I don't actually know VB, just common coding mistakes.
#11
Posted 06 November 2011 - 08:11 AM
Iam proishionnal in VB and good in VB.Net ,, Upload your project Contains Ocx and Dll files and I well return it as a profisionnal Setup File To you:)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









