Can anyone tell me what the RunCommand equivalent of the menu “Convert Database To 97 Format” and “Convert Database To 2000 Format” is please
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
VBA equivalent for the Convert to 97 format (XP SP2)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » VBA equivalent for the Convert to 97 format (XP SP2)
- This topic has 6 replies, 3 voices, and was last updated 22 years, 5 months ago.
AuthorTopicWSsculshaw
AskWoody LoungerNovember 26, 2002 at 4:54 pm #380004Viewing 0 reply threadsAuthorReplies-
WBell
AskWoody_MVPNovember 26, 2002 at 11:18 pm #634765It takes a bit of fiddling, but if you search Access VBA Help for “ConvertAccessProject” it should give you the story. This is the example from it:
Application.ConvertAccessProject _
SourceFilename:=”C:My DocumentsSales-Access97.mdb”, _
DestinationFilename:=”C:My DocumentsSales-Access2000.mdb”, _
DestinationFileFormat:=acFileFormatAccess2000 -
WSsculshaw
AskWoody LoungerNovember 28, 2002 at 8:01 am #635141You’re a star Wendell
I’d not thought that ConvertProject would work on databases, I’d assumed it was ADP’sCan you help on my next question, how to convert to an MDE file
I’ve found the acCmdMakeMdeFile but can’t seem to pass in parameters
– by the way is there any way to do a word search on the Access XP Help, rather than use the index.
Many many thanks
-
WBell
AskWoody_MVPNovember 28, 2002 at 12:15 pm #635167Well, Help doesn’t help much with the DoCmd.RunCommand acCmdMakeMdeFile command. It appears you have to trick it to get it to work – a search of the MS knowledge base turned up article 202039 which uses SendKeys to generate the path and filename. A bit ugly – it looks like nobody has looked at this issue since Access 2000.
As to Access XP Help, it frequently isn’t. You can do searches using the assistant, or you can use the “Answer Wizard” but neither will find the acCmdMakeMdeFile. Help has deteriorated significantly from what was available in Access 97.
-
WSsculshaw
AskWoody LoungerNovember 28, 2002 at 1:53 pm #635178Wendell,
thanks for trying – glad it wasn’t just me finding the Help, a bit of a non-Help. I’m going to a Microsoft UK focus group on “Access” next month, so I’ll certainly try and bring it up the lack of Help issue
Poking around on the net found this on Google Groups
> But just to automate the process further I'd like to automatically > create the MDE when done. But I haven't found any method of doing so. Totally unsupported, undocumented, and prone to strange issues, but try: SysCmd 603, , where is the fully qualified path and name of the source database, and is the fully qualified path and name of the mde you want created, such as: SysCmd 603, "c:myapp.mdb", "c:test.mde" -- Dan Haught FMS Inc. http://www.fmsinc.com
But while it works in Access 97, doesn’t seem to work in either Access 2000 or 2002
so I think it’ll have to be the SendKeys option, unless anyone knows the equivalent in 2000 and 2002 -
WSTim K.
AskWoody LoungerNovember 28, 2002 at 2:31 pm #635189Check this page, http://home.clara.net/tkwickenden/codeex/7.htm%5B/url%5D out.
-
-
-
-
-
WSsculshaw
AskWoody LoungerNovember 29, 2002 at 10:11 pm #635525Wendell,
tried this with partially success.
The 2002 to 2000 conversion worked fine
The 2002 to 97 conversion didn’t
– something weird happended to the forms, I could see them in the Forms tab, but couldn’t open them in either Design or Normal mode !!If it do the process manually, i.e. using the menu options, both 2000 and 97 versions are fine.
I’ve tried using VBScript, using SendKeys with some success, but better is a freeware application, called AutoIt. This has excellent control of “Windows”, so e.g. it can wait until a specific Window is available, like a Open dialog. This avoids problems I was finding with VBScript where an unexpected window messed up the sequence
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
How well does your browser block trackers?
by
n0ads
44 minutes ago -
You can’t handle me
by
Susan Bradley
2 hours, 56 minutes ago -
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
54 minutes ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
8 hours, 18 minutes ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
8 hours, 29 minutes ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
8 hours, 42 minutes ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
8 hours, 47 minutes ago -
Lumma malware takedown
by
EyesOnWindows
16 hours, 1 minute ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
17 hours, 35 minutes ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
17 hours, 29 minutes ago -
Meet Gemini in Chrome
by
Alex5723
21 hours, 34 minutes ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
21 hours, 43 minutes ago -
Trump signs Take It Down Act
by
Alex5723
1 day, 5 hours ago -
Do you have a maintenance window?
by
Susan Bradley
16 hours, 51 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
7 hours, 53 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
1 day, 9 hours ago -
Help with WD usb driver on Windows 11
by
Tex265
1 day, 14 hours ago -
hibernate activation
by
e_belmont
1 day, 17 hours ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
1 day, 21 hours ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
2 days ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
2 days ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
20 hours, 55 minutes ago -
Out of band for Windows 10
by
Susan Bradley
2 days, 5 hours ago -
Giving UniGetUi a test run.
by
RetiredGeek
2 days, 12 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
2 days, 20 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
15 hours, 54 minutes ago -
Auto Time Zone Adjustment
by
wadeer
3 days ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
2 days, 22 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
3 hours, 18 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
25 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.