From Windows Form Application to Windows Service - winforms

I had developed a Windows form application, to monitor the system status (Locked / not). Now the problem is the application has to be started manually to record the status. I need to convert that Form application to Windows Service...I don't need to use any Third party software as Always Up, FireDeamon. I need to do this only by coding. Can any of you help me. Comments and Replies are appreciated. Thankx in advance.

Related

Does Thinfinity Virtual UI work with embedded browsers (Cefsharp)?

My company wants to try out the library "Thinfinity Virtual UI", to run a Windows Forms application in a browser.
It seems to more or less work, though the application crashes everytime an embedded browser is attached to the form (Cefsharp), see attached image.
I am not able to catch the error in the try/catch.
Any ideas how to remedy/debug this issue?
I tried searching the web for a solution/alternative to CefSharp, looking at error logs, inserting the try/catch. I also wrote to the company, but so far I get no reply.
This is Luke and I work at Cybele Software where we developed Thinfinity VirtualUI to help Windows developers converting their Legacy Windows Applications into modern Web Applications by just modifying one single line of code and adding our libraries.
Unfortunately, as it is, WebView and Chromium are not supported in our propietary protocol. But do not worry, we have 2 valid workarounds.
Using our HTMLDOC demo. Link to our GitHub HERE
This demo shows how to programatically create an iframe inside your application (using HTMLDOC.CreateComponent) , and how to communicate back and forward between the application and the website running inside that iframe, using Javascript Remote Objects (JSRO)
Using our 'Third Party Applications' Feature. Link on how to enable this HERE
Be aware that to enable this feature, you'll need to have our Thinfinity Broker and your app running on a Windows Server. Basically, with this option, you'll be using a Microsoft feature called 'Desktop Duplication' where we can eventually render any Third Party application with the help of Remote Desktop Services.
I hope this does the trick for you and don't hesitate on contacting us about this or any other doubt you may have about our products :)
Thank you!

Desktop silverlight App bluetooth and WP7

I'm new on working with Bluetooth and I need some help.
I have an application written in silverlight 4 that is running in my PC. The objective now is to get contactList or contact information from a Windows phone (Mango) via Bluetooth. I've searching the web and found no convincing answers about this. So, is it posible to obtain that information via bluetooth?? If not, is there any easy workaround??
thanks for the help
Bye,
No, it's not possible. Use custom web server for communication between phone and PC.
Via bluethooth is not open is not possible as of now. May be in future if Micosoft opens the Bluetooth API's to do so, then it may be possible.
For tasks related to Bluetooth settings you can use Settings tasks with type as Bluetooth settings.

Leveraging Windows Azure with ClickOnce publishing

I have been developing a small C#/WinForm utility in my spare time and have got to the point where it's ready for release. My previous project was hosted via CodePlex which allowed me to update my source code and manually upload new versions via my computer.
I've recently recieved an MSDN subscription which gives me a fairly generous amount of usage/storage with Windows Azure.
This got me thinking, I know ClickOnce allows applications to be installed via the internet but would it be possible to do so whilst using Azure to host it?
I would like to think that this would allow me to update my application and push it to Azure whilst updating my source code on CodePlex via Team Foundation Server.
Does anybody have any experience in this? Is it something that can even be done?
Thanks for your time:)
Take a look at Kazi Nadudvari's Blog and see if this post helps:
How to deploy ClickOnce applications to Windows Azure?

How to use Windows Biometric Framework (WBF) in WPF application?

I'm working on WPF application which should identify user using Fingerprint Reader.
It seems Windows Biometric Framework (WBF) is good enough for this task but I can't found examples where I can see how it can be used in my WPF application. Couple found examples use WBF to verify user currently logged in.
But my application should work with custom users and windows authentication is not acceptable.
I found also small MSDN article where described three sensor pools, one of them should be used in my situation. It is not clear how I can move Fingerprint Reader device between pools, where to get C# wrapper for Biometric API and how all of these things can be used together.
I'm using UPEK Eikon as fingerprint reader device and Windows7 based tablet PC where my application should run.
Could you please help and give me examples and links on useful resources?
Thanks
Dmitry
There are complete C++ examples in the WBF documentation NOW.
I'd like to know where you:
"found examples use WBF to verify user currently logged in"
as those should then show you how to call the WBF API from WPF.

Problem with WCF-Service between Silverlight and Azure Cloud WebRole

I want to use a Silverlight application in a cloud on Azure. The communication between the Silverlight application and the WebRole is a WCF-Service with Basic-HTTP-Binding.
My problem is, that the communication doesn't work. I think the endpoint-address is not correct, but I'm not sure.
Can someone help me?
Have you tried using Fiddler that will at least tell you if the end point is correct.
It should also help if there are any permissions issues.
I found these samples cited by the Silverlight Web Services team blog. The Known Issues Wiki is also very helpful. These examples use a binary HTTP binding instead of BasicHttpBinding but they get the job done.
If you are running Vista, like I am, You may need to register the WCF MIME types for IIS 7. You can do this be running a command prompt in elevated mode and executing this command:
C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i
There is an issue with linking to Webservices in Azure. I would check the endpoint in the Silverlight application and make sure it is the same as the port used in your Azure application.
I came across the same issue when working through the Azure Labs and rewrote Excercise 3 (using WCF) so that it would work - that is now available on CodeProject (http://www.codeproject.com/articles/34612/Getting-WCF-to-work-with-Azure.aspx).
I based that on a posting from David Burela's House-o-blog and his description of the problem can be found on his blog.

Resources