VB.NET Use API Messenger - vb.net

I know how you can use the api in vb.net IM
I wish simply by pressing a button sends a message to all my contacts.
I apologize for my ignorance but I'm still learning, thanks

You don't mention what IM network you're talking about so I'm assuming you're talking about Live Messenger. If that's not the case, only the bit about Pidgin might still be relevant.
Unfortunately, my understanding is that nowdays there's no easy API for doing what you want, and you might have to write your own client to do this, here's a website that discusses the protocol:
http://www.hypothetic.org/docs/msn/index.php
You might also want to look at Pidgin since it supports Messenger and is open source:
http://www.pidgin.im/download/source/
There's a Live Messenger API, but I don't think that can be used to send a message from a standalone VB.Net desktop client since it seems more for writing Addins to the standard Live Messenger client, but here's the information about it in case I'm wrong:
http://msdn.microsoft.com/en-us/library/aa905675.aspx
If you're running XP or earlier you might be able to use the Windows Messenger SDK:
http://msdn.microsoft.com/en-us/library/ms630961%28v=VS.85%29.aspx

Related

Voice call connection routing React-Native

I am trying to build an application which works this way: I as a user want to start a call with another user. The way I want the connection be made is by random. So it will connect to one of the many clients out there by random. Also when other clients try to make a call, it should connect to another random client and so on. I want those phone calls be made via application(such as WhatsApp) not as a phone call.
Now, the question is; is Twilio a good approach for this purpose?
If yes can you tell me which of their feature would fit my app the best?
Thanks for any suggestions!
Twilio developer evangelist here.
I can answer that Twilio would be a good approach for you to do this within your own application. I'd recommend using Twilio Video to build this as it allows cross platform communication via audio or video (in your case, you may not need the video, but this will give you the best audio quality).
As an example, my colleague Dominik built a video roulette application. It is the case that the interface was built in JavaScript for the web, but the idea would be the same for a native app. The code for the server side part of the application should give some insight into how to connect random pairings.
It's also possible to integrate Twilio Video with CallKit and Connection Services so that you can make outbound calls to other devices that ring like a real incoming call.

How to use biometric fingerprint reader to develop a fingerprint database

I have purchased a simple biometric fingerprint reader that is usually used for laptop security through a USB connection. It is just called biomentric finger print reader, not branded! It came with the software for creating security for laptop, and it works great.
However, I had a different idea for it: I am intending to create a database of users fingerprints so that I can identify which user swiped their fingers on it, ie, to use it for different users' authentication using fingerprints. I don't seem to be making any head or tail on how to go about that.
I would like to find out if there is other kind of software to install that will make this gadget print the fingerprint or a code to say a spreadsheet or database whenever I swipe a finger on it? I was thinking it would be a simple as when I use a bar code scanner to print codes of various items to a spreadsheet.
Could someone please advise how to go about this. I believe it should do that but I just dont know where to start.
thanks.
As an alternative wrapper to WinBioNET as mentioned by Robinicks there is WinBiometric.Net.
Disclaimer: I do not own this project.
It has a really nice test project for playing around with the different API functions available in the Windows Wiometric Framework. This test project was monumental in helping me understand the Windows Biometric Framework.
The WinBiometric.Net wrapper has a claim of 100% API coverage, a NuGet package and has the MIT license.
I found it to generally have a very high quality of code as well.
As for storing the fingerprints in a database you could use the WinBioCaptureSample API function to capture a sample, which can then be stored in a database.
The sample can be converted into an image as well, there is a nice example of this in the wrapper.
I know this is an old question but I figured I'd post anyway.
You can use the WBF (Windows biometric Framework) API that is free, but you must first verify if your biometric device is WBF compatible. The documentation and samples for WBF are for C++, but there is a wrapper sample in C# that you can download here: Cirrostrata biometrics Regarding how to convert the scanned data into an image, you can check this post: How to convert winbio data into image. Hope this helps to start.
You can use the WinBioNET .NET wrapper for Windows Biometric Framework (WBF). It has a demo winforms app in the solution. Just open it up, select the demo app as the "startup project" and run. If you have any devices connected it will enumerate it at startup.

How to sned and receive chat messages programmatically?

When I get a chat message from someone on FB or Gmail, how do I go about creating a program that detects the message and then executes some commands accordingly, all programmatically?
Solutions in C++, Java or Python would be useful.
A suggestion
Use java & jabber (also called xmpp) protocol
Install the smack library (jabber library for java, really good!)
Read about the jabber protocol, in your case pay special attention to the "<presence>" message. The "<presence>" messages will tell you whenever someone connects/disconect/change status on a jabber server.
Code
You need to use an API for Gmail in a language of your choice. Facebook uses Jabber (XMPP) which, again, has APIs in many languages.
You are unlikely to simply receive a solution here, this site works more on a basis of helping you with some code that you've already written.

CF.NET SMTP/POP3 clients

I'm working on an order entry application targeted to windows mobile devices.
I need to be able to send and receive emails from within the application, but without using pocket outlook (this is a customer requirement).
I see that the .net mail classes are not available for the compact framework. So I need to look elsewhere.
I found 2 interesting libraries: CSLMail and MooseWorks' Email Controls. But none is able to deal with SSL connections, and this is a mandatory requirement
I've found a few commercial email component suites supporting the compact framework, but their price is very high ($200+).
I guess I'm not the only one having the problem of sending and receiving emails - so, my question is: can anyone suggest me any free or low cost cf.net smtp/pop3 library?
Thanks
First, I'll say that when you look at the cost of your time, $200 is a whole lot cheaper than writing it yourself, and it's a small price to pay for something that is done and tested.
On the free side, there is the Smart Device Framework, which contains the OpenNETCF.Net.Mail namespace, which does do SMTP. Still, you're on your own for SSL.
Well, I think ctacke said everything there is to say.....however:
What regards SSL, there is a free component that works on Windows Mobile (and CF.Net) which is called SocketPro (written by Udaparts). You may find further information on this page (from where you can also download it). Have a look also at their forum where you can find examples.
I have successfully used this library in a small application of mine connecting to mail-servers that require SSL. The only exception is GMail which for some strange reasons the SocketPro-library has difficulties to communicate with. However, for GMail I used a version of OpenSSL which I found floating around on the internet which works well with GMail and CF.Net although it is a bit big in size.
Once you have established a connection with your mail-server, you can use ordinary POP3 for retrieving e-mails and SMTP for sending them.
Edit: I should mention that if your e-mails have attachments, then you need to look into MIME as well but that's another story. However, there are free libraries with source-code which can be found on the internet (try CodeProject).
Hope it helps...
OpenNetCF is definitively worth checking. As for commercial components - $200 for the tested and supported code would be probably cheaper than trying to roll out your own implementation or than trying to use some downloaded proof-of-concept code in production environment. Sometimes it's nice to have someone who is paid for solving your problems, anyway.
If you start evaluating commercial components you can try to check our Rebex Secure POP3 as well. It does support both SMTP/SSL, POP3/SSL and S/MIME on .NET Compact Framework. It costs a bit more that $200, though.

Set instant messenger display message programmatically

Would a script that sets display messages for instant messengers be simple or complex? After some searching, there doesn't seem to be any information about this at all.
For the sake of an example, if I had a text file of quotations, would it be possible to have the google talk display message change to a different quotation hourly?
Depends on which client you're using. As far as I know, Google's client doesn't offer any interface for plugins, but the open source instant messenger Pidgin does. I think there already is a plugin for what you want to do, but you can write your own using the documentation and examples they give you.
The complexity of writing something like this is based on how much C or Perl you know, since you can program in either of those for Pidgin. Reading code from other people's plugins, you should be able to figure out the Pidgin API.
You can use Kik API to programmatically send rich content and files between mobile applications. It is available for iPhone and Android platforms and takes only about 5 lines of code to integrate into your app. There is more info at the API website: http://www.kik.com/dev
Disclaimer: I'm on of the developers behind Kik API :)