Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2007

Tip: Looking for answers? Try searching our database.

Dynamic compilation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
alexis.meilland@gmail.com - 05 Jun 2007 15:02 GMT
Hello.

I have a big problem. In fact, I have a program coded in C#. In this
one, I generate a vb.net assembly. Everything is ok. It works well.

But now, my problem is the following.

I want to export the .net object in1 created in the code I want to
compile.
Input is a class used in my c# and vb source
For example:

Input in1 = new Input();
in1.value="2";

And in my code I want to compile by fly. I will only write: I will not
declare the type. Just pass the object to my compilation

MessageBox.Show(in1.value);

With control active script, it is possible to do that with the
function addobject. But it doesn't support vb.net

Could you help me please?

Thank you
Ben Voigt [C++ MVP] - 05 Jun 2007 18:08 GMT
> Hello.
>
[quoted text clipped - 13 lines]
> And in my code I want to compile by fly. I will only write: I will not
> declare the type. Just pass the object to my compilation

Maybe your generated assembly needs a reference to the running C# assembly?
Have you done that yet?

> MessageBox.Show(in1.value);
>
[quoted text clipped - 4 lines]
>
> Thank you

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.