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,060
Last Active
Roles
Administrator

Comments

  • @ColinRule - You can use the code paragraph feature to format your code: CALL Set_Property(TableControl,"REDRAW",0) ColumnList=Get_Property(TableControl,"OLE.ColumnList") ColCount=DCOUNT(ColumnList,@FM) For Column=1 TO ColCount ColName=Colum…
  • @BarryStevens - I'm wondering if the code didn't post correctly due to markup issues. Otherwise, you are correct, ColName isn't getting populated correctly.
  • I agree that time seems excessively long, but would you humor me and place the Start and Stop calls just before and just after the ColumnWidth property settings? This will provide better isolation and it will also give us an average for each iterati…
  • I want to confirm a couple of things: * You are loading the data into the ReportTable before setting the column widths? * Did you actually set a benchmark (e.g., using the SRP_Stopwatch utility) to isolate the time it takes to set the ColumnVis…
  • I've never seen that before. I'm going to assume that the report you are exporting is on par with previous reports you've exported (i.e., not noticeably bigger). It appears to be using your OI folder as the default path. Try setting your Sort Path t…
  • Yes, all licensed products can have their own expiry date. We do this for controls because some customers might not want to continue renewing a specific control. SRP Controls Pro licenses have all controls grouped together so I only have to update o…
  • M@ - I just sent you an email with an updated license. I overlooked the Tree and Subclass controls when I updated the expiry date. I'll let Kevin address your other issue.
  • You could convert this to a CHECKBMP control and use a custom bitmap to give yourself a very specific look and size.
  • Better question...how did it get there? It is clear you have source code from the debugger. I guess we must have supplied a copy of the source some time in the past for troubleshooting purposes and this has been recompiled in the OPTO application. I…
  • Can you check to see if you have more than one copy of $SRP_LIST in the SYSOBJ table? You should at least have the one in SYSPROG, but you might have another in a local app like $SRP_LIST*OPTO or similar.
  • Are you using SRP_List in your code? If so, can you post a snippet so we can test it here? If you aren't using SRP_List, please send me a screenshot of the Call Stack so I can see what might be calling it indirectly.
  • My first guess is that the DLL didn't get updated.
  • @Opto_Will - is there a bug in the new release or is there a backwards compatibility issue?
  • No, you are correct. They would need a way to decode it. However, decoding libraries are pretty standard. When you say you are "zipping and uploading them to a Blob", is the "uploading" part being handled by the Web API? I'm tempted to say that FTP…
  • I was going to ask if Base64 was acceptable for your project. We've always been successful using that.
  • I think getByteSize() should work fine. However, Content-Length is not a requirement for the full payload to be received. It is meta-data that may or may not be used by the server to truncate the body after it is received. I'm inclined to think that…
  • So the PNG file worked but the ZIP file didn't via SendHTTPRequest?
  • I suggest using a tool like Postman to send the .zip file to rule out any problems with HTTPClient_Services.
  • @KevinFournier - Thanks for the reminder. I was confusing this installer with the product installers that install an RDK.
  • I think this should work, but I honestly can't say I've done this. Did their web service provide specific instructions on how the request should be configured?
  • @BarryStevens - Does this mean you were unable to test the OI 9 installation on the client's machine? Also, are you saying that when you installed on your own PC, that it actually copied over and registered SRPControls.ocx and SRPControls64.ocx?
  • So it will only try to register the 32bit one? If you are using our new universal installer, then yes. It is smart enough to know which version of OI you are installing this into. I want to determine if this problem is limited to SRPControls64.oc…
  • A few questions/suggestions: * When you get that message, can you confirm if the SRPControls64.ocx file is in the folder that is indicated in the message? * If you have access to the file, try manually registering it to see if that works. Also,…
  • @BarryStevens - Thanks for sending us the code that is causing the crash. We'll look into this on our end. Regarding the screenshot, I'm not seeing anything that needs to be resolved. Perhaps you are wondering why there are three instances of "SRP S…
  • @BarryStevens - Fair point. However, in case you have other copies of OI with an older version of the SRP Editor you might want to keep SRPUtil.ocx installed and registered.
  • I believe the answer to your problem is given in the other thread that you are involved with, but for the sake of completion and for any others who stumble upon this thread I'll give a response. What we provided you was a runtime deployment (aka RDK…
    in v2.1.4 Comment by DonBakke July 2020
  • @josh - It's already defined in OI so you can call it as if it was a regular function.
  • @josh - Normally you would use the FindWindow API to get the handle. @prattspets - You should have a copy of the Windows_Services module from your FrameWorks system. There is a service called GetHandle that you can use. You can pass in the caption …
  • Yep, you are right. I thought we had discovered a situation where passing in credentials via REVCAPI was case-sensitive and produced an unusual error. However, I tested the installer using mixed case passwords and it installed fine each time. If I …
    in v2.1.4 Comment by DonBakke June 2020
  • Nothing should have changed. Does your SYSPROG application have a password? If so, make sure you type the the password with the correct case. I think this can cause the error you are seeing.
    in v2.1.4 Comment by DonBakke June 2020