Home > Products >DEXTUpload Professional Extension > Code Sample  
 
 
 [Code compatibility between DEXTUpload Pro Ex product and DEXTUpload Pro product]

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


 [Code compatibility between DEXTUploadX Ex product DEXTUploadX product]
    DEXTUploadX Ex 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 DEXTUpload Pro Ex which are not supported
    from existing DEXTUploadX for improved service.)
Example of code compatibility for each product
1. [Example of code compatibility between DEXTUpload Pro Ex product and DEXTUpload Pro product]
<%
' Method of creating object when using DEXTUpload Pro Extension product
Set FileUpload = Server.CreateObject("DEXTEx.FileUpload")
Set FileUploadMonitor = Server.CreateObject("DEXTEx.FileUploadMonitor")
Set Progress = Server.CreateObject("DEXTEx.Progress")
Set FileDownload = Server.CreateObject("DEXTEx.FileDownload")
Set ImageProc = Server.CreateObject("DEXTEx.ImageProc")
Set BLOBManager = Server.CreateObject("DEXTEx.BLOBManager")
Set BLOBManager = Server.CreateObject("DEXTEx.Manager")
%>

<%
' Method of creating object when using DEXTUpload Pro product
Set FileUpload = Server.CreateObject("DEXT.FileUpload")
Set FileUploadMonitor = Server.CreateObject("DEXT.FileUploadMonitor")
Set Progress = Server.CreateObject("DEXT.Progress")
Set FileDownload = Server.CreateObject("DEXT.FileDownload")
Set ImageProc = Server.CreateObject("DEXT.ImageProc")
Set BLOBManager = Server.CreateObject("DEXT.BLOBManager")
Set BLOBManager = Server.CreateObject("DEXT.Manager")
%>
 
2. [Example of code compatibility between DEXTUploadX Ex product DEXTUploadX product]
<HTML>
<BODY>
<!-- Method of announcing object when using DEXTUploadX Ex 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.