开发者

Creating standalone app with Microsoft Access

Once I saw a DB made in MS Access that worked as a normal program, i.e with an executable file that opened a beautiful UI and allowed access to the forms and reports. I've t开发者_如何转开发rying to do the same, I even googled but didn't find how do it. Anyone knows how to build such standalone App with Access?


You cant make an access database into an executable file. It just cant happen however you can fool people into thinking that they are not using access a number of ways, for example

  • Custom splash screen (just put a bmp file in the folder and name it the same as your database)

  • Hide the access window and toolbars

  • Change the access icon

For example take a look at this screen shot

Creating standalone app with Microsoft Access

There are lots of things going on here and it would be hard to tell that it is built using good old access 97 (Yes I know the standard toolbar kind of gives it away, it will be going at somepoint).


I believe the tool is called the Microsoft Access Runtime toolkit or something along those lines. The latest version is free, a departure from the previous versions which I believe you had to pay for. From the previous version I tinkered with, it comes with a tool to make a EXE file from the MDB or ACCB file, a handful of icons for the EXE to use if you are lacking one, and a program to help you generate Microsoft Help files for your application.

This is a link to the Developer Extensions - I believe the 2007 version of what I described above: http://www.microsoft.com/downloads/en/details.aspx?FamilyId=D96A8358-ECE4-4BEE-A844-F81856DCEB67&displaylang=en

Here is a link for the runtime, which doesn't convert your Access database into an executable file, but would allow it to run on computers without Access installed: http://www.microsoft.com/downloads/en/details.aspx?familyid=D9AE78D9-9DC6-4B38-9FA6-2C745A175AED&displaylang=en

NOTE: Both of these are for Access 2007, the version I run. Your version might require something different - but should be easily located on Microsoft's website.


If you want to fool the user in thinking that they are not using access it will take some ingenuity. I have done this. You will need a way to make nice 2D images that you will import into access, and then set them up like buttons, and give them functionality. Make sure you over lay them on a splash screen of some kind. Not sure if you know VBA but it will be needed.

At the end make sure you go in to the setting, and turn off anything that might allow the user to alter the form in any way. And then rename the file's extension like this: fileName.accdr

This is as close to a normal program that you are going to get, and remember it will only look as good as the art you put into it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜