使用安装程序&设置Vb程序.exe.数据库(包含在文件夹中) [英] Set Vb program .exe with setup & database (Included in folder)

查看:113
本文介绍了使用安装程序&设置Vb程序.exe.数据库(包含在文件夹中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想知道:-

1.用vb开发程序后,我想将其制作为.exe文件并像安装程序一样运行吗?怎么做?

2.在我的程序中,我将Access 2007女士作为数据库.如何将其与我创建的程序链接?意思是一起嵌入到设置中吗?

3.如果我运行安装程序并将其安装在另一台计算机上,是否也可以看到数据库?因为我的意图是在其他计算机上使用此系统.他们得到程序的结果将程序退还给我.如何评估数据库,以便他们可以相应地将其发送给我?

我对Vb完全陌生,对此一无所知.请指教.

希望能尽快收到您的回音.

谢谢

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

推荐答案


因此,您是新手.
我不知道你在用什么vb.
但是,如果您使用的是Vb6(称为"vb").
然后根据我的回答如下:

1.要制作一个exe文件,然后进入文件"菜单,可以选择制作exe文件.您可以从那里创建一个exe
-要进行设置,请在开始>中进行设置. vb6> (在菜单中,我不知道,因为我在2年前使用过它)

您可以通过该向导创建安装程序.
它需要您在软件中使用过的所有工具的* .dep文件,因此将其从安装CD复制到system32.

2.对不起,您无法将MS Office 2007 Access数据库连接到vb6(在vs2003,2005中也是不可能的).您必须将数据库文件保存为Access 97文件才能进行连接.

3.是的,如果您在设置中使用数据库,则可以在必须使用它的计算机上(在另一台计算机上)看到它.

谢谢你. :)
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. :)



因此,您是新手.
我不知道你在用什么vb.
但是,如果您使用的是Vb6(称为"vb").
然后根据我的回答如下:

1.要制作一个exe文件,然后进入文件"菜单,可以选择制作exe文件.您可以从那里创建一个exe
-要进行设置,请在开始>中进行设置. vb6> (在菜单中,我不知道,因为我在2年前使用过它)

您可以通过该向导创建安装程序.
它需要您在软件中使用过的所有工具的* .dep文件,因此将其从安装CD复制到system32.

2.对不起,您无法将MS Office 2007 Access数据库连接到vb6(在vs2003,2005中也是不可能的).您必须将数据库文件保存为Access 97文件才能进行连接.

3.是的,如果您在设置中使用数据库,则可以在必须使用它的计算机上(在另一台计算机上)看到它.

:rose:如果将vb6安装到必须使用软件的计算机上,则必须复制 exe文件和数据库.无需进行软件设置即可轻松运行它.很多人都喜欢这样.

谢谢你. :)
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. :)


我现在正在使用Vb 10.我曾经尝试过一键发布,但是当我尝试在另一台计算机上运行该程序时,它会失败.

我想知道何时发布程序来制作项目,如何从Vb程序中bin \ debug文件夹中的文件(数据库,图像,.tx.t文件)呢?所有这些都将嵌入在一起吗?

我试图链接数据库和所有内容.工作正常.但是,当我尝试运行它时,会发生错误.在安装文件夹中,我什至看不到我的数据库.这是否意味着我无法链接数据库?


拜托,我真的希望有人能帮助我.

谢谢
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


这篇关于使用安装程序&设置Vb程序.exe.数据库(包含在文件夹中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆