Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. fstrahberger

    Word connecting to Oracle

    Hi, try this to connect to an oracle instance '--------------------------------------------------------- ' Include "Microsoft ActiveX DataObjects 2.7" ' with Extras --> Addins '--------------------------------------------------------- Sub TestIt() '--------------------------------------...
  2. fstrahberger

    LIKE query in Access

    Hi, try this one: SELECT * FROM CountriesTable, ArticlesTable WHERE (((ArticlesTable.Field1) Like '*' & [CountriesTable.Field1] & '*'));
  3. fstrahberger

    Problem with wsh.shell not waiting for command to finish executing

    Hi, use WshShell.Exec instead of WshShell.Run and wait until the process has finished. '----------------------------------------------------------------------- ' execute commandline and get result into strResult '----------------------------------------------------------------------- Set...
  4. fstrahberger

    Detect a certain file extension

    Try this one Dim oFs: Set oFs = WScript.CreateObject("Scripting.FileSystemObject") If oFs.GetExtensionName("C:\_work\test.xls") = "xls" Then ' do actions End If
  5. fstrahberger

    Extract numeric data from a string

    Use the RegExp-object from WSH Dim strSource As String strSource = "CWD002" '----------------------------------------------------- ' Insert Microsoft VB Script Regular Expression 5.5 ' using Extras -> AddOns into the project...
  6. fstrahberger

    ADO Command Parameter example

    Hi, "oCmd.Prepared = True" compiles the statement against the database. This means the statement is only parsed once even if you insert more than one row. If you insert a second row, the insert will be faster because the statement is already "prepared / compiled". If you only insert one row...
  7. fstrahberger

    ADO Command Parameter example

    Hi, maybe this code will help you (access database) '------------------------------------------------------------ ' create connection object -> here we use access '------------------------------------------------------------ Dim oCn: Set oCn = Wscript.CreateObject("ADODB.Connection")...
  8. fstrahberger

    Adding multiple value to a hash

    maybe the following lines will help... # Setup hash with array elements my $hash = { key => [ "a", "b", "c" ] }; # Display complete array print "@{$hash->{key}}\n"; # Display first element print "@{$hash->{key}}[0]\n";
  9. fstrahberger

    Using Perl to open, edit, and save files.

    maybe this will help you. use warnings; use strict; use XML::Simple; #----------------------------------------------- # read xml-file #----------------------------------------------- open( IN , "<./test.xml" ); my ( @doc ) = <IN>; close( IN ); my $xmlin = join( '',@doc ); # create string...
  10. fstrahberger

    Off Topic -- Version Control Software

    Look at this sites: http://www.perforce.com/ http://www-306.ibm.com/software/rational/offerings/scm.html http://www.serena.com/Products/dimensions/home.asp
  11. fstrahberger

    Parse a string to remove each instance of more than 1 space??

    use the RegExp-object from VBScript Regular Expressions '------------------------------------------------------------ ' This example explains the usage of the RegExp ' object to parse a string and replace values ' ' To use this example, go to Extras --> AddIns ' and inclde 'Microsoft VBScript...

Part and Inventory Search

Back
Top