Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
KevinFournier
About
- Username
- KevinFournier
- Joined
- Visits
- 2,262
- Last Active
- Roles
- Administrator
Comments
-
So, this is a Form Designer screenshot, correct? Are you saying the above code does not work when running the form? Do you have a screenshot of that?
-
I'm not sure I can answer without seeing any code. This is what we do in FrameWorks' CREATE event. Size = Get_Property(@Window:".OLE_FRAME_STATUS", "ORIG_SIZE") Left = "0" ; // Achor left to client left Top = -Size<4> ; // Use control's…
-
Man, the ideas you guys put in my head. If you download OCX version 4.2.5.5 and register it, it will resize the toolbox IF there is an SRP OLE control somewhere on the loaded form.
-
There is no convenient fix. I think I found a program years ago that can resize a window, but you have to run that program every time you open the Form Designer. It never felt worth it.
-
Use the Ribbon's LayoutChildControl method to tell it where to put the other controls in relation to the ribbon.
-
Not here. It's not exactly a 1-to-1 comparison anyway.
-
Hmm, this is even more informing. When you set the color in the DB Manager, it sets the background color directly into the SYSREPOSWINEXES records for all windows, not just the ones that are set the the Default color. This is why, when you open the …
-
Awesome. Then their OS installation is bad. Time to repair or upgrade.
-
The 64-bit version has code specific to DPI, but even though that is "extra stuff", note that in Windows, there are 32-bit and 64-bit versions of all kinds of DLLs. There are numerous ways 64-bit could fail while 32-bit does not. One way to check is…
-
Our installer installs these runtimes for you, by the way. So, if you've used our installer, it should have everything you need. I suspect this server is simply missing some dependencies, which can happen for a host of reasons. Upgrading out of an u…
-
The point I was making is that the SRP Editor is set to the system form color, which is done in the Form Designer by going to Properties->System Color->Default. The fact that it was set to LIGHT BLUE in the SYSREPOSWINEXES is telling. My guess…
-
SRP Table Search is not subclassed, but it does set the color of the form to white in the Form Designer. The SRP Editor, since it has a tab control, is subclassing the form, but it defers rendering of the background to OI. The background color of th…
-
Wish granted. If you download 4.2.4 from our products page, that installer will let you choose to not install either OCX.
-
There is no existing way, no. Might I ask why the need?
-
I really appreciate the sample code. It allowed me to dive right into the issue... and boy was it a twisty rabbit hole. The fix was simple, but figuring out the issue took me all morning. When using COM automation, all parameters are passed as VARI…
-
Looking at similar issues with Word automation in other languages, it appears that Word will not accept omitting variables. Instead, you must specify that each one is a missing reference. I'll investigate further on my end, but here are two things t…
-
You'll need to use the BEGINCALL, ADDPARAM, and ENDCALL services to do this. Word OLE Automation must be expressly told when a parameter is omitted. Simply omitting them in a CALL service isn't sufficient. Using your example, the SAVEAS2 call would…
-
It's worth noting that our installer runs the VC+ 2013 redistribution installer automatically, so another option is to just run our installer.
-
Keep the aforementioned VC++ 2013 Runtime in mind after the upgrade. It probably won't be necessary, but since organizing the install involves some effort, it wouldn't hurt to make sure it's run before your next test.
-
Try installing the VC++ 2013 Runtime on that machine and see if that helps.
-
The reason "#pragma SRP_PreCompiler" doesn't cause an error is because the code does nothing. While the errors are prevented, SRP_PreCompiler doesn't run at all. SRP_PreCompiler relies on SRP Utilities, which is installed with the SRP Editor, but si…
-
The temporary entities are created upon opening and cleared out upon closing.
-
Make sure your OI directory is not read only.
-
Something has the SRPEditor.ocx locked, preventing the install from happening at all. If you are sure that all users are logged out of OI and are still getting that message, you might need to restart the machine to release the lock.
-
It's a wrapper around the preview used in Windows Explorer. We never documented it because it became clear after using it internally for a while that supporting it would be a nightmare. The preview is completely out of our control. If something does…
-
Fixed in 4.2.3.2. The issue is that the frame window receives a WM_CLOSE message for some reason when the form is launched. Not sure why, but I had logic in there to release control of all controls that were passed to LayoutChildControl, giving size…
-
I still can't get the MDIClient to resize in my tests. There must be some other variables to consider. Is this native Windows or a Citrix? What is the DPI set to? Multiple monitors? Getting a copy of OPTO might speed things up as well. If you want t…
-
1. When you call an OLE method that doesn't exist, nothing happens, other than wasting a bit of CPU time. OI ignores the call. 2. That is pretty much where we do it in FrameWorks, a few lines before we make the frame visible.
-
It wouldn't break anything. LayoutChildControl does nothing in OI 10 because OI 10 will position the control where we want them... all except for the MDI client control. In OI 10, you have to use the MDISize property to position that control specifi…
-
Indeed, getting the Ribbon to play nice with OI has been quite the journey. I tested applications that use LayoutChildControl, which could explain the disparity, but if that's the case, it only proves that you should be using this method if you are…