I'm looking for a possible solution to an issue im having with making my C# Helpdesk Application (Windows Forms App) to display a Windows Notification when a new email comes in on the Web Browser loaded to the user's webmail.
Our current application has a tab control in which 1 of those tabs are "Email" within that tab is a GeckoFX browser loading the webmail portal from Zoho.
I'm very new at code & building apps in general and just starting out in C# so I'm looking for possible resources or answers on this matter.
Thanks
Related
I couldn't find the exact answer I was looking for. I have two applications - web application built with react and desktop application built in C# Forms. What I want is if the user goes to a certain page in the Web Application, the browser should open (with or without a request) the windows application and send data, like the user's id. Could you guys give me an advice how this can be done?
For that, when installing your windows C# form in the user machine, you need to register a custom protocol in the registery.
See How do I register a custom URL protocol in Windows?
I have developed a cross platform app using Phonegap (and some other technologies). Recently, we have made the switch to Xamarin, and are looking to find the equivalent of a feature we used in Phonegap.
In the phonegap build, we were using Cordova In App Browser.
We were able to open the map, phone, email, and web browsers of the users choice, pre-populated with locations, phone numbers, email addresses, and urls respectively.
This was a good solution because it enabled us to open these as the user would normally expect, and it worked on both platforms (iOS and android). This meant that on an Android device, if they were using a different browser or email client, it would open using whatever they had set to their default.
What is the Xamarin Forms equivalent of this?
Opening 'Phone' application with a number filled in
Opening 'Email' application with an email address filled in
Opening 'Web Browser' application to a specified URL
Thanks!
Consider using Xamarin Form's OpenUri() function for this. Here are some examples:
Device.OpenUri(new Uri(String.Format("tel:{0}", "+49000000")));
Device.OpenUri(new Uri(String.Format("sms:{0}", "+49000000")));
Device.OpenUri(new Uri(String.Format("mailto:{0}", "myCoolHotmail#hotmail.com")));
I have developed a Windows Form application in C# that interacts with a phone system.
I would like to add click to dial functionality to the application.
When I click on a telephone number in a web browser I would like to copy the telephone number into a string and execute some code in my Windows Form application.
I have looked into using Selenium but it seems that the user must be using an instance of Chrome that Selenium has created to complete the above task.
In the end, I used the tel: protocol used in HTML href.
I then set my program to be the default handler of tel:.
I have a web application which launches a windows application using Citrix server.
Windows application has a webbrowser control.
When windows application is launched stand alone on Citrix server, web site opens in webbrowser control with no problem.
But when it is launched through my web application, the webbrowser control does not load the javascript.
It shows content blocked error. It does not fire any event and show message on web page as
"Note: Since your browser does not support javascript you must press the Continue button once to proceed
"
I tried this :
I enabled the scripting on Internet Explorer on Citrix server.
Added my application url in trusted site.
But none of the above worked for me.
Here is a nice walkthrough if you would be compelled to do something like work in IE.
https://www.whatismybrowser.com/guides/how-to-enable-javascript/internet-explorer
I wrote a desktop application in c# with Visual Studio 2008 and I want it to communicate with browser following this scenario: once a user opens a bank website an event should be sent to the desktop application.The link of bank is predifined (known).In other words I want to develp a browser plugin which fires events to the application if users opens the link.
At this stage I want just for one of the browsers Mozilla or IE9.
Any idea or tutorial how to start developing such a plug-in?
Developing an IE 9 Browser Helper Object is relatively easy. Look for "Browser Helper Object". In Firefox you can't develop plug-ins in C#, it has its own extensive plug-in framework. You'll need to freshen up on your JavaScript.