|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
recovering the tmp fileOkay VB6 just crapped out on me and my work hadn't been saved for awhile(
don't taunt me or I'll slit my wrists. just kidding). Is there a way to recover some of the work from the tmp file. What kind of file is that? Is there a way to open it. Any and all answers will be greatly appreciated. TIA "Richard P" <requested(remo***@comcast.net> wrote in message Nope. If you haven't saved, you're screwed. As far as I know, the .tmp files news:edyP0mVyFHA.2880@TK2MSFTNGP12.phx.gbl... > Okay VB6 just crapped out on me and my work hadn't been saved for > awhile( don't taunt me or I'll slit my wrists. just kidding). Is there a > way to recover some of the work from the tmp file. What kind of file is > that? Is there a way to open it. Any and all answers will be greatly > appreciated. TIA that VB creates contain no source code that you could recover. What I strongly suggest you do RIGHT NOW is go into VB's options and set the setting to save on run (or at least prompt to save). It's not going to help with your current situation, but it will/can prevent a similar disaster in the future. Sometimes, you just have to learn the hard way. Hopefully, you've learned to save (and even backup) more often. Probably most every programmer can sympathize with you to some extent because we've all probably lost code by not saving often enough. But there's really no excuse for losing code. -- Mike Microsoft MVP Visual Basic I figured as much. I usually save a lot just one of those times I was in a
zone. Oh well second time is always easier than the first. Think I'll crack a beer and wind down. <g> Thanks again. Show quoteHide quote "MikeD" <nob***@nowhere.edu> wrote in message news:OIUZUzVyFHA.2792@tk2msftngp13.phx.gbl... > > "Richard P" <requested(remo***@comcast.net> wrote in message > news:edyP0mVyFHA.2880@TK2MSFTNGP12.phx.gbl... >> Okay VB6 just crapped out on me and my work hadn't been saved for >> awhile( don't taunt me or I'll slit my wrists. just kidding). Is there a >> way to recover some of the work from the tmp file. What kind of file is >> that? Is there a way to open it. Any and all answers will be greatly >> appreciated. TIA > > Nope. If you haven't saved, you're screwed. As far as I know, the .tmp > files that VB creates contain no source code that you could recover. > > What I strongly suggest you do RIGHT NOW is go into VB's options and set > the setting to save on run (or at least prompt to save). It's not going to > help with your current situation, but it will/can prevent a similar > disaster in the future. Sometimes, you just have to learn the hard way. > Hopefully, you've learned to save (and even backup) more often. Probably > most every programmer can sympathize with you to some extent because we've > all probably lost code by not saving often enough. But there's really no > excuse for losing code. > > -- > Mike > Microsoft MVP Visual Basic > > > MikeD wrote:
> What I strongly suggest you do RIGHT NOW is go into VB's options and set the I seem to recall that the new version of MZ-Tools had an autosave> setting to save on run (or at least prompt to save). It's not going to help option. Perhaps you could turn that on and set it to autosave every 5 minutes! "Chris Dunaway" <dunaw***@gmail.com> wrote in message Certainly not a bad idea or feature, but I suspect that most code is lost by news:1128542630.704712.186410@g49g2000cwa.googlegroups.com... > MikeD wrote: > >> What I strongly suggest you do RIGHT NOW is go into VB's options and set >> the >> setting to save on run (or at least prompt to save). It's not going to >> help > > I seem to recall that the new version of MZ-Tools had an autosave > option. Perhaps you could turn that on and set it to autosave every 5 > minutes! not having saved before running and whatever code changes were made cause VB to crash. Setting the option to save/prompt on run takes care of that itself. Personally, I find autosave features (those that do it every x minutes) annoying because frequently I don't WANT things saved unbeknownst to me (IOW, when I have not explicitly saved). -- Mike Microsoft MVP Visual Basic What OS are you using? I am not sure if you could recover the source. Temp
files are usually located in: C:\TEMP C:\Windows\Temp C:\Documents and Settings\<YourUserName>\Local Settings\Temp You could find which one for sure by going to Command Prompt/MS-DOS Prompt and type "set" and press Enter. Look for "TEMP=" and "TMP=", they show where the temporary folders are. In my case I see a lot of VBxxxx.tmp files, never tried to see what's inside them. Free hex editor in case you need one: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm Show quoteHide quote "Richard P" <requested(remo***@comcast.net> wrote in message news:edyP0mVyFHA.2880@TK2MSFTNGP12.phx.gbl... > Okay VB6 just crapped out on me and my work hadn't been saved for > awhile( don't taunt me or I'll slit my wrists. just kidding). Is there a > way to recover some of the work from the tmp file. What kind of file is > that? Is there a way to open it. Any and all answers will be greatly > appreciated. TIA > XP and its in the C:\Documents and Settings\<YourUserName>\Local
Settings\Temp folder. Thanks for the suggestion. I'll give it a whirl. "Someone" <nob***@cox.net> wrote in message news:ENH0f.316$MN6.270@fed1read04...Show quoteHide quote > What OS are you using? I am not sure if you could recover the source. Temp > files are usually located in: > > C:\TEMP > C:\Windows\Temp > C:\Documents and Settings\<YourUserName>\Local Settings\Temp > > You could find which one for sure by going to Command Prompt/MS-DOS Prompt > and type "set" and press Enter. Look for "TEMP=" and "TMP=", they show > where the temporary folders are. > > In my case I see a lot of VBxxxx.tmp files, never tried to see what's > inside them. > > Free hex editor in case you need one: > > http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm > > > "Richard P" <requested(remo***@comcast.net> wrote in message > news:edyP0mVyFHA.2880@TK2MSFTNGP12.phx.gbl... >> Okay VB6 just crapped out on me and my work hadn't been saved for >> awhile( don't taunt me or I'll slit my wrists. just kidding). Is there a >> way to recover some of the work from the tmp file. What kind of file is >> that? Is there a way to open it. Any and all answers will be greatly >> appreciated. TIA >> > >
Problem when executing application from batch file
General Question Radial text on a path Variable changes Listview Question ActiveX component can't create object or return reference to this object (Error 429) Make a good setup file for VB project the sender of a message Clearing out connections in a connection pool ?! HEEEEELP, F1, -- Access violation in Visual Basic |
|||||||||||||||||||||||