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 wOOdy-Soft 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: jtheis
  • Content: Threads
  • Order by date
  1. jtheis

    Delete Single Instance of Redundant Rows

    I am trying to figure out how to delete one instance of a redundant row from a table with a single column. For example, in table QueuedLoads I have one column, LoadNumber. The value in LoadNumber can (and will often be) the same as other rows in the table. Table: QueuedLoads LoadNumber...
  2. jtheis

    Subscript out of range

    I'm getting a "subscript out of range error" in my script at the following line Groups.OPCItems.AddItems NumItems, szItems(), clntHdls(), svrHdls(), Errors() Before this line is called I do the following Set objServer = CreateObject("OPC.Automation") Set Groups =...
  3. jtheis

    Passing from VB6 to VBScript

    I've got what I think is an unusual question. I have a very messy situation with multiple languages and trying to pass info from one to the other. Here's the short version. I use VBScript to call a function in a VB6 .dll file. The VB6 .dll calls an old Delphi .dll and the Delphi .dll spits...
  4. jtheis

    String to Integer to String

    I'm trying to decipher some code I inherited that isn't working. Here's what I'm trying to do... A 10 character string value is entered at an HMI. This string is sent down to a PLC where it is copied over to an integer file. This integer file is read by the Delphi app via an OPC server. The...
  5. jtheis

    Problem Creating and Deploying .CAB File

    I'm having a problem getting my .cab file to work properly when called by the client computer. When I open the web page on the client, the .cab file is called for and a prompt comes up asking if I want to install it. I click OK and it looks like nothing happens. The two DLL files that I wrote...
  6. jtheis

    Changing DLL to ActiveX DLL

    I've got an existing DLL that was written in Delphi 6 that I need to convert to an ActiveX DLL that can be called by VBScript. I have tried installing one of the components from the existing DLL and then trying to compile, but I don't get any confirmation back that the component was added. I...
  7. jtheis

    GetSettings not supported in VBS

    I'm trying to convert a piece of existing VBA code to VBS and I've hit a snag. Here's the VBA code I'm looking at. Sub ShowUserName() Dim pt As GwxPoint On Error GoTo ErrorHandler If SecSvr Is Nothing Then Exit Sub Set pt = ThisDisplay.GetPointObjectFromName("~~USER~~") If...
  8. jtheis

    VBS and DLL

    I have a question that I'm afraid I know the answer to. I have inherited a project (using ICONICS Genesis 32) that originally had all of the scripting written in VBA. Now, the project is being ported over to the ICONICS WebHMI and all of the scripting has to be rewritten for VBS. The problem...
  9. jtheis

    InstallShield with Delphi 7

    Can anyone point me in the right direction for some help with the InstallShield software that came with Delphi 7? I'm having a problem where InstallShield worked great under a previous user's login, but now, on the same machine and a different login, it doesn't work. Every time I try to build...
  10. jtheis

    Passing function value from one file to another in same project

    I am stuck on something that I'm pretty sure is a basic concept... I'm using Delphi 7 and I want to pass the resulting value of a function from one Delphi file in a project to another file in the same project. In the code below (OPCDEFS.PAS) I call the function OPCMaxTrend, to establish the...

Part and Inventory Search

Back
Top