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

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

问题描述

我有一个 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 OfficeOffice14MSACCESS.EXE' -ArgumentList $argument
}

然后这样称呼它:

Decompile-AccessDB -Path "C:Path	osome.accdb"

这使您可以从 power shell 命令行快速轻松地反编译任何 db.

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天全站免登陆