Home > Products >DEXTUpload.NET Extension > Code Sample  
 
 
 [Code compatibility between DEXTUpload.NET Extension product and DEXTUpload .NET Professional
    product]


    DEXTUpload.NET Extension product maintains complete code compatibility with existing DEXTUpload.NET     Professional product except "namespace" used for generating objects in ASP.NET code.
    (However, various APIs are supported from DEXTUpload.NET Extension which are not supported from
    existing DEXTUpload.NET Professional for improved service.)


 [Code compatibility between DEXTUploadX Extension product DEXTUploadX product]
    DEXTUploadX Extension product maintains complete code compatibility with existing DEXTUploadX
    product except "CLASSID" and "CODEBASE" of CAB file names used for announcing objects in HTML code.
    (However, various APIs are supported from DEXTUploadX Extension which are not supported from existing
    DEXTUploadX for improved service.) The purpose of this page is to provide a LIVE DEMO for
    DEXTUpload.NET Extension. The uploaded file is automatically deleted right after the DEMO is done.
Example of code compatibility for each product
1. [Example of code compatibility between DEXTUpload.NET Extension product and
    DEXTUpload.NET Professional product]

// Method of creating object when using DEXTUpload.NET Extension product
DEXTUpload.NETEx.FileUpload fupload = new DEXTUpload.NETEx.FileUpload();
DEXTUpload.NETEx.Progress progress = new DEXTUpload.NETEx.Progress();
DEXTUpload.NETEx.FileDownload fdownload = new DEXTUpload.NETEx.FileDownload ();
DEXTUpload.NETEx.ImageProc imgProc = new DEXTUpload.NETEx.ImageProc();


// Method of creating object when using DEXTUpload.NET Professional product
DEXTUpload.NET.FileUpload fupload = new DEXTUpload.NET.FileUpload();
DEXTUpload.NET.Progress progress = new DEXTUpload.NET.Progress();
DEXTUpload.NET.FileDownload fdownload = new DEXTUpload.NET.FileDownload ();
DEXTUpload.NET.ImageProc imgProc = new DEXTUpload.NET.ImageProc();
 
2.[Example of code compatibility between DEXTUploadX Ex product DEXTUploadX product]
<BODY>
<!-- Method of announcing object when using DEXTUploadX Extension product -->
<OBJECT ID="FileUploadManagerEx" CODEBASE="Server URL/DEXTUploadXEx.cab#version=Current version" HEIGHT="200" WIDTH="450" CLASSID="4FCFCDC8-346B-4d35-A001-C92AA3775BBB" VIEWASTEXT></OBJECT>
<OBJECT ID="FileUploadMonitorEx" CODEBASE="Server URL/DEXTUploadXEx.cab#version=Current version" HEIGHT="200" WIDTH="450" CLASSID="5C935DF7-976A-47f6-B148-20FD62F1C988" VIEWASTEXT></OBJECT>
<OBJECT ID="FileDownloadManagerEx" CODEBASE="Server URL/DEXTUploadXEx.cab HEIGHT="200" WIDTH="450" CLASSID="B0250CBD-2F67-45b1-9AC1-E846CF0A12C5" VIEWASTEXT></OBJECT>
<OBJECT ID="FileDownloadMonitorEx" CODEBASE="Server URL/DEXTUploadXEx.cab HEIGHT="200" WIDTH="450" CLASSID="64F53B6B-C2A8-4e46-89E0-8ADD2F2AA861" VIEWASTEXT></OBJECT>
<OBJECT ID="ProgressEx" CODEBASE="Server URL/DEXTUploadXEx.cab#version=Current version" HEIGHT="200" WIDTH="450" CLASSID="A7DF7B2A-4537-4e30-9BF1-910E1F9BBF12" VIEWASTEXT></OBJECT>
</BODY>
</HTML>


<HTML>
<BODY>
<!-- DEXTUploadX Method of announcing object when using DEXTUploadX product -->
<OBJECT ID="FileUploadManager" CODEBASE="Server URL/DEXTUploadX.cab#version=Current version" HEIGHT="200" WIDTH="450" CLASSID="DF75BAFF-7DD5-4B83-AF5E-692067C90316" VIEWASTEXT></OBJECT>
<OBJECT ID="FileUploadMonitor" CODEBASE="Server URL/DEXTUploadX.cab#version=Current version" HEIGHT="200" WIDTH="450" CLASSID="96A93E40-E5F8-497A-B029-8D8156DE09C5" VIEWASTEXT></OBJECT>
<OBJECT ID="FileDownloadManager" CODEBASE="Server URL/DEXTUploadX.cab#version=Current version" HEIGHT="200" WIDTH="450" CLASSID="535AE497-8E85-45F8-AF36-2DFCBCA8B68A" VIEWASTEXT></OBJECT>
<OBJECT ID="FileDownloadMonitor" CODEBASE="Server URL/DEXTUploadX.cab#version=Current version" HEIGHT="200" WIDTH="450" CLASSID="471678BB-F992-4BE6-9761-7767883E8619" VIEWASTEXT></OBJECT>
<OBJECT ID="Progress" CODEBASE="Server URL/DEXTUploadX.cab#version=Current version" HEIGHT="200" WIDTH="450" CLASSID="253B8695-AFE6-4918-AE1C-003FCF070D08" VIEWASTEXT></OBJECT>
</BODY>
</HTML>
 
 
Move to devpia     Address: 5F, Mirae Building, 87-2, Nonhyun-dong, Gangnam-gu, Seoul, Korea Tel: +82-2-6719-6200  Business Registration Number: 220-81-90008
  Copyright ⓒ 2007 DEVPIA, Inc. All rights reserved.