loading

Add to this Thread


rr.ShowWindow(false)
oscar from United States
4 year
I'm working on setting up an API in C# using a commercial (x64) version 2.87.21

I'm displaying a camera in my program (through RoboRealm), so I want the RoboRealm GUI to stay hidden.

I'm using this code to start RoboRealm through my C# Program
------------------------------------------------------------------------------------------
if (!rr.IsConnected())
            {
                
                if (rr.Startup() == -1)
                {
                            rr.LoadProgram("my file goes here");
                }
            }
--------------------------------------------------------------------------------------------

I have tried to put the code "rr.ShowWindow(false);" everywhere, before the "if", or after, in the center, etc. But the RoboRealm GUI keeps coming up. Faceless works fine if I enable it through the GUI, but as soon as I run my program it comes up on top of everything.

There is something that I'm most likely doing wrong, but I'm not sure what it is.

Kindly help me when you have a moment.
Thanks.

Pick Avatar
* Question/Comment - Only <b>, <i>, <u> tags are allowed. All others will be escaped.
Use the tags [image1], [image2], etc. to place the images within your question/comment.
Upload Images (.jpg, .png, .gif) < 300K, robofiles (.robo) or Zip files (.zip) < 300K.

If you have any questions/issues about RoboRealm or image processing this is your chance to ask a question. Your question and any responses will be posted to the forum section of the website for others to read and learn from.

Note that any submission will be considered property of RoboRealm. If you do not wish your images to be displayed as part of the RoboRealm site please do not submit those images. Any submission may be removed from the website at the discretion of RoboRealm personnel.