473,326 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Make ACCDE file

157 100+
Anybody now if i can do this programtically?

My challenge is that i have a maybe 10 distributions a week with updates and changes which i now have found the accde format to be of good use. I also want to force our developers to change the title, write version history and so before we make the accde file and all that i can manage if we can get VBA to make the ACCDE file instead of pushing the button in Access
Dec 20 '09 #1
4 5696
ADezii
8,834 Expert 8TB
@MrDeej
Try:
Expand|Select|Wrap|Line Numbers
  1. Dim app As New Access.Application
  2.  
  3. '****************** Customize to your needs ******************
  4. Const conDB_TO_CONVERT As String = "C:\Test\Test.accdb"
  5. Const conCONVERTED_DB As String = "C:\Test\Test.accde"
  6. '*************************************************************
  7.  
  8. app.AutomationSecurity = msoAutomationSecurityLow
  9.  
  10. app.SysCmd 603, conDB_TO_CONVERT, conCONVERTED_DB
Dec 20 '09 #2
MrDeej
157 100+
If i translate the error message from norwegian to english it says something like

"You have performed a illegale function call"


edit: i had a typo in the code.

Now it runs trough the code, but without results.. It does create a new .accde file
Dec 20 '09 #3
ADezii
8,834 Expert 8TB
All I can tell you is that it works fine in Access 2003, and I am not running 2007 to test the code. Sorry.
Dec 20 '09 #4
MrDeej
157 100+
Ok. I will try some more and post the solution if I find it in this tread
Dec 21 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: kannanudt | last post by:
Sir, I had done one application in ms-access2007 using VBA code... now i am converting the database to exe format. At the time one error message raises,,, i.e, "Microsoft...
4
patjones
by: patjones | last post by:
Hi everyone: I have a form in my database called "frmChecks". In the properties for this form, I set On Load to , which points to some code in VB that maximizes the form window and sets a...
1
by: bigshotj | last post by:
Hey Guys, I have made a small application that has a main form and a sub form. The main form contains fields like Bill No., Name of Customer, Month. and The subform contains several fields like...
3
RobH
by: RobH | last post by:
I am trying to generate a complied version of my Application by clicking on the "Make ACCDE" in Access 2007. It asks me where and with what file name to save the ACCDE however it quickly returns with...
10
by: Lindsay Browning | last post by:
Hello, I found a previous posting by someone on the 10th Sept (http://www.thescripts.com/forum/thread705528.html) who seemed to have the same problem as me, but it was never resolved. I have...
1
by: mark | last post by:
Hi, I've converted my Access 2007 database to an accde format as I don't want users to be able to modify it. The only problem is that all the code has stopped working. I have split the database...
1
tuxalot
by: tuxalot | last post by:
I see that if I convert my FE to an ACCDE that I cannot utilize my linked reports (DoCmd.Transfer not allowed). Is there a way to work with linked reports without transferring them? The reports use...
6
by: postman | last post by:
I have an application that minimizes the Access application window and displays a pop-up modal form. The Application window is minimized with this command in the form's Load event. ...
4
by: junaidfaiz | last post by:
resently iv created a software which is working fine in open format and i just have madte it converted to .ACCDE file but have lost all the links attached to it's buttons. It is in the trusted folder...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.