Livet er vidunderligt RSS 2.0
# Thursday, 06 February 2014

In Sony Vegas Pro12

Not exactly correct. You can use a high-definition MPEG-2 file or an AVC (H.264) file for Blu-ray. You can also use MPEG-2 for DVD, but you’re right that a standard DVD video is not high definition. You’ll want to create one MPEG-2 file for the DVD and another for the Blu-ray disc. Or, create a high-definition MPEG-2, burn your Blu-ray, and then change the project to a DVD project. You can then burn the DVD using the same high-definition file and DVD Architect will create the standard-definition version that is required for DVD burning.

Thursday, 06 February 2014 22:34:37 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback

In Sony Vegas Pro12

If you’re creating a DVD, render to MPEG-2 for the video. For a Blu-ray disc, render the video as MPEG-2 or AVC (H.264). In both cases, render the audio to AC3.

Thursday, 06 February 2014 22:33:11 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Video redigering
# Friday, 31 January 2014

Godt nytår 2014 (Hestens år) 新年快乐Happy New Year (Year of the horse).

HESTEN:
25. Januar, 1906 til 12. Februar, 1907 (ild)
11. Februar, 1918 til 31. Januar, 1919 (jord)
30. Januar, 1930 til 16. Februar, 1931 (metal)
15. Februar, 1942 til 4. Februar, 1943 (vand)
3. Februar, 1954 til 23. Januar, 1955 (træ)
21. Januar, 1966 til 8. Februar, 1967 (ild)
7. Februar, 1978 til 27. Januar, 1979 (jord)
27. Januar, 1990 til 14. Februar, 1991 (metal)
12. Februar, 2002 til 31. Januar, 2003 (vand)
31. Januar, 2014 til 18. februar 2015 (træ)

 

  • Det kinesiske navn for Hesten :MA
  • Det syvende tegn i den kinesiske dyrekreds.
  • De timer, som Hesten hersker over: Kl. 11.00 - 13.00
  • Hestens faste element: Ild
  • Polretning: Positiv (Yin)
slange
Hestens karakter kort:
De positive egenskaber:

Ihærdig, fortagsom, ambitiøs, intelligent, venlig, opfindsom, humoristisk, veltalende.
De negative egenskaber:
Utålmodig, rastløs, oprørsk, selvglad, humørsvingende.
De heldige tal for Hesten: 1, 3, 4, 8, 13, 14, 41, 43

Generelle karaktertræk:
Personer, der er født i Hestens år, er som regel muntre af natur og er vellidte af andre. De er vise, men meget utålmodige. Personer født i Hestens år er også uafhængige, og det er i højere grad end de tovl andre dyretegn. Sjældent tager personer fra Hesens år imod råd fra andre, idet de foretrækker at handle på eget intiativ. Personer fra Hestens år forstår sig på pengesager.
Tilbage til årstal

Friday, 31 January 2014 08:41:59 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
China
# Friday, 04 October 2013

Becaus StringFormat is required and target to is be a string type. You can get around this by either using a TextBlock instead (which has a Text property) or putting the Textblock as the child of the Label:

<Label x:Name="myLabel">
   
<Label.Content>
       
<TextBlock>
           
<TextBlock.Text> <MultiBinding StringFormat="{}{0} - {1}">
                   
<Binding Path="Lib1" />
                   
<Binding Path="Lib2" />
                
</MultiBinding>
           
</TextBlock.Text>
       
</TextBlock>
   
</Label.Content>
</Label>

Friday, 04 October 2013 12:18:37 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Sunday, 15 September 2013

Track Active Item

You can find that under Tools -> Options -> Projects and Solutions -> "Track Active Item in Solution Explorer".

Finally! Visual Studio natively supports jumping to the active document in the solution explorer with Visual Studio 2012. The command is called "Sync with Active Document" and can be accessed from the Solution Explorer toolbar.

SyncWithActiveDocument

The default shortcut is Ctrl+[, S and can be customised by modifying the SolutionExplorer.SyncWithActiveDocument command in keyboard options (Tools -> Customise -> Keyboard)

Active Document Sync

Active document sync is another new feature integrated in enhanced version of Solution Explorer. This navigates you to the active open document. Suppose, you have a open file in the editor window and now you want to go to the physical location of the file, you can just click the active sync button to easily navigate to that place.

Sunday, 15 September 2013 16:31:31 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Thursday, 14 February 2013

SLANGEN:
4. Februar, 1905 til 24. Januar, 1906 (træ)
23. Januar, 1917 til 10. Februar, 1918 (ild)
10. Februar, 1929 til 29. Januar, 1930 (jord)
27. Januar, 1941 til 14. Februar, 1942 (metal)
14. Februar, 1953 til 2. Februar, 1954 (vand)
2. Februar, 1965 til 20. Januar, 1966 (træ)
18. Februar, 1977 til 6. Februar, 1978 (ild)
6. Februar 1989 til 26. Januar, 1990 (jord)
24. Januar 2001 til 11. Februar, 2001 (metal)
10. februar 2013 til 30. januar 2014 (vand)


  • Det kinesiske navn for Slangen: SHE
  • Det sjette tegn i den kinesiske dyrekreds.
  • De timer, som Slangen hersker over: Kl. 09.00 - 11.00
  • Slangens faste element: Ild
  • Polretning: Negativ (Yang)
slange
Slangens karakter kort:
De positive egenskaber:

Eftertænksom, vís, grundig, tålmodig, tillidsfuld, hurtigtænkene og dygtig til at organisere.
De negative egenskaber:
Herskersyg, intrigemager, jalous, af og til lidt ugidelig og ligegyldig, lukket og reserveret.
De heldige tal for Slangen: 1, 2, 4, 6, 13, 24, 42, 46

Generelle karaktertræk:
Personer, der er født i Slangens år, er som regel ret vise. De er også mediative. Slange år personer er tilbøjelig til at være forfængelige og en smule selviske. Deres fysiske ydre er som regel tiltrækkende. Personer fra dette tegn har som regel ingen økonomiske problemer, og hvis de har det, overvinder de dem. De er meget sympatiske for andre og vil prøve at hjælpe dem, der har brug for det. De overdriver i næsten alt her i livet.

Thursday, 14 February 2013 08:58:25 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
China
# Tuesday, 06 November 2012

Open CMD in elevated mode (run as administrator)

 

Type the following command:

slmgr.vbs -ipk PRODUCT KEY

slmgr.vbs –ato

 

ie:

slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Tuesday, 06 November 2012 10:35:15 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Software Development

Normally, a Windows 8 machine can be restarted by accessing the Settings screen by pressing WinKey+I (or by accessing Charms with WinKey+C and clicking the bottom Settings icon), then by clicking the Power button and selecting Restart / ShutDown from the menu that open.

 

Another way to access usually the restart options are to press Ctrl+Alt+Del , then click the Power button there and select Restart / Shut Down from the menu that opens. When connected via Remote Desktop, you can access the power button with Ctrl+Alt+End ( Ctrl+Alt+Del displays the lock screen on the host machine, not on the machine you’re connected to), but again Windows 8 offers there only the “”Disconnect” option (despite the tooltip on the button indicating Shut Down).

 

Another way to restart the computer: you can access the desktop (e.g. by pressing WinKey+D = Desktop, or WinKey+M = MinimizeAll), then press Alt+F4. This displays a Shut Down Windows dialog, where all the options are available! Ah, the good ol’ Desktop…

 

And, finally if you are a mouse person and prefer a one-click solution, you can create a shortcut to shutdown.exe, then right click it and pin the shortcut to the StartMenu. From now on you’ll be able to shutdown the machine by double clicking the icon on the Start screen or on desktop.

 

Shut down timed

Target: C:\windows\system32\shutdown.exe -s -t 20

 

Shut down timed

Target: C:\windows\system32\shutdown.exe -f Shutdown

 

Restart

Target: C:\windows\system32\shutdown.exe -r -f 

 

 

Press Alt+F4 on empty Desktop.

 

1.    on the tile page type RUN (select APPS on the top right) and click RUN, then enter:
shutdown -r -f Reboot
shutdown -f Shutdown

2.    Press ALT+F4 (i.e. close) and then select RESTART or SHUTDOWN

 

Remote Shutdown Command

Once we have mastered the crucial /s switch we can extend the Microsoft Shutdown command to act on remote machines.

Shutdown /s /m \\ComputerName

Note 1: I always get in a tangle with the /m (machine) switch. Pay close attention to its position (after /s or /r) and remember to introduce the victim machine with a double backslash \\ victim.

Note 2: Observe that there is no space between the backslashes and the computername
\\ ComputerName would not work.

Here is an example to restart a server called 'BigSrv'.

Shutdown /r /m \\BigSrv

 

Detailed Instructions to Create a Windows 8 Shutdown Tile

1.    Start on the Windows 8 desktop, or in a new folder - anywhere except in the Start Menu folder!

2.    Right-click, New, Shortcut. Paste this instruction:
C:\windows\system32\shutdown /s /t 20 (remember the space between t and 20)

3.    Name the shortcut after yourself, e.g. Guy's Shutdown, that way you will recognise it easily!

4.    Use Windows Explorer to navigate to the crucial folder:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs

5.    Paste the shortcut. You may wish to click on the advanced button and 'Run as administrator'.

6.    In passing you can see that it's not possible to create a new shortcut here.

7.    It's reassuring to see your shortcut amongst the other Apps.

8.    Return to the Metro UI start screen - Windows Key is the quickest way.

9.      Now, you may see your shortcut at the extreme right of the Metro screen. If not type the first letter, then you should see a list of Apps beginning with that letter. If yours is there, then Right-click its icon and see if it says Pinned or Unpinned, naturally you want it to be Pinned.

Tuesday, 06 November 2012 10:26:56 (Romance Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Software Development
# Friday, 14 September 2012

class Person
{
    private string name;
    private int age;

    // Copy constructor.
    public Person(Person previousPerson)
    {
        name = previousPerson.name;
        age = previousPerson.age;
    }

    // Instance constructor.
    public Person(string name, int age)
    {
        this.name = name;
        this.age = age;
    }

    // Get accessor.
    public string Details
    {
        get
        {
            return name + " is " + age.ToString();
        }
    }
}

class TestPerson
{
    static void Main()
    {
        // Create a new person object.
        Person person1 = new Person("George", 40);

        // Create another new object, copying person1.
        Person person2 = new Person(person1);
        System.Console.WriteLine(person2.Details);
    }
}

[ComVisibleAttribute(true)]
public interface ICloneable

Account clonedAccount = new Account(currentAccount); // Deep or shallow?

Account clonedAccount = currentAccount.DeepClone();  // instance method
or
Account clonedAccount = Account.DeepClone(currentAccount); // static method

class CheckingAccount : Account
{
    CheckAuthorizationScheme checkAuthorizationScheme;
 
    public override Account DeepClone()
    {
        CheckingAccount clone = new CheckingAccount();
        DeepCloneFields(clone);
        return clone;
    }
 
    protected override void DeepCloneFields(Account clone)
    {
        base.DeepCloneFields(clone);
 
        ((CheckingAccount)clone).checkAuthorizationScheme = this.checkAuthorizationScheme.DeepClone();
    }
}

-------------------------------------------------------------------------------

    public class Employee:ICloneable
     {
         /// <summary>
         /// Gets or Sets the Employee ID
         /// </summary>
         public int EmployeeId { get; set; }
         /// <summary>
         /// Gets or Sets Employee Name
         /// </summary>
         public string EmployeeName { get; set; }
         /// <summary>
         /// Gets or Sets the Joining Date
         /// </summary>
         public DateTime JoiningDate { get; set; }
         /// <summary>
         /// Gets or Sets the DepartmentDetail object
         /// </summary>
         public DepartmentDetail Department { get; set; }
 
        ///

         /// Returns the Deep Copied object
         /// </summary>
         /// <returns></returns>
         public object Clone()
         {
             Employee employee = (Employee)this.MemberwiseClone();
             employee.Department = new DepartmentDetail();
             return employee;
         }
     }

Friday, 14 September 2012 11:12:17 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
# Friday, 13 July 2012
Friday, 13 July 2012 15:03:44 (Romance Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Software Development
Archive
<2017 July>
SunMonTueWedThuFriSat
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2017
Christian R. Glinnum
Sign In
Statistics
Total Posts: 128
This Year: 0
This Month: 0
This Week: 0
Comments: 16
Themes
All Content © 2017, Christian R. Glinnum
DasBlog theme 'Business' created by Christoph De Baene (delarou)