This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getUrlVars() | |
{ | |
var vars = [], hash; | |
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); | |
for(var i = 0; i < hashes.length; i++) | |
{ | |
hash = hashes[i].split('='); | |
vars.push(hash[0]); | |
vars[hash[0]] = hash[1]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Runtime.InteropServices; | |
using System.Collections; | |
using MySql.Data.MySqlClient; | |
//using System.Data; | |
using System.Linq; | |
using System.Threading; | |
using System.Text; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<component> | |
<registration | |
description="XML Inputfile Parser" | |
progid="perl.inputparser" | |
version="1.00" | |
classid="{74bb1ba9-2e69-4ad6-b02c-c52f3cbe153b}" | |
> | |
</registration> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http_request = new ActiveX("Msxml2.XMLHTTP"); | |
var url = "http://localhost:3000/users/2.json" | |
http_request.open( "GET", url, true ); | |
http_request.send(null); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function AddRecord() { | |
//var adoConn = new ActiveXObject("ADODB.Connection"); | |
var adoConn = new ActiveX("ADODB.Connection"); | |
//var adoRS = new ActiveXObject("ADODB.Recordset"); | |
var adoRS = new ActiveX("ADODB.Recordset"); | |
adoConn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source='/\dbName.mdb'"); | |
adoRS.Open("Select * From tblName", adoConn, 1, 3); | |
adoRS.AddNew; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This Code is launched from the Controller Software it requires the class in the file below | |
import clr | |
import sys | |
#append the sys path to the directory that contains your python scripts | |
sys.path.append("C:\\Program Files\\Agilent Technologies\\pyScripts") | |
import db |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GlobalTest(): | |
def __init__(self): | |
pass | |
global globalTestVariable | |
globalTestVariable = "My Old Value" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clr | |
clr.AddReference('System.Windows.Forms') | |
clr.AddReference('System.Drawing') | |
from System.Windows.Forms import * | |
from System.Drawing import * | |
class MyForm(Form): | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JScript source code | |
open("C:\\VWorks Workspace\\Scripts\\file_operations.js") | |
//--Change this directory to be the directory that VWorks generates the output file too | |
var output_directory = "C:\\VWorks Workspace\\Scripts\\readerdata\\output\\" | |
//--Date Time Stamp Generating functions------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
namespace FileUtilities | |
{ | |
public class FileUtilities | |
{ |
OlderNewer