Click to See Complete Forum and Search --> : compilation of code


yeswem
August 29th, 2001, 10:00 AM
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

shree
August 29th, 2001, 07:06 PM
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.