Solved

Vbs in html

Posted on 2004-08-26
8
336 Views
Last Modified: 2013-12-16
Is it possible to use vbs scripting in html?
I'd like to make an UI for some vbs scripts.
0
Comment
Question by:rebane
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 19

Accepted Solution

by:
webwoman earned 40 total points
ID: 11903040
No. You can use ASP/vbscript, but NOT vbs scripts. They do NOT have the same features.
0
 
LVL 3

Assisted Solution

by:Fairco
Fairco earned 40 total points
ID: 11906500
Well, if you just want to make an UI for some scripts and intend to use in the intranet, you can call external vbs scripts from a webpage.
For example:

<script language="VBScript">
<!--
Function XLS(fname)
Set WshShell = CreateObject("Wscript.shell")
WshShell.Run("\\myserver\path\Utils\Xlsole.vbs """ & fname & """")
Set WshShell = Nothing
End function
-->
</script>

Of course, this can be implemented in JavaScript as well.

It is also possible to port your vbs code to IE vbscript, if it doesn't use too advanced features.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 11918373
Provided the user is set up to allow it, which most won't be. Most vbs scripts call features that aren't normally allowed in the browser.
0
 
LVL 3

Expert Comment

by:Fairco
ID: 11921121
Since it is meant as an UI for some external VBScript, it is most likely will be set up on a fixed number of machines, so the additional step to to lower the security for intranet zones makes no sense.
I'm also using the script above in the intranet, as a part of GUI for an external VBScript.
0
 
LVL 3

Expert Comment

by:Fairco
ID: 12395033
Different answers were given and the asker didn't pick either. If the asker holds his/her choice back, I recommend to assume that the question is self-answered, therefore PAQ this question with no refund.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Un-Indent Setting Notepad++ 3 35
Web Easy Professional 10 Embedded Facebook 1 71
Obsolete font tag need to convert to CSS 3 55
wordpress 4.7.4, theme 8 44
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question