XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Bob ChauvinSubject: How do I ... Build an HTML Page with some VBScript
Author: Bob Chauvin
Date: 02 Nov 2005 09:40 AM
If I want to include some script, like the following vb script so that I can associate an onclick_ event to the sub of_WebViewOff?

<script language="vbscript">
<!--
Dim ol
Dim Namespace
sub of_WebViewOff
' 20051001 R.Chauvin for MillerJohnson bob_chauvin@yahoo.com, bob_chauvin@ProgramTeamA.com

Set ol = Createobject("Outlook.Application")
'

Set Namespace = ol.GetNamespace("MAPI")
Namespace.GetDefaultFolder(10).WebViewOn = False ';//outlookApp.OlDefaultFolders.olFolderContacts
ol.ActiveExplorer.CurrentFolder.WebViewOn = False
Set lFolderCurrent = ol.ActiveExplorer.CurrentFolder
Set lFolderParent = ol.ActiveExplorer.CurrentFolder.Parent

Set ol.ActiveExplorer.CurrentFolder = lFolderParent
Set ol.ActiveExplorer.CurrentFolder = lFolderCurrent

End Sub
-->
</script>

Posttop
(Deleted User) Subject: How do I ... Build an HTML Page with some VBScript
Author: (Deleted User)
Date: 02 Nov 2005 09:59 AM
Try putting this in your .xsl file:

<script language="vbscript">
<xsl:comment>
--- the script goes here ---
</xsl:comment>
</script>

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.