如何创建.exe文件? [英] How To Create .exe file ?

查看:138
本文介绍了如何创建.exe文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Sql Server数据库创建.exe文件?

请回复..







im创建一个窗口设置但不处理因为数据库没有附加成了.exe文件?

How To Create .exe file with Sql Server database ?
please reply..



i m create a window setup but not handle because database is not attach made a .exe file?

推荐答案

这是一步一步的过程。



第1步:

选择文件 - >添加 - >新项目。



步骤2:

选择其他项目类型 - >设置和部署。



步骤3:

键入名称作为您的项目名称。



步骤4:

在应用程序文件夹中 - >右键单击 - > ;添加 - >项目输出。



步骤5:

选择主输出并单击确定。



步骤6:

将创建主输出。右键单击此项并创建快捷方式。



步骤7:

更改名称,在项目窗口中选择图标。



步骤8:

建立项目。



步骤9:

现在检查项目路径中的安装程序...
It is the Step by Step Process.

Step 1:
Select File->Add->New Project.

Step 2:
Select Other Project Types->Setup and Deployment.

Step 3:
Type the name as ur project name.

Step 4:
In Application Folder->Right Click->Add->Project Output.

Step 5:
Select Primary Output and Click Ok.

Step 6:
Primary Output will created.Right Click this and Create Shortcut.

Step 7:
Change the name and In Project window choose icon.

Step 8:
Build the project.

Step 9:
Now check the Setup in your Project path...


一种方法是,在创建exe时在Application文件夹中添加数据库文件。并构建安装应用程序,它将生成一个带有数据库的exe。安装时,数据库将在应用程序根文件夹中创建。
One way is, add database file in Application folder when you creating exe. and build setup application, it will generate an exe with database. When you install this, database will create in application root folder.


我使用installshield创建安装程序,然后手动上传MySql SQL备份文件。



根据您的问题,我认为您在创建.exe文件时没有任何问题,而是您无法在用户的SQL服务器的安装和导入中添加SQL Server数据库文件。



您可以使用installshield添加任何类型的文件,它们将被复制到安装文件夹。
I create setup using installshield & then upload the MySql SQL Backup file Manually.

as per your Question, i think you do not have any problem in creating .exe file instead you cannot add the SQL Server database file in the setup & import in the user''s SQL server.

You can add any types of files with installshield, they will be copied to the installation folder.


这篇关于如何创建.exe文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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