Hi Guys
I'm trying to connect to a wsc file from an asp file in the same directory on the server but get an Server object, ASP, Invalid ProgID error.
The page below connects to the wsc file.
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<P>
Wrox Building Supplies</P>
<P> </P>
<%
dim objBrickCalc
Set objBrickCalc = Server.CreateObject("Bricks.wsc"
WallLength = Request.Form("WallLength"
WallHeight = Request.Form("WallHeight"
objBrickCalc.BrickType = Request.Form("BrickType"
Response.Write("Calculation for wall with height "& WallHeight &" feet and Length "& WallLength &"feet"
strResult = objBrickCalc.HowManyBricks(WallHeight, WallLength)
Response.Write("<br><br>You will need "& strResult &" bricks."
%>
</BODY>
</HTML>
All ideas appriciated. Cheers in advance.
Mark
I'm trying to connect to a wsc file from an asp file in the same directory on the server but get an Server object, ASP, Invalid ProgID error.
The page below connects to the wsc file.
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<P>
Wrox Building Supplies</P>
<P> </P>
<%
dim objBrickCalc
Set objBrickCalc = Server.CreateObject("Bricks.wsc"
WallLength = Request.Form("WallLength"
WallHeight = Request.Form("WallHeight"
objBrickCalc.BrickType = Request.Form("BrickType"
Response.Write("Calculation for wall with height "& WallHeight &" feet and Length "& WallLength &"feet"
strResult = objBrickCalc.HowManyBricks(WallHeight, WallLength)
Response.Write("<br><br>You will need "& strResult &" bricks."
%>
</BODY>
</HTML>
All ideas appriciated. Cheers in advance.
Mark