473,395 Members | 1,756 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,395 software developers and data experts.

Revert mde to mdb - Possible

Hi,

I've just been asked to bring a couple of Access 97 apps up to date.
The source files are 'difficult to locate' as they were done in 1999.

I have the mde files, but Access says it can't simply convert these to
Access 2003 mde's.

Is it possible to revert these files back to their original format,
and if so how?

Regards,
Bernard D
Feb 22 '06 #1
7 11505
Br
Bernard D wrote:
Hi,

I've just been asked to bring a couple of Access 97 apps up to date.
The source files are 'difficult to locate' as they were done in 1999.

I have the mde files, but Access says it can't simply convert these to
Access 2003 mde's.

Is it possible to revert these files back to their original format,
and if so how?


Nope. The design elements are removed from the MDE so it can't be
converted/reverted/etc.
--
regards,

Br@dley
Feb 22 '06 #2
On Wed, 22 Feb 2006 22:52:27 +1100, "Br@dley" <nu**@mail.oz> wrote:
Bernard D wrote:
Hi,

I've just been asked to bring a couple of Access 97 apps up to date.
The source files are 'difficult to locate' as they were done in 1999.

I have the mde files, but Access says it can't simply convert these to
Access 2003 mde's.

Is it possible to revert these files back to their original format,
and if so how?


Nope. The design elements are removed from the MDE so it can't be
converted/reverted/etc.


Oh the beauty of responsible, effective backups and archiving is once
again revealed!
Feb 22 '06 #3
On Wed, 22 Feb 2006 22:52:27 +1100, "Br@dley" <nu**@mail.oz> wrote:

Bradley probably meant that the CODE elements are removed. The design
elements are still available, using code like below. Also, the tables
and queries are still fully available.

Sub TestMde()
Const ThePath As String = "C:\Program Files\Microsoft
Office97\Office\Samples\Northwind.mde"
Const TheTempFolder As String = "C:\Junk\"
Dim db As DAO.Database
Dim cnt As DAO.Container
Dim doc As DAO.Document
Dim appData As Access.Application
Dim f As Form
Dim c As Control

Set appData = fGetRefNoAutoexec(ThePath) 'See
http://www.mvps.org/access/api/api0068.htm
Set db = appData.CurrentDb()
'DBEngine.Workspaces(0).OpenDatabase(ThePath)

Set cnt = db.Containers("Forms")
For Each doc In cnt.Documents
'appData.SaveAsText acForm, doc.Name, TheTempFolder & cnt.Name
& "_" & doc.Name & ".txt" 'Works for forms without code?
appData.DoCmd.OpenForm doc.Name, acNormal

Set f = appData.Forms(doc.Name)
For Each c In f
'Just showing you have access to all controls and
properties. Just save them in a meaningful way so you can recreate
them.
Debug.Print f.Name, c.Name, c.Left
Next c
DoCmd.Close acForm, f.Name
Next doc

db.Close
appData.CloseCurrentDatabase
Set appData = Nothing
End Sub

-Tom.
Bernard D wrote:
Hi,

I've just been asked to bring a couple of Access 97 apps up to date.
The source files are 'difficult to locate' as they were done in 1999.

I have the mde files, but Access says it can't simply convert these to
Access 2003 mde's.

Is it possible to revert these files back to their original format,
and if so how?


Nope. The design elements are removed from the MDE so it can't be
converted/reverted/etc.


Feb 22 '06 #4
Do a little Googling at groups.google.com -- there was mention (I believe in
this newsgroup) of a package being available that could regenerate VBA
source from the compiled (tokenized) code in an MDE.

I caution, however, that since all comments are removed when the code is
tokenized, and the original names/labels-in-code-not-label-controls also
removed, it won't be easy or fun to read.

It is amazing to me how many developers and companies ignore the need to
retain the source of applications and end up "in this kind of box".

Larry Linson
Microsoft Access MVP

"Bernard D" <bd****@castlecs.co.uk> wrote in message
news:ak********************************@4ax.com...
Hi,

I've just been asked to bring a couple of Access 97 apps up to date.
The source files are 'difficult to locate' as they were done in 1999.

I have the mde files, but Access says it can't simply convert these to
Access 2003 mde's.

Is it possible to revert these files back to their original format,
and if so how?

Regards,
Bernard D

Feb 22 '06 #5

"Larry Linson" <bo*****@localhost.not> wrote in message
news:j50Lf.13676$p13.1931@trnddc08...

It is amazing to me how many developers and companies ignore the need to
retain the source of applications and end up "in this kind of box".

I think that most of us are cautious about backups because of past lessons,
learned the painful way.

--
Randy Harris
tech at promail dot com
I'm pretty sure I know everything that I can remember.


Larry Linson
Microsoft Access MVP


Feb 22 '06 #6
Bernard D <bd****@castlecs.co.uk> wrote in
news:ak********************************@4ax.com:
I've just been asked to bring a couple of Access 97 apps up to
date. The source files are 'difficult to locate' as they were
done in 1999.

I have the mde files, but Access says it can't simply convert
these to Access 2003 mde's.

Is it possible to revert these files back to their original
format, and if so how?


Have you read the Access help file's explanation of what an MDE is?
If you had, I don't think you'd need to post this question.

Why do people plunge into using features that they haven't made even
the slightest effort to understand?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Feb 23 '06 #7
On Wed, 22 Feb 2006 16:14:07 GMT, "Larry Linson" <bo*****@localhost.not> wrote:
"Bernard D" <bd****@castlecs.co.uk> wrote in message
news:ak********************************@4ax.com.. .
Hi,

I've just been asked to bring a couple of Access 97 apps up to date.
The source files are 'difficult to locate' as they were done in 1999.

I have the mde files, but Access says it can't simply convert these to
Access 2003 mde's.

Is it possible to revert these files back to their original format,
and if so how?

Regards,
Bernard D

Do a little Googling at groups.google.com -- there was mention (I believe in
this newsgroup) of a package being available that could regenerate VBA
source from the compiled (tokenized) code in an MDE.

I caution, however, that since all comments are removed when the code is
tokenized, and the original names/labels-in-code-not-label-controls also
removed, it won't be easy or fun to read.

It is amazing to me how many developers and companies ignore the need to
retain the source of applications and end up "in this kind of box".

Larry Linson
Microsoft Access MVP


Hi
One article of about the right date is
http://www.programmersheaven.com/art.../john/vbvm.htm
Microsoft's P-Code Implementation
by John Chamberlain

This includes a VB6 add-in for decompiling VBA, which didn't work for me probably because it is
version-specific in some way.
However reading the article suggests that decompiling a whole application is unlikely to be very
practical even if you have the right tool.

Feb 23 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: MB | last post by:
Hi all I have 02 questions for you please help me if you have an idea 1) I'm looking for a tools to profile SOAP messages (between a client and web Services) please if you have a good Link...
1
by: wiseleyb | last post by:
After doing a SetUIHandler how to I revert back to the default behavior? I'm using ICustomDoc cDoc = (ICustomDoc)this.wb.Document; cDoc.SetUIHandler((IDocHostUIHandler)this); to allow...
6
by: Chris Lewis | last post by:
Hi, We have just experienced a very frustrating and time-consuming problem after applying Windows 2K updates to our webservers over the weekend, and I though I'd share this in case anyone else...
2
by: san | last post by:
Hello, i am in great trouble. I want to revert back to original state of database before i performed restore database on my sql server 2K Database. Accidently i didn't take backup of my Database...
5
by: mydogisbox | last post by:
I have two datasets. One dataset table from dataset1 is bound to a list box. On selection in the list box dataset2 has 9 tables that are populated from the database. these tables are then...
1
by: reubendb | last post by:
Hello, I have some function that output too much stuff to stderr when called, and I have no control over the function itself. So I thought as a workaround, I redirect stderr to /dev/null before...
3
by: BD | last post by:
I have sent several posts on this topic and feel my lack of information is not helping to find the solution. I am developing application in C# with Visual Studio 2005 to connect with remote SQL...
0
by: SM | last post by:
Hi, #1 I did some changes in my inherited form (change some properties of my components), now I want to rollback all changes made in inherited form and return to the same state as the...
0
by: =?Utf-8?B?R2lubw==?= | last post by:
If I provide a user with the ability to change some settings in a VS2005 solution using my.settings and then republish the application to fix a bug or add a new feature the settings get lost due...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.