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