Interface Example

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All

I am fairly new to VB.Net and I am struggling with the concept of creating a
DLL that has an interface that can be referenced by another application. Can
anyone explain the concept of an interface and possibly provide a basic
example that can be called by another application.

Thanks
 
hi, if im interpreting ur question rite, you would create a class in a "class
library" project and then compile it, then to use it in other programs you go
to the solution explorer and right click on the "references" and click "add
reference" then go to "projects" and find where you compiled the .dll of the
project. then to call it you declare something as that class, for example i
made a printing class dll so i went like this:

Dim print as new PrintingClass

then you use print as the arguments ex:

print.printdocument(args go here that u specify in your class)

hope that helps, if u need an example, just tell me
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top