从html页面调用vb函数 [英] vb function call from html page

查看:347
本文介绍了从html页面调用vb函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi ..
我正在用HTML创建一个网站,我需要从HTML调用vb函数.
是否可以从HTML页面调用vb函数?
如果是这样的话,那么有人告诉我从HTML调用vb函数的方法.

hi..
I am making one site in HTML and I need to call vb function from HTML.
is it possible to call the vb functions from HTML page?
if it is so, anyone tel me the way to call the vb functions from HTML.

推荐答案

您知道HTML的VBScript吗?!

Do you know VBScript for HTML?!

<html>
<body>
<script type="text/vbscript">
Function greeting()
i=hour(time)
If i < 10 Then

  document.write("Good morning!")

Else

  document.write("Have a nice day!")

End If

End Function

</script>
</head>
<body onload="greeting()">
</body>
</html>



如果不是,请尝试 Google [



If not, try Google[^].


否.无法从HTML页面调用VB函数.
No. It is not possible to call a VB function from HTML Page.


这篇关于从html页面调用vb函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆