Bort1980

I've just gone and accidently deleted all my project files

Fortunately, maybe, I had just finished compiling and publishing my project, so it is intact. Is there any way I can retrieve my code from the published files

Please say yes.


Re: Visual Basic Express Edition Argh! Nightmare accident!!!

ReneeC

a little bit. Almost yes.....

Goto www.reflector.com and down load a free copy of reflector. It will disassemble CLR assembles and almost get you where you want to be, You'll still have some work to do.

Any chance you have recycling on






Re: Visual Basic Express Edition Argh! Nightmare accident!!!

Bort1980

Hi Renee, thanks for getting back to me. What do you mean by recycling though As in, do I use the recycle bin

I've just been to reflector.com, and it seems to be some kind of news site. Certainly when I searched for 'reflector download' it only came back with news articles.




Re: Visual Basic Express Edition Argh! Nightmare accident!!!

Bort1980

I've downloaded Lutz Roeder's .NET Reflector. I can only assume that is what you were talking about Renee, but no luck. It says that the module 'setup.exe' does not have a CLI header. Any ideas




Re: Visual Basic Express Edition Argh! Nightmare accident!!!

clint 2






Re: Visual Basic Express Edition Argh! Nightmare accident!!!

Bort1980

Hi Clint,

I tried downloading Refactor from the link you gave me, but when I tried to install it, it gave me a message telling me to install Visual Studio. I'm using VB 2005 Express, so I'm guessing it won't work with that.




Re: Visual Basic Express Edition Argh! Nightmare accident!!!

clint 2

I am not even sure if that is what you need

probably best to wait for renee

she is the expert....she probably in bed at the moment

just make sure you backup in future...

the same thing has happened to me, and its not funny

clint






Re: Visual Basic Express Edition Argh! Nightmare accident!!!

ReneeC

You're right... setup is not a .Net assembly and it was not my intention for you to use reflector on a setup image.

Install your publication and then use reflector on the installed assembly. That will produce code identical in functionto your sources... but it's going to look a little different. Execution would be the same but there will be some information loss.

I've used reflector many time when I had an executable and left my sources at home.