求救,asp组件问题,跪地求解!进来看看,在线等!
Aspimage 组件问题
源码:
Set Image = Server.CreateObject("AspImage.Image")
rem Set various font parameters
Image.FontColor = vbBlack
Image.Italic = True
Image.Bold = True
Image.FontName = "Arial"
Image.FontSize = 12
Image.PadSize = 10
rem Calculate how big our text info is and set the image to this size
rem This has to be done since we want to fill the area with a gradient
strMessage = "Welcome to"
Image.MaxX = Image.TextWidth (strMessage)
Image.MaxY = Image.TextHeight (strMessage)
rem Create a one way gradient
Image.GradientOneWay vbRed, vbWhite, 0
rem Print our string to the image
Image.TextOut strMessage, Image.X, Image.Y, false
rem Set the filename and save
Image.FileName = "d:\inetpub\wwwroot\images\msg1.jpg"
if Image.SaveImage =1 then '******************** 到这句出错 ***************
rem The image was saved so write the <img src> tag out for the browser to pick up
Response.Write "<img src=""/images/msg1.jpg""><br>"
else
rem Something happened and we couldn't save the image so just use an HTML header
rem We need to debug the script and find out what went wrong. See Image.Error for details
Response.Write "<h2>Welcome to</h2>"
end if
执行到上面*****号的那一句出现下面错误,
ASPImage.Image (0x8000FFFF)
This evaluation component has expired. Please register.
求各位老师,前辈帮忙解答!。。谢谢!。。。。
源码:
Set Image = Server.CreateObject("AspImage.Image")
rem Set various font parameters
Image.FontColor = vbBlack
Image.Italic = True
Image.Bold = True
Image.FontName = "Arial"
Image.FontSize = 12
Image.PadSize = 10
rem Calculate how big our text info is and set the image to this size
rem This has to be done since we want to fill the area with a gradient
strMessage = "Welcome to"
Image.MaxX = Image.TextWidth (strMessage)
Image.MaxY = Image.TextHeight (strMessage)
rem Create a one way gradient
Image.GradientOneWay vbRed, vbWhite, 0
rem Print our string to the image
Image.TextOut strMessage, Image.X, Image.Y, false
rem Set the filename and save
Image.FileName = "d:\inetpub\wwwroot\images\msg1.jpg"
if Image.SaveImage =1 then '******************** 到这句出错 ***************
rem The image was saved so write the <img src> tag out for the browser to pick up
Response.Write "<img src=""/images/msg1.jpg""><br>"
else
rem Something happened and we couldn't save the image so just use an HTML header
rem We need to debug the script and find out what went wrong. See Image.Error for details
Response.Write "<h2>Welcome to</h2>"
end if
执行到上面*****号的那一句出现下面错误,
ASPImage.Image (0x8000FFFF)
This evaluation component has expired. Please register.
求各位老师,前辈帮忙解答!。。谢谢!。。。。
...全文
相关推荐
ASP在线文件压缩组件
ASP在线文件压缩组件是一种在Web环境中用于处理文件压缩和打包下载的技术解决方案,主要适用于使用ASP(Active Server Pages)脚本语言的网站。
asp在线压缩组件 asp rar压缩
ASP在线压缩组件是一种在Web应用程序中用于处理文件压缩的技术,主要针对ASP(Active Server Pages)环境。
asp在线发送邮件(jmail组件+asp案例程序)
发送邮件:`objMail.Send`**案例程序分析**"asp在线发送邮件(jmail组件+asp案例程序)"提供的案例可能包含一个或多个ASP文件,展示了如何使用JMail组件发送邮件的具体步骤。
Discuz!NT论坛整合ASP源码及所需组件_dll080504.zip
三、整合ASP源码与组件整合ASP源码和所需组件是安装Discuz!NT的关键步骤:1.
ASP.NET源码——[论坛社区]Discuz!NT论坛整合ASP源码及所需组件.zip
【ASP.NET源码——[论坛社区]Discuz!NT论坛整合ASP源码及所需组件.zip】这个压缩包中包含的是一个基于ASP.NET技术开发的论坛系统——Discuz!NT的源代码及其集成环境。


