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

KevinFournier

About

Username
KevinFournier
Joined
Visits
2,123
Last Active
Roles
Administrator

Comments

  • This is not wise. You shouldn't have to do the conversion. The web developer is sending you json that no system on earth would accept. This is on them. If you choose to fix it, you should make sure not to swap out every instance of carriage return, …
  • This was discovered and fixed for the next release. You can download a build with the fix here in the meantime.
  • It looks like the web developer is sending carriage returns in the body. OECGI likes to URL Encode a lot of data, so a carriage return would be encoded as %0A. That is not good. Just because the carriage return is nicely encoded in the html body doe…
  • This doesn't work in any version of OI 10. I'll add this to my todo list to get fixed.
  • You can't just do a blanket swap on incoming json because any line breaks outside of the strings are legit. The web developer should know better. There is no web service that would accept this. Tools like jsonlint.com can be useful for validating js…
  • Are you creating the json using SRP_JsonX or manually? SRP_JsonX will escape line breaks for you. Otherwise you need to do something like: Swap \0D0A\ with "\r\n" in Text
  • This is not valid json. You can't have hard line breaks in a string. You have to use \r\n in the string for line breaks.
  • Yeah, that seems wrong. Can you email me the json?
  • You're saying that a value in the json is "swwss[222]"?
  • The RDK places SRPEditorImage.zip into the BMPS directory, and the SRP Editor expects there to be a BMPS subdirectory inside the current working directory. There are two cases I've seen images not load. Case 1: running in a terminal server set at 24…
  • According to my records, your license is good through the end of 2022. Are there other SRPLIC files in the OI folder?
  • Ah, this is specifically for the SRP Editor itself. What is the name of your license file?
  • It actually seems to happen even if you just do a Replace All from the start, so something broke at some point and got overlooked.
  • Sadly, this information is not easily accessible. I'll have to update the SRP ActiveX Info tool to display this information. It is possible to query this information programmatically via COM, but it's not currently documented. In the meantime, I can…
  • Thanks for these clear steps to recreate. I've confirmed it is a problem and will add it my todo list.
  • I can't explain why this happens, but it appears that UNC file paths are not supported when the engine is running within the context of OECGI3. Probably for security reasons. Perhaps others with web server administration experience can speak more ex…
  • Testing in a clean copy of OI 9.4 fails to reproduce this problem. Is it possible a promoted event somewhere is setting this? Does your copy of OI connect to a Linear Hash server?
  • I've confirmed this is a problem in OI 10. For some background, the SRP ActiveX Controls have always had to "trick" OI 9 into passing focus onto the next item. It appears that trick doesn't work in OI 10, so I'll have to investigate whether or not I…
  • No worries. These are just some ideas you can mess with. There's not much to displaying the splash screen, so I actually wonder if it's the splash screen itself or the delay-timer behind it. Sometimes remote sessions can break if they use a lower co…
  • Are these virtual machines or remote desktops? What OS is it running, and is it the same OS as the others? What is the value of SplashScreenDelay, EnableSplashScreen, and EnableBlending? Does anything change if you alter these settings in the INI fi…
  • The direct answer to your question is that you have to do a SendEvent for each cell, passing the cell position as a parameter. The trick to sending OLE events is that the actual event is "OLE" and the next parameter is the control's event itself. Th…
  • Call Send_Event(CurCtrl, "OLE", "AfterUpdate", "1;2", "NewText", "")
  • I think it might be simpler than that. There is a long-standing bug I've been aware of--one that is very difficult to duplicate--where the Undo Buffer gets "stuck" such that pressing Ctrl+Z undoes everything instead of just your last change. I think…
  • Make sure you also delete the SYSREPOS entries that point to them or the entities will still show up elsewhere as orphaned entities.
  • The fact that it breaks outside of SYSPROG leads me back to the theory that you have old SRP_EDITOR entities in your system that are not at the SYSPROG level which are overriding the latest update. Check SYSOBJ and SYSREPOSWINEXES for any entities b…
  • I've tried to recreate this to no avail. Try turning off line numbers in the Options (click OK or Apply) followed by a restart. Confirm that line numbers still don't appear. Then turn line numbers back on in the Options and restart again. See if it …
  • Another thing I've seen after a major update is copies of SRP Editor entities in local applications. If, for example, you look in SYSOBJ and see $SRP_EDITOR_OPTION_DLG_EVENTS and $SRP_EDITOR_OPTION_DLG_EVENTS*MYAPP, then the MYAPP version (which is …
  • I wonder if the big jump in versions caused the options to get out of sync. One thing you can try, though it will cause you to lose all your current options, is to open RegEdit and remove all the entries in the following folder: Computer\HKEY_CURREN…
  • What is the error you're getting when it doesn't work?
  • Resetting the LIST property causes all items to be cleared and then re-added, which is why TOPPOS resets. It's far more efficient to use the INSERT method with an index of -1 to append a new item to the end of the list box. Then set TOPPOS to the si…