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 Chriss Miller 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: *

  • Users: johnlopez2000
  • Content: Threads
  • Order by date
  1. johnlopez2000

    VBScript to extract LNK properties

    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
  2. johnlopez2000

    nested variable expansion in namespace

    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...
  3. johnlopez2000

    Active Directory Query from VBS - get user status

    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 =...
  4. johnlopez2000

    VBScript - how to load one script as a library into another

    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...
  5. johnlopez2000

    HTA Html Application load VBScript from .VBS file error: SUB not defin

    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...
  6. johnlopez2000

    [b]md5sum on windows DLL from same source different[/b]

    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...
  7. johnlopez2000

    doctoral studies

    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...
  8. johnlopez2000

    INTERP mgmt and loading libraries like DLLs

    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...
  9. johnlopez2000

    VB6 and FileSystemObject

    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...
  10. johnlopez2000

    Is there a DLL function browser?

    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
  11. johnlopez2000

    Getting GetPrivateProfileString() to work on Win2k+

    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...
  12. johnlopez2000

    clock date comparison

    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 <=...
  13. johnlopez2000

    Determining what PROC i'm in

    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 &quot;[info myProgName] - [info myProcName]...
  14. johnlopez2000

    Need to insert &lt;alt&gt;&lt;enter&gt; into a CSV

    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...
  15. johnlopez2000

    TCL Pro Debugger

    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 &quot;upgraded&quot; (if you want to call it that) to MS Active Directory services. Any thoughts? I assume that the above...
  16. johnlopez2000

    TCL client/server sockets

    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...
  17. johnlopez2000

    2-D Array get problem with variable index

    #~ Please note the following array: % array get xAssignments {Eng Release,Quality} {doviakg5 lopezj5} {Eng Release,Materials} {doviakg lopezj} {Eng Release,Performance} {doviakg3 lopezj3} {Initial,Big guy} {verginisd lawheadg} {Eng Release,Project} {doviakg4 lopezj4} {Initial,Eng Dude}...
  18. johnlopez2000

    TCL code obfuscater

    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 &quot;safe&quot; from analysis, but it would help, and I think the code would also run...
  19. johnlopez2000

    issue with STRING MATCH [some -range]

    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 &quot;purity&quot;, ie: determining if a string has mixed alpha-numeric chars. I thought I could use STRING MATCH with a...
  20. johnlopez2000

    TCL ODBC and connections to a foriegn Oracle instance

    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...

Part and Inventory Search

Back
Top