Suppose someone gives a VB dll file (component). How to use
that in an ASP file?
Answer / Irshad Ali
To use a VB DLL component in an ASP (Active Server Pages) file, follow these steps:
1. Save the VB DLL file on your web server.
2. Register the DLL so that it can be used by IIS (Internet Information Services). Open Command Prompt and navigate to the directory containing the DLL, then run the command `regsvr32 <DLL_filename>.dll`.
3. In the ASP file, you can create an ActiveX object that instantiates the DLL component using the CreateObject method:
```vbnet
Dim myComponent
Set myComponent = Server.CreateObject("ProgID_of_Your_DLL")
```
| Is This Answer Correct ? | 0 Yes | 0 No |
Speaking of boolean data types, whats different between c# and /c++?
whate is AutoEventWireup in .net ?
Define managed code?
How do you make it so that code runs when the security system is stopping it?
What are server-side includes?
Who is asp in police?
What is use of asp?
Can be arrays resized by using the keyword redim?
when we use ajax in.net
6) Events in page life cycle?
textbox has viewstate property,but it does not depend on its property to retain their data across page,Explain.
Explain the difference between the value-type variables and reference-type variables?