?
Solved

making contents of VB .exe unreadable

Posted on 1997-11-08
6
Medium Priority
?
357 Views
Last Modified: 2008-03-17
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.
0
Comment
Question by:rfb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:vmpn
ID: 1440273
It sould work with VB5 files because they can be compiled to machine code.
0
 
LVL 3

Expert Comment

by:vmpn
ID: 1440274
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
 
LVL 1

Author Comment

by:rfb
ID: 1440275
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:vmpn
ID: 1440276
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
 
LVL 1

Author Comment

by:rfb
ID: 1440277
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
 
LVL 3

Accepted Solution

by:
ChrisLewis earned 60 total points
ID: 1440278
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

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question