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
-
hibernate activation
by
e_belmont
3 hours, 13 minutes ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
3 hours, 31 minutes ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
6 hours, 36 minutes ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
6 hours, 38 minutes ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
9 hours, 48 minutes ago -
Out of band for Windows 10
by
Susan Bradley
11 hours, 21 minutes ago -
Giving UniGetUi a test run.
by
RetiredGeek
18 hours, 18 minutes ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
1 day, 1 hour ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
23 hours, 54 minutes ago -
Auto Time Zone Adjustment
by
wadeer
1 day, 6 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
1 day, 4 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
8 hours, 40 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
19 hours, 36 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
3 hours, 30 minutes ago -
Apps included with macOS
by
Will Fastie
1 hour, 22 minutes ago -
Xfinity home internet
by
MrJimPhelps
23 hours, 26 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
23 hours, 24 minutes ago -
Debian 12.11 released
by
Alex5723
2 days, 3 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
2 days, 7 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
1 day, 10 hours ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
3 hours, 17 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
3 days ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
2 days, 14 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
12 hours, 17 minutes ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
2 days, 19 hours ago -
Some advice for managing my wireless internet gateway
by
LHiggins
2 days, 2 hours ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
1 day, 4 hours ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
3 days, 12 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
1 day ago -
Does windows update component store “self heal”?
by
Mike Cross
2 days, 22 hours 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.