General discussion

Locked

Unable to Use DLL of VB6 Into ASP.NET

By pramodsahu_4nov ·
i have a Third party DLl which is developed in VB6.0, when i use it in VB6.0 project it work fine. then i used it in ASP.NET, i add a reference, Use Imports but when i wants to create a object it give a error "Access Denied", class is Multi Use.
Dim QBBS As ABC.ClassName
Try
QBBS = New ABC.ClassName
Catch ex As Exception
Response.Write(ex.Message)
End Try
Error - Access is denied
DLL is properly registered

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by j.p In reply to Unable to Use DLL of VB6 ...

conversion of VB6 dll unmanaged to Managed .net format is needed to access the unmanaged com.

Here are the links that would helps you out to solve your problem. Follow the step

http://www.c-sharpcorner.com/3/CSNActiveXAN.asp
http://www.c-sharpcorner.com/Code/2002/April/COMInteropP1AJ.asp

Collapse -

Registrred Vb dll

by rajsoni In reply to Unable to Use DLL of VB6 ...

u have to first registred VB dll
1. open visual studio command prompt
2. run command: regsvr32 "put path of dll"

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums