Click here to Skip to main content
15,910,980 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I would like to know :-

1. after developing a program with vb then I would like to make it as .exe file and run it like a setup? How to do it?

2. In my program I have Ms Access 2007 as database. How to link it with the program that I create? Meaning, embedded together in the setup?

3. If I run the setup n install it in different computer, Can I see the database as well? Because my intention is to use this system in some other computer. The results they get program the program will be given back to me. How to assess the database so that they can send it to me accordingly?

I am totally new to Vb and have no idea about this. Please advise.

Hope to hearing from you soon.

Thank you
Posted

Hi
So you are new to developing.
I don't know what vb you are using.
But If you are using Vb6 (which is called 'vb').
Then according to me your answers are as below :

1. To make an exe file then Go to File menu and there is a choice to make exe file. You can create an exe from there
- To make a setup, there is a option to make a setup in start > vb6 > (in menu i dont know because i have last used it 2 years ago)

You can make setup form that wizard.
It Requires a *.dep file of all tools which you have used in your software so copy it from your installation cd to system32.

2. Sorry, You can not connect MS Office 2007 Access Database to vb6 (also in vs2003,2005 it is not possible). You have to save your database file to Access 97 file to connect it.

3. Yes, if you take your database in setup you can see it on the computer where you have to Use it (On another Computer).

Thank You. :)
 
Share this answer
 
Hi
So you are new to developing.
I don't know what vb you are using.
But If you are using Vb6 (which is called 'vb').
Then according to me your answers are as below :

1. To make an exe file then Go to File menu and there is a choice to make exe file. You can create an exe from there
- To make a setup, there is a option to make a setup in start > vb6 > (in menu i dont know because i have last used it 2 years ago)

You can make setup form that wizard.
It Requires a *.dep file of all tools which you have used in your software so copy it from your installation cd to system32.

2. Sorry, You can not connect MS Office 2007 Access Database to vb6 (also in vs2003,2005 it is not possible). You have to save your database file to Access 97 file to connect it.

3. Yes, if you take your database in setup you can see it on the computer where you have to Use it (On another Computer).

:rose: If you install vb6 to the computer where you have to use your software then you have to copy the exe file and database You can run it easily without making your software's setup. Many people do like this.

Thank You. :)
 
Share this answer
 
Comments
zafi24 17-Feb-11 5:57am    
is it same rules apply to vb 10?
I am using Vb 10 now. I have try to publish using one click but when I try to run the program in different computer, It fail.

I am wondering when we publish the program to make a project, How about my files (database, image, .tx.t files) from the bin\debug folder in my Vb program? Are all of it will be embedded together?

I tried to link the database and everything. Works fine. But when I try to run it, Error occurs. In the setup folder I can't even see my database. Is it mean that I am failing to link the database?


Please I really hope anyone can help me upon this.

Thank you
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900