📄 install.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML dir=ltr>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<title>Installation</title>
</HEAD>
<BODY>
<h2>Installation</h2>
<P>
<b>SYSTEM REQUIREMENTS</b>
<p>
To use Barcode .Net, you must be running,
<ul>
<li>Windows 2000 or Windows XP with the Microsoft .Net Framework installed, or
<li>Windows XP with Service Pack 1 or later installed, or
<li>a more recent version of Windows, e.g., Windows .Net Server.
</ul>
<P>
In addition, to use Barcode .Net in a web server environment, you'll also need to have Internet Information Services installed with ASP.NET enabled.
<P>
<b>CONFIGURING A WINDOWS APPLICATION</b>
<p>
When using Barcode .Net in a <b>Windows application</b> (typically written using Windows Forms),
you just need to copy the Bokai.Barcodes.dll file to your application's directory.
<p><b>CONFIGURING A WEB APPLICATION</b>
<p>
When using Barcode .Net in a <b>web application</b>, you need to do two things:
<ol>
<li>First, you need to copy the Bokai.Barcodes.dll file
to the <tt>bin</tt> subdirectory of your web application's virtual directory as registered with IIS. If you don't have a separate web application, you can copy it to
<tt>C:\Inetpub\wwwroot\bin</tt>.
<li>Next, you have two choices (or you can do both):
<ul>
<li>If you decide to use the Barcode.aspx file as the barcode image generator, you need
to copy it somewhere (anywhere) under your application's virtual directory. The location determines
the url you'll use in the <nobr><tt><img src=url></tt></nobr> element in your HTML
pages embedding barcode images.
<li>If you decide to use the Barcode HTTP Handler (BarcodeHandler) as the barcode image
generator, you have no extra files to copy but you do need to modify the Web.config
file in your application's virtual directory (or <tt>C:\Inetpub\wwwroot\</tt> if you don't have a separate application), by adding,
<pre>
<httpHandlers>
<add verb="GET" path="BarcodeHandler.aspx" type="Bokai.Barcodes.BarcodeHandler, Bokai.Barcodes" /></tt>
</httpHandlers>
</pre>
Note that there's no actual file called <i>BarcodeHandler.aspx</i>, but you can reference
it within your application as a URL and you don't need to specify any path.
</ul>
</ol>
<b>SETUP VERIFICATION</b>
<p>
If you are going to use Barcode .Net in web applications, you can do this to
make sure you have installed the product correctly: Type the following
URLs, one at a time, in your browser's URL field and then press enter.
<pre>
http://localhost/<i>Barcode.Net</i>/Barcode.aspx
http://localhost/<i>Barcode.Net</i>/BarcodeHandler.aspx
</pre>
(Replace <i>Barcode.Net</i> by the name of your application's virtual directory)
<p>
You should see a barcode displayed in your browser in both cases,
<p>
<img src="simplest.gif">
</p>
<p>
Otherwise, you would see error messages on the screen, telling you what the problem is.
</p>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -