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. C#
  4. Passing values to external library

Passing values to external library

Scheduled Pinned Locked Moved C#
csharp
6 Posts 4 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.
  • E Offline
    E Offline
    Enobong Adahada
    wrote on last edited by
    #1

    Hi Felolows, Pls how do pass values to and fro an external class library from my .exe prgram. the class library is written in vb2008 while the exe is in c#. thanks.

    C 1 Reply Last reply
    0
    • E Enobong Adahada

      Hi Felolows, Pls how do pass values to and fro an external class library from my .exe prgram. the class library is written in vb2008 while the exe is in c#. thanks.

      C Offline
      C Offline
      Calla
      wrote on last edited by
      #2

      If you want to use a class from a dll written in vb.net in your C# program, you just instantiate that class and call the method (with the appropriate arguments). What kind of problems are you experiencing?

      E 1 Reply Last reply
      0
      • C Calla

        If you want to use a class from a dll written in vb.net in your C# program, you just instantiate that class and call the method (with the appropriate arguments). What kind of problems are you experiencing?

        E Offline
        E Offline
        Enobong Adahada
        wrote on last edited by
        #3

        the problem is that when i instantiate the DLL class in mt program, the base class from which the DLL inherits is loaded, that is the program that the DLL is fused to starts up with my program. i donot want this to happen. thanks again.

        L P C 3 Replies Last reply
        0
        • E Enobong Adahada

          the problem is that when i instantiate the DLL class in mt program, the base class from which the DLL inherits is loaded, that is the program that the DLL is fused to starts up with my program. i donot want this to happen. thanks again.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          you don't want the base class to be used for an instance ? then change it to abstract class.

          1 Reply Last reply
          0
          • E Enobong Adahada

            the problem is that when i instantiate the DLL class in mt program, the base class from which the DLL inherits is loaded, that is the program that the DLL is fused to starts up with my program. i donot want this to happen. thanks again.

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #5

            You may need to explain more.

            1 Reply Last reply
            0
            • E Enobong Adahada

              the problem is that when i instantiate the DLL class in mt program, the base class from which the DLL inherits is loaded, that is the program that the DLL is fused to starts up with my program. i donot want this to happen. thanks again.

              C Offline
              C Offline
              Calla
              wrote on last edited by
              #6

              As PIEBALDconsult mentioned - please explain more.

              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