making contents of VB .exe unreadable

what can I do to a VB .exe file to make ALL of the contents unreadable, including the "text" parts?
can it all be encrypted somehow?
pklite does not work with VB exe's.
LVL 1
rfbAsked:
Who is Participating?
 
ChrisLewisConnect With a Mentor Commented:
Don't bother.  VB executables are enherently "stringy".  Other than encrypting your strings as VMPN suggested, there is no way to keep VB from doing what it does.  There's also stuff that would be visible in ANY exe, such as the copyright & trademark  information, version information, needed DLL files, references to AActiveX controls & objects etc.  These are stipulated by the Windows API, & there is no way to get around it.

As for the VB stuff, well, you could change the names of all your controls so they look like junk (rather than Label1, Command1 etc), but if you want to totally remove & encrypt,  VB is not your answer.

Sorry,

Chris
0
 
vmpnCommented:
It sould work with VB5 files because they can be compiled to machine code.
0
 
vmpnCommented:
The other way is to have your own encryption algorithm for strings (go to ftp.simplenet.com, have encryption algorithms), you would turn all your string into constants that would have encrypted text in them and to use them you would do:

msgbox decrypt(mystring)

for encrypting algorithms you can use WIndows 95 built in. Very Hard to break.
go to:
http://premium.microsoft.com/msdn/library/techart/vbcrypto.htm
You need to be a member of msdn, but registration is for free (I think).

Sincerely,
VMPN



0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
rfbAuthor Commented:
I really don't understand the answer. Just to be clear. I need to encrypt the contents of the .exe and be able to have it be able to execute while encrypted.
??
0
 
vmpnCommented:
I say, do not encrypt text by encrypting exe, but encrypt text in the source code, and then decrypt it while running.

Sincerely,
VMPN
0
 
rfbAuthor Commented:
STILL., THERE ARE COMMANDS LIKE "CHANGE DIRECTORY" AND OTHER COMMAND-LINE COMMANDS THAT ARE CLEARLY VISIBLE IN THE .EXE FILE. i AM LOOKING FOR A WAY TO CONCEAL ALL PLAIN LANGUAGE FROM THE .EXE PRIOR TO SENDING OUT TO THE USER.
eNCRYPTING THE TEXT DOES NOT SUFFICE..

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.