I have to loop up the dictionary first ;P
Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com
I have to loop up the dictionary first ;P
Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com
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
well, now it works as expected :laugh:
Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com
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
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
Thanks a lot! I *just* posted the articile :laugh: codeproject is really great:rose:
Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com
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
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
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
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
sorry, my debugging mistake, you are right. thanks a lot.:rose:
Regards, unruledboy_at_gmail_dot_com http://www.xnlab.com
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
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
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
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
still downing, when will it be recovered:doh: I need the search badly:(( Regards, unruledboy@hotmail.com
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
where is it?:doh: Regards, unruledboy@hotmail.com
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
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