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
404
Last Active
Roles
Member

Comments

  • It's caused by these lines of code Handle = Get_Property(@Window:".MDICLIENT", "HANDLE") Call Send_Message(@Window:".OLE_SUBCLASS", "OLE.Subclass", Handle, @Window:".MDICLIENT") Call Set_Property(@Window:".OLE_SUBCLASS", "OLE.MdiTheme[":@Windo…
  • A reboot seems to have fixed it.
  • Cool excellent job, thank you.
    in Crash Comment by jimvaughan August 2021
  • I will. It happens with the search box open, and I am using the editor top edit text. It crashes when I click on the search box. I think that is what happens, next time it happens I'll report what I was doing.
    in Crash Comment by jimvaughan July 2021
  • The new find.
    in Crash Comment by jimvaughan July 2021
  • I figured this out I just need to change the format and conversion on the table to use my own already existing subroutine which I use on data entry forms.
  • Thanks Don, I'll ask on the works forum.
  • That post mangled the XML but the date above I need in a different format.
  • Oh cool, thanks Kevin.
    in Idle Comment by jimvaughan July 2021
  • You are welcome, thanks for pointing me in the right direction.
  • This fixes it: Function DirectoryLeave ; look for oinsight.exe ${IfNot} ${FileExists} "$INSTDIR\oinsight.exe" ${OrIfNot} ${FileExists} "$INSTDIR\oengine.dll" MessageBox MB_OK|MB_ICONEXCLAMATION "Could not find oinsight.exe or oengine.dll…
  • Not sure if this helps but if I add a MessageBox right after loading of the engine and use sysinternals Procexp.exe, no OENGINE is loaded. ; attempt to login srputil::startOI /NOUNLOAD $OI_APP $OI_USERNAME $OI_PASSWORD MessageBox MB_OK "Test…
  • 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?