Use ASP to register DLL files on the client!

Source: Internet
Author: User
Clientregdll.html
This procedure describes using the client to register DLL files.
Next time, explain how the client obtains the DLL file.
<meta content= "text/html charset=gb2312" http-equiv= "Content-type" >
<title id= "title" >client use ASP to register the exist DLL file</title>
<body bgcolor= "Skyblue" topmargin=0 leftmargin= "0" rightmargin= "0" bottommargin= "0" >
<div align= "center" >
<table><tr><td>client use ASP to register the exist DLL file</td></tr></table>
</div>
<input type= "button" value= "Register dll" name= "Reg_dll" language= "VBScript" onclick= "Fun_reg ()" >
</body>
<script language= "VBScript" >
' We had produce the WebReport.dll file and place in the client
' Win <98 WindowssystemWebReport.dll
' Win-Windowssystem32WebReport.dll
' Win NT40 WinntsystemWebReport.dll
' Win-Winntsystem32WebReport.dll
Sub Fun_reg ()
Dim Wshshell,fso
Set WshShell = CreateObject ("Wscript.Shell")
Set fso = CreateObject ("Scripting.FileSystemObject")
If FSO. FileExists ("WindowssystemWebReport.dll") Then
Wshshell.run "regsvr32/s WindowssystemWebReport.dll", 1, True
MsgBox "Register windowssystemWebReport.dll file sucess!"
ElseIf FSO. FileExists ("Windowssystem32WebReport.dll") Then
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.