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

jimvaughan

About

Username
jimvaughan
Joined
Visits
234
Last Active
Roles
Member

Comments

  • Could this be the cause https://stackoverflow.com/questions/45567525/nsis-system-kernel32loadlibrary-does-not-search-outdir-or-path
  • Good idea, let me test on another machine.
  • ; attempt to login MessageBox MB_OK "$INSTDIR" SetOutPath $INSTDIR srputil::startOI /NOUNLOAD $OI_APP $OI_USERNAME $OI_PASSWORD Message displayed is c:\OI32 which is correct and adding SetOutPath line makes no difference.
  • Hmm then somehow current directory must be wrong.
  • I just did a search for revcap32 in the registry, it was not found, does this mean it needs registering?
  • I tried doing it differently. I backed up my OI32 folder and tried installing directly to that folder to make sure it wasn't something do with copying the install, I see the same problem when using this folder. [C:\oi32]DIR REVCAP32.dll Volume i…
  • Running the installer after the prompt for app, username.
  • The only differences I can see are: I use SRPRDKINSTALL not UPGRADE You reference oinsightexe I reference oinsight.exe I prompt for app, username, and password. I run RDKINSTALL and you run UPDATE_INDEX Any ideas anyone?
  • It's strange the data has a LEN of 1,909,206 and the Set_Property ARRAY is very quick the Get_Property ARRAY is very slow.
  • Yes, I tried that, I switched the Get_Property radio button VALUE with a Get_Property check box CHECK call and the check box also returned the wrong data. Calling the Get_Property twice as I mentioned also fixes the problem. Bizarre.
  • Send_Message seems to work better. I did see one tile vertical fail, it only tiled one of two windows. I think is something to do with the size of the windows.
  • Also, sometimes the mdichilds do not fit in to the entire mdi frame. A gap is left at the right and bottom. I am currently using the Ret_Val = Send_Event(@Window,"TILE",0) method. I am going to try with the Send_Message method instead.
  • That is working now for horizontal (most of the time), and for vertical (sometimes it does, often it does not). Horizontal works more often the vertical. I also when tiling I get a brief message "window already exists" flash in the status line. …
  • Ha, no worries. I thought I was losing it.
  • This is what the windows look like. One edittable. Two separate horizontal and one vertical scrollbars (these are separate controls and are not part of the edittable. A OLE splitter bar (without mdi_theme, it uses a OI Splitter bar). An area I draw…
  • I have no idea why this is doing this but this is what I am seeing. If call this: Ret_Val = Send_Message(@Window:".OLE_SUBCLASS", "OLE.Tile", @Window:".MDICLIENT", 1) It tiles two open mdichilds horizontally, shouldn't this be vertical? If I ca…
  • Now I think about replacing the OCX will not work, the old code is already using the new OCX. Does installing the control change something else?
  • Just tested using a backup of my code from end of August and tile works correctly. I can see nothing at first glance that I have changed that could cause tile to stop working. However, I did install SRP control 4.1.11 and 4.1.16.1. I was using 4.1.6…
  • This is from 2.0 which I just downloaded. License ------------ Location: C:\oi32\Waterloo.srplic SRPControls.ocx: 4.1.16.1, C:\oi32\SRPControls.ocx Controls ------------ SRP Button Control -- Expired 08/29/2021 SRP DatePicker Control -- Expired 0…
  • Just tried running SRP_ActiveX_Info.exe Why do they all show as expired? License ------------ Location: C:\oi32\Waterloo.srplic SRPControls.ocx: 4.1.16.1, C:\oi32\SRPControls.ocx Controls ------------ SRP Button Control -- Expired 08/29/2021 SRP D…
  • I have no idea what is going on here, I am confused. https://wiki.srpcs.com/display/Events/TILE 0 is horizontal. So this, will tile horizontal: Ret_Val = Send_Event(@Window,"TILE",0) Yet I need to do this to make it horizontal Ret_Val = Send_Mess…
  • Kevin, If I do the following when two mdi child forms are open. (1) Tile horizontal and it works. Ret_Val = Send_Message(@Window:".OLE_SUBCLASS", "OLE.Tile", @Window:".MDICLIENT", 1) (2) Tile vertical and nothing happens Ret_Val = Send_Message(@Wi…
  • Some of this I think was caused by having an OLE_SUBCLASS control on one of the mdi_childs, I had moved it to the main form that contained the mdi_frame and forgot to move this one. Still testing.
  • On some mdichilds tile can corrupts a radio button. This is all using the send_event method with no mditheme. I'm trying to figure out why this is happening.
  • It's not your code. It's some mdichilds for some reason when they are open, they don't tile correctly even when not using mditheme. You definitely have 1 and 0 reversed.
  • I'm doing more testing to see if I can see when it stops working.
  • Two things (1) I think you have 0 and 1 reversed. (2) Unless I am doing something stupid, it seems to work for a while and then stops.
  • Perfect, many thanks. This mditheme makes my app look so much better. Thank you again.
  • Kevin, Very cool, Thank you. I must leave right now, but I will look at this tomorrow.
  • Ah OK that makes sense.