Register and join over 40,000 other developers!
Recent Topics
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
-
Job Gig PHP Form Needed
PJohnson - Apr 18 2019 03:55 AM
-
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
-
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

setup of vb6.0 project eror
Started by danish raza, Nov 03 2011 10:19 AM
Visual Basic 4 / 5 / 6 form
10 replies to this topic
#1
Posted 03 November 2011 - 10:19 AM
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
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
#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?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
#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
This is big mistakI 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.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
#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.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
#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:)
Also tagged with one or more of these keywords: Visual Basic 4 / 5 / 6, form
General Forums →
General Programming →
Specifying PHP file path while creating an HTML formStarted by gvvishwanath, 30 Dec 2015 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
Jquery Validation in Partial View Form Isn't TriggeringStarted by googaplex, 01 Jul 2015 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
how to deal with the forms indtified with idStarted by scseguanshui06, 20 Jul 2014 ![]() |
|
![]() |
||
Language Forums →
PHP →
what script do I run on a form?Started by kxx4, 12 May 2014 ![]() |
|
![]() |
||
Language Forums →
Visual Basic →
Send multipart form data. (Send strings and a file)Started by LegacyDash, 21 Feb 2014 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download