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

MattCrozier

About

Username
MattCrozier
Joined
Visits
1,734
Last Active
Roles
Member

Comments

  • Barry - do you mean the TRACKINGSIZE property? Martyn blogged about this recently.
  • "fix" the image on-the-fly using the meta data via the command line tool that Kevin referenced. That way you wouldn't have to bother the user . Ah, I see! Yes, maybe. In some cases the images themselves aren't really 'ours' to fix (picky art mus…
  • If it helps, Matt, you can examine the meta data for a JPG using the SRP Picture Control's GetMetaData method. Hmm - yeap, I suppose I could use that to give a visual cue beside the picture. Thanks!
  • I agree with you there, Kevin! It's just created inconsistencies everywhere. For instance, Explorer and OIPI treat images differently. So if you're including images in OIPI reports, should you're application windows be consistent with Explorer, o…
  • Cool! You get to use it before I do and saves me some testing ;) Cheers, M@
  • Well, here's my attempt ;). I think you'd need to obtain the whole AMv first, then update the ItemRec. It should work for both AMv sets and single MV fields. Begin Case Case JSONType _EQC 'Array' // Count the number of members in the array t…
  • Ah right - I've only considered the GET at this stage too. POST is another beast altogether ;). Anyway, I've sent you what I've done FYI. Cheers, M@
  • Barry - I've already had a go at this. The added code to HTTP_JSON_Services() to do the work. Let me know if you're interested - I'll pass it on. Cheers, M@
  • Great - thanks! That fixes all my cases. You can sleep easy ;). Cheers, M@
  • Eeks! Well, the good news is that Orientation 1 now shows normally :). The bad news is that Orientation 6 (Rotate 90 CW) is now showing upside down! Have to laugh :) Cheers, M@
  • Hi Kevin, Ok - I've now got SRPcontrols v4.0.2.0 and rotated images are now showing the correct vertical orientation in SRP Picture control. However - I'm finding that images that explicitly have an Orientation tag of 'Horizontal (normal)' (value…
  • Oh, gees! I can see this cleverness ultimately causing confusion when our application exports derivatives of images for use by other applications, which may or may not support this feature. Would there be properties in the new SRPcontrols to exa…
  • Yes, I SetUTF8( 1) in HTTP_MCP(), actually. Everything seems hunky-dory in UTF8 right up to return Response in HTTP_MCP().
  • Hi Don, Yes, I couldn't figure out why OECGI appeared to be working in UTF8 mode for you and not me - maybe there are some OECGI settings I'm missing, like a specific UTF8 port number (you may have seen my last posting on the Rev forum to Bryan). …
  • Hi Don, Great! My unit testing of SRP_JSON with UTF8 data is working well. The final response is the UTF8 text one would expect. It took me a while to work out that I need to include 'charset=utf-8' in the Content Type header to get this showing…
  • Ah, of course - my mistakes, thanks. So it seems \u encoding of unicode characters is the way to go if OECGI can only work with ANSI. I'd like to return a \u encoded JSON response. HTTP_JSON_SERVICES() uses the SETVALUE and STRINGIFY services …
  • I would hope so, according to http://www.json.org/ A string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. A character is represented as a single character string. A string is very much like a C …
  • Ahh, I see. Could we /u escape any unicode characters? Eg { "_links" : { "collection" : { "href" : "http://localhost/api/users" }, "self" : { "href" : "http://localhost/api/users/ARIEL" } }, "pers…
  • Hi Don, Great! - I'll take that award as I'm sure they're not dished out that often ;). And now we've all learnt something. I agree with option 3 as the safest. This would be the equivalent of SYSENV/CFG_INET < 1, 3>. So allows for portab…
  • FWIW, SRP_ActiveX_Info used to crash on my machine too. There wasn't any noticeable difference between my Windows 8.1 PC and others in the office, and turning off Windows Defender and reinstalling the .NET components made no difference. I've since…
  • Brilliant! That's done the trick on my machine. We'll do some wider range of testing on other machines over time and hopefully you've solved a general case issue. Yes, the WinDbg can be useful - particularly for determining which control within S…
  • Ok, I think I've worked out how to run WinDbg alongside OI. The following is the WinDbg output and call stack at the crash point: ModLoad: 00000000`0af40000 00000000`0af5b000 C:\TEMP\SRPcontrols_Crash.dmo\V119.dll HEAP[OINSIGHT.exe]: HEAP: Free H…
  • How can you determine what the cell height should be, given the font size?
  • I've tried both SRPEditTable.ocx and SRPControls.ocx separately. That is, when I test SRPEditTable I don't have SRPControls registered at all, and vise-versa. Only SRPEditTable is out in the wild at this stage, and I'm just using SRPControls in ho…
  • Yes, I'm quite willing to do what I can to help get a better understanding :). Thanks for the downloads, Kevin. I can still replicate the crash and get a dump file. I can't see any extra info in the lm or k commands though - but I'm not sure i…
  • Yeap, seems to work well. I couldn't just SET_ZORDER for all the groupboxes for every SRP edittable created - I had to specifically work out which groupboxes contained which edittables and only do it for those.
  • Actually, even better than destroying and recreating the groupboxes is to just Send_Message( SRPedittable, "SET_ZORDER", groupbox)
  • what would happen if you dynamically created the group box controls as well Brilliant!! That's even better - thanks. The more the promoted CREATE event can do itself, the better. I've just tried a simple test of DESTROYing the groupbox and reCREA…
  • Thanks for the hints, Don and Mark! I did try recreating groupboxes and/or edittables on the form and resaving - to no avail. Then I remembered that we don't actually have SRP EditTable controls explicitly painted on the form using Form Designer - …
  • Great - thanks for the quick response. All looking good now. Cheers, M@