Solved

VBScript and HTML

Posted on 2000-05-15
4
261 Views
Last Modified: 2010-05-02
Is there any way to hide the contents of your vbscript from the 'view source' feature? In other words, much like you can put your JavaScript in .js files and read them from there - can you do the same thing, or something similar with VB Script?
0
Comment
Question by:cantrell
  • 2
4 Comments
 
LVL 6

Expert Comment

by:setiawan
ID: 2813024
Hi cantrell,

I'm not sure about that, but try .vbs
what about asp, I think it is better.

hope this helps

  danny
0
 
LVL 15

Accepted Solution

by:
StingRaY earned 50 total points
ID: 2813704
js and vbs is a script file type.
<script> tag is a common script tag that allow you use any language of script.
so , in my opinion, you can use <script> like this...
<script language="vbscript" src="/script/myscrip.vbs"></script>
Regards,
0
 
LVL 2

Author Comment

by:cantrell
ID: 2814231
I will try that StingRay and let you know.
0
 
LVL 2

Author Comment

by:cantrell
ID: 2814374
That did it. Thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

808 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