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

AusMarkB

About

Username
AusMarkB
Joined
Visits
1,317
Last Active
Roles
Member

Comments

  • The Azure component is managed by the client's IT firm. We asked for a means of uploading files to it. They provided the API. We work with the tools we're given. It's simple and allows us to specify a timeframe after which the files will be deleted …
  • Unless I'm mistaken, Base64 can only work if the end recipient has a means of decoding it? That's not the case here. What our client wants is to send copies of files to their client based on a report. As their could be any number of files, even zipp…
  • One more tidbit that might spark an idea in those smarter than I. If I base64 encode the body of the request, the whole thing (or at least it appears to be the whole thing) makes it. Something about sending the raw binary data is terminating the pr…
  • Well @josh, you'll be happy to hear I got Wireshark to work. Now it's just a case of deciphering what the results are telling me. When I send using Postman, a whole lot of stuff is happening. When I send out of OI, it looks like only one packet is…
  • Same non result with wireshark. I'm sure there's a way to configure it to pick up what I'm sending because I have used wireshark for that purpose before. I'm just a little reluctant to use wireshark because I remember two things. 1. It was, let's sa…
  • I was using application/octet-stream and text files worked. I thought that might have been the problem but changing it to something more specific for the the other files like "image/png" for a png didn't change the result. Upon recommendation, I've…
  • Definitely my backyard so my problem to fix. The other guys have arranged to leave a copy of the file they receive on a server I can access. More testing reveals they aren't receiving the correct file so there's an issue with the send. If I send any…
  • No. The png worked using postman but didn't via SendHTTPRequest. I've since tried replicating the same headers that Postman created just in case there was something in that but no luck.
  • Fair point and bugger! It worked with a png. More testing on my end I guess
  • They did but they wrote it specifically for this purpose so it hasn't been "proven" as yet. Initially, it was rejecting as a bad request. This turned out to be because of the content-type header. They corrected their documentation. I corrected the c…
  • I'm thinking the real issue might be that the srputilities.dll didn't get updated so now your utilities source is out of sync with the actual dll. Find that file and verify it is the latest copy. The precompiler issue is just how you identified the …
  • and now I see F12 == Ctrl + Shift + G. I'll stick with the F12 I think. Thanks for the tips Don.
  • F12 occupies the top of my short list. Now that I know about it I can see that knocking Ctrl+T out of the number one spot. It is a feature I use extensively but via right click. Plus I never thought to use it for jumping to the label and always mo…
  • Ctrl+T :) My favourite shortcut.
  • Beauty. Thanks. Well whilst I didn't try to extract them, GetFileList knew what I had added and the zip file was of the right size to indicate they were there, just Windows couldn't read them. Googling indicated that other people have had similar e…
  • Now that issue is sorted, here's the next one that I hope you're going to assure me is just the licensing. The first time I call srp_zip("Open".... the license window pops up. All good. Run the routine again, a Windows error pops up instead of the L…
  • You were on the right path there Kev. (no pun intended......... well maybe). As I looked into that I realised the zipping was working and the files were getting added. The size of the resulting zip file indicated as much. It was just when I went to…
  • Does the srp editor install perform the registration of the SRPUtil.ocx as part of the process or are you meant to do that manually?
  • I started with the default of 6 and only changed it to 1 to test that same theory. So 1 and 6 had the same result
  • I'm probably speaking out of turn but I've never registered either. Only srpcontrols.ocx
  • errorList = null$ zipPassword = null$ zipFileName = ".\html\rephr068.zip" ZipHandle = SRP_Zip("Open", zipFileName, zipPassword) noAttachments = DCount(attachmentList, fm$) Compression = 1 For aCnt = 1 to noAttachments this…
  • I just stumbled over the "bookmarks" reference in the registry and I've got sooooo many listed there but I'm not sure how they came about.
  • Wondering if the reason the bookmarks suddenly started appearing in random places ever get identified? I know I experienced it too, though don't seem to be at the moment. I've never intentionally utilised the bookmarks feature so it was a bit of a …
  • I have a long standing utility whereby users can drop files onto a picture control and then associate the file/s with multiple records from two different tables, say workers and sites. A newish request has come in whereby the customer wants to assoc…
  • All good Kev. The penny dropped once I saw recordToRow returned zero. I really think it was just that one line I quoted that sent me down the garden path. It implies, at least to me, that you can set the property/state of any data row which when you…
  • Probably not surprisingly but just found this applies to OI message boxes as well that are of type Response. The response won't be returned unless you pass the name of the window that contains the panel as the parent even if it is a function of the…
  • Haven't tried it but as the row indicator is a header column could the headerimage property still work? Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderImage[1; ":rownumber + 1:"]", 2) With headers, the columns are offset to the data columns so …
    in Row Markers Comment by AusMarkB April 30
  • That many records in that few seconds is an impressive feat on its own I'd say.
  • It's that two logically connected pieces of the code (the then and the else clauses) are written far away from each other. In other words, it's hard to know what then clause an else clause is connected to if the else clause is separated from the the…