Effectivestudyformula t Formula m Love l Effective u 2009 o searchesearchh Formula Study hsearchmssearchdsearchSsearchudsearch Effective a Study Losearche Effective esearchs Szh a Effective csearchh Effective e Love rh RSS
Links to this post

Windows Phone 7 Sales Continue To Struggle

0 comments
Even with the pre-Christmas buying rush, Microsoft is already desperately offering a new buy one get one free offer similar to the ones they gave for the KIN. According to the article, 'Windows Phone 7 devices can't even manage two per cent of the fortnight's sales.' These aren't official Microsoft figures; they come from online shopping sites. But since Microsoft official sales figures seem subject to manipulation, this is perhaps one of the better guesses we will get at the success of Windows Phone 7 until well into next year. This also strongly backs up other reports of deeply disappointing phone sales. Even Microsoft supporters have been wondering for a while whether it's time for Ballmer to go. If the sales reports are true, then he may be pushed before he jumps.

Read more: Slashdot
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS
Links to this post

10 Free Server Tools Your Organization Needs

0 comments
This list of 10 free, essential tools is an amalgam of tools for all sizes of companies and networks. The range of tools covered here are generally cross-platform (i.e., they run on multiple OSes) but all are extremely useful to the system administrator, network administrator and first-level support personnel. While all of these tools are free to download and use in your network without payment of any kind to their developers or maintainers, not all are open source. The 10 essential tools listed here, in no particular order, are from various sources and represent the very best in tools currently used in large and small enterprises alike.

1. PSTools
PSTools is a suite of useful command-line Windows tools that IT professionals consider essential to survival in a Windows-infested network. It provides automation tools that have no rival. There is no greater free toolset for Windows available anywhere. Microsoft provides this suite free of charge. If it's not part of your Windows diagnostic and automation arsenal, stop reading and download it now. Be sure to come back and finish the list. You can multitask, can't you?)

2. SharEnum
ShareEnum is an obscure but very useful tool. ShareEnum shows you all file shares on your network. Even better, it shows you their associated security information. This very small (94K) tool might become one of the most valuable and useful security tools that you possess. It is another free tool from Microsoft.

3. Nagios
Nagios is an enterprise infrastructure monitoring suite. It's free, mature and commercially supported. It has grown from a niche software project to a major force in contemporary network management. It's used by such high-profile companies as Citrix, ADP, Domino's Pizza, Wells Fargo, Ericsson and the U.S. Army.

4. Wireshark
If you run a network of any size or topology, Wireshark is a must-have application. It is a network packet capture and analysis program that assists you with your ongoing quest for a trouble-free network. Wireshark won't prevent network problems, but it does allow you to analyze those problems in real time and possibly avoid failure.

Read more: ServerWatch
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS
Links to this post

C++0x Dynamic Message Passing

0 comments
Introduction

Sometimes it is useful to have dynamic message passing as in Objective-C. The small header presented below allows any class to contain a dynamic message map that can be used to add methods dynamically to an object.

Background
Objective-C is deemed more flexible than C++ because it allows a form of dynamic dispatch known as message passing.
Message passing is a form of dynamic dispatch that does not require implementation of a specific interface type. When sending a message to a target object, it is unknown to the compiler if the message can be handled by the object or not. It is only during the execution of the program that conformance to an interface is discovered.
Message passing is quite flexible because it does not require a lot of planning. Objective-C has been praised for this feature as more flexible than C++. This article demonstrates how easy it is to do the same in standard C++ (c++0x).

Using the code
Using the code is very easy. The following steps have to be followed:

  • include the header "mp_object.hpp" in your project.
  • inherit from class mp_object.
  • add dynamic methods to your object by using the method 'add_method'.
In order to add methods to an object, you need a prototype function. A prototype function can be any free-standing function. The following code is an example of how to declare prototypes and add dynamic methods to your code:

#include <iostream>
#include "mp_object.hpp"
using namespace std;
//prototype method
void draw() {}
//prototype method
void setColor(int color) {}
//rectangle
class rect : public mp_object {}
   //draw
   void draw() {}
   //set color
   void setColor(int color) {}
};
//circle
class circle : public mp_object {};

and a UserControl with the property such as the following:

private States _state;
public  States State
{}
   set {}
}

and you want to hook up a combo box, a list box or a panel of radio buttons to the property to allow the user to select a specific value.

1 - Create the User Control
We want to bind to the property in our UserControl, so we will have to change it fire the PropertyChanged event.
So we do the following:
Add the System.ComponentModel namespace:

using System.ComponentModel;

Add the INotifyPropertyChanged interface to our UserControl and implement the interface by adding a PropertyChanged event:

public partial class UserControl1 : UserControl, INotifyPropertyChanged
{}
   set
   {}
       }
   }
}

Make it pretty.

If you have multiple properties, this snippet of code takes a lot of coding. We can separate this out by creating a convenience function to check and call the PropertyChanged event.

Read more: Codeproject
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS
Links to this post