View Complete Post
I am looking at setting the partition offset and allocation unit size for a database drive. below are the configuration that i am looking to use.
partition offset: 1024K
allocation unit size: 64KB
If the database drive is to be exclusively used for OlTP, will a 8K allocation unit size make for better performance ?
I have to set custom paper size 6X8 inches
plz tell sugest me code how to do it.
in C#.net 3.5
i m using Asp.net 3.5 Crystal report
i have to do it programiticlly
How to reduce the image weight using
asp.net, without lose of image quality and image pixels. For example i
have an image with the size of 4 MB (3024*2045), so how to reduce the
image weight ie 4 MB to 1 MB without lose quality in the same pixels
ie(3024 * 2045) using asp.net.
Hi Everyone, I need to detect the size of the user's screen for mobile devices (especially the BlackBerry). I've read a lot of pages that seem to refer me to the Request.Browser object, but I'm finding that this object doesn't have the correct values. For example, I have a BlackBerry and when I use the Request.Browser to get the screen size, it tells me it is 640x480. Well, I know it's not that big since an image of 300px wide just barely fits. Also, when I run on my desktop browser, it also says my screen is 640x480. I can assure you, it is not 640x480! ha!
I am trying to get the screenHeight and width:
// Get MobileCapabilities from current Request.Browser
MobileCapabilities currentCapabilities = (MobileCapabilities)Request.Browser;
// get a property of the browser
Response.Write(currentCapabilities.ScreenPixelsHeight + " <br>");
Response.Write(currentCapabilities.ScreenPixelsWidth + " <br>");
but this is always show that the Height is 480 & the width is 640
I am trying on HTC with Opera Mobile 9.5
Presented here is an overview of Transactional NTFS and how it revolutionizes transactions.
MSDN Magazine July 2007
MSDN Magazine January 2006
Most C++ developers make extensive use of the Standard Template Library (STL) in their code. If you are one of them and are using STL and Visual C++ 6.0 directly out of the box, your application is at high risk of crashing under low memory conditions. The problem arises because checking for failure of operator new is such an uncommon practice. To make things worse, when new does fail, the response is not standard. Some language compilers return NULL while others throw an exception.In addition, if you are using STL in an MFC project, be aware that MFC has its own set of rules. This article discusses these problems, explains how the default behavior has changed in Visual C++ .NET 2003, and outlines the changes you must make if you're using Visual C++ 6.0 so that you can safely use the STL when operator new fails.
MSDN Magazine September 2003
MSDN Magazine January 2001
MSDN Magazine May 2000
I have an AsyncFilUpload that is used to upload to my site. On the server side I have code that checks the width and height of the image and will only save the image if it is within the limits buit I can't figure out how to get the AsyncFileUpload control to show an error when this happens. Can anyone give me any pointers?
I'm sure that wasn't a very good subject, but I couldn't think of a better one. What I have is a page that has an UpdatePanel on it with a GridView control in it. It was originally displaying at a particular height and width according to the CSS style I have setup for it in my style sheet. However, since adding an AJAX Resizer control to the UpdatePanel, it is now defaulting to a much smaller size.
How do I get the grid to default to that same height and width that is in its CSS class? I don't mind putting it in the ASPX page or whatever, just need the grid to default to a larger size than the small little box it defaults to since adding the AJAX resizer.
I have several mvc applications all using the jquery datepicker. One of them the popup appears double size (height and width), obvously it's something I've inadvertantly changed, probably in the css, but I can't figure out what it is. I have tried/applied a few themes and css/site master from the mvc code templates on codeplex, but I just can't figure out what did this one.
Any ideas ?