一个人如何反编译和重新编译的数据库应用程序? [英] How does one decompile and recompile a database application?

查看:273
本文介绍了一个人如何反编译和重新编译的数据库应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Access数据库应用程序,我想知道反编译的正确方法,并重新编译。

I have an Access database application and I would like to know the proper way of decompiling and recompiling it.

推荐答案

接受的答案是伟大的,但它是一个有点不切实际的创建每个数据库的快捷方式。

The accepted answer is great, but it's a little impractical to create a shortcut for every database.

您可以将其保存为一个PowerShell模块。

You can save this as a powershell module.

#for use with MSAccess 2010

Function Decompile-AccessDB{
    param ([string]$dbFileName)

    [string]$argument = '"' + $dbFileName + '"' + "/Decompile"
    Start-Process -FilePath 'C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.EXE' -ArgumentList $argument
}

然后调用它是这样的:

Then call it like this:

Decompile-AccessDB -Path "C:\Path\to\some.accdb"

这可以让你快速,方便地反编译的任意从电源外壳命令行分贝。

This allows you to quickly and easily decompile any db from the power shell command line.

请注意,你仍然需要按住Shift键,当您运行此绕过应用程序的启动。

Note that you still need to hold down the Shift key when you run this to bypass the application startup.

这篇关于一个人如何反编译和重新编译的数据库应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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