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.

It takes ~6 seconds to load the EasyUAFormsApplication

More
09 Jan 2025 09:48 #13339 by support
EasyUAApplication.Instance

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

More
09 Jan 2025 09:45 #13338 by micham
Hi,

I have added this

Imports OpcLabs.EasyOpc.UA.Application

and now the error is gone, but what should be the value of the application parameter?

Thanks

Michael

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

More
09 Jan 2025 09:40 #13337 by micham
Hi,

Thank you for your answer. I am trying to implement the following, however I get an error on the following line:

Dim application As IEasyUAClientServerApplication

It seems that IEasyUAClientServerApplication is undefined...

Dim application As IEasyUAClientServerApplication

IEasyUAClientServerApplicationExtension2.UIAdministerApplication(Application, Form1, New EasyUAClientSelector(EasyUAClient.SharedInstance), True)

I appreciate your answer.

Michael

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

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.

Moderators: support
Time to create page: 0.058 seconds