PC Review


Reply
Thread Tools Rate Thread

Creating dll in vb.net

 
 
suganya
Guest
Posts: n/a
 
      16th Jul 2004
i am new to vb.net. i am trying to create a class library ( equivalent of
vb's dll) in vb.net . i checked the 'register for COM interop' option and
built the app. a dll ic cretaed but i am not able to register the dll. the
error message says " example.dll was loaded but DLLRegisterServer Entry
Point was found". what am i missing here?Thanks in advance.

Suganya.


 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGF2aWQgV2lsbGlhbXM=?=
Guest
Posts: n/a
 
      16th Jul 2004
You need to run regasm not regsvr32 for Net applications.

HTH
--
David Williams, VB.NET MVP


"suganya" wrote:

> i am new to vb.net. i am trying to create a class library ( equivalent of
> vb's dll) in vb.net . i checked the 'register for COM interop' option and
> built the app. a dll ic cretaed but i am not able to register the dll. the
> error message says " example.dll was loaded but DLLRegisterServer Entry
> Point was found". what am i missing here?Thanks in advance.
>
> Suganya.
>
>
>

 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      16th Jul 2004
* "suganya" <(E-Mail Removed)> scripsit:
> i am new to vb.net. i am trying to create a class library ( equivalent of
> vb's dll) in vb.net . i checked the 'register for COM interop' option and
> built the app. a dll ic cretaed but i am not able to register the dll. the
> error message says " example.dll was loaded but DLLRegisterServer Entry
> Point was found". what am i missing here?Thanks in advance.


Register the DLL using "REGASM.EXE".

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
suganya
Guest
Posts: n/a
 
      16th Jul 2004
thanks.i did try regasm.it says "types registered successfully" but i am not
able to see the name of my dll listed in the registry.

suganya.

"David Williams" <(E-Mail Removed)> wrote in message
news:48A8A2A4-3BA3-487C-AFDB-(E-Mail Removed)...
> You need to run regasm not regsvr32 for Net applications.
>
> HTH
> --
> David Williams, VB.NET MVP
>
>
> "suganya" wrote:
>
> > i am new to vb.net. i am trying to create a class library ( equivalent

of
> > vb's dll) in vb.net . i checked the 'register for COM interop' option

and
> > built the app. a dll ic cretaed but i am not able to register the dll.

the
> > error message says " example.dll was loaded but DLLRegisterServer Entry
> > Point was found". what am i missing here?Thanks in advance.
> >
> > Suganya.
> >
> >
> >



 
Reply With Quote
 
Telmo Sampaio
Guest
Posts: n/a
 
      16th Jul 2004
suganya,

Where are you trying to load the dll from? When you compile that dll it
should be automatically registered on your machine. If you move it somewhere
else you have to register it by using the REGASM tool.

Remember, you do not need to use enable for COM interop in DLLs that will be
called from .NET assemblies.

Telmo Sampaio


"suganya" <(E-Mail Removed)> wrote in message
news:er$(E-Mail Removed)...
> i am new to vb.net. i am trying to create a class library ( equivalent of
> vb's dll) in vb.net . i checked the 'register for COM interop' option and
> built the app. a dll ic cretaed but i am not able to register the dll. the
> error message says " example.dll was loaded but DLLRegisterServer Entry
> Point was found". what am i missing here?Thanks in advance.
>
> Suganya.
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      17th Jul 2004
* suganya <(E-Mail Removed)> scripsit:
> thanks.i did try regasm.it says "types registered successfully" but i am not
> able to see the name of my dll listed in the registry.


Are you able to use the DLL?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with creating query or creating report Need Help Microsoft Access Database Table Design 0 29th Apr 2008 02:22 AM
Creating VBA Functions When Creating Spreadsheet Via VBA? PeteCresswell Microsoft Excel Programming 6 18th Jun 2007 12:38 PM
creating PDF from msword - I get error while creating bookmarks =?Utf-8?B?bWFyay1uZWVkcy1oZWxw?= Microsoft Word Document Management 1 1st Nov 2005 05:48 AM
Auto creating text fields when creating new slide. =?Utf-8?B?amFtZXM=?= Microsoft Powerpoint 1 16th Jun 2005 04:02 PM
Walkthrough: Creating a Dist. App. - problems creating project =?Utf-8?B?R2FyeURvdE5ldA==?= Microsoft Dot NET 1 12th Aug 2004 03:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:40 PM.