size

Dynamic Size in RDLC Report Files

Is there anyway to make RDLC reports size dynamically? I mean by changing its size, every elements scale appropriately. ...

What is the best way to stop a user from resizing the top-level window of an application written in WPF?

What is the best way to stop a user from resizing the top-level window of an application written in WPF? ...

Can you set a permanent size for a JPanel inside of a JFrame?

Hey everyone, My current problem is that I have a JFrame with a 2x2 GridLayout. And inside one of the squares, I have a JPanel that is to display a grid. I am having a field day with the java swing library... take a look http://img114.imageshack.us/img114/9683/frameow2.jpg Java is automatically expanding each JLabel to fit the screen....

ASP FileUpload file size issue

Hi, Im using a fileupload control for my asp application and it throws a HttpException when the file upload size is bigger than the max request length. As far i understand the fileupload will open a memory stream to a file once the file browse dialog is closed but there is no way of knowing when the dialog is closed so that I can make...

wcf max message size

hey guys, a WCF question for you here: i have two services and am sending pretty chunky messages between them (~100kb). Though the previously mentioned value is typical of the size of the message, it is possible for it to fluctuate greatly (in both positive and negative directions). Thus, to deal with such situations where i have to tr...

How to fill the screen with video preview on Windows Mobile

Hi, I am creating an application for video capturing on Windows Mobile device. In the MainFrame there are menu and status window (custom window). The video size width:height ratio is 4:3 so in the case there are some other elements on the screen the video doesn't fill the whole area. This is the function which arranges screen elements:...

Finding (loaded) image size in AS3 (Action Script 3.0)

Im currently using the following function to load an image, however i could not figure out a way to find the width of the loaded image, which i intend to use before placing the next image using the same function. Note that q is a a variable (a number) which is used to load differant images. =X i need help obtainning the loaded image w...

Automatically size JPanel inside JFrame

I have a JPanel subclass on which I add buutons, labels, tables, etc. To show on screen it I use JFrame: MainPanel mainPanel = new MainPanel(); //JPanel subclass JFrame mainFrame = new JFrame(); mainFrame.setTitle("main window title"); mainFrame.getContentPane().add(mainPanel); mainFrame.setLocation(100, 100); mainFrame.pack(); mainFra...

Using DOS Prompt and via' FTP copying files on to the server

Hi Guys, I would like when we Copy files on to the server via FTP the size of the file changes. What is the reason behind this. Does the change in the file size can make the files corrupt and the FTP process Fails ? ...

Can someone explain this template code that gives me the size of an array?

template<typename T, size_t n> size_t array_size(const T (&)[n]) { return n; } The part that I don't get is the parameters for this template function. What happens with the array when I pass it through there that gives n as the number of elements in the array? ...

Ftp GetFileSize randomly throws FTP error 503 (Bad Sequence of Commands)

To get the file size for every file in a list of files, I'm using the following code: foreach (String f in files) { UriBuilder ftpUri = new UriBuilder("ftp", ftpServer, -1, ftpPfadZuLogDateien + "/" + f); FtpWebRequest ftpclientRequest1 = (FtpWebRequest)WebRequest.Create(ftpUri.Uri); ftpclientRequest1.Method = WebRequestMethods.Ft...

Size of static array

I declare a static char array, then I pass it to a function. How to get the no. of bytes in the array inside the function? ...

How many developers are there in the world?

What is the total number of software developers in the world? And to respond to the inevitable "How do you define a software developer?" -- I'll answer two ways: Define it as "Anyone who writes code to make a computer do something he wants done". Define it however you like and then answer the question References to studies or more a...

Message Size after serialize

Ok, I know how to get the messages size using the IClientMessageInspector.BeforeSendRequest. The problem is I want to get the messsage size after serialization and compression is done so I can know what I actually is sending out of my service. Is this possible in WCF and how? Arne ...

MakeCert - Is it possible to change the key size?

When i generate a Certificate using MakeCert.exe I want to change the key size from 1024 to 2048. Is this possible? Or do i need to setup a Certificate Authority? Cheers Rohan ...

How do I get the size of a directory in C?

Is there a POSIX function that will give me the size of a directory (including all sub-folders), roughly equivalent to "du -s somepath"? ...

Visual C++ express 2008: Why does it places megs of null bytes at the end of the release executable?

Recently I have discovered that my release executable (made with msvc++ express 2008) becomes very large. As I examine the executable with a hex viewer I saw that only the first 300k bytes contains useful data the remaining bytes are only zeros - 6 megs of zero bytes. The debug built exe has 1MB size, but the release is 6.5MB. Why doe...

Recursive Class Instance Size in Delphi

Is there a way to get the actual size of a class instance in Delphi? I know about the InstanceSize method of the TObject class but that method does not recursively invokes itself for object members. For example, let's say we have two classes: type MyClass1 = class private myVar1 : integer; myVar2 : integer; end; type MyClass...

Passing JSON strings larger than 80 characters

I'm having a problem passing strings that exceed 80 characters in JSON. When I pass a string that's exactly 80 characters long it works like magic. But once I add the 81st letter it craps out. I've tried looking at the json object in firebug and it seems to think the string is an array because it has an expander next to it. Clicking the ...

How to determine the size of an attached file from a IMAP message

Im writing a IMAP mail application running on J2ME. It's my senior project. First, I would like to know that are there any IMAP messages to get the body of message only, not include an attachement? When I send the message to IMAP Server like.. . fetch 20 body[text] The IMAP Server will response like <--BODY PART--> ---MOQ1233897306...