|
-
Jul 18th, 2006, 11:36 AM
#1
Thread Starter
Lively Member
just asking pls answer
is it possible to see the code i already write in visual basic if i already made it a an EXE file
i want to know it cause i forgot the code i write it one of my programs i alraedy made
thanks!!!!
-
Jul 18th, 2006, 11:37 AM
#2
Re: just asking pls answer
If you saved it you can still see it. The .vbp, .frm and .bas files still exist.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jul 18th, 2006, 11:43 AM
#3
Thread Starter
Lively Member
Re: just asking pls answer
actually the .vbp i used in making it is already deleted when i formatted my computer
-
Jul 18th, 2006, 11:52 AM
#4
PowerPoster
Re: just asking pls answer
if you formatted your computer and didnt reinstall the OS, you can retrieve the files. if you reinstalled the OS, then they are gone for good because the FAT would have been "rewritten"
-
Jul 18th, 2006, 12:01 PM
#5
Re: just asking pls answer
 Originally Posted by BrailleSchool
if you formatted your computer and didnt reinstall the OS, you can retrieve the files. if you reinstalled the OS, then they are gone for good because the FAT would have been "rewritten"
And, you will get nothing at all from your .Exe that will be remotely useful.
It is rewrite time.
-
Jul 18th, 2006, 12:02 PM
#6
Re: just asking pls answer
You can not retrieve the source code from a compiled executable. Its been discussed many times already on the Forums but if you try a search you will get more points of view.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 18th, 2006, 12:04 PM
#7
Thread Starter
Lively Member
Re: just asking pls answer
actually i installed a different OS
when i write the code i using a windows ME but now im using Windows XP
is there any way i can see the code
-
Jul 18th, 2006, 12:06 PM
#8
Re: just asking pls answer
Nope. Time to re-write it and that will only help to increase your coding skills.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 18th, 2006, 01:37 PM
#9
Re: just asking pls answer
 Originally Posted by makmaks
actually i installed a different OS
when i write the code i using a windows ME but now im using Windows XP
is there any way i can see the code
Did you reformat the drive, or did you just upgrade the OS? If you didn't format the drive the files should still be there.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jul 19th, 2006, 07:19 PM
#10
Member
Re: just asking pls answer
even if you did re-format your drive you can still porbaly get to the files, they may be kinda damaged tho - go to www.ntfs.com, and download the appropriate data recovery tools. Scan your drive, which may take a few hours, and then recover the files you need.
-
Jul 19th, 2006, 08:00 PM
#11
Re: just asking pls answer
Thats true, some time ago I lost a BIG VB project because of a damaged partition, I recovered everything with a program called GetDataBack for NTFS. There GetDataBack for FAT also, thats the one you need if the OS was WinME. With this programs it is also possible to recover deleted files.
Last edited by jcis; Jul 19th, 2006 at 08:07 PM.
-
Jul 19th, 2006, 09:48 PM
#12
Addicted Member
Re: just asking pls answer
If you have the exe there is a way to view the code in a window, you can copy and past, The program is a trial but there is no need to purchase it for reforming code. at google type, VBreformer to download. Not checked for spyware, but the program was tested and works great!
-
Jul 19th, 2006, 10:58 PM
#13
PowerPoster
Re: just asking pls answer
 Originally Posted by jcis
Thats true, some time ago I lost a BIG VB project because of a damaged partition, I recovered everything with a program called GetDataBack for NTFS. There GetDataBack for FAT also, thats the one you need if the OS was WinME. With this programs it is also possible to recover deleted files.
if the partition has been formatted or has been damaged, you can, most of the time, recover the files. but you cant if the os has overwritten the FAT. FAT is like a directory of files and their locations on the HDD... if this has been overwritten, then those entries are gone for good. many think when you format a HDD, the files are gone... yes they are, but the entries still exist in the FAT and the recovery programs read the FAT and recover the files. the files are still there because the FAT is still there. if the FAT is deleted/overwritten, then its bye bye for good for those files. nothing you can do. Its basic A+/MCDST (which i am )
-
Jul 19th, 2006, 10:59 PM
#14
PowerPoster
Re: just asking pls answer
 Originally Posted by Triple_access
If you have the exe there is a way to view the code in a window, you can copy and past, The program is a trial but there is no need to purchase it for reforming code. at google type, VBreformer to download. Not checked for spyware, but the program was tested and works great! 
as has been discussed, even on this thread... you cannot recover/view any "code" from a compiled EXE
-
Jul 19th, 2006, 11:04 PM
#15
Fanatic Member
Re: just asking pls answer
What about that program that GRC made SPINRITE?
www.grc.com
Please RATE posts, click the RATE button to the left under the Users Name.
Once your thread has been answered, Please use the Thread Tools and select RESOLVED so everyone knows your question has been answered.
"As I look past the light, I see the world I wished tonight, never the less, sleep has come, and death shall soon follow..." © 1998 Jeremy J Swartwood
-
Jul 19th, 2006, 11:08 PM
#16
Addicted Member
Re: just asking pls answer
 Originally Posted by BrailleSchool
as has been discussed, even on this thread... you cannot recover/view any "code" from a compiled EXE
I donot mean to agravate you, but i have used the program ive spoken of, and i did indeed get the code for the exe i loaded into it! it will only work if it was created in Visual basic, as far as the add ins, i didt go that far such as if winsock controles and such was added. with this program, you would have to copy the code into visual basic and build around the code.
search for VBreformer and try it, it worked for me.
Deleted files, there are programs such as undoDelete, you just have to find them
-
Jul 19th, 2006, 11:31 PM
#17
PowerPoster
Re: just asking pls answer
VBReformer does not give you any valid code for VB projects compiled in the default native code, you will get Form Design and Procedure Names, but any code inbetween will be in assembly only.
There is only one website that maybe able to help you, as it is a research organisation dont expect fast results though. Ive been waiting for a couple months now. [www.decompiler.org]
Bottom line is this, there is NO WAY to decompile VB6 Code which has been compiled in the default Native Code, using ANY paid OR free software. Ive tried every single one, spent weeks downloading and testing .. it doesnt exist for native code.
PS. Dissassemblers dont Decompile.
Last edited by rory; Jul 19th, 2006 at 11:35 PM.
-
Jul 20th, 2006, 06:42 AM
#18
PowerPoster
Re: just asking pls answer
 Originally Posted by rory
VBReformer does not give you any valid code for VB projects compiled in the default native code, you will get Form Design and Procedure Names, but any code inbetween will be in assembly only.
Bottom line is this, there is NO WAY to decompile VB6 Code which has been compiled in the default Native Code, using ANY paid OR free software. Ive tried every single one, spent weeks downloading and testing .. it doesnt exist for native code.
PS. Dissassemblers dont Decompile.
Exactly my point
-
Jul 20th, 2006, 10:09 AM
#19
Re: just asking pls answer
 Originally Posted by rory
Bottom line is this, there is NO WAY to decompile VB6 Code which has been compiled in the default Native Code, using ANY paid OR free software. Ive tried every single one, spent weeks downloading and testing .. it doesnt exist for native code.
Make that can't exist for native code, since there's no reference to anything VBish left in native code. It's not a matter of some day someone will figure out a way, it's like burning a document, throroughly stirring the ashes until they're nothing more than powder, then getting back the words that were on the paper - but a little more difficult than that, since the burned ink no longer exists in the native code, it all evaporated.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jul 20th, 2006, 10:43 AM
#20
PowerPoster
Re: just asking pls answer
 Originally Posted by Al42
Make that can't exist for native code, since there's no reference to anything VBish left in native code. It's not a matter of some day someone will figure out a way, it's like burning a document, throroughly stirring the ashes until they're nothing more than powder, then getting back the words that were on the paper - but a little more difficult than that, since the burned ink no longer exists in the native code, it all evaporated.
interesting way of putting it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|