Link to home
Start Free TrialLog in
Avatar of cantrell
cantrell

asked on

VBScript and HTML

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?
Avatar of CJ_S
CJ_S
Flag of Netherlands image

yes, there are .vbs files which contain all VBscript code. Just like the .inc files (include files)

INCLUDE THEM LIKE

<!--#INCLUDE VIRTUAL="MYFILE.INC"-->

damn caps lock.

or instead of virtual use file.
Avatar of cantrell
cantrell

ASKER

doesn't seem to work...???
Always worked for me.....

well, to be honest I use these with ASP so I kinda assumed that it would work for you too....
I understand. I don't use asp. Unfortunately, my server doesn't support .asp pages.

I figured it out though. Thanks for your help.
ASKER CERTIFIED SOLUTION
Avatar of tzarad
tzarad
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial