|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
VBScript - Display content of wordpad file in messagebox
i have to write a vbs to display computer use policy (a wordpad file with limited formatting, about 3k size) at log-on. at the bottom, there should be two buttons: accept and deny. if they click accept, it will go on. if they click deny, the session will log-off.
i was thinking to use messagebox but it will not display formats, nor it has too many characters to put in the message. what other methods can i use. Also, in vbs, can we label the buttons? |
|
#2
|
||||
|
||||
|
In VBS buttons cannot be labeled.
What you're attempting to do would be better suited in HTML. Have you considered using an HTML application? It's basically a WSH script packaged in a standalone HTML file.
__________________
Scripting problems? Windows questions? Ask the Windows Guru! Stay up to date with all of my latest content. Follow me on Twitter! Help us help you! Post your exact error message with these easy tips! |
|
#3
|
|||
|
|||
|
no, I have never done wsh before or programming in html. are there any direction you can point me to?
|
|
#4
|
||||
|
||||
|
You can start by reading my article HTML Applications: Giving WSH a User Interface.
|
![]() |
| Viewing: ASP Free Forums > System Administration > Windows Scripting > VBScript - Display content of wordpad file in messagebox |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|