90 Topics

Member Avatar for
Member Avatar for hfx642

I have a few JSpinner(s) and I'm trying to change the button sizes. I know how to change the font of the SpinnerModel(s), but not the button sizes. Can someone please point me in the right direction? TIA!

Member Avatar for hfx642
1
1K
Member Avatar for staticclass

Hi, I'm developing an application which has a treeview and a crystal report viewer. There are a lot of other stuff too, but I want to make the user be able to change the size of the treeview with the mouse (see the picture) [url]http://imageshack.us/photo/my-images/3/mousedrag.png/[/url] how can I do this? …

Member Avatar for k.d.m
-1
160
Member Avatar for adi.shoukat

Hi, How can I setBounds of a component in percentage of screen size so that the interface looks same on different resolutions. I am using Visual Studio 2008. When I click on a button in designer view it shows me button's properties on right side. There I can set Location …

Member Avatar for adi.shoukat
0
331
Member Avatar for adamworld

I have this script that I am using that work to upload a file and to make sure the file is either jpg, jpeg, or gif. However, I want to restrict the user with the image width no larger than 150px. Is there an easy way to implement in the …

Member Avatar for adamworld
0
257
Member Avatar for __Art

Hello everybody!! I'm trying to print a *.pdf file from Java code, and the printer out gives the right document, but smaller than the original pdf (smaller text, images, margins, everything), the print result seems shrinked from the original... Here is the code I'm using: [CODE] File f = new …

Member Avatar for sbhavan
0
396
Member Avatar for JDevelop

Hi everybody! Now I'm dealing with binary file handling and I need to read 70 bits into a variable from a file. As far as I know (correct me please, if I'm wrong), C does not have any variable type that could hold such large data. (I think) I cannot …

Member Avatar for JDevelop
0
2K
Member Avatar for SMITA6076

I'm working on a CyberPet assignment and I'm not sure how to do the following: 'Then write an [ICODE]encounter ( CyberPet )[/ICODE] method that allows one CyberPet to encounter another and will describe the encounter by returning a String data type. Note that the method should take a CyberPet parameter. …

Member Avatar for SMITA6076
0
585
Member Avatar for massy

i'm not sure what its called but basically my web site looks and runs fine until the window is NOT full screen. the items are replaced and reorganized. how do i make it so the web page is fixed and if the browser window is not maximized it just shows …

0
104
Member Avatar for jshoot

Hi everyone, My question is: I have two vectors, for example vectorA and vectorB, vectorA is filled with randomics values, like 23, 43, 54, etc, and its have 1000 members, like vectorA[0], vectorA[1], etc. My vectorB descending of vectorA, I use the "push_back" function to take the values of vectorA, …

Member Avatar for jshoot
0
257
Member Avatar for ero100

I want to add SIZING OPTIONS to my website * i have created the database sizes with: size_id, size_list, and prod_id which is the ID OF the products tables as foreign key * i have issued a query to retrieve all the sizes according to the prod_id (product ID). as …

0
86
Member Avatar for hailsontherocks
Member Avatar for hailsontherocks
0
122
Member Avatar for Acute

Hello everyone, I made a layout using float:left and it's ok until the browser window is resized. When window is resized everything messes up, how to fix it??? how to make it independent from window size? I mean whatever the window size is, layout keep it's positions. Here is what …

Member Avatar for skald89
0
108
Member Avatar for Avengerofsok

Hi, This is my first forum post and I'm very new to both the daniweb and programming community. I've been working on a project for a month or so and it involves clicking JButton to change the values of the text associated with the JButton clicked. Everything runs fine except …

Member Avatar for hanvyj
0
369
Member Avatar for danholding

im a newbie to python still so bare with me if i have gone down the wrong route or my explanation is confusing!! any ideas on how i can sort my list by the size of the file at the moment it is getting the size of the file and …

Member Avatar for TrustyTony
0
237
Member Avatar for Eric Cute

Hi guyz. I know this is a simple one but Im a bit confused in doing this. Basically, I want to get the Screen Resoultion of the client machine using my JSP. I have this code in my Bean. [CODE] Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); return screenSize.getWidth(); [/CODE] Problem is it …

Member Avatar for Eric Cute
0
292
Member Avatar for Codeburner

Hi is there any difference between the size of a struct type and the size of it's instance? similarly with enum type and it's instance...

Member Avatar for Narue
0
79
Member Avatar for dogwood705

Hi, I am new to C++ and am getting stuck with just reading in data from a text file into an array. I have looked at lots of examples online, but can't find one that matches what I am trying to do. The data consists of two variables, date and …

Member Avatar for dogwood705
0
356
Member Avatar for ms_sws

Is there a way to create a div or some container in which there will be an image such that the image fills the container but retains its aspect ratio? So if the container is 100px x 100px and an image is 200px x 100px it will be resized to …

Member Avatar for prabinrai
0
149
Member Avatar for petrelutza

Hey, I tried to change the size of a label from 2 text boxes, but doesn't work. Here is my code: [CODE] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click y = TextBox2.Text x = TextBox3.Text Form2.Label1.Size = New Size(y, x) End Sub[/CODE] textbox2 is width …

Member Avatar for trpsjt2008
0
2K
Member Avatar for cubekid

Is there a way in VB6 where I could get the file's "Size on disk" (not the size). I cannot achieve this by using the FileSystemObject's size property which only returns the file's size. If this cannot be done, maybe a help on how to achieve these other options will …

Member Avatar for cubekid
0
714
Member Avatar for pwindsor

Hi Having a problem with iframe resizing when the iframe body is a jsp file which contains a dynmically built ajax table. Users select different options from a drop down. All but 1 is a standard static jsp file. The other is a jsp file with a dynamic ajax table …

Member Avatar for Airshow
0
286
Member Avatar for P.manidas

Dear Sir/Madam, How to measure memory consumption of a VB 6.0's programe? As a programmer in vb. 6.0, where i have to be conscious for getting less consumption of memory of my program at design time? Is there any free software to measure memory consumption of a programe? Please guide …

Member Avatar for P.manidas
0
247
Member Avatar for Benjip

I'm stumped with a somewhat complicated 'lookup table' situation. I've tried many different methods to output the data I need (and in the order I need it) but I think I'm just going around in circles. Basically I'm trying to output a <select> dropdown form element, with serveral different <options> …

Member Avatar for darkagn
0
247
Member Avatar for Atomika3000

i need to make a paragraph of text identified by a <div> grow in size when the user moves their mouse if that portion of text. I Guess it needs to use onMouseOver and getElementById but i not sure what else is needed, i have trawled the internet for the …

Member Avatar for Atomika3000
0
891
Member Avatar for Obi-Won-Knewbie

[LIST] I am new at scripting and need help developing a script that will look at a diff file size I've created from the original file and compare the size to the orignal and send a return code of 1 to the /etc/notify if the file is less than 6-% …

Member Avatar for thekashyap
0
130
Member Avatar for feoperro

Hi, I've been searching around for quite some time now but haven't found what I've been looking for... I'm trying to stretch a flash object inside my browser but for some reason the more I stretch it, the bigger the boarders get while the actual movie on the inside stays …

Member Avatar for feoperro
0
217
Member Avatar for denni2727

Well, I would like to know how can i print invoices in java. the page that my printer is using is like a type of template which has already written the fields(like name, address, id and so on). So, what i want to do is to print the data in …

Member Avatar for Ezzaral
0
142
Member Avatar for leverin4

How would one calculate the number of bytes of plaintext that could be encrypted as a single block given the key size? And how could you then calculate the number of bytes of cipher text that can be decrypted in a single block given the same key size because I …

Member Avatar for neilcoffey
0
3K
Member Avatar for Pleasant Day

Sometimes I see great javascripts on the net, but the size is wrong for the space on my web page, either the javascript is too small or too big, it would be great if I could re scale it so that it would fit in the space I have available. …

Member Avatar for codejoust
0
204
Member Avatar for happygeek

Ever wondered just how big the Internet is? I know I have, and during my search for an answer I have discovered along the way [URL="http://www.daniweb.com/blogs/entry1437.html"]how fast it is[/URL] and [URL="http://www.daniweb.com/blogs/entry4387.html"]how much spam it produces[/URL]. But now I know how big it is as well. When it comes to size, …

Member Avatar for deathlemon
0
307

The End.