Adding date and time to a log file path in SSIS 2005

0 Comments

Right click your log file connection, click on properties In the property windows click on Expressions > ConnectionString   Expression Add the expression: (DT_WSTR,1000) (   "C:\Temp\" +   RIGHT("0" + (DT_STR,4,1252) DATEPART("year",GETDATE()),4) +  

Using XBMC on mine ASROCK 330 Pro

0 Comments

  Replacing the stock fans First thing I did was updating the bios to the latest version and replacing the stock fans by more silent fans, because this reduced the sound level significantly. I used

Center a group box in a WPF application

0 Comments

If you want to center a group box in a WPF application, you can use the HorizontalAlignment property. HorizontalAlignment="Center" Make sure the margin left and margin right are 0   Margin="0,30,0,0"   Code <Window x:Class="Rvl.DashBoard.Wpf.MainWindow"

Create icons by using Paint .NET

0 Comments

I wanted to set the icon for mine Microsoft .NET WPF application, but I only had a *.png file. With the IconCur.dll plug-in for Paint .NET I converted the *.png to *.ico file.   Steps

Replace parts of a string in JavaScript

0 Comments

If you want to find and replace parts of a string in JavaScript, you can use the replace function:   Code var str = "This is Microsoft" str = str.replace("Microsoft", "ADA ICT"); document.write(str);   Output