Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

DUE TO ADMINISTRATIVE REASONS, WE MAY NOT BE ABLE TO RESPOND (OR TO RESPOND AS QUICKLY AS USUAL) BETWEEN December 30, 2024 - January 6, 2025. WE APOLOGIZE FOR INCONVENIENCE.

It takes ~6 seconds to load the EasyUAFormsApplication

More
17 Dec 2024 09:44 #13335 by support
Hello.

Regarding your first post: Administering the UA application from a separate program is in the plans, but not supported yet.

If the issue is with placing the command onto the system menu, and not with running the form itself: There is nothing that forces you to place this command on the system menu. The reason why we "advertise" this method is because it can be used in any Windows desktop application in the same way.

But you can add a command to your application to invoke the OPC UA Administration dialog from anywhere you like - such as your own menus, icons etc. So this is the way I would go in this case. See: opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...UA%20Application%20Dialog.html . Basically, just call EasyUAFormsApplication.Instance.UIAdministerApplication (opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...2~UIAdministerApplication.html ) when you want the dialog to appear. Suggested arguments are:

- for 'owner': your parent form
- for 'clientSelector': New EasyUAClientSelector(EasyUAClient.SharedInstance)
- for 'allowPullCertificateManagement': True
- for 'allowChangePrivateKeyPassword': False

I hope this helps
Best regards

Please Log in or Create an account to join the conversation.

More
17 Dec 2024 09:08 #13334 by micham
Hi,

Alternatively, can I add your component to another window/form and not to the main window?

Thank you.

Michael

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 20:59 #13333 by micham
Hi,

Can I handle the "Administer OPC UA Application" from a separate program? If yes, what it the correct way to do it?

Thanks.

Michael

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 16:34 #13332 by support
I cannot reproduce this either.

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 15:06 #13331 by micham
Hi
I am saying that your solution cases to the form to be "white" for a few seconds until the menu is added to the system menu. The thread didn't help...

Thanks.
Michael

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 15:03 #13330 by support
Hello.

I do not not want how to interpret the video. I do not know what to expect, therefore I do not see anything wrong. What is that you are trying to say?

Regards

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 14:30 #13329 by micham
Hi,
Thank you for your answer. See the attached video to see what happens after implementing your suggestion.

2024-12-16...4-55.mp4



Thanks.

Michael
Attachments:

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 07:24 #13328 by support
Hello.

Cannot reproduce it. In my tests, the time to execute this statement is so short that is not noticeable.
Please provide a minimal project that exhibits the problem.

As a workaround, you can do this in a background (example below). That should work unless the user actually needs to execute that command from the system menu before it is added - in your case in first 6 seconds.
        Dim SetupSystemMenu = Sub()
                                  EasyUAFormsApplication.Instance.AddToSystemMenu(Me)
                              End Sub
        Dim SetupSystemMenuThread As New System.Threading.Thread(Sub() Invoke(SetupSystemMenu))
        SetupSystemMenuThread.Start()
Regards

Please Log in or Create an account to join the conversation.

More
16 Dec 2024 05:50 #13327 by micham
Hi,

It takes ~6 seconds to add the form using the following API:

EasyUAFormsApplication.Instance.AddToSystemMenu(Me)

Is there a way to improve it?

The customer have to wait 6 more seconds until our main form is loaded...

Thank you.

Michael

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.059 seconds