12 replies
.............thanks
#nda #templates
  • Profile picture of the author Nochek
    if(requiredprogram)
    {
    run;
    }
    else()
    {
    die;
    }

    Its been awhile since I played with the .NET framework syntax, but that's basically as difficult as it would need be.
    Signature
    Nochek Solutions Presents:
    The Hydrurga WSO - Rank Your Site #1 And Score Over The Penguin Updates!
    {{ DiscussionBoard.errors[5640226].message }}
  • Profile picture of the author MarketingVet09
    thanks.....
    {{ DiscussionBoard.errors[5640252].message }}
  • Profile picture of the author webpeon
    my confidence level would be low for any programmer that said anything wasnt possible, I would prefer that if they didnt know to hear things like, Im not really sure but let me look into that for you, nothing is impossible in programming...

    as for your question, im not really sure if this is the best way to accomplish what you are trying to achieve, care to share some more information ,theres likely an easier way of doing this...
    Signature
    Web 2 Mobile
    The Future of The Web
    {{ DiscussionBoard.errors[5640844].message }}
  • Profile picture of the author Chimaera
    Impossible!! unbelievable....

    Of course its possible you could do this with Cmd and that's as old as the hills.

    I regularly do this on a program i don't wont someone copying and using for themselves which i let work use for doing backups of a system in for repair.

    If he reckons it isn't possible i would find another programmer
    {{ DiscussionBoard.errors[5641348].message }}
  • Profile picture of the author Chimaera
    Impossible!! unbelievable....

    Of course its possible you could do this with Cmd and that's as old as the hills.

    I regularly do this on a program i don't wont someone copying and using for themselves which i let work use for doing backups of a system in for repair.

    If he reckons it isn't possible i would find another programmer
    {{ DiscussionBoard.errors[5641349].message }}
  • Profile picture of the author MarketingVet09
    thanks for help guys..
    {{ DiscussionBoard.errors[5641718].message }}
    • Profile picture of the author webpeon
      Originally Posted by Jusumax View Post

      hey webpeon...

      Basically, i create a settings file that's encrypted, to go out with the program when I hand it out, custom settings I can change...

      The program should no work without this file at all..

      I think i know why hes finding this complicated, its not such an easy task to add a file to an already built exe, once a project is built it should already have all the existing files needed packaged into the exe, adding a file at install time is probably the most complicated as it requires creating a custom installer to handle how the program is installed which can involve a bit of work, doing it after install requires a fuzzy search for the file which can be an inefficient task especially if you are searching for a file with a totally unknown location.


      however far from impossible and a workaround that could accomplish this for you is to have the program search a 'specific folder' for the file on startup, if its there continue if not have an option pop up to install the required file, the user can then browse for the file and select it, then the application will place the file into the 'specific folder' that will be searched on start up
      Signature
      Web 2 Mobile
      The Future of The Web
      {{ DiscussionBoard.errors[5653019].message }}
  • Profile picture of the author Mcoroklo
    That task is really simple Shouldn't take too long to learn. You can always ask for someone on Guru.com / Elance to fix it for you - shouldn't cost more than 20-30$.
    {{ DiscussionBoard.errors[5641787].message }}
  • Profile picture of the author PaybackTony
    It really depends on what that "config" file does, but generally speaking it's very easy to have your program "search" for a file. The problem is, that searching the users entire drive for a files can take quite a long time (possibly even 30min+).

    Another option would be along the lines of what your programmer suggested. Perhaps for every person that has access to the program has to register online, and then provide that info when the app first starts. The app can then communicate with the web server to verify that those credentials are correct and then allow continued use of the software.

    Searching for a file on the users computer isn't impossible, it's just a dumb idea. Relying on the file being in the same folder as the app isn't impossible, it's just a dumb idea. Both those ideas are relying on the user to keep things where they should be, and that's always a bad idea.
    {{ DiscussionBoard.errors[5656885].message }}
  • Profile picture of the author webpeon
    actually thinking about this again, theres no reason a blank file cant be pre-installed with the app and then updated from the file you supply...

    this will solve the issue of searching for the file as it will always be where you put it, the validation side of things will be run from the content inside the file as opposed to checking for the file itself, security will be alot better done this way as well as there will be no way for the user to tell easily where the file contents ended up.

    i got bored and decided to build a simple app that will accomplish this, ping me across some contact details and i'll send it over for you to look at, no cost i just got bored, besides its in such a simple format it'll need some work to get it to the standard you require but atleast you'll see how it 'could' be done
    Signature
    Web 2 Mobile
    The Future of The Web
    {{ DiscussionBoard.errors[5658040].message }}
    • Profile picture of the author PaybackTony
      Originally Posted by webpeon View Post

      actually thinking about this again, theres no reason a blank file cant be pre-installed with the app and then updated from the file you supply...

      this will solve the issue of searching for the file as it will always be where you put it, the validation side of things will be run from the content inside the file as opposed to checking for the file itself, security will be alot better done this way as well as there will be no way for the user to tell easily where the file contents ended up.

      i got bored and decided to build a simple app that will accomplish this, ping me across some contact details and i'll send it over for you to look at, no cost i just got bored, besides its in such a simple format it'll need some work to get it to the standard you require but atleast you'll see how it 'could' be done
      This is a good solution as well.
      {{ DiscussionBoard.errors[5658924].message }}
  • Profile picture of the author elusivecoding
    The best way to do it, is make your program read the contents of the file itself and not just the file itself. I would also make it binary, and make the program search for certain bytes in a certain sequence.
    {{ DiscussionBoard.errors[5666418].message }}

Trending Topics