Dtracy,
Thank you for the help. It allows me to loop through the entire array after I changed to
UBound(sortedArray).
However, the sortarray function works for the array that I tested, but not
when I create the multidimensional array from a file with more columns. The sort mechanism
does not...
Hello,
I have a multidimensional array that I need to sort based
on the column of the array.
I found a function that can sort the multidimensional array
based on the column, but it only works with the MD array
that has the format of array(col, row). I want to sort the
multidimensional array...
Remou,
Thank you for the direction!
But what I need help with now is to be able to add table rows dynamically based on the number of records in my array.
Could you help translate the code above into vbscript? I tried it, but it did work work. It works in javascript though.
withanh,
Thank you for help.
I already figured it out. Below is my code. I use a text file that contains the records with
the fields separated by a tab character as the data source for the data for my array. I read
this text file into the array and then load the data to the table.
<HTML>...
Ramou,
Thank you for the help!
What I really want to do with this code is as follows:
I have my data set in an array. I want to create an hta script to display my data
on the table with one fixed header row and fill the data in the array into the remaining
rows.
I want to display the table...
Hello,
I need to fill an hta table with some data from an array. I found a sample html code that does something similar to what I need. However, the script language is javascript.
How can I convert the javascript to vbscript? The code is listed below:
<HTML>
</head>
<TITLE>Fill Table</TITLE>...
Check the link below for the information on how to determine the open files.
http://www.microsoft.com/technet/scriptcenter/resources/qanda/feb05/hey0216.mspx
Hope this will help.
CluM09
Hello,
I need to get the string of the line that is enclosed within the square brackets.
I try to use the following regular expression, but I keep getting a syntax error.
str = "[This is the data]"
Set objRE = New RegExp
With objRE
.IgnoreCase = True
.Global = True
.Pattern = =...
tsuji,
I made a mistake with respect to the Win32_Account class. This class does indeed has the FullName property.
However, when I hit a group inside the local Administrators group instead of a user, it generates an error "the object does not support this property" which is what I would...
tsuji,
I tried your suggestion, but I still get the error (null): 0x8004103A.
The following works but it only works when the strDomain is set to the computer name.
strQuery = "ASSOCIATORS OF {Win32_Group.Domain='" & strDomain & "',Name='" & strGroup & "'} " & _
"WHERE...
Hello,
I have a need to use WMI to query the use information from a group either in the domain or in a computer.
I tried the following WMI query, but it failed with (null): 0x8004103A.
Is it possible to use ASSOCIATORS OF query to get the user name and full name with WMI query?
strDomain =...
Hello,
I need to create an editable dropdown list box on an HTA form.
I found the html and javascript code that will do the editable dropdown listbox which is listed below which works fine. However, I like to know how I can convert the code to use vbscript instead of javascript.
Any help will...
Thanks vacunita for the information!
I will try to check the code at the http://chakrabarty.com/pp_editable_dropdown.html#3 link to see what I can do.
One thing I want to know if whether I can translate the javascript code into vbscript since the code I use for my application is written in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.