Skype for Desktop Apps - skype

I'm developing and distributing a communication software for disabled people since years.
These handicapped people prefer to have everything in one application (eMails, internet, Skype, etc.).
Therefore I've used the Skype4COM library.
It all worked fine for years, then suddenly it wouldn't work anymore (I think it was in 2014), then shortly after, it worked again.
Now - using Windows 10 with the integrated Skype application - it doesn't work anymore.
I'm getting the error "Skype client is not installed" in this line:
Set oSkype = New SKYPE4COMLib.Skype'works fine
oSkype.Client.Start True, True 'raises error "Skype client is not installed"
I've tried to get some information about this on the docs, but I didn't find the required information.
Does anybody know what I might be doing wrong or what I have to do differently in order to allow the user to use Skype in my communication software again?

Related

Visual Studio 2015 - Network debug tool shows 'Not applicable' - Why?

I am debugging some network issues in a desktop application that makes requests to a service using RestSharp. The actual problem is failing authentication to the service in some limited scenarios, although that is really not relevant to my question.
I have been using Fiddler4 but that has not helped. I wondered if the network tool in Visual Studio 2015 might give some other light on the problem.
https://blogs.msdn.microsoft.com/visualstudio/2015/05/04/introducing-visual-studios-network-tool/
However, when I start the performance profiler the Network tool is grayed out and in the list of 'Not Applicable Tools' (incidentally my menu structure is somewhat different to the screen shot shown in the link above.)I wondered if my Professional Edition does not have the tool enabled, but research on the Microsoft site does not seem to give any information about that. The word 'network' does not appear on this page
https://www.visualstudio.com/vs/compare/
Can anyone tell me what I need to do to access the network diagnostic tool to monitor my application ?
At the moment, the tool only works with the WinRT client. Is that what you are using?
Referring to the comment at the link you provided:
Operations made using the old .NET HttpClient API aren’t captured.

How to detect a timeout in a .net application that is not resulting in an error, just an 8 second delay?

I've got a Windows 2008 Enterprise R2 Server running Ektron 8.02 SP3 that is causing me some trouble that I can't diagnose.
So my question isn't for a solution but simply how to better profile a .net application / windows server. Whenever you try to POST a form built by the software, it takes 8 seconds and change to return the page (on this specific server, it doesn't do it on other machines with the same codebase). It appears that it's trying to make a connection to something for 8 seconds, fails, then returns the page without error. Some more facts:
This is a beefy VM that is not being over utilized
The database is running on the same machine, so there is no lag there.
The 8 second delay even happens when submitting from the server itself
The event viewer for the server doesn't report any errors that seem related
Profile MSSQL doesn't report any issues either
Microsoft Network Monitor doesn't report any glaring networking issues, though its hard to say as the tool doesn't report long connection attempts clearly (from what I've seen of it)
I feel sufficiently confident that there is some process during the form POST on the server that is trying to make a connection somewhere, failing, and continue through the rest of the process. It doesn't report any errors and the forms all submit fine.
So, all that being said, is there anything else I can do to debug this? I feel like I'm shooting in the dark. Thanks for any help you can offer.
It sounds like this isn't an application you wrote. If so, the potential solutions are different.
A first level step would be to use Windows' Performance Monitor. Select the options (process and/or performance attribute to watch), then run the process through its paces.
If Performance Monitor can't help, you'll need to get into the real guts of the app. Most likely this will be more difficult than you want unless you're writing the app. You can debug a .NET app that is not your own using Reflector (paid) or ILSpy (free). HOWEVER, this can violate the license agreement (and likely does if the app has been purchased).
Apart from that, you're going to need to contact the product developer if you want to both stay sane and find this problem quickly.

SignalR: Server doesn't receive any requests if more than X connections established in one browser

Good day.
Background: ASP.NET MVC 3 / SignalR.
I'm developing typical chat component which will be used in a big portal. I wrote small emulator which opens new window with chat component and new SignalR connection in it.
The problem:
Everything works fine, but: Suddenly i noticed that if i open more than X windows/tabs with same component in one browser - server stops to receive any responses from any clients connected with it.
The X is:
5 for IE and Chrome
14 for FF.
I suppose it's a browser issue, because the value differs from one to another. Additionally i noticed that requests can stay pending for minutes! And there is no timeout..
Maybe someone faced with something like this, or know what can cause this strange behavior?
Thanx in advance, Jan.
I'm going to assume you're using IIS 7/7.5 on windows 7. If you are indeed using Windows7 then you need to use IIS Express since it only supports 10 concurrent connections (Client OS limit). Alternatively you can use Windows Server to get the full benefits of IIS.
This is the first post in three days of googling that came close to my experience. I am using the .NET client and have tried isolating the issue by creating an app with just the problem areas. The difference in our situation is this: I don't seem to have some connection limit on the client. In fact, I have no issues until I deploy my .Net hub to the windows server 2008 hyper vps. IIS express runs everything as smooth as butter. I've checked to make sure the asynchronous services and features are running and I've followed the performance tuning articles that david mentions in the documentation, adjusting the setting for thread queue maximums and the like. Note that the minute-two minute delays you describe are identical to mine. I updated to the latest version of SignalR (.4) from nuget and it broke my solution for some reason.
Can you tell me what version you're on? I suspect it could have something to do with security on the physical host where my vps is running. I am going to try it on a different virtualization platform to rule out hyper v issues.
Please, see my answer here: Is there a way to get number of connections in Signalr hub group?
The idea is to overwrite connectionid.

Testing web site with blackberry curve

I'm developing an asp.net web site to work on mobile devices. Is going ok and works fine with android and iphone. I've no got around to testing it with blackberry in my balcberry curve. When i first tried everything looked good b ut then i noticed that some od the autopost back on dropdowns etc did not work. Some research time later i turn out out that by default that blackberries do not support this and that I need a Blackberr.browser file to allow that type of functionality to work. I following this link...
http://www.codeproject.com/KB/aspnet/BlackberryASPNET.aspx
After doing this my blakberry will not load the site at all, i just get connection timeouts. So i tried removing the blackberry.browser file, read loading the assembley in an attempt to get back to where is was, but still the site will not connect. I've refreshed iis, recycled app pools and even rebooted. I have a QA site on another box that the blackberry will connect to, but my development machine it does not like anymore:-(.
Any one got any ideas in what is going on?
Thanks for any help.
Richard
I have also suffered with the pain of developing (actually optimizing) websites for BlackBerry and Symbian, and I understand your suffering.
As you're using BlackBerry Curve, I suppose you're using a MDS server simulator on your development machine to let the BlackBerry Emulator connect to Internet.
Although I am not sure if you're even using a simulator.
I also have come across some simulators which just won't connect to the Internet no matter how hard you try with MDS server and all.
I hope you're not stuck with any issue related to the above said things mate.
Are you trying to connect your localhost with your BB?

Managed library / component / api for Windows Mobile WiFi management and control?

Does anyone know of a commercial or free .NET CF library/component/api that I can use within my Windows Mobile 6 and .NET CF 3.5 application?
I need to: enumerate the list of available WiFi networks in range, connect and disconnect specific SSIDs/networks in the list, and manage switching between SSIDs programatically (e.g. I'm currently connected to "public1" and want to switch to "public2" to do some stuff, and then switch back to "public1").
I have tried the OpenNETCF library for this and it somewhat works, but it's crashing quite often with Native Exceptions, which I can't handle with a catch() in my C# code so they bubble up to the end user and they get a nasty windows crash screen with the "send" and "don't send" buttons.
OpenNETCF forums seem to be dead, with lots of posts but no replies to most of them, and the last release from those guys was way back in March 2009.
Last I remember the OpenNETCF code was decent and worked without any issues on a number of devices I tried it on. I certainly don't remember getting native exceptions from it.
Is it possible that you're working on a customised platform? It is possible that the real issue might be due to modifications made to your particular device / operating system.
IIRC we eventually switched to Summit cards for hardware or cost reasons which uses a different API but obviously an API that would only work with Summit cards.
I'm afraid I don't know of any other alternatives atm. Sorry. :(

Resources