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
H

Huisheng Chen

@Huisheng Chen
About
Posts
20
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • search result not as expected
    H Huisheng Chen

    I have to loop up the dictionary first ;P

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    Site Bugs / Suggestions database sql-server com sysadmin collaboration

  • search result not as expected
    H Huisheng Chen

    tricky, but are you sure you are having the latest favorite? because when I click your link, it's still sort by relevance and when I click search, it's really not for the date created :doh:

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    Site Bugs / Suggestions database sql-server com sysadmin collaboration

  • search result not as expected
    H Huisheng Chen

    well, now it works as expected :laugh:

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    Site Bugs / Suggestions database sql-server com sysadmin collaboration

  • search result not as expected
    H Huisheng Chen

    Hi, I search "SQL Server Monitor", articles only, a very new article with title "SQL Server Monitor with Version Control" does not show in the first page result, so I changed sort by to "Date Modified ASC", I could not see it until I reach 4th page. Well, from my point of view, "SQL Server Monitor with Version Control" is more relevant to "SQL Server Monitor".

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    Site Bugs / Suggestions database sql-server com sysadmin collaboration

  • how to get maintained values for a certain period
    H Huisheng Chen

    there are a series of time based data, every 15 mins 1 record: Time Value 00:15 10 00:30 11 00:45 9 01:00 21 01:15 18 01:30 20 01:45 19 02:00 15 02:15 13 02:30 15 02:45 14 03:00 12 03:15 22 03:30 20 03:45 21 04:00 19 ... ... ... how to get the records that maintains over 18 for over 30 mins? for example, for 01:00 it starts to be over 18, and maintains for over 30 mins, so 01:00 should be chosen, but 01:15,01:30 should not, because the time difference between them and 01:00 is less than 30 mins,and even 01:45 should not be chosen, because no values are over 18 and maintains for 30 mins.

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    Database tutorial css com question

  • urgent! could not post article! The copy failed due to an IO error on Web22.There is not enough space on the disk.
    H Huisheng Chen

    Thanks a lot! I *just* posted the articile :laugh: codeproject is really great:rose:

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    Site Bugs / Suggestions com help

  • urgent! could not post article! The copy failed due to an IO error on Web22.There is not enough space on the disk.
    H Huisheng Chen

    I am using online article submission, every time I sumbit the article, it tells me that: The copy failed due to an IO error on Web22.There is not enough space on the disk.

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    Site Bugs / Suggestions com help

  • C++\CLI Assembly.Load failed [modified]
    H Huisheng Chen

    first please download the PDFLibNet.dll from here: http://www.codeproject.com/KB/files/xpdf_csharp/PDFViewer.zip[^] it's ok like this: Assembly a = Assembly.LoadFile("PDFLibNet.dll"); but exception like this: byte[] b = File.ReadAllBytes("PDFLibNet.dll"); Assembly a = Assembly.Load(b); throwing FileLoadException, telling me it could not verify the code or could not pass policy check. .net thinks that it is not a valid assembly. I found a solution here: http://nonodes.spunow.co.uk/2009/04/assemblyload-c-cli-assembly-gives.html[^] telling me to build the C++ assembly with /clr:safe, but is there any other way out?

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    modified on Tuesday, November 17, 2009 10:16 PM

    Managed C++/CLI csharp c++ html dotnet com

  • Graphics.DrawImageUnscaled blurry
    H Huisheng Chen

    hi, if I only do j*width and j*height, won't it only be tiling from top left to bottom right(diagonally)? and, it seems that the blurry problem only goes with some bmp files, strange :doh: by the way, I actually want to title all the pictures(not only one) in one picture, something like mosaic, so, texture brush maybe not suitable.

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    C# graphics com question

  • Graphics.DrawImageUnscaled blurry
    H Huisheng Chen

    I want to do a tile by myself, I can see that the result image is very blurry, and the positions of each piece are not correct(overlapped partly), why? Bitmap bitmap = new Bitmap(2000, 2000, PixelFormat.Format32bppArgb); using (Graphics graphic = Graphics.FromImage(bitmap)) { Bitmap image = (Bitmap)Bitmap.FromFile(@"background.bmp"); for (int j = 0; j < 15; j++) { graphic.DrawImageUnscaled(image, (j % 4) * image.Width, (j / 4) * image.Height, image.Width, image.Height); } } bitmap.Save(@"a.png", ImageFormat.Png);

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    C# graphics com question

  • convert uint to byte[]
    H Huisheng Chen

    sorry, my debugging mistake, you are right. thanks a lot.:rose:

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    C# com help

  • convert uint to byte[]
    H Huisheng Chen

    hi, I know that method, the result is wrong. please take a closer look at the original code :doh:

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    C# com help

  • convert uint to byte[]
    H Huisheng Chen

    Hi all, I have a byte[] to unit function, I would like to have a reverse function that convert unit to byte[], please help. thanks a lot.

        public static uint ParseUint(byte\[\] buffer, int uintLengthInBytes, ref int offset)
        {
            uint value = 0;
            int i, j;
            for (i = offset + uintLengthInBytes - 1, j = 0; i >= offset; i--, j++)
                value |= (uint)(buffer\[i\] << (8 \* j));
            offset += uintLengthInBytes;
            return value;
        }
    

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    C# com help

  • search bookmark
    H Huisheng Chen

    I have many bookmarks in codeproject, over 60 pages :laugh: it's hard for me to find the exact one, I searched the whole site, too many similar, I want to search my bookmarks for much less time wasting :zzz: is it possible to add the bookmark search functionality?

    Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com

    Site Bugs / Suggestions css com question

  • file download resume?
    H Huisheng Chen

    the codeproject does not support file download resume, very often, for those large files, the download will failed, retry, endless in vain. :doh:

    Regards, unruledboy@gmail.com

    IT & Infrastructure com question career

  • search facility down for a few hours
    H Huisheng Chen

    still downing, when will it be recovered:doh: I need the search badly:(( Regards, unruledboy@hotmail.com

    Site Bugs / Suggestions com

  • COM InterOp with Delegate(Event) support?
    H Huisheng Chen

    well, I have a .net assembly(FooAssembly) with a class(FooClass). there is a delegate(event) inside FooClass and related eventArgs class. I need to use this assembly in VB6, so I first create an interface for the FooClass, but for the delegate, I have no idea how to realize it. anybody has any idea:doh: Regards, unruledboy@hotmail.com

    .NET (Core and Framework) com csharp tutorial question

  • I could not find the entry to submit my article
    H Huisheng Chen

    where is it?:doh: Regards, unruledboy@hotmail.com

    The Lounge com question

  • IIS+ASP cannot handle high volumne access?
    H Huisheng Chen

    Well, I have to say that it has been a long long time for me to experience slow webiste and very slow file download. I was wondering IIS+ASP is just not good enough to handle the users of codeproject.com?:doh: Regards, unruledboy@hotmail.com

    Site Bugs / Suggestions com windows-admin question

  • adding the url to each submission?
    H Huisheng Chen

    automatically adding the url info into each arhive file of the submission as planet-source-code.com does? because it's hard to find the original url where the code is from at codeproject Regards, unruledboy@hotmail.com

    IT & Infrastructure com 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