Display a Partial Text File Using FSO
This script reads specific lines of text from any text file and then stores the lines in an array that you can assign to a variable for data display.
This script reads specific lines of text from any text file and then stores the lines in an array that you can assign to a variable for data display.
I installed MSDE SP3 as per MS’s directions. However, running Enterprise Manager and trying to register the SQL Server instance into a group (this is on the same box that
‘ Finding all files with a given filespec into an ArrayList. Optionally scan ‘ also subdirectories of the input dir” Example:’ Dim files As New ArrayList’ FindFiles(files, “D:Articles”, “*.doc”, True)’
‘ Save the input DataTable to a CSV file. By default the values are Tab ‘ delimited, but you can use the second overload version to use any other ‘
‘ Load an assembly identified by the path or the partial name’ Note: requires Imports System.Reflection’ ‘ Examples:’ 1) Dim asm As [Assembly] = LoadAssembly(“System.Web”)’ 2) Dim asm As [Assembly]
‘ Create a case-insensitive sorted list that combines the keys from two ‘ hashtables’ Example:’ Dim slist As SortedList = SortedListFromHashtables(hashTable1, hashTable2)Function SortedListFromHashtables(ByVal ht1 As Hashtable, _ ByVal ht2 As
‘ Import the data contained in a CSV file into a new DataTable. By default the ‘ values are Tab delimited, but you can use the second overload version to
Say you have an object with a property that uses a relatively large amount of resources?and you know the property may never be accessed. Consider waiting to create the property
To remove an element at a given position in a sorted array, shift all the elements above it down one position. void erase(int a[], int& n, int index) { //