I have been looking on the MSDN website for a wscript code frag to extract the WshShell Shortcut target path from an existing shortcut.
does anyone know how to do this? MSDN is a dead end.
thanks!
John Lopez
Enterprise PDM Architect
I am creating a nested namespace to create structures for varied computer information. The base namespace is xComputer, then inside it is ::xComputer::${x} where x=the COMPUTERNAME. Please see code below:
% namespace eval xComputer { }
% set x LOCALHOST
LOCALHOST
% namespace eval...
Colleagues,
I have written the following function to extract users data from AD:
function GetUserInformation (UserName)
dim objConnection, objCommand, objRecordSet
CheckUserResult = CheckUser(UserName)
if CheckUserResult = "True" then
Set objConnection =...
Colleagues,
this may be a dumb questions, but I am a relative newbie to VBScript.
In TCL/TK I can load a "library" script into another script via source or other commands. How can I do the same with VBScript, where one script may only contain function calls that I want to commonize to a whole...
Colleagues,
I am attempting to load a script file at runtime into an HTA application. Works fine when the code is local in the HTA, but I want to have it is a seperate file:
//-----------------------------
test.hta content:
//-----------------------------
<html>
<head>
</head>
<script...
I am doing an MD5SUM on 2 DLLs. They are both supposedly from the same source code.
I am charged to determine if the binary of the delivered DLL is equivalent with the source included also.
I copied the original DLL to xUtils_orig.dll
I compiled a new DLL from the above source: xUtils.dll
I...
Colleagues,
I am looking into doctoral programs related to IT, engineeirng, and business. I can do some on-campus seminar type excursions, but really need to do it online if possible.
Any suggestions (am looking into UOP currently)
thanks!
John Lopez
Enterprise PDM Architect...
Colleagues,
I have a number of library and service libraries that I use for given programs that I run on an eMatrix ePLM database system. I can cause a program to become persistent at runtime by making it "pooled", which in the background actually spawns a persistent interpreter (you can see...
I am attempting to use the FileSystemObject to manipulate some files.
However, VB6 does not seem to recognize the FileSystemObject. The compiler complains that:
"User defined type not defined"
for the statement:
Dim FS As New FileSystemObject
Alternately, the Scripting FileSystemObject does...
Does anyone know of a DLL function browser that could dynamically display the function hearder and arguments?
thanks
John Lopez
Enterprise PDM Architect
john.l.lopez@goodrich.com
I am creating a program in VB6 that will use a "job ticket" (file created by client side to indicate job specs).
I wish to create this in the format of an INI file.
I was attempting to use GetPrivateProfileString() which is supported in kernel.dll, however is not directly supported in...
I am attempting to start at one date and iterate to some final date, incrementing by one day per iteration. My code:
set xProcessingDate [clock format [expr [clock scan seconds]] -format %D]
set xStartDate [clock format [expr [clock scan 11/8/03]] -format %D]
while {$xStartDate <=...
for purposes of abstracting my error/warning messages, I need something like
set x [info myProgName]
set y [info myProcName]
to determine the program name that is being executed, and the proc in which the interpreter launches the message:
err "[info myProgName] - [info myProcName]...
I am creating a report from some data in Matrix. The long and short of it is that I need to write this to CSV, and then launch MSExcel with the data in it.
Where I am having issues is with the need to embed a newline after some data in a given cell.
You can do this manually in Excel by keyin...
Have been using TCL Pro Debugger for some years now and really like it.
However, as of late, it does NOT work on my laptop.
Only thing I can think of is that my laptop was "upgraded" (if you want to call it that) to MS Active Directory services.
Any thoughts? I assume that the above...
Colleagues,
just need a little help with sockets.
Trying to get a client/server connection via 2 TCL sessions and I think I am missing something:
#------------------------------------
#server
set host 127.0.0.1
set port 5001
set socket [socket -server $host $port]
fconfigure $socket...
Does anyone have a good TCL code obfuscator?
I'd like to rip out all comments, linefeeds, and unecessary white space from a TCL program before I deploy it. I realize that this is not foolproof in keeping code "safe" from analysis, but it would help, and I think the code would also run...
I am attempting to use to create a function that will let me determine if there:
-hasalpha
-hasnumeric
properties inthe string.
This would be used to test a string for "purity", ie: determining if a string has mixed alpha-numeric chars.
I thought I could use STRING MATCH with a...
how do you use TCL ODBC?
I have a situation where I need to integrate to a foriegn Oracle database and am stuck with either very expensive options or less than desireable ones, and really don't want to create an integration using MSVBasic with the ActiveX Data Object.
Therefore, could anyone...
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.