link between .net and msn messenger - c#

Hey All,
I have a windows form application that has a textbox for input value and a button...
On the first step : on button click..i will hit the db and add the input value on the total value...
On the second step : I will get this total value and add it on my msn messenger as a personal message....
For now I've done the first step..but before I start the second step I want to make sure if there is a way to link between .net and msn messenger...And if theres not..Ill just drop the second one...
So my real question is : I just want to know if there is a way to interact between .net C# and msn messenger
Thanks alot =)

Using these libraries you can achieve what you want:
http://code.google.com/p/msnp-sharp/
MSNPSharp is a .net library that
implements the MSN protocol. It's the
continuation of project DotMSN started
in 2002. Today, we have more than
10,000,000 users around the world
using services based on our library.
http://msdn.microsoft.com/en-us/library/ms630960.aspx
http://www.xihsolutions.net/dotmsn/

There is a Windows Live SDK which allows to access and update profile using REST API.

Related

Turn on GPS by code in Unity

I'm creating an application that use Location services, and want to give the possibility to the user to get to Location services in his android device by a simple click in the application. How must i proceed ?
On 4.4 an earlier version there was a bug which let people enable GPS programmatically. So for Android 5 and later there is no way to do that.
In Unity accessing such features can only be done using Java Plug-in.
Here is the Java code which will show a pop-up that ask the user to choose if they want let you use the GPS or not.
startActivity(context, new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS));
I don't know if you know how to write Java Plug-in for Unity so here is the link where you can find a comprehensive guide.
Go to this link Here you'll find how to convert your project to library after build your file will be here "build/output/aar/..."

Put the calculator on TopMost C# [duplicate]

I'm developing a Windows 10 Universal app (UWP).
Is it possible to set application as TopMost (always on top)? Like WPF or Winforms (TopMost property).
Thanks
A feature called CompactOverlay mode was added in the Creators Update that supports this type of functionality. When an app window enters compact overlay mode it’ll be shown above other windows so it won’t get blocked. This allows users to continue to keep an eye on your app's content even when they are working with something else. The canonical example of an app taking advantage of this feature is a media player or a video chat app.
A blog post describing the feature can be found here
https://blogs.msdn.microsoft.com/universal-windows-app-model/2017/02/11/compactoverlay-mode-aka-picture-in-picture/
Short answer is no, there is no way as of today to make the application modal.
There is a petition going around asking for this functionality, which was requested last December but given the amount of votes it got (35 at the time this answer was written), it doesn't look like it will be taken into consideration anytime soon.
As mentioned in the comments, this functionality would be PC only so even if it was added, my assumption would be that it wouldn't work outside of the PC mode (so no tablet, mobile or surface family device support).
It's not possible UWP apps have some restrictions compared with WPF of Win32 apps(classic apps).
With uwp apps you need enable some capabilities to do something special in your app as you can see in the link uwp apps need ask for permission or they can't access or modify files directly.
https://msdn.microsoft.com/en-us/library/windows/apps/mt270968.aspx
Best Regards

Getting acces to maps place favorites

In WP8.1 the MS maps app has favorite places like Home and Work. Cortana uses them of course. Is there a public API to get access to those information and even set new places?
Not at the moment. The only thing you can "ask" Cortana right now is to fire up your app with the argument you told her.
There's no way to get to her notebook, that's where all that info is stored.
Not sure if I'd want third party apps getting into that info. That's what Cortana uses to give you accurate answers, if third party apps can 'get in there' it could trick her into giving you "wrong" info/answers/directions.

Card Print in C#

I'm going to develop a small windows application using C# .NET in VS 2010. The app should read the personnel's data and fill a card layout's fields and then user can click the print button in order to print the card. What is the best solution for printing the card and displaying it to the user?
Like all thing in programming it depends on how much work you want to do. In our app (not sure if I am allowed to post a link, so better not) we take the data from user in a fairly standard form and then use standard graphical style calls to draw the card. This same code can then either draw into an image control for showing to the user OR to a printer device to produce the final output. We have (several) abstraction layers so that the calls for drawing into either type of output are the same.
In general we have found it much more productive to develop our own custom solutions rather than rely on a reporting component. The custom solution is easier to change and in most cases the functionality actually required takes only a day or so of work.
ReportViewerControl http://msdn.microsoft.com/en-us/library/ms251671.aspx is a possible candidate. it is free of charge if you have Visual Studio and it can export the report in PDF too. You can bind to a custom DataSource ( it does not need a Database behind ) and when it's done customizing takes minutes.

fingerprint on asp.net

I am trying to do this goal, but I need some alternatives to got it.
I want to read a fingerprint using asp.net,silverlight, actionscript, i need get the finger and display the capture in the window.
I do it in C# with griaule biometrics SDK 2009, only can be possible using a java applet. I dont know if mix java + asp.net can be a good alternative. if yes, how can I to pass the value from asp.net to java applet?
I need some alternatives to do it.
many thanks.
Have you tried using Silverlight?
If you have it working in a regular C# app, it might be possible to get it working in the browser via Silverlight. Then you can display it in that SL app or send it to the server via a web service.

Categories