Thursday, June 16, 2011

Iron Man 2 - Android

Iron Man game is free for Android!

Iron Man 2 - Android
Enhanced by Zemanta

Starbucks for Android | Widgets Lab

I've got to try this out!


Enter your Starbucks Card number and your Android™ phone becomes your Starbucks Card! Your device will display a barcode you can use as your Starbucks Card to make purchases. It's fast. It's easy. And it's a revolution in mobile payment. Mobile Pay is available at nearly 6,800 company-operated Starbucks stores, including all Target® Starbucks stores, in the United States. And that's not all. You can register your card, check your balance and track the Stars you earn toward free beverages through My Starbucks Rewards, and reload your balance.






Starbucks for Android | Widgets Lab
Enhanced by Zemanta

Stuxnet: Anatomy of a Computer Virus [Video]

An infographic dissecting the nature and ramifications of Stuxnet, the first weapon made entirely out of code. This was produced for Australian TV program HungryBeast on Australia's ABC1

Direction and Motion Graphics: Patrick Clair
Written by: Scott Mitchell




Stuxnet: Anatomy of a Computer Virus from Patrick Clair on Vimeo.


Stuxnet: Anatomy of a Computer Virus [Video]
Enhanced by Zemanta

Wednesday, June 15, 2011

Silverlight Drag and Drop for Business Applications - CodeProject

Introduction to article

In the development of business websites, we have encountered some hurdles in the use of Silverlight, in particular using the drag and drop functionality that was not easily solved by a quick search of the internet. There are many examples of using Silverlight drag and drop with file system utilities, but how does it work if you want to have drag and drop in your business application where the objects come from your database instead of a file system? All the examples we found ignore the need for a business application to know exactly what moved and from where and the need to update the database with the information that changed.
This article presents the solution we came up with to solve the problem of knowing which object was moved and details about that object. Due to the extensive functionality of Silverlight, there are probably other ways to solve this problem.


Silverlight Drag and Drop for Business Applications - CodeProject
Enhanced by Zemanta

Monday, June 13, 2011

Valculator the Voice Calculator for Android | Widgets Lab

You can control a calculator on your phone with just your voice!!

Valculator the Voice Calculator for Android | Widgets Lab
Enhanced by Zemanta

A Video Converter in Visual Basic .NET - CodeProject

Use of FFmpegImage via WikipediaIntroduction to Article

This is a simple video converter developed with .NET while playing with ffmpeg.
Ffmpeg is an open source command line audio / video converter. ffmpeg uses command line arguments for its conversion and this is what we are going to do with our .NET application. We will execute ffmpeg from our application and send these parameters to ffmpeg without displaying the command line window.
Download the source code here to see how it works.


A Video Converter in Visual Basic .NET - CodeProject
Enhanced by Zemanta

Sunday, June 12, 2011

Parsing XML file in VB.NET using DOM - CodeProject

A graphical depiction of a very simple xml doc...Image via WikipediaIntroduction to Article

There are many versions of XML parsers/readers on the Internet and on CodeProject (including my own in C/C++). This one was written several years ago in VB 6.0 and is based on DOM (Document Object Model). I almost forgot about it until I recently decided to upgrade (or to see if it is possible without much hassle) VB 6.0 projects to VB 2008 (VB 2010 does not recognize VB 6.0 project’s files). I already had a very time consuming experience upgrading a project with many drawing and database related functions and arrays, because it requires you to manually rewrite the old code.
XML parser does not have any drawing functions or VB6-arrays and was upgraded to VB.NET automatically, though generating warnings related mostly to default property of the object. I removed these lines from code but for anyone interested, I left the _UpgradeReport.htm in the project.


Parsing XML file in VB.NET using DOM - CodeProject
Enhanced by Zemanta

Monday, June 6, 2011

Reverse Engineering C++

Graphviz LogoImage via WikipediaEver needed to analyze C++ source code to see its' structure and functions are called?


Use: Doxygen for documenting code

Use Graphviz in conjunction to handle the graphics!
Enhanced by Zemanta

Sunday, June 5, 2011

C# equivalent of VB's With keyword - CodeProject

C Sharp (programming language)Image via WikipediaSummary of article

VB has a With keyword that you can use to save typing same variables name over and over again. Here's a similar workaround for C#


C# equivalent of VB's With keyword - CodeProject
Enhanced by Zemanta

Friday, June 3, 2011

Word To PDF Converter - CodeProject

Introduction to article


This article explains a way to convert a Microsoft Word Document to PDF Format. The operation is very simple.



In C#!!!!

Word To PDF Converter - CodeProject

Thursday, June 2, 2011

The magnetic pendulum fractal - CodeProject

Introduction to Article

A few years ago, I got an article named "Experimente zum Chaos" (translated.: "Experiments on Chaos") from the the German version of the Scientific American. The article dates back to 1994, and introduces among others a simulation showing the chaotic motion of a pendulum under the influence of gravity and three magnets. For some reason, this simulation fascinated me and so I wrote a program implementing it. The original program was coded quite some time ago, and since then I almost forgot about it. But because now I want a high resolution image of this fractal for my wall, I had to recode it. (Stupid reason isn't it? So what!)
I should mention that the calculation takes quite some time, approx. 4-5 hours is not unusual for an image size of 1000 x 1000 pixels using a moderately fast single core processor. So for you people hoping to see an application that provides quick results in real-time, sorry I can't deliver that! Maybe I should give you a brief overview over what you can expect to find here:


The magnetic pendulum fractal - CodeProject
Enhanced by Zemanta

Wednesday, June 1, 2011

Getting current browser URL with VB.NET - CodeProject

Image representing Google Chrome as depicted i...Image via CrunchBaseIntroduction to Article

This article explains how you can get the current URL from your browser with VB.NET. The demo program demonstrates this for Windows Internet Explorer and Google Chrome.


Getting current browser URL with VB.NET - CodeProject
Enhanced by Zemanta

Friday, May 27, 2011

How to use a WebCam in C# with the .NET Framework 4.0 and Microsoft Expression Encoder 4 - CodeProject

Introduction to article


If you are interested in using your webcam from C# in an easy way, this little article is for you. In order to achieve our goal, we need the Microsoft .NET 4.0 and Microsoft Expression Encoder 4. You can get the latter for FREE, using the 'Microsoft Web Platform Installer', that can be downloaded from here: http://www.microsoft.com/web/downloads/platform.aspx



How to use a WebCam in C# with the .NET Framework 4.0 and Microsoft Expression Encoder 4 - CodeProject
Enhanced by Zemanta

C#er : IMage: Entity Framework 4.1 Code First, Silverlight, and Shared Models with REST+JSON

Image representing Microsoft Silverlight as de...Image via CrunchBaseHere's a blog article that might be useful for our development. It outlines a simple application development using the Entity Framework 4.1 with Web Services and Silverlight.


C#er : IMage: Entity Framework 4.1 Code First, Silverlight, and Shared Models with REST+JSON
Enhanced by Zemanta

Thursday, May 26, 2011

Silverlight: How to Receive Messages from Desktop Application - CodeProject

Silverlight LogoImage via WikipediaIntroduction to Article

The article is a free continuation of How to Send Message to Desktop Application where the Silverlight application sends a text message to the desktop application. Now I would like to show how the Silverlight application can receive text messages from the desktop application using TCP connection. (Actually, the example below shows the bidirectional communication between the Silverlight application and the desktop application.)


Silverlight: How to Receive Messages from Desktop Application - CodeProject

Very simple example showing how to send a message from Silverlight application to standalone desktop application
Silverlight: How to Send Message to Desktop Application - CodeProject

The article shows how to implement receiving of notification messages from the hosting server in the Silverlight application by using Eneter.Messaging.Framework.
Basically there are two approaches if you need to implement the communication scenario where the Silverlight client needs to be notified about some events on the server:

Silverlight: Notification Messages from the Server - CodeProject

 The article shows how to implement communication between Silverlight application and some non-Silverlight application by using Eneter.Messaging.Framework. The example shows Silverlight client invoking requests to the console application. The request can be paused, resumed or cancelled.

Silverlight: Interprocess Communication from Silverlight Application - CodeProject

Summary: The article shows how to use Eneter.Messaging.Framework for the communication between Silverlight applications to send typed messages (no size limitation).

Silverlight: Comunication between Silverlight Applications with Typed Messages - CodeProject
Enhanced by Zemanta

Silverlight: How to Communicate with Desktop Application via HTTP - CodeProject

Silverlight LogoImage via WikipediaIntroduction to Article

This article is a free continuation of How to Receive Messages from a Desktop Application and How to Send Message to a Desktop Application where the Silverlight application communicates with the standalone .NET application via TCP. In this article, I would like to show how to implement the communication via HTTP.
The example below implements a .NET application as a service and a Silverlight application as a client. The service listens to text messages and responses with their length. The client then uses the service to get the length of the given text.
The implementation uses the Eneter Messaging Framework. (Full, not limited, and for non-commercial usage free version of the framework can be downloaded from http://www.eneter.net/. The online help for developers can be found at http://www.eneter.net/OnlineHelp/EneterMessagingFramework/Index.html.)


Silverlight: How to Communicate with Desktop Application via HTTP - CodeProject
Enhanced by Zemanta

Dynamically send WCF endpoint in Silverlight - CodeProject

Architectural elements involved in the XML-RPC.Image via WikipediaIntroduction to Article

Silverlight webservice references get harcoded in ServiceReference.ClientConfig. The URLs get set to your development servers. But when you deploy live, the URLs don't match. Here's a way to dynamically change the URL of the service based on which website the Silverlight app is loaded from.


Dynamically send WCF endpoint in Silverlight - CodeProject
Enhanced by Zemanta

Tuesday, May 24, 2011

What’s New in Silverlight 5? - CodeProject

Introduction to Article

The first thing to know about Silverlight 5 is that it’s currently in beta, means that it definitely has bugs, and it also not yet feature-complete; some features are going to be shipped later in the final version. In addition, being in beta means that no go-live license available, this is for internal use and testing only so do not install on user’s machine.
Worth mentioning that Silverlight 5 was first announced at PDC 2010 conference (October 2010) and the beta version was shipped later at MIX11 (April 2011,) and the final version will be released soon this year.


What’s New in Silverlight 5? - CodeProject
Enhanced by Zemanta

Sunday, May 22, 2011

Introduction to Microsoft Silverlight - CodeProject

Silverlight LogoImage via WikipediaIntroduction to Article

When we say rich applications we don’t mean those with amazing interfaces and lots of graphics. Indeed, we mean by “rich” those have lots of functionalities not available for standard Web applications. Common examples of rich applications are online document editors and image processors; both are very interactive and offer lots of functionalities that are usually not available for standard Web applications. And that actually what Silverlight is devoted for, its main goal is to allow for developing rich interactive applications for the Web.


Introduction to Microsoft Silverlight - CodeProject
Enhanced by Zemanta

Saturday, May 21, 2011

Bezier curve angle calculation in Silverlight - CodeProject

Introduction to Article

A Bezier curve is a curve which is one of the most frequently used for computer graphics. Higher dimensions of Bezier curves are used for 3D works, which also includes Bezier triangle. Pierre Bezier, a fresh engineer who worked for Renault, derived the concept behind the calculative mechanism of the curve, which he used to design automobile body parts. In general, Bezier equations are simple but parametric equations in a variable of t (where t ranges from 0 - 1).


Bezier curve angle calculation in Silverlight - CodeProject
Enhanced by Zemanta

Friday, May 20, 2011

NuGet - Home

Introduction

NuGet is a free, open source developer focused package management system for the .NET platform intent on simplifying the process of incorporating third party libraries into a .NET application during development. NuGet is a member of the ASP.NET Gallery in the Outercurve Foundation (see the press release).





NuGet - Home
Enhanced by Zemanta