Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
X

xibeifeijian

@xibeifeijian
About
Posts
49
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem about emal sending
    X xibeifeijian

    Hi,everyone. I've write a email sending program by .NET ,which use IIS to send email.It works well on XP operate system. Now I use a Windows2008 but this program doesn't work.(I'm sure I've install the smtp component).The problem is :EMail will be package to a .eml file at C:\inetpub\mailroot\Pickup,then there is no additional operation about this file. Any advice will be appreciate.^_^

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    Windows API csharp windows-admin help

  • P/Invoke can not find dll
    X xibeifeijian

    Thanks.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    Mobile help com question

  • P/Invoke can not find dll
    X xibeifeijian

    When I use mapirule.dll like this way:http://msdn.microsoft.com/en-us/library/aa446561.aspx[^] I get a error "Could not find P/Invoke dll 'mapirule.dll' " Who can help me to resolve this problem? I'm sure the mapirule.dll is exist both the program's directory and ./Windows directory. Thanks very much.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    Mobile help com question

  • Enum and generics
    X xibeifeijian

    Haha ,this is the best way ! :)

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::^):^):^):^)¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# csharp help question html com

  • Enum and generics
    X xibeifeijian

    Ha,Sorry,my error. As the enum type cann't inherit,so you can judge it in this way: if (enumType.GetType().BaseType != typeof(System.Enum)) You must use basetype to judge them,because the son type won't equals the parent type.System.Enum is a root type for all the enum types.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::^):^):^):^)¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# csharp help question html com

  • Enum and generics
    X xibeifeijian

    Maybe you should check it by yourself. Just like this: public static string GetDescription(EnumType enumType) { string description = string.Empty; Type type = enumType.GetType(); Type typParent=type.BaseType; bool blIsEnum=false; while(typParent!=null) { if(typParent==typeof(System.Enum)) { blIsEnum=true; break; } typParent=typParent.BaseType; } if(blIsEnum==false) { throw new Exception("Haha,game over!^_^"); } ......

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::^):^):^):^)¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# csharp help question html com

  • Hi,How can I use Windows Media Player in Pocket PC 2003?
    X xibeifeijian

    Dear all, I want to create a mp3 player use Windows Media Player control,but I cann't find any reference assembly in my Visual Studio 2008 ,What should I do? Thanks very much.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::^):^):^):^)¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# question csharp visual-studio

  • Thread.SetApartmentState method problem
    X xibeifeijian

    I creat a new Thread object ,then I call SetApartmentState(ApartmentState.STA). After this ,when this thread start ,does the Windows will treat this Thread as a Process ?:confused::confused: If not ,what's the differcence between ApartmentState.MTA thread and ApartmentState.STA thread? thanks. :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::^):^):^):^)¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# help question

  • Can you tell me the differnce between static method and instance method?
    X xibeifeijian

    Someone told me that the method needs memory ,is this true? In this way,does the static method can share their memories? Thanks!

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::^):^):^):^)¦¦?¦?¦¦ :^):rose::^):^):^):^)¦?????¦ :^):rose::rose::rose::rose::rose:¦¦?¦?¦¦ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# performance question

  • Save PDF file as image
    X xibeifeijian

    Look the TEXTPTR function in SQLServer's help.You may find the answer.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# database question

  • user control with a datagridview
    X xibeifeijian

    Just change "private System.Windows.Forms.DataGridView _grid;" to private System.Windows.Forms.DataGridView _grid=new DataGridView();:rolleyes:

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# help css

  • How can I avoid waiting for a response after an HttpWebRequest POST?
    X xibeifeijian

    What about use asynchronous delegate?

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# question csharp performance

  • fade in /fade out
    X xibeifeijian

    Build a timer control,then change the form's transparence--Just change the form's Opacity Property.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# question

  • find path
    X xibeifeijian

    Just use: AppDomain.CurrentDomain.BaseDirectory please.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# csharp asp-net help

  • turn off Server.exe
    X xibeifeijian

    Change the programe name and try again.Maybe you mix "Services.exe"(this is a windows process) as your program.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# csharp sysadmin help question

  • Difference between String and string?
    X xibeifeijian

    No difference! string is a keyword,but String not. string just like a shortcut for String.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# question

  • Reading a text file into a textBox
    X xibeifeijian

    I sugguest you check the value of the openFileDialog1.FileName.Make sure that's a file's real path. If this way cannot help you try these codes: //First ,create a txt file at C:\ // create reader & open file TextReader tr = new StreamReader(@"c:\1.txt"); // read a line of text this.textBox1.Text = tr.ReadLine(); // close the stream tr.Close(); Good luck.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# question

  • Reading a text file into a textBox
    X xibeifeijian

    try tr.ReadToEnd method please. I think the first line is a blank string in your file.

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# question

  • How do i open a text file on a button click
    X xibeifeijian

    --- Or just tell me how do i fire onclick event of that hyperlink on a button click. ---- Give you a example,I can fire it but cannot show a download dialog box.:( Create a and hidden it.Then use a javascript function to fire the event. You must give a id for .

    df

    function fnDownLoadFile() { window.document.getElementById("hello").click(); }

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    ASP.NET question

  • Unsafe code
    X xibeifeijian

    Thanks! You are right,its destory:-O You say ------------- On the next GC cycle, ------------- but there are unmanaged variables,does GC collect unmanged variables?

    :^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups