Results 1 to 16 of 16

Thread: [RESOLVED] How Secure is EXE?

Threaded View

  1. #6
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: How Secure is EXE?

    Quote Originally Posted by Joacim Andersson
    Instead of commenting code out, use a compiler directive instead.
    Code:
    #Const Demo = True
    'then in some sub or function:
    #If Not Demo Then
        'code
    #End If
    With the above approach the code within the #If block will not be compiled into your program if #Const Demo is set to True.
    Very useful to know, Joacim...not something I knew was available :-)

    Question is, does it compile different based on the constant "Demo"? Or is there a way to change constant to false and make it work fully?

    If it can be modified, then commenting out is the only 100% secure way of doing what I suggested and keeping it demo-only

    Quote Originally Posted by akhileshbc
    It is not good enoug to comment out. Using vbdecompiler pro version, its possible to get almost all the codings.
    Wrong. If something is commented out it doesn't get compiled as part of the code...if not compiled, it can't be decompiled, it doesn't exist anywhere except in the source as commented code.
    Last edited by smUX; Sep 28th, 2008 at 01:01 PM.
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width