473,698 Members | 2,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The joy of decompiling...

Just wondering if there is a tool or method that will allow me to compare
the state of my database before and after I decompile it.

The last time I decompiled a few fields lost default values and some event
code wasn't firing anymore. I know that sounds unusual but this was
definitely the case.

I would like to decompile again but am reluctant to do so if it causes any
more problems. I would like to test what the decompile does to my database
by being able to accurately determine any subsequent changes in form
controls, table fields etc.

Any suggestions?

thanks
Martin
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 28/10/2003
Nov 12 '05 #1
11 1907
TC

"Deano" <ma************ @hotmail.com> wrote in message
news:fY******** **********@ward s.force9.net...
Just wondering if there is a tool or method that will allow me to compare
the state of my database before and after I decompile it.

The last time I decompiled a few fields lost default values and some event
code wasn't firing anymore. I know that sounds unusual but this was
definitely the case.
Er.... Default values are stored as column attributes. AFAIK, they are
nothing to do with the VBA Project (which is what the decompile alters). I
really can not see decompile affecting default values.

I would like to decompile again but am reluctant to do so if it causes any
more problems. I would like to test what the decompile does to my database by being able to accurately determine any subsequent changes in form
controls, table fields etc.


There is no way you will make any sense of a before/after comparison of the
mdb file. Most of the information is stored in binary structures. You will
not make any sense of *one* file - let along a before & after comparison -
unless you understand those structures: none of which are documented.

HTH,
TC
Nov 12 '05 #2
"TC" <a@b.c.d> wrote in news:1067404656 .894978@teuthos :

"Deano" <ma************ @hotmail.com> wrote in message
news:fY******** **********@ward s.force9.net...
Just wondering if there is a tool or method that will allow me to
compare the state of my database before and after I decompile it.

The last time I decompiled a few fields lost default values and some
event code wasn't firing anymore. I know that sounds unusual but this
was definitely the case.


Er.... Default values are stored as column attributes. AFAIK, they are
nothing to do with the VBA Project (which is what the decompile alters).
I really can not see decompile affecting default values.

I would like to decompile again but am reluctant to do so if it causes
any more problems. I would like to test what the decompile does to my

database
by being able to accurately determine any subsequent changes in form
controls, table fields etc.


There is no way you will make any sense of a before/after comparison of
the mdb file. Most of the information is stored in binary structures.
You will not make any sense of *one* file - let along a before & after
comparison - unless you understand those structures: none of which are
documented.

HTH,
TC


After I decompiled all this hair started growing out of my ears.

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #3
Lyle Fairfield previously wrote:
After I decompiled all this hair started growing out of my ears.

See q8711234 - MSKB; known problem!

Peter Russell
Nov 12 '05 #4
TC wrote:
"Deano" <ma************ @hotmail.com> wrote in message
news:fY******** **********@ward s.force9.net...
Just wondering if there is a tool or method that will allow me to
compare the state of my database before and after I decompile it.

The last time I decompiled a few fields lost default values and some
event code wasn't firing anymore. I know that sounds unusual but
this was definitely the case.
Er.... Default values are stored as column attributes. AFAIK, they
are nothing to do with the VBA Project (which is what the decompile
alters). I really can not see decompile affecting default values.


That's kind of what I want to hear. But a key table did change after the
decompile. I certainly didn't go in and amend it. Very odd, I know I can't
prove that decompiling screwed it up - at the moment - but was hoping that
if I could record the state of play before decompiling then I could do a
comparison.
There is no way you will make any sense of a before/after comparison
of the mdb file. Most of the information is stored in binary
structures. You will not make any sense of *one* file - let along a
before & after comparison - unless you understand those structures:
none of which are documented.
I meant like a thorough printout of all objects in the db and their
attributes.

HTH,
TC



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 27/10/2003
Nov 12 '05 #5
Bri

Deano wrote:
<snip>
There is no way you will make any sense of a before/after comparison
of the mdb file. Most of the information is stored in binary
structures. You will not make any sense of *one* file - let along a
before & after comparison - unless you understand those structures:
none of which are documented.

I meant like a thorough printout of all objects in the db and their
attributes.


Tools - Analyze - Documenter

This creates a report of all of the objects (user selectable) with all of their
properties. You could create one before and after for comparison.

HTH
Bri

Nov 12 '05 #6
TC

"Deano" <ma************ @hotmail.com> wrote in message
news:wo******** **********@ward s.force9.net...
TC wrote:
"Deano" <ma************ @hotmail.com> wrote in message
news:fY******** **********@ward s.force9.net...
Just wondering if there is a tool or method that will allow me to
compare the state of my database before and after I decompile it.

The last time I decompiled a few fields lost default values and some
event code wasn't firing anymore. I know that sounds unusual but
this was definitely the case.
Er.... Default values are stored as column attributes. AFAIK, they
are nothing to do with the VBA Project (which is what the decompile
alters). I really can not see decompile affecting default values.


That's kind of what I want to hear. But a key table did change after the
decompile. I certainly didn't go in and amend it. Very odd, I know I

can't prove that decompiling screwed it up - at the moment - but was hoping that
if I could record the state of play before decompiling then I could do a
comparison.
There is no way you will make any sense of a before/after comparison
of the mdb file. Most of the information is stored in binary
structures. You will not make any sense of *one* file - let along a
before & after comparison - unless you understand those structures:
none of which are documented.


I meant like a thorough printout of all objects in the db and their
attributes.


You could do that by writing some code. Or, I'm sure there are commercial
products. So before the decompile, run the code (or product) to create a
flat-file dump of the database structure. Then do the decompile, then run
the dump again to different files, then use a file-compare program to
compare the two versions. Or the other respondent's suggestion of
Tools:Analyzer might work also.

HTH,
TC

Nov 12 '05 #7
Thanks for the responses. I can't believe I missed the Documenter. I ran
it for all objects and got a report that ran to 2450 pages!!
Think I'll trim that down a bit.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 27/10/2003
Nov 12 '05 #8
TC
Gak!

Perhaps write some Word VBA to cut it down somehow? (delete blank lines,
page breaks, whatever)

So you could probably still automate the comparison process.

TC
"Deano" <ma************ @hotmail.com> wrote in message
news:uz******** **********@ward s.force9.net...
Thanks for the responses. I can't believe I missed the Documenter. I ran
it for all objects and got a report that ran to 2450 pages!!
Think I'll trim that down a bit.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 27/10/2003

Nov 12 '05 #9
TC wrote:
Gak!

Perhaps write some Word VBA to cut it down somehow? (delete blank
lines, page breaks, whatever)

So you could probably still automate the comparison process.

TC
Yeah I now, Containers and all that malarkey; I haven't got the will to do
it. I did select All objects and that wasn't strictly needed. I wish there
was some sort of checksum that 'proved' the file you started with is the
same you have after the decompilation process. Or maybe version control
software could help (SourceSafe??).


"Deano" <ma************ @hotmail.com> wrote in message
news:uz******** **********@ward s.force9.net...
Thanks for the responses. I can't believe I missed the Documenter.
I ran it for all objects and got a report that ran to 2450 pages!!
Think I'll trim that down a bit.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 27/10/2003



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 27/10/2003
Nov 12 '05 #10

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

Similar topics

2
5031
by: E. Robert Tisdale | last post by:
Acme Optics wrote: > We need to decompile one of our C++ applications. > The programmer quit, took the source with him and can't be found. > Are there any commercial codes that can do this > so we can get inside the source code? This is an obvious troll. Please ignore it.
0
1080
by: Mike MacSween | last post by:
So after a fair bit of work, with me always opening holding down the shift key to bypass the startup form -> switchboard, I try to test as a use. No error message, just a blank Access window, with File, Window and Help (I think) menu items. A decompile sorts it out. But why's this happening? The app uses Access security and the desktop shortcut that I'm using has the mdw info in it.
2
3274
by: Gaz | last post by:
....and recompiling it again Hi all, I've got an Assembly DLL and associated .NetModules and want to amend a function in one of the .NetModules I've used ILDASM to decompile the .NetModules into IL so I can modify the code but am having trouble trying to compile up the .NetModule and effectively renew the Assembly.
18
1800
by: Diogo Alves - Software Developer | last post by:
I found a few days ago that was possible to decompile any program developed in C# That is a huge failure.... It's not aceptable that a company that pays a lot for visual studio and pays to the employees to develop new product, and then all the code is exposed.... I found that the decompilers are pretty good, and have options like deObfuscate....
6
3307
by: MLH | last post by:
Can decompiling an A97 mdb result in fixing minor nasties that may be responsible for some premature terminations of A97 (We are sorry. MS Access 97 needs to close.... messages). I've found the following recommendation and was wondering if any of you have used the technique and why you did? To decompile start Access with the /decompile switch. To do this from windows do a Start, Run and then where it asks for the name of the program to...
8
4345
by: Torben Laursen | last post by:
Hi I need to be sure that my C# code is as hard as possible to decompile. Can anyone tell what is the best tool for that job? Also will this be a part of Visual Studio 2008? It seems natural to me that the .net framework came with a solution so other people could not see your source code
14
1815
by: Grant | last post by:
I've seen a couple of articles on the internet that VB.NET applications can be decompiled very easy. For those who have had experience with this, is it true? What steps can be taken to avoid this? I am using VB.NET Express but am willing to buy something (within reason) to prevent easy decompiling. Any suggestions are much appreciated.
0
8680
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8899
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2335
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.