Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How can i use a c# application as a part of vb.net application ??

How can i use a c# application as a part of vb.net application ??

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AbuFahed
    wrote on last edited by
    #1

    hi all :,) Can i use a c# application as a part of vb.net application ?? Is the compilation of the c# part must be done with the vb part ?? How ?? Thnx alot

    C 1 Reply Last reply
    0
    • A AbuFahed

      hi all :,) Can i use a c# application as a part of vb.net application ?? Is the compilation of the c# part must be done with the vb part ?? How ?? Thnx alot

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      AbuFahed wrote: Can i use a c# application as a part of vb.net application ?? Yes. AbuFahed wrote: Is the compilation of the c# part must be done with the vb part ?? No, the C# part and the VB.NET part are compiled into different assemblies. AbuFahed wrote: How ?? Add the C# part to a solution. Add the VB.NET part to the same solution. If the C# part uses code in the VB.NET part then add a reference to the C# part referencing the VB.NET Project, and vice versa. Does this help?


      "You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar The Second EuroCPian Event will be in Brussels on the 4th of September Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way! My Blog

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups