Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2005

Tip: Looking for answers? Try searching our database.

Creating DLLs in VB.NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ellio514 - 01 Jul 2005 18:55 GMT
Newbie to .net.....

How do I create a DLL that has a function exposed to any program that calls
it.  This will return a Char[] to the calling program.
Chris - 01 Jul 2005 19:28 GMT
> Newbie to .net.....
>
> How do I create a DLL that has a function exposed to any program that calls
> it.  This will return a Char[] to the calling program.

Start a class library project in .NET.  This will give you the dll you
are looking for.

to expose a function, just use (vb code):

Public Function FunctionName() as Char()

End Function

If you want to expose that function w/o having to instantiate a class,
use the "shared" keyword.

Chris
Wencheng Magiya - 02 Jul 2005 04:04 GMT
If you are looking at how to calling the DLLs created in VB.NET from VB6,
there are a few steps you need to do.
I found an article about that:
http://www.findarticles.com/p/articles/mi_zddvs/is_200504/ai_n13591391

>> Newbie to .net.....
>>
[quoted text clipped - 14 lines]
>
> Chris

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.