Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How secure is VB6 apps? Any way for someone to decode your app?

Status
Not open for further replies.

mark01

Technical User
Jan 17, 2001
600
US
Just wondering if someone could decode your VB6 app, and find the source code to it...

thanks
 
Not for VB 6. There is no source code in the exe file.

"I think we're all Bozos on this bus!" - Firesign Theatre [jester]
 
It would be very very difficult -- on the order of reverse-engineering a C++ program (one of the compilation steps that VB6 does is to call C2.exe, part of the C compiler)

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
You can read every string being set to text and every constant in VB6, so you should never store passwords, db connections etc. in your source code.

To a skilled C++ programmer, they can fairly easily hack VBRUN.DLL to show what your code is doing, but not get the actual source.
 
Strings are stored in plain view in C/C++ programs too. Use a hex editor on one of the DLLs in System32 sometime -- some good stuff in there.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top