Solved

Vbs in html

Posted on 2004-08-26
8
338 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

624 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