|
hdshjffdd
初级用户
 
积分 131
发帖 53
注册 2006-7-31
状态 离线
|
『楼 主』:
如何用VBS来创建一个包函按钮,文本框,消息框的窗体?
使用 LLM 解释/回答一下
如何用VBS来创建一个包函按钮,文本框,消息框的窗体?
How to use VBS to create a form that includes buttons, text boxes, and message boxes?
|
|
2006-8-4 08:50 |
|
|
3742668
荣誉版主
      
积分 2013
发帖 718
注册 2006-2-18
状态 离线
|
|
2006-8-5 19:22 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
关键词 : AutoIt
这个东东功能真的很强大!
Keywords: AutoIt
This thing is really very powerful!
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-8-6 18:38 |
|
|
hdshjffdd
初级用户
 
积分 131
发帖 53
注册 2006-7-31
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
俺的英文不好,不知道怎么用。
My English is not good, I don't know how to use it.
|
|
2006-8-11 22:50 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
用 vbs 的 InternetExplorer.Application 也可以。直接写HTML该会吧?
Using vbs's InternetExplorer.Application is also okay. Do you know how to write HTML directly?
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-8-11 23:13 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
这两天我倒是学会了用InternetExplorer.Application建立窗体,而且可以在窗体里进行多项变量设置
不过发现一个用BAT将变量数据生成VBS脚本后再生成的HTML窗体的小毛病:你没有打开任何IE窗口时,生成的HTML窗体自动在BAT的CMD窗口前面;但如果打开有IE窗口时,生成的HTML窗体就会显示在BAT的CMD窗口后面
These past two days I have indeed learned to use InternetExplorer.Application to create a form, and I can perform multiple variable settings within the form. However, I discovered a small issue with using a BAT to generate a VBS script from variable data and then generating an HTML form: when you haven't opened any IE windows, the generated HTML form automatically appears in front of the BAT's CMD window; but if there are IE windows open, the generated HTML form will be displayed behind the BAT's CMD window.
|
|
2006-8-12 00:34 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
那还是用 hta 吧,权限大
Then still use hta, with greater permissions
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-8-12 10:36 |
|
|
zh159
金牌会员
     
积分 3687
发帖 1467
注册 2005-8-8
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
Originally posted by electronixtar at 2006-8-12 10:36:
那还是用 hta 吧,权限大
又出来一个看不懂的 hta 
Originally posted by electronixtar at 2006-8-12 10:36:
Then still use HTA, which has more permissions
Another incomprehensible HTA 
|
|
2006-8-12 11:35 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
把一个 .html 改成 .hta 就成了 hta了
Changing a .html file to .hta makes it an HTA.
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-8-12 12:36 |
|
|
3742668
荣誉版主
      
积分 2013
发帖 718
注册 2006-2-18
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Originally posted by zxcv at 2006-8-12 00:34:
这两天我倒是学会了用InternetExplorer.Application建立窗体,而且可以在窗体里进行多项变量设置
不过发现一个用BAT将变量数据生成VBS脚本后再生成的HTM ...
AppActivate 方法
请参阅
运行脚本 | WshShell 对象 | SendKeys 方法
激活应用程序窗口。
object.AppActivate title
参数
object
WshShell 对象。
title
指定要激活哪个应用程序。它可以是包含应用程序的标题(和出现在标题栏中的一样)或过程 ID 的字符串
------------摘自《Microsoft Windows 脚本技术》
Originally posted by zxcv at 2006-8-12 00:34:
These days I have learned to use InternetExplorer.Application to create forms, and can perform multiple variable settings in the form
But I found a way to generate a VBS script from a BAT with variable data and then generate an HTM...
AppActivate Method
See Also
Run Scripts | WshShell Object | SendKeys Method
Activates an application window.
object.AppActivate title
Parameters
object
WshShell object.
title
Specifies which application to activate. It can be a string containing the title of the application (the same as it appears in the title bar) or the process ID
------------Excerpted from "Microsoft Windows Script Technology"
|
|
2006-8-12 12:53 |
|