Table of Contents

Usage with the Internet: ASP (Active Server Pages)


 

This topic gives an example of how to use the Flipper CAD Control with ASP (Active Server Pages), and it is assumed the developer has some knowledge of ASP before proceeding.

 

ASP provides a way to dynamically creating web pages, providing your web server is capable of supporting this technology. The benefit here is that you can have the control on the web server, generated CAD files, and display them on a client machine, without having to install the run-time version of the control on the client!

 

The example below contains code from an .ASP file that

ASP coding occurs within the <% %> tags.

<HTML>
<TITLE>Flipper CAD Control ASP Test</TITLE>
<BODY BGCOLOR="#FFFFFF">
This is a test of the Flipper CAD Control:

<P>
<%
Dim FlpCAD
Set FlpCAD = CreateObject("FlpCad.FlpCad.1")

  FlpCAD.DXFLoad "floorplans.dxf"
  FlpCAD.WorldExtents
  FlpCAD.ImageToGif "c:\InetPub\wwwroot\test\cad.gif", 200, 200, 96

response.write "<img src='cad.gif'>"
%>
</BODY>
</HTML>

 

See Also

Usage with the Internet: CAB File

 

Last modified on: Tuesday, February 04, 2003