picture

Archive for the ‘Microsoft .net’ Category

Visual Studio 2005. Cannot Create Visual C++ Smart Device Project.

Tuesday, June 24th, 2008

If you experices difficulties with creating a new Visual C++ Smart Device project in your Visual Studio 2005 (symptoms: submitting required inputs like project name, path, etc. in “New Project” dialog, “New Project” displays again without creating anything), that’s the way how to fix it quickly: (more…)

Visual Studio 2005. Error “An existing connection was forcibly closed by the remote host ” and “An operation was attempted on something that is not a socket”.

Tuesday, June 10th, 2008

Developing an application for  Smart Device, I faced a curious problem. Suddenly I could not deploy my project to my PDA. The concole of Visual Studio showed the only message: An existing connection was forcibly closed by the remote host, in my localized German version it was Eine vorhandene Verbindung wurde vom Remotehost geschlossen. (more…)

DriverInvalidCallException.

Monday, October 22nd, 2007

DriverInvalidCallException is one of those Microsoft splendid documented classes, that drive a developer mad. How do you like this msdn explanation: “The driver reports that the current method call is invalid.”?! Oh yeah, this is really useful. (more…)

Accuracy of GPS Data. SharpGPS is Fine but not Smart Enough.

Thursday, September 13th, 2007

The task I’m currently work on is to increase the accuracy of GPS data. More concretely speaking I’m looking for approaches that would help to filter out the imprecise coordinates. It’s a well known problem that  even if you don’t move, each second you get GPS coordinates from your reciever that deviate at up to 15 m. (GPS signal is quite good) from your current location. Thus such a simple task as to calculate the total distance that the user passed gets to a great challenge. (more…)

Visual Studio. “The operation could not be completed” Error.

Saturday, September 8th, 2007

The weird popup error window “The operation could not be completed” while trying to deploy the project to a Windows Mobile 5 device was an unpleasant surprise for a Friday morning. No further tips from Visual Studio (2005). The first thought was, there was something wrong with connection to a mobile device. (more…)

Visual Studio. “There is no source code available for the current location” Error.

Thursday, June 21st, 2007

Visual Studio is really full of surprises. Having debugged today the whole morning I became suddenly a Visual Studio exception, saying that there were no source code for debugging. I was confused. I see the code, I see the debug mark, and I compare what I see (more…)

Using Microsoft.VisualBasic Namespace in C#. Input Box.

Monday, June 4th, 2007

Sometimes it’s very useful to get quickly an input from the user in your application. If you just want to prompt the user to enter a single string, it would be absurdly to dedicate a form for such a simple task. C# itself does not offer such a pleasant convenience as InputBox. It is buried in the depths of Microsoft.VisualBasic name space. You have to add this name space to your references in order to use the InputBox. (more…)