Results 1 to 3 of 3

Thread: source code in text file...please help...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Posts
    259

    Exclamation source code in text file...please help...

    Is it possible to make a text file where i put some source code. Then let vb read the file and execute the source code? I hope you understand what i try to say lol. Then if that work encrypt the text and give it an other extension so that nobody can read that source. Is somthing like a update and external scripts.

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    You can use the microsoft scripting control for that
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    If the source code is an SQL statement, you could read the contents into a variable, and execute it the same way you would execute an SQL statement that was part of your source code.

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