1.Abstract:
VB developed IIS virtual directory creation tool (source code), based on the IIS control tool on Windows, which can set the name, path, port, default document, host header and other information of the virtual directory. In order for software users to adjust relevant company information and website addresses, all information and pictures are stored in ini files, so that the software has personalized settings.
2. Development purpose:
It is very inconvenient to package Web programs developed with ASP or Asp.Net. Although .Net has added packaging tools, it will add more than 20M .NET files. A 2-3M WEB program will become more than 20M after packaging. M, so users need to download more files. Moreover, when I saw that the web program developed by PHP could package Apache and MySQL into it, I was very impressed. Therefore, I want to develop a software that can create related virtual directories by myself, a tool that can detect the system type, whether there is IIS, MSSQLSERVER database and other information. I use rar software to package it, decompress it and run the program to create a virtual directory. There is no need for the user to Operate IIS (Internet Information Manager).
3.Technical summary:
VB software development tools
IIS What we need to control
INI stores configuration information
IP Use VB to get the system IP information dialog box. VB calls the Window system API to open the directory dialog box (why not use the VB dialog box? Because the system cannot be installed, so the size of the software is reduced and the software is as green as possible. There is no need to register a DLL file, so the call Asp function to open the dialog box)
The registry detects the IIS version information and database information in the registry;
Expand