扬's profileYOUYANG @UU@PhotosBlogLists Tools Help

扬 尤

Occupation
Location
Interests
...

YOUYANG @UU@

01001000100111100000
11/06/2009

Kill log(4170W RMB!!)

C:\Windows\System32\XDaemon.exe -> XDaemon.exe.old

C:\Windows\System32\XNet2.exe -> XNet2.exe.old

.重启电脑

4170

无语了,中国式的, 

18/04/2009

CreateChart

// C#
private void CreateChart()
{
    // Now create the chart.
    Excel.Chart xlChart = (Excel.Chart)ThisWorkbook.Charts.
        Add(Type.Missing, xlSheet, Type.Missing, Type.Missing);

    Excel.Range cellRange = (Excel.Range)xlSheet.Cells[1, 1];
    xlChart.ChartWizard(cellRange.CurrentRegion,
        Excel.Constants.xl3DBar, Type.Missing,
        Excel.XlRowCol.xlColumns, 1, 2, false,
        xlSheet.Name, Type.Missing, Type.Missing,
        Type.Missing);

    // Apply some formatting to the chart.
    xlChart.Name = xlSheet.Name + " Chart";

    Excel.ChartGroup grp = (Excel.ChartGroup)xlChart.ChartGroups(1);
    grp.GapWidth = 20;
    grp.VaryByCategories = true;
    xlChart.ChartTitle.Font.Size = 16;
    xlChart.ChartTitle.Shadow = true;
    xlChart.ChartTitle.Border.LineStyle = Excel.Constants.xlSolid;
}
10/04/2009

Excel ....0x800AC472, how to clean up the resource?

to be investigate. Excel............................... too bad
21/03/2009

崩溃的Excel编程...

Range cellRange = excelWorkSheet.get_Range(excelWorkSheet.Cells[1, 1], excelWorkSheet.Cells[1, 9]);

cellRange.Font.Bold = true;

cellRange.Borders.LineStyle = 1;

cellRange.Interior.Color = System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.PaleGreen);

COM惹的祸?

为啥数组会从1开始算?

为啥里面set 一个cell的backgroud color要这么麻烦?Range.Interior.Color

老婆的经典抱怨,Excel这个东西太烂了...

02/03/2009

Crash Dump File Check Patch

Customer Application Level: C:\Documents and Settings\v-yayou\Local Settings\Application Data\PCHealth\ErrorRep\QSignoff
System Application Level: C:\WINDOWS\PCHealth\ERRORREP\QSIGNOFF
06/02/2009

Tester Log: IIS high CPU usage

Debugging里面最不好分析的就是CPU usage高,因为这往往是很难Debug的,结果今天就碰到了,而且是逐步上升的成正比例曲线...
初步的判断应该是属于资源泄露问题?
25/12/2008

圣诞礼物

今天收到了一份特别的圣诞礼物,嘿嘿,乐高玩具...
花了一晚上,终于搞定,哈哈...
 
收到礼物之后,总想向其他人炫耀,心里乐滋滋的。
将来俺是老大,娃老二 :)
 
 
Wedding  
Photo 1 of 54

Feed

The owner hasn't specified a feed for this module yet.