943,940 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 1883
  • VB.NET RSS
Apr 19th, 2006
0

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

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pokahantos is offline Offline
22 posts
since Mar 2006
Apr 19th, 2006
0

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

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
Reputation Points: 23
Solved Threads: 16
Posting Whiz in Training
plazmo is offline Offline
206 posts
since Aug 2005
Apr 20th, 2006
0

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

Hi Plazmo,

Great Idea Thanks for help... i will try it
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pokahantos is offline Offline
22 posts
since Mar 2006
Apr 20th, 2006
0

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

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pokahantos is offline Offline
22 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: How to write demo code for IVR
Next Thread in VB.NET Forum Timeline: HELP PLS! with visual studio.net 2003 installation





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC