DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 05 Jun 2007 07:02:59 -0700,    posted on: microsoft.public.dotnet.vsa        back       

Thread Index
  1    unknown
          2    Ben Voigt [C++ MVP] am
          3    Ben Voigt [C++ MVP] am
          4    Ben Voigt [C++ MVP] am
          5    Ben Voigt [C++ MVP] am
          6    Ben Voigt [C++ MVP] am


Dynamic compilation   
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
Date:Tue, 05 Jun 2007 07:02:59 -0700   Author:  

Re: Dynamic compilation   
wrote in message 
news:1181052179.452842.103420@p77g2000hsh.googlegroups.com...

> 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


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


>
> 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
> 
Date:Tue, 5 Jun 2007 12:08:47 -0500   Author:  

Re: Dynamic compilation   
wrote in message 
news:1181052179.452842.103420@p77g2000hsh.googlegroups.com...

> 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


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


>
> 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
> 
Date:Tue, 5 Jun 2007 12:08:47 -0500   Author:  

Re: Dynamic compilation   
wrote in message 
news:1181052179.452842.103420@p77g2000hsh.googlegroups.com...

> 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


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


>
> 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
> 
Date:Tue, 5 Jun 2007 12:08:47 -0500   Author:  

Re: Dynamic compilation   
wrote in message 
news:1181052179.452842.103420@p77g2000hsh.googlegroups.com...

> 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


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


>
> 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
> 
Date:Tue, 5 Jun 2007 12:08:47 -0500   Author:  

Re: Dynamic compilation   
wrote in message 
news:1181052179.452842.103420@p77g2000hsh.googlegroups.com...

> 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


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


>
> 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
> 
Date:Tue, 5 Jun 2007 12:08:47 -0500   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us