display

CSS2 DIV Presentation Issue

i need to create a page that has quotes side-by-side for a large number of rows. i am looking for a clean CSS2 presentation where the quotes of each row line up vertically and don't run below each other. also, i am looking for a solution with the least amount of code and preferably one that doesn't float DIVs and does utilize the displ...

Why files under bin folder cannot be found?

I inside my httpdocs(www), i created a folder called "bin", i put an "test.html" just to display "Hello Stackoverflow", but when I go access the page, i.e http://domain.com/bin/test.html, it says Page Cannot Be Found. But when I move the file to test folder, it display what it should be. Why? ...

Algorithm for base-10 numeric display - minimum changes per refresh

Quick Summary: I'm looking for an algorithm to display a four-digit speed signal in such a way that the minimum number of (decimal) digits are changed each time the display is updated. For example: Filtered Signal Display -------------------- 0000 0000 2345 2000 2345 2300 2345 2340 0190 ...

when the gridview is set to display values from session arraylist "array" the following error is shown "Object must implement IConvertible." in c#

when the user selects "add to cart" the itemID of that row item is added to arraylist which is then stored in a session. in the shopping cart page ive got a gridview which reads name, price from item db where session["array"]=itemID the error is displayed when the shopping cart page loads. all i want to do is to get the list of items ...

Projector Control/Display C#

I've had a bit of a search around, but couldn't find anything similar to what I was looking for. I'm interested in knowing how to display differing contents on secondary/tertiary monitors or projectors using C#. Basically, what I'm wanting to achieve is to have some form of presenter view (a lá Powerpoint) on one particular screen (the...

Images not displayed in silverlight when app is run

I'm trying to display an image within a Silverlight application but the image does not display when the application is run. When creating the project within Visual Studio I chose the "Automatically generate a test page to host Silverlight at build time" option. Complete code as an example: <UserControl x:Class="SilverlightApplication3....

Display text from .txt file in batch file

Hello, I'm scripting a big batch file. It records the date to a log.txt file: @echo off echo %date%, %time% >> log.txt echo Current date/time is %date%, %time%. @pause exit It can record it several times, on serveral lines. Now what I want to do is that the batch file file shows the last recorded date/time from the log.txt file. Ho...

iPhone TableView Cell - weird bug in device : cell content not displayed

I have this really weird bug. When I scroll down my table view, down to a section I called "description", the cells in this section won't be displayed. Instead, the title of the section is repeated again and again. It sounds like whoever is in charge of the screen display in the iPhone does not find anything to display and let what was o...

How to change content type in php?

I have an image, but it keep doesn't display. I check the image properties (right-click and chose properties), and the I found the "type" is text/html not JPEG image. Is this because the type that cause my images dont show up?? How to change the "Type" value? I am using php... I display the image in a simple html [img] tag... EDIT: Ye...

Display parameter's value list of stored procedure

Hello, calling a stored procedure as int pageNumber = 1; int pageSize = 4; SubSonic.StoredProcedure sp = SPs.UspListPlants(pageNumber, pageSize); string result = sp.GetReader(); The sp work fine, but trying foreach (SubSonic.StoredProcedure.Parameter param in sp.Parameters) { sb.Append("'" + param.Name + "' = "); ...

dynamic Userconifg question

I'm working on a program that will sort files based on extension I currently use a internal dictionary to store the extension/location .jpg / c:\blab blab\my documents\my pictures .mp3 / c:\blab blab\my documents\my music .gno / c:\familytree etc I would like to make this program less specific to me and allow users to configure wh...

grabbing image from folder based on size

ok so i have a folder that was created after this answer was used so now i have a folder with with many folders in it each one having images and a .txt file the images are almost all .jpg so now i want to display a image from each folder, using php i want to display the first image from each folder, and if there is no images i want t...

sorting and displaying image based on size

<?php foreach (glob("*.jpg") as $filename) { echo "$filename size " . filesize($filename) . "<br>"; echo '<img src="'.$filename.'" height=150px><br>'; } ?> using that code, i am able to display all the images in the folder i want to display only one that meets a size parameter, and if there are more ignore them basically want ...

Programmatically determine DPI via the browser?

Hi all. I would like to programmaticaly determine the DPI of a user's display in order to show a web page at a precise number of units (centimeters/inches). I know it a weird request: it's for a visualization research project and it's kind of a control. We currently do it by having the user place a credit card to the screen and match a r...

Using ChangeDisplaySettingsEx in Delphi to set primary monitor

I'm trying to use ChangeDisplaySettingsEx in Delphi 7 to set a specific monitor as Primary. In Windows.pas, it is defined as function ChangeDisplaySettingsEx(lpszDeviceName: PChar; var lpDevMode: TDeviceMode; wnd: HWND; dwFlags: DWORD; lParam: Pointer): Longint; stdcall; In MSDN, the documentation for ChangeDisplaySettingsEx...

Question about the Location of user controls of a window form

I have a window form application (C# framework 3.5) with several textboxes, buttons and labels. When I install the application in different machines (same OS version both XP & vista), the user controls sometimes shifted down and dislocated while sometimes they come out perfectly fine.... What is the factor for the dislocation? the scr...

What is the most useful information to display at the front of the office?

The company I work for has just purchased 4 32" LCD screens to be mounted at the front of the office for demonstration purposes. Whilst we are not demonstrating (most of the time), the screens are to be used as development information screens for the whole team. What information would people recommend displaying to be most useful to the...

Html display issues

Hope i can post this issue on this forum.. i have a page in php http://www.teamdelta.byethost12.com/index.php This displays fine in firefox and the new IE. but in any older version of IE its comes up all wroung! please tell me what im doing wroung so that it disssplays incorrectly in old IE.. i wish to have a page that works in all b...

Can I render to several displays from the same JVM?

I have 4 Java applications rendering some AWT graphics. They all render to different X displays, which we configure at JVM startup time. I would like to have them run from the same JVM. This way, I launch one Java app, and it will open up four screens, which render their stuff to different displays. Is that possible in Java? ...

Java- How to Display record count

i would like to display the records retrieved after a query in the following format 'Record 1 of 20' I have the rownum and the total records retrieved. It is just the displaying that i need to know. It will be great if it could be displayed in a JLabel. thanks ...