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. Web Development
  3. ASP.NET
  4. Creating an instance of a VB class in C# class

Creating an instance of a VB class in C# class

Scheduled Pinned Locked Moved ASP.NET
3 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.
  • N Offline
    N Offline
    NetBot
    wrote on last edited by
    #1

    Hi all, This may be a naive question, but i am not able to understand. I have a website in which i have used 2 classes written in different languages(C# and VB). They are stored in app_code as Csharp Class1.cs Class2.cs Vb Class3.vb Class4.vb Now i have to create an object of a vb class in my C# class. But the intellisense doen`t show up the vb class in my c# class file. However it allows me to create an object of C# class in my other VB class. How can i create an object of vb class in C# class???? Please excuse if its in a wrong forum :-\ :-\ :-\

    I 1 Reply Last reply
    0
    • N NetBot

      Hi all, This may be a naive question, but i am not able to understand. I have a website in which i have used 2 classes written in different languages(C# and VB). They are stored in app_code as Csharp Class1.cs Class2.cs Vb Class3.vb Class4.vb Now i have to create an object of a vb class in my C# class. But the intellisense doen`t show up the vb class in my c# class file. However it allows me to create an object of C# class in my other VB class. How can i create an object of vb class in C# class???? Please excuse if its in a wrong forum :-\ :-\ :-\

      I Offline
      I Offline
      i gr8
      wrote on last edited by
      #2

      I think u create DLL for that VB class and try...

      N 1 Reply Last reply
      0
      • I i gr8

        I think u create DLL for that VB class and try...

        N Offline
        N Offline
        NetBot
        wrote on last edited by
        #3

        But thats not feasible. That would result in redundancy.Is it the only way to tackle this????

        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