VBScript in a JavaScript page.
Hi,
I have a JavaScript page in which I would like to include VBscript
code. Is this possible? If it is possible, then how will I declare the
language type so that the browser can understand and final question
lets say I am hosting my page thru X server and my page uses database
which is located on Y server, both the servers are 3rd party servers.
Is it possible for me to link the database on Y server thru my page on
X server??
Thanx
--AV Tag: date input mask Tag: 144372
Script number of users in each mailbox store
How is everyone doing today. IM looking for a script that
will be able to list the amount of users per mailbox store
in exchange 2000. Tag: date input mask Tag: 144369
Curious
The HTML below contains a table with 2 rows. Each row has
the same id. (id="r1")
The following Subroutine will display the number of
elements that have id's set to "r1" only if 2 or more
exist... but will error out if only one exists.
Changing the value of one of the id's to something
different will cause the Sub to error-out. Why will it not
return a collection-length of "1"? Is this a bug?
----------------------------------------------------------
<html>
<head>
<title></title>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="0">
<script language = "VBscript">
Sub Test
set a = document.all.item("r1")
msgbox a.length
End Sub
</script>
<body>
<input type="button" value="Display Total" onClick="Test">
<br>
<br>
<table width="100%" border="1" cellspacing="0"
cellpadding="4">
<tr>
<td id="r1">Row 1 </td>
</tr>
<tr>
<td id="r1">Row 2 </td>
</tr>
</table>
</body>
</html> Tag: date input mask Tag: 144361
Good VBScript Debugger
Hi
I just started using VBScript and I am in need of a good
debugger. I have used the ones that come with Excel VBA.
Can anyone recommend one?
Thanks
Jack Tag: date input mask Tag: 144360
How to replace PivotTable data fields...?
Hi,
I'm progamming a pivot table using VBA. I have no problem manipulating
column or row fields, but how can I replace a data field? Everything I try
just adds the data field to the existing data field resulting in a mess.
The PivotTable.addfields methods *replaces* whatever columns were previously
designated as RowFields, ColumnFields, and PageFields with the new
specifications, as in:
.AddFields RowFields:="Date", PageFields:="Location"
But no matter what I try, I can't replace the data field.... I've even tried
setting the Orientation property to xlHidden, as follows:
' Hide existing data fields
For each pf In .DataFields
Debug.Print "deleting pf", pf.Name
pf.Orientation = xlHidden
'pf.Delete ' I tried deleting too
Next
They key is that I need to do this via code. I can easily do it by using the
Excel GUI. I recorded the resulting code - Excel was hidding the field by
setting its Orientation property to xlHidden. Why doesn't that work for me?
Many thanks in advance,
Robert Stober Tag: date input mask Tag: 144351