Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 324
  • Last Modified:

hiding the codes in vb project

hi all
 is there a way of hiding all the codes in a vb project
 thanx
0
jiyad
Asked:
jiyad
  • 7
  • 3
  • 3
  • +1
1 Solution
 
Erick37Commented:
Once compiled into an EXE or DLL, the underlying code is unreadable and undecompilable.
0
 
x50FadeCommented:
You can add your project to SourceSafe, and set permissions that only you can edit it....
0
 
DextroSoftCommented:
Don't be fooled...VB6 doesn't really compile the source-codes into an exe ! When you run a vb program, the exe is "runned" by the VB runtime dll's. It is not straight forward, but it is sure possible to reverse engineer vb-exe's into source code. You even find companies on the net offering their services for that.

What can you do about it....not much really except that there are tools ( called obfuscators) which can make it harder to reverse engineer your program. In a nutshell, these programs renames all your variables, procedures, etc...to lessermeaning names. ex. Sub NameOfProcedure( parameter1 as inetger) becomes Sub jkhheudhuededh( ohdohdeode as integer). It also plays with the scopes of your variables and trying to use the same name as much as possible.

But let's get real....for 99% of the vb applications, the effort is not worth the trouble, so basically what Erick37 is saying : "Once compiled into an EXE or DLL, the underlying code is unreadable and undecompilable" is correct but keep in mind there is still a backdoor !

Regards....

0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
RanjeetRainCommented:
DextroSoft,

I can pay any price. Please suggest me a product from any company in the world that can bring me back my source code of several of large products developed in VB and I do not have the source code today.

At least provide me the links to any sucj products.
0
 
RanjeetRainCommented:
>> is there a way of hiding all the codes in a vb project

Yes, many. What exactly do you want. You have been presented all teh valid options. Besides, if you are afraid of your own accidental deletion of code etc, you may "split" your code carefully and put the reusable part in module files or class files.

Just another idea. What exactly are you looking forward to?
0
 
RanjeetRainCommented:
>> Once compiled into an EXE or DLL, the underlying code is unreadable and undecompilable.

Erick37, careful! Every executable IS decompilable. What you get after decompilation is a different matter. In VB if they compile it to Native code, it will be de-compilable.

What you are saying is correct, but selection of words should be more careful, because the entire world reads what you write here.

Cheers!
0
 
Erick37Commented:
Ok RanjeetRain,

Since the whole world is reading this, please tell us how to decompile a VB6 executable back into some form of Visual Basic source code - not assembly code.

When I wrote "underlying code," I assumed you would read it as "underlying Visual Basic source code."
0
 
RanjeetRainCommented:
Wrong place. We both understand what you have written, but it seemed a reader could misread you like saying a compiled VB exe cannot be de-compiled. And I alerted you about the same.

I am NOT of the opinion that VB exes can be decopiled to original source code. My first comment also stated the same. Second addressed to you did too.

I read you correctly that "underlying code is unreadable". But when you say "underlying code is unreadable and undecompilable." it sounds like underlying code is - BOTH unreadable AND undecompilable -- Thats wrong (decompilation doesn't apply to source).

Cheers!
0
 
Erick37Commented:
"(decompilation doesn't apply to source)"

In the scope of this conversation, I believe it does.
0
 
RanjeetRainCommented:
Oh... well... rightly said!
0
 
x50FadeCommented:
ding ding ding...next round in 24Hours...hehe
0
 
RanjeetRainCommented:
:))
0
 
RanjeetRainCommented:
A C grade for such a neat solution? Amazing man!
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.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 7
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now