CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2001
    Posts
    2

    compilation of code

    hello,

    we are creating an application(IDE) which generates vb source code at runtime.now the executable has to be built by compiling this code at runtime.

    my question is --

    is it possible to compile the runtime generated code by using the VB compiler at runtime. if yes, what are the licensing issues if vb compiler is integrated with project

    rgds

    yeswem



  2. #2
    Join Date
    Mar 1999
    Location
    Nepal
    Posts
    540

    Re: compilation of code

    Compiling code through code is done as follows:

    Shell "C:\Program Files\Microsoft Visual Studio\VB98\vb6 /make MyProg.vbp"
    Do
    DoEvents
    Loop Until Dir$(EXEName) <> ""

    MsgBox EXEName & " has been created"




    The condition is that the user running this program should have a valid copy of Visual Basic.


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

Featured