How can I avoid a recompile?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How can I avoid a recompile?

  1. #1
    James Guest

    How can I avoid a recompile?


    I have a program with some code I expect to change often.
    I would like to externalize that portion of the program in a file,
    have the main routine read in the code and executed it.
    I know this is possible in some interpretive languages.
    Does anyone know if this is possible with VB 6.0 in an NT environment?

    I'm also open to any suggestions on how to solve this issue.

    Thanks in advance for any help.

    James


  2. #2
    Michael Culley Guest

    Re: How can I avoid a recompile?

    James,

    VB has a scripting control which you could use.

    But I would recommend using a dll. Create a dll, compile it and make a copy
    of it. Call it "MyDll Bin Compat" and set binary compatibility to this dll.
    Whenever you compile your main app, make sure this dll is registered (not
    the newer version).

    --
    Michael Culley
    www.vbdotcom.com
    "James" <tbt102@hotmail.com> wrote in message
    news:3a871dd5$1@news.devx.com...
    >
    > I have a program with some code I expect to change often.
    > I would like to externalize that portion of the program in a file,
    > have the main routine read in the code and executed it.
    > I know this is possible in some interpretive languages.
    > Does anyone know if this is possible with VB 6.0 in an NT environment?
    >
    > I'm also open to any suggestions on how to solve this issue.
    >
    > Thanks in advance for any help.
    >
    > James
    >




  3. #3
    Kenny Acock Guest

    Re: How can I avoid a recompile?


    James,

    >I have a program with some code I expect to change often.
    >I would like to externalize that portion of the program in a file,
    >have the main routine read in the code and executed it.
    >I know this is possible in some interpretive languages.
    >Does anyone know if this is possible with VB 6.0 in an NT environment?
    >
    >I'm also open to any suggestions on how to solve this issue.


    Deborah Kurata dealt with this very topic in the March 2000 issue of VBPJ,
    in the Programming With Class column.

    --Kenny

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center