Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VBScript and HTML

Posted on 2000-05-15
4
Medium Priority
?
272 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 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

824 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