Embeded C# inside VB.NET URGENT!!!please

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2006
Posts: 22
Reputation: pokahantos is an unknown quantity at this point 
Solved Threads: 0
pokahantos pokahantos is offline Offline
Newbie Poster

Embeded C# inside VB.NET URGENT!!!please

 
0
  #1
Apr 19th, 2006
Hi all,

I am a beginer in VB.NET :rolleyes: .... now, i am working on a project so as usaul we wonder if we could do something .... etc.

I write the whole application in VB.NET but i observed that i need to write a few line C# code inside it.. can i embeded C# inside VB.NET?in the same .vb file or it is not allowed?!!

If i can do so, can anybody help me how i can do so..

how can i connect my database written in Microsoft Access with my application?!!

I will be Grateful if anyone show me an example of this.. :o

Thanks in advance.
Regards.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 206
Reputation: plazmo is an unknown quantity at this point 
Solved Threads: 16
plazmo's Avatar
plazmo plazmo is offline Offline
Posting Whiz in Training

Re: Embeded C# inside VB.NET URGENT!!!please

 
0
  #2
Apr 19th, 2006
if you want to add c# code to your vb project try this. add a new c# library project to your vb solution. so then you will have a 2 projects in the solution. then add the c# library to the reference of the vb solution. and now the c# will compile as a dll and the vb exe will use the dll
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 22
Reputation: pokahantos is an unknown quantity at this point 
Solved Threads: 0
pokahantos pokahantos is offline Offline
Newbie Poster

Re: Embeded C# inside VB.NET URGENT!!!please

 
0
  #3
Apr 20th, 2006
Hi Plazmo,

Great Idea Thanks for help... i will try it
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 22
Reputation: pokahantos is an unknown quantity at this point 
Solved Threads: 0
pokahantos pokahantos is offline Offline
Newbie Poster

Re: Embeded C# inside VB.NET URGENT!!!please

 
0
  #4
Apr 20th, 2006
Hi again,

I tried what you said but....

when i add c# library to the reference of the vb solution, which one i use from the .NET tab??

Is it System?!

Thanks in adavce
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC