Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: hismajesty on June 16, 2004, 10:43 PM

Title: Module Code Extraction
Post by: hismajesty on June 16, 2004, 10:43 PM
Is there anyway to retreive the contents of a module without being able to open it? I saved my project, restarted my computer and when I opned it up it can't load the module (which has a lot of code in it) instead of having to redo it all I was hoping there was some way around it.
Title: Re:Module Extraction
Post by: Eric on June 16, 2004, 10:48 PM
... notepad.
Title: Re:Module Code Extraction
Post by: hismajesty on June 16, 2004, 10:50 PM
I guess all data was lost since it opens blank.
Title: Re:Module Code Extraction
Post by: Adron on June 18, 2004, 04:35 PM
How big is the file?
Title: Re:Module Code Extraction
Post by: hismajesty on June 18, 2004, 04:38 PM
12kb
Title: Re:Module Code Extraction
Post by: CrAz3D on June 18, 2004, 05:04 PM
It shouldn't be blank if it is that big.
Title: Re:Module Code Extraction
Post by: hismajesty on June 18, 2004, 05:57 PM
it's filled with spaces apparently.
Title: Re:Module Code Extraction
Post by: Adron on June 19, 2004, 04:41 AM
Sounds like you're out of luck then. Did you restart your computer by properly shutting it down, or by just hitting reset? It sounds like the file was extended to the right size, but that the data never got written down...
Title: Re:Module Code Extraction
Post by: hismajesty on June 19, 2004, 09:10 AM
I just hit reset I think, but I saved VB and closed it and such prior to doing so.  :-\ Oh well, I have an older version of it in a zip file so I guess I don't have too much work to do.
Title: Re:Module Code Extraction
Post by: Adron on June 19, 2004, 10:33 AM
If you're going to reset, you should sync (http://www.sysinternals.com/ntw2k/source/misc.shtml#sync) first.
Title: Re:Module Code Extraction
Post by: hismajesty on June 19, 2004, 12:00 PM
Thanks. :) I'll use that since I hardly ever restart properly..it takes too long. :\