标题:问个小问题
只看楼主
wengligan
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2006-10-25
 问题点数:0 回复次数:6 
问个小问题
VBScript 代码预览时怎么显示空白页?
搜索更多相关主题的帖子: 空白页 
2006-10-26 12:25
MicroSoft
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:2
帖 子:499
专家分:3
注 册:2006-10-12
得分:0 
调用了没有?

[glow=255,green,2]相信微软,相信我!~[/glow]
2006-10-26 12:52
wengligan
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2006-10-25
得分:0 
怎么调用??
2006-10-26 13:58
wengligan
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2006-10-25
得分:0 
<html>
<head>
<title>作业</title>
<SCRIPT LANGUAGE="VBScript">
<!--
Private Sub Command1_Click()
Form1.Print
a = 1
b = 1
d = a & "," & b
Form1.Print d;
For i = 1 To 30
c = a + b
Form1.Print "," & c;
a = b
b = c
Next i
End Sub
-->
</SCRIPT>
</head>
<body>
<P>
<INPUT type="Button"name="Button1"value="开始测试">
</body>
</html>
就是这个代码预览时是空白的,要怎样
2006-10-26 14:00
MicroSoft
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:2
帖 子:499
专家分:3
注 册:2006-10-12
得分:0 
以下是引用wengligan在2006-10-26 14:00:36的发言:
<html>
<head>
<title>作业</title>
<SCRIPT LANGUAGE="VBScript">
<!--
Private Sub Command1_Click()
Form1.Print
a = 1
b = 1
d = a & "," & b
Form1.Print d;
For i = 1 To 30
c = a + b
Form1.Print "," & c;
a = b
b = c
Next i
End Sub
-->
</SCRIPT>
</head>
<body>
<P>
<INPUT type="Button"name="Button1"value="开始测试" onclick=" Command1_Click()
">
</body>
</html>
就是这个代码预览时是空白的,要怎样

好象完全不对,VB和VBSCRIPT有本质的区别


[glow=255,green,2]相信微软,相信我!~[/glow]
2006-10-26 15:54
syh878
Rank: 1
等 级:新手上路
威 望:2
帖 子:461
专家分:0
注 册:2005-9-2
得分:0 
我晕的不行了

2006-10-26 17:37
syh878
Rank: 1
等 级:新手上路
威 望:2
帖 子:461
专家分:0
注 册:2005-9-2
得分:0 
以下是引用wengligan在2006-10-26 14:00:36的发言:
<html>
<head>
<title>作业</title>
<SCRIPT LANGUAGE="VBScript">
<!--
Private Sub Button1_Click()
'Document.write ???
a = 1
b = 1
d = a & "," & b
Form1.Print d;
For i = 1 To 30
c = a + b
Document.write "," & c;'(不记得是不是Document,自己查查)
a = b
b = c
Next i
End Sub
-->
</SCRIPT>
</head>
<body>
<P>
<INPUT type="Button"name="Button1"value="开始测试">
</body>
</html>
就是这个代码预览时是空白的,要怎样

[此贴子已经被作者于2006-10-26 17:40:18编辑过]


2006-10-26 17:39



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-98874-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.614159 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved