|
|
|
|
[Home][27 ImageHunt ][27.6 Step 1]
|
|
27.6 Step 1. Open Image File
27.6.1 Create the Data DirectoryAfter you create the application, you create the Data directory that will accept uploaded files. After you create this directory, you must also set write permission for the ASPNET worker account. In the Solution Explorer window of Visual Studio .NET, right-click the ASP.Net project, point to Add, and then click New Folder to create a folder, �Data�.
27.6.2 Modify the WebForm1.aspx PageTo modify the HTML code of the WebForm1.aspx file to permit users to upload files, follow these steps: 1. In the WebForm1.aspx Designer window, right-click WebForm1.aspx and select View HTML Source.
2. Locate the following HTML code, which contains the: <form> � </form>
3. Replace it as follows: <form id="Form1" method="post" enctype="multipart/form-data" runat="server"> <INPUT type=file id=File1 name=File1 runat="server" /> </form>
4. Run and test it. This html code simply opens an Open File Dialog so Users can select a key image.
[Home][About][1 Introduction][2 Image Recognition][3 TransApplet][4 API][5 Interface][6 Input][7 Image Display][8 Preprocessing][9 Processing][10 Normalization][11 Parameter Class][12 Image Signatures][13 Unsupervised Filters][14 BioFilters][15 NeuralFilters][16 Dynamic Library][17 NeuralNet Filter][18 Parameters][19 Input Options][20 Database Input][21 Video Input][22 Live Video Input][23 Counting & Tracking][24 Counting ][25 Batch Job][26 ImageFinder for DOS][27 ImageHunt ][28 Support Packages]
Copyright (c) 2006 - 2007 Attrasoft. All rights reserved. |