MVVM Tutorial From Start to Finish

MVVM Tutorial From Start to Finish

Publié dans CSharp | Tagué , | Laisser un commentaire

Environment Variables

Environment Variables

Source: Microsoft
Variable Type Description
%ALLUSERSPROFILE% Local Returns the location of the All Users Profile.
%APPDATA% Local Returns the location where applications store data by default.
%CD% Local Returns the current directory string.
%CMDCMDLINE% Local Returns the exact command line used to start the current Cmd.exe.
%CMDEXTVERSION% System Returns the version number of the current Command Processor Extensions.
%COMPUTERNAME% System Returns the name of the computer.
%COMSPEC% System Returns the exact path to the command shell executable.
%DATE% System Returns the current date. Uses the same format as the date /tcommand. Generated by Cmd.exe.
%ERRORLEVEL% System Returns the error code of the most recently used command. A non zero value usually indicates an error.
%HOMEDRIVE% System Returns which local workstation drive letter is connected to the user’s home directory. Set based on the value of the home directory. The user’s home directory is specified in Local Users and Groups.
%HOMEPATH% System Returns the full path of the user’s home directory. Set based on the value of the home directory. The user’s home directory is specified in Local Users and Groups.
%HOMESHARE% System Returns the network path to the user’s shared home directory. Set based on the value of the home directory. The user’s home directory is specified in Local Users and Groups.
%LOGONSEVER% Local Returns the name of the domain controller that validated the current logon session.
%NUMBER_OF_PROCESSORS% System Specifies the number of processors installed on the computer.
%OS% System Returns the operating system name. Windows 2000 displays the operating system as Windows_NT.
%PATH% System Specifies the search path for executable files.
%PATHEXT% System Returns a list of the file extensions that the operating system considers to be executable.
%PROCESSOR_ARCHITECTURE% System Returns the chip architecture of the processor. Values: x86, IA64.
%PROCESSOR_IDENTFIER% System Returns a description of the processor.
%PROCESSOR_LEVEL% System Returns the model number of the processor installed on the computer.
%PROCESSOR_REVISION% System Returns the revision number of the processor.
%PROMPT% Local Returns the command prompt settings for the current interpreter. Generated by Cmd.exe.
%RANDOM% System Returns a random decimal number between 0 and 32767. Generated by Cmd.exe.
%SYSTEMDRIVE% System Returns the drive containing the Windows XP root directory (that is, the system root).
%SYSTEMROOT% System Returns the location of the Windows XP root directory.
%TEMP% and %TMP% System and User Returns the default temporary directories that are used by applications available to users who are currently logged on. Some applications require TEMP and others require TMP.
%TIME% System Returns the current time. Uses the same format as the time /tcommand. Generated by Cmd.exe.
%USERDOMAIN% Local Returns the name of the domain that contains the user’s account.
%USERNAME% Local Returns the name of the user who is currently logged on.
%USERPROFILE% Local Returns the location of the profile for the current user.
%WINDIR% System Returns the location of the operating system directory.
http://libertyboy.free.fr/computing/reference/envariables/
Publié dans Informatique | Tagué | Laisser un commentaire

Excel specifications and limits

http://office.microsoft.com/en-001/excel-help/excel-specifications-and-limits-HP010342495.aspx

Publié dans Excel | Tagué , | Laisser un commentaire

Send Keys

Send / SendRaw / SendInput / SendPlay / SendEvent: Send Keys & Clicks
http://www.autohotkey.com/docs/commands/Send.htm

Publié dans Informatique | Laisser un commentaire

Data Type Conversion (Database Engine)

Implicit and Explicit Conversion:

Implicit and Explicit Conversion

Implicit and Explicit Conversion

Publié dans SQL | Un commentaire

Microsoft SQL Server Data Tools

…provides an integrated environment for database developers to carry out all their database design work for any SQL Server platform (both on and off premise) within Visual Studio. Database developers can use the SQL Server Object Explorer in VS to easily create or edit database objects and data, or execute queries

Microsoft SQL Server Data Tools

Publié dans Informatique, SQL | Laisser un commentaire

SQL Server Data Tools – Business Intelligence

Download File

Install SQL Server Data Tools – Business Intelligence for Visual Studio 2012
To install SQL Server Data Tools – Business Intelligence for Visual Studio 2012

  1. Run SSDTBI_VS2012_x86_ENU.exe to begin installation.
  2. In SQL Server 2012 Setup, on the License Terms page, if you agree to the Microsoft Software License Terms, select I accept the license terms, optionally select Send feature usage data to Microsoft, and then click Next.
  3. On the Installation Type page, verify Perform a new installation of SQL Server 2012 is selected, and then click Next.  Note: Setup will not install a new instance of SQL Server 2012 Server, but will install new SQL Server Features, including SQL Server Data Tools- Business Intelligence for Visual Studio 2012, which you will select on the next Feature Selection page.
  4. On the Feature Selection page, click SQL Server Data Tools – Business Intelligence for Visual Studio 2012, and then click Next.
  5.  On the Error Reporting page, optionally select Send Windows and SQL Server Error Reports to Microsoft or your corporate report server, and then click Next.
Publié dans SQL | Laisser un commentaire

IDisposable interface

public class MyClass : IDisposable
{
    private bool disposed;

    /// <summary>
    /// Construction
    /// </summary>
    public MyClass()
    {
    }

    /// <summary>
    /// Destructor
    /// </summary>
    ~MyClass()
    {
        this.Dispose(false);
    }

    /// <summary>
    /// The dispose method that implements IDisposable.
    /// </summary>
    public void Dispose()
    {
        this.Dispose(true);
        GC.SuppressFinalize(this);
    }

    /// <summary>
    /// The virtual dispose method that allows
    /// classes inherithed from this one to dispose their resources.
    /// </summary>
    /// <param name="disposing"></param>
    protected virtual void Dispose(bool disposing)
    {
        if (!disposed)
        {
            if (disposing)
            {
                // Dispose managed resources here.
            }

            // Dispose unmanaged resources here.
        }

        disposed = true;
    }
}

 

Publié dans CSharp | Tagué | Laisser un commentaire