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 make my own class and imports this

How make my own class and imports this

Scheduled Pinned Locked Moved Visual Basic
question
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.
  • S Offline
    S Offline
    Serpiente
    wrote on last edited by
    #1

    Hello world!, I want to make my classes, is possible that I can imported this classes?. I think that I can use: Imports MyClass Is possible, How can do that?... gangeles

    D 1 Reply Last reply
    0
    • S Serpiente

      Hello world!, I want to make my classes, is possible that I can imported this classes?. I think that I can use: Imports MyClass Is possible, How can do that?... gangeles

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      In the project that you want to use your class library in, you have to add a reference to the library. If the class library project is in the same solution as the project you want to use it in, add a project reference. If your library is completely finished and won't be changing, you can add a reference to the .DLL that your class library is in. Only after the reference is added, will your Imports statement work and your code be able to use those classes. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -- modified at 11:12 Thursday 26th January, 2006

      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