Hi,
I have got a program which dynamicaly compiles a vb-file when it is being executed, this allows me to alter the code in the vb-file without altering the executable.
So far so good, I did manage to create this using CompileAssemblyFromSource().
The problem I have is the following....
From within the vb-file I want to call methods in the executable, I don't seem to be able to get my head round this.
Following are some snippets of code:
Start of a module in the executable...
The piece of code in the file which should call the method NewAuction()
(At this moment the complete vb file)
Grtz,
Kalin
I have got a program which dynamicaly compiles a vb-file when it is being executed, this allows me to alter the code in the vb-file without altering the executable.
So far so good, I did manage to create this using CompileAssemblyFromSource().
The problem I have is the following....
From within the vb-file I want to call methods in the executable, I don't seem to be able to get my head round this.
Following are some snippets of code:
Start of a module in the executable...
Code:
Public Module modStockRound
Public Sub NewAuction()
......
End Sub
End Module
The piece of code in the file which should call the method NewAuction()
(At this moment the complete vb file)
Code:
Imports Microsoft.VisualBasic
Public Class StockRound
Public Sub StartStockRound(ByVal Phase As String)
modStockRound.NewAuction()
End Sub
End Class
Grtz,
Kalin