简体   繁体   English

错误,例如在将C#应用程序打开到另一台PC时无法加载ace.dll32

[英]Error like unable to load ace.dll32 while opening c# application into another pc

I want to connect my script with advantage data architect 11.10 database and display table in grid view. 我想将脚本与Advantage Data Architect 11.10数据库连接,并在网格视图中显示表格。 this is my below code 这是我的下面的代码

    namespace serarchSys_ByDeshal
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
            AdsConnection con = new AdsConnection(@"Data source=N:\Adjobsys\Dictionary\JobSys.add;");


            private void Form1_Load(object sender, EventArgs e)
            {
                string dd = "SELECT * from release ";
                AdsDataAdapter adapter = new AdsDataAdapter(dd, con);
                DataTable table = new DataTable();
                adapter.Fill(table);
                dataGridView1.DataSource = table;

                con.Close();


            }


        }
    }

When you deploy your app to another machine, you have to also include the Advantage client libraries. 将应用程序部署到另一台计算机时,还必须包括Advantage客户端库。 See your Advantage install folder, in the Redistribute subfolder. 请参阅Redistribute子文件夹中的Advantage安装文件夹。 Also see the Advantage help file, which tells you exactly which files you need to include and why. 另请参阅Advantage帮助文件,该文件准确告诉您需要包括哪些文件以及原因。 The ADS DLLs should be in the same folder as your application's executable or a folder on the Windows search path. ADS DLL应该与应用程序的可执行文件位于同一文件夹中,或者位于Windows搜索路径上的文件夹中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM