In a previous article, we mentioned two use cases for the fantastic OpenLinkDlg method to honor -and many times to improve- C# application’s user experience once is published on the web with Thinfinity VirtualUI.
Following the “Don’t make me think” philosophy developers are always looking for best practices and ways to make it easier for users to interact with applications, and we want you to achieve total success with your c# apps virtualized.
We keep thinking about this: users taking full advantage of your Visual Basic 6 desktop application on the web with a wide range of benefits that come with it. So as we did with C# we coded this VB6 demo application for you to replicate it in your Visual Basic 6 application and let your users do what they have to with it.
Go ahead and follow this tutorial to publish this or any Visual Basic 6 desktop application on the web.
Now, what matters the most here: The OpenLinkDlg is a method brought to you by the Virtual UI class. Let’s take a look at it.
OpenLinkDlg([in] BSTR url, [in] BSTR caption)
So in the first parameter, we’ll pass the URL of the link we want the user to open. This can be a website, or in many cases a different application published with Thinfinity Virtual UI.
The second parameter is a useful text that will take the user to the proper destination in case the browser has pop-up windows blocked.
We add a timer to force the link prompt when the user clicks on the button.
When the timer ticks this is what happens:
The Virtual UI’s open link dialog will come up with the message passed as the second parameter which will link to the URL passed as the first parameter.
Same case if you want to let the user send an email. You can use the open link dialog method to enable the user’s email client to come up passing every email field filled as you can see in these lines:
When the timer ticks the user’s email client comes up and then he can send it with no effort.
Would you like to have a private demo? There’s no compromise and no cost. We will be happy to show up our solutions to you and your team. Contact us to book a call, and schedule a moment at your earliest convenience
Thinfinity VirtualUI
As you already know, Thinfinity VirtualUI is a web-enabling SDK to run apps on a browser without rewriting the code.
If you’re a GitHub user, you may want to check our VirtualUI GitHub project.
Remote Access Solutions
Want to learn more about our remote access applications?
We will be happy to assist you and show you our portfolio for remote desktop, screen sharing, and digital workspace.
Explore our other web RDP and online workspace solutions, enjoy our free trials, or request a custom demo HERE. No commitment!