michael447887

I'm trying to use a .DLL file in a program I'm writing, and it comes up with the following error:


Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

Jonathan Aneja - MSFT

Are you trying to register a .NET assembly using regsvr32 If you are that would explain the problem, you need to use regasm to register .NET assemblies.




Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

michael_mathys

I was trying to use regsvr32. I tried regasm, but that didn't work either. I got the same error in my program. Do you have any other ideas on what I could try

Thank you.






Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

StevePO

Two steps if this isn't a hard-named/certificate created DLL (i.e. for pushing into the global assembly cache):
1) Use regasm with the /tlb option, example: regasm mydll.dll /tlb:mydll.tlb
2) Push the dll into the working directory of the executable. If in design mode, this will be where the VB6.EXE is located (default is like C:\Program Files\Microsoft Visual Studio\VB98). For compiled executables, just drop it in the same directory as the executable or where you launch if you launch with a shortcut.

The above steps will go away once you've finalized the dll, hard-named/certificate and put into the global cache.

As you modify your dll/debug/test, be sure to also unregister first before re-registering so your registry doesn't get too bloated (regasm /unregister mydll.dll). You'll need to re-register/copy into the target directory each time until you make it a global assembly.




Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

Ganesh_shiv

If its a .NET assembly you can do the following

  1. go to the .NET console
  2. get into the directory where the dll is placed
  3. check the signature of the dll by doing : sn -Vr <dll name>.dll
  4. register the dll by doing : gacutil/i <dll name>.dll

This will register your dll in the GAC (only if it has a string name associated with it, ie a shared dll).






Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

Tamilvanan

hai.

I am trying to register a Ms-Access assembly using regsvr32.

I need to do the Ms-Access application. In that application i need to send and receive email with attachment.

I am done the send email. But the attachment was pending. I need the Common Dialog Control for Browse and Select the file, and the selected file path was stored in a textbox.

But in my Access form toolbox, doesn't contain the Common dialog control. So am click the more controls button to Select the "Microsoft Common Dialog Control, Version 6.0". When i try to put this control in my Access Form. one error message was show me. The error message was.

You don't have the license required to use this ActiveX control.

You tried to open a form containing an OLE object or an ActiveX control or you tried to create an ActiveX control. To obtain the appropriate license, contact the company that provides the licensed OLE object or ActiveX control.

So am trying to Register the many Control, like comcat.dll, comctl32.dll, comdlg32.dll, COMDLG32.OCX.

The COMDLG32.OCX only was Registered Successfully. But i have the same problem.

The error is:

c:\windows\system32\comctl32.dll was loaded, but the DllRegisterServer entry point was not found.

This file can not be registered.

I don't know why this error could be occured. if anybody know, how to solve this error.

Please let me know.

thanks

Tamilvanan






Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

Ishaan

Hey Tamilvanan , I am facing the same problem. If u will get ne solution then please let me know too....

Thanks in Advance...





Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

niruk

I am trying to register
xvid.dll using regsvr32.

xvid.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered.
plz help.





Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

rdepinag

You guys really should think about new users.

How do I go to the .net console

Thanks for any help.





Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

Happytechie

all they mean is the command prompt window available from visual studio

view -> other windows -> command window in VS

you can also run regasm from a normal comand prompt by adding the path to the executable:

C:\>c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegAsm.exe /
Microsoft (R) .NET Framework Assembly Registration Utility 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Syntax: RegAsm AssemblyPath [Options]
Options:
/unregister Unregister types
/tlb[:FileName] Export the assembly to the specified type library
and register it
/regfile[:FileName] Generate a reg file with the specified name
instead of registering the types. This option
cannot be used with the /u or /tlb options
/codebase Set the code base in the registry
/registered Only refer to already registered type libraries
/nologo Prevents RegAsm from displaying logo
/silent Silent mode. Prevents displaying of success messages
/verbose Displays extra information
/ or /help Display this usage message

C:\>





Re: Visual Basic Interop and Upgrade DllRegisterServer entry point was not found

Tootsiepop

I am trying to register
xvid.dll using regsvr32.

xvid.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered.
plz help.




I am having that exact same problem. Help!!