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

Comments

  • I agree, we are talking past each other. However, there are points in your narrative which lead me to believe your setup and implementation is wrong.
  • I only did that to test for your issue. I still maintain that multiple SRP DirectConnect controls running in the same app is not the best design...but it should work. You didn't answer my questions.
  • It just so happens that I was working on a project today that uses the SRP DirectConnect control. I put 5 different SRP DirectConnect controls on the same window and then executed one Broadcast. All 5 controls got the OnMessage event. Are you sure …
  • Okay, this is a form. I was thinking you were creating something more simplistic...like a property/value panel. This changes my perspective. I'd like to go back to your original question. You asked for a "more direct way to display the content of a…
  • I can't say I know of any way to shortcut what you are doing, but I am also curious as to what the final format looks like. Does it need to be pretty? Is a stringified view of the JSON not sufficient?
  • As you just noted (and discussed in this post), this would have to be simulated. I would be interested to hear of anybody actually doing this. I think if I were to take a stab at this I would do something like this: * Use the OnMouseMove event. …
    in Drag/Drop Comment by DonBakke March 2017
  • Thanks for pointing this out. It doesn't matter what statement is used. It appears that "http:/" will trigger the format change and not simply "http:".
  • Ahem...that last response was from me. :) Yes, it will be a moving target but you can get some measure of control if you check a few things up front. For instance, the GetResponseHeaderField service using the argument "Content-Type" should tell you…
  • This is just plain HTML, which is expected when the server cannot find the URL you requested.
  • The answer is yes and no. OI itself requires SQL compliant naming conventions as it always has. However, in order to ease the porting of AREV to ARev32, Revelation created the CTODICT.MFS. This will get installed on your dictionaries when you do the…
  • Perhaps this isn't your issue, Mark, but using script event handlers will also make a difference. In this case, returning a 0 should also be done to prevent the event chain from continuing.
  • Post_Event() is definitely the right solution. OI does not handle OLE events well in this scenario for the reasons you surmised. Usually, however, this results in a freed common error rather than a Windows level crash. How are you qualifying the OL…
  • What exactly is happening when OpenInsight crashes? Is this a runtime error or Windows level crash?
  • Ah...the problems of using different versions of the product. I think we fixed the problem you are running into with a later release. I can only look at and test the current version that I have installed. You are correct, there is a point where the …
  • Okay, so I should expect something back on a time out or bad gateway etc. correct? Certainly the browser figures out something happens. Remember, the key issue here is "what the server returns" not "what the browser shows". The browser will show y…
  • First, I must apologize for giving you a reply that ultimately sent you on a wild goose chase. I was rushing my answer since I was heading out the door for a few hours. You nearly identified my error on your own. I was looking at HTTP_Services when …
  • Steve, I could be wrong but if your code snippet was copied from your stored procedure I think the problem is that you have the wrong service. Instead of GetResponseStatusCode try GetResponseStatus.
  • Consider using the BLOCK_EVENTS property to control the firing of errant and grief-producing CHANGED events.
    in Drag/Drop Comment by DonBakke March 2017
  • Serves me right for trying to read posts after midnight when I am tired. I see now that the text in the control is for instructional purposes. I kept thinking all along that the text you wanted to appear was the text you were dropping in. Now this m…
    in Drag/Drop Comment by DonBakke March 2017
  • I'm still trying to understand when the problem occurs. It seems clear to me that you are trying to do two things: 1.) drop text into a control, and 2.) clear the text once the user moves the mouse. If you ignore the functionality of #2, does dropp…
    in Drag/Drop Comment by DonBakke March 2017
  • I don't think we have a way to support drag-n-drop of text data, at least from an external source. Maybe we can help resolve the grief issues you are getting. When you say "it dies", are you saying OI crashes? Can you elaborate more on what doesn't…
    in Drag/Drop Comment by DonBakke March 2017
  • What is the nature of the data coming from the external source? Is it pure text, a file, a structure? Is the text appearing in the OI edit line control the data being dragged/dropped or is it just data your code will generate?
    in Drag/Drop Comment by DonBakke March 2017
  • I just ran into a similar situation on a client's new Citrix box. Neither %LOCALAPPDATA% nor the %HomeDrive% paths contained a Windows folder with OINSIGHT.ini. I found it in %USERPROFILE%\Windows.
  • That is definitely not what I would have expected to see. Question: when you run the form does it display an evaluation dialog box that forces you to dismiss it or does it appear to run without any issues?
    in Eval copy Comment by DonBakke March 2017
  • For those who really want to dive into these distinctions, I recommend reading the official RFC spec on POST and PUT. In simplified terms, POST should be used to create a new resource and the server gets to decide the resource ID. POST can also be …
  • Much of this depends on where you choose to define the endpoint. There is no "best practice" here, it really depends on what makes the most sense for your application design and maintenance. /customers could be your endpoint and all other segments …
  • Barry - Rather than reinvent the wheel, look at the examples Mark posted. Those URLs are more RESTful because they clearly identify a unique resource on the server. I'm not sure if your database record is a single or 2-part key, but it doesn't matte…
  • Guys - Using angle brackets in your responses is causing odd formatting. Barry, this is why you had characters in strikeout mode. Mark, this is why your clientid tag was missing. I updated Barry's post with emoji (since I suspect that is what you we…
  • I think this issue is getting muddied. I would not take the approach you are considering. I can continue to offer my advice if you wish, but it would only serve to explain a best practice approach from a RESTful point of view and to ensure consisten…
  • Let's slow down here. First, you misunderstood the intent of my question about the RequestURL argument. Obviously I knew you were aware of it since you used it in your example. I was trying to confirm if that variable was being passed in as an argum…