Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

DonBakke

About

Username
DonBakke
Joined
Visits
3,189
Last Active
Roles
Administrator

Comments

  • Barry, I am not near a machine with OI to test this. Is this only a problem during the CREATE event or does using the TEXT property never change the text (e.g., during the CLICK event of a push button control)? Honestly, I was 99% certain the TEXT …
  • Dan, I am trying to make sure I understand what you are doing properly. Are all of the variables (SuggestedPrices, Costs, and Margins) multivalued? I assume so based on the name. Thus, your struggle is with the number 1, which is inherently single-…
  • Dan, Multivalue arithmetic in OI has never been as good as it was in AREV. Are you particularly interested in getting multivalue multiplication to work or do you need to convert each element in the array by 100? If the latter, you can accomplish th…
  • Dan, Hmmm...so you don't see the source in SYSPROG? It's always been available for as long as I can recall, but perhaps Revelation removed this from newer installs. Check your email.
  • Dan, Set_Printer is the only way to tell the OIPI what printer to use. We haven't used the DEVICES message for a long time since we prefer to rely on the Windows API for retrieving available printers. This method has worked for us as a means of get…
  • Dan, You are right. I get the same behavior. I don't think I have ever set the NEXT property of a control to itself. I typically create a small loop of controls that I want to have a tight tab loop (such as all controls on the same page when I don'…
  • Dan, The system beep (or "ding") is not directly related to the NEXT property. Usually the cause of the ding will be reported in the System Monitor as an error. It can also occur if the engine is busy while a process attempts to execute. You would …
  • Dan, Try using the NEXT property to force the edit line to be the next control in its tab order. This prevents the focus from moving away when the user presses Tab or Enter. It will not prevent the user from clicking away. This will prevent the LOS…
  • Dan, I am pleased to read that you unearthed the core of your problem. Obviously there was more to the puzzle than what anybody originally understood. At what point are you setting the focus back to the edit line control? From what I gather, you d…
  • Dan, Sorry, I was speaking in old school tech. This is still functioning as a keyboard input device - it just receives input from the barcode scan rather than a key press. I have never heard of this happening before. i was surprised you were getti…
  • Dan, Just so I am clear, you are using a wedge device? That is, one that inputs through the keyboard port?
  • Hi Matthew, That is a perfectly good way to test, and isolate, the SRP ActiveX controls. I take it, then, that you still have the individual controls that preceded SRPControls.ocx?
  • Hi Matthew, Are you storing the SRPControls.ocx file in a central location (i.e., on the server) or on individual workstations? This only matters because a centrally stored file can remain locked until every user is logged off of the application pr…
  • Hi Matthew, My apologies for the long wait before getting any response. Since you and I had already corresponded via email, I was allowing time for others to jump in. I thought it would be rude if I waited any longer. I see that in your post you h…
  • Matt, We have done this but Revelation have also published an article that can help you get there. Since OI also needs to install OLE controls, you could just use their information and include the SRP controls. With regard to the best way of doing…
  • Hi Dan, That is the exact issue we ran into with FrameWorks once we eliminated all dependencies upon QuickEvents. This is not a bug in OI as much as it is a design decision. By the way, you get the same problem with the HELP event. Remember, the O…
  • Babu, I have some ideas about this (like is the control registered on the target machine) but this topic has extended beyond normal OpenInsight help and tips. In my opinion we are delving into the world of consulting, which is how we earn our livin…
  • Babu, Like I said, you would deploy as you would for any other environment. This is a .DLL or .OCX file, is it not?
  • Babu, Getting the property of a control follows this syntax: Value = Get_Property(ControlName, PropertyName) So, an example of what you are trying to do would look like this: Text = Get_Property(@Window : ".EDITLINE", "TEXT") I am not sure what …
  • Babu, I don't know what you mean by "Edit Events". I suggested you put it in the CLICK event handler of a push button control. Is that what you are trying to do? Does the code even execute? For instance, if you add a debug statement do you get the …
  • Babu, I assume, then, that after you put your Prog ID in the Text field on the Form Designer that you can see the control on your form. Correct? If so, then the way you communicate with your control will be different than what I originally suggeste…
  • I'm very new to OpenInsight platform. Could you please give me the steps so that I can replicate. Please find the steps what I've done: 1. Opened Forms Designer Window, selected new form - put one OLE-Interface on to it and entered ProgID in the "t…
  • Babu, Then try this: Obj = OleCreateInstance("ProgIDClassLibrary.TestCOM") Result = OleCallMethod(Obj, "Test")
  • Babu, What version of OpenInsight are you using?
  • Jim, Just curious, which solution did you go with?
    in Detect exe Comment by DonBakke July 2013
  • Jim, Yes, there are ways of doing this. However, it is much easier to detect whether or not the class of a form or a specific caption is running rather than the executable itself. When I know what the caption is going to be, then I look for that in…
    in Detect exe Comment by DonBakke July 2013
  • Bryan, There is nothing built into OpenInsight to handle this for you. We wrote our own utility that takes an RDK deployment and renames the application for each of the entities We then install the RDK, which then puts this in the correct applicati…
  • Hi Dan, Oops! My apologies. I totally assumed this was an SRP EditTable question. I wondered why you had posted this in the OpenInsight forum rather than the SRP EditTable forum. Thus, I had moved the thread. I have now moved the thread back. :-D …
  • Dan, I wanted to verify that this would work as I expected. It does. Here is the code I used: BeforeDeleteRecords.OLE_EDITTABLE: SelPos = Get_Property(CtrlEntId, 'OLE.SelPos') ColPos = SelPos<1> RowPos = SelPos<2> …
  • Dan, Of course, I assume this is what you want to happen when the SRP EditTable is in navigation mode. If the cell is in edit mode and the content is selected, then you get the behavior you want already. I can see the value of a property that defi…