7,713 Topics
![]() | |
Hi! I'm trying to show 5 random images from my database and i seem to be stuck. Would appreciate some help or tips. I obviously dont want any duplicate images. Have tried to figure it out by googling butt my head hurts too much xD Got thumbnails for the picture … ![]() | |
Another problem is my program draw lines not Polygon but I want to show POLYGON.HElP ME ASAP.Check my txt file attachement [CODE] #include <stdafx.h> #include <iostream> //line_poly_file.cpp #include <fstream> #include <windows.h> #include <glut.h> using namespace std; GLsizei wh = 250; GLsizei ww = 250; void DisplayLines ( void ) ; … | |
I'm trying to use bufferedImage to display the bac[ICODE][/ICODE]kground of my application but i'm not successful. I don't get what's wrong with it here's the part of the code: [ICODE] Graphics g; BufferedImage offscreen; offscreen= ImageIO.read(new File("mainScreen.png")); g.drawImage(offscreen, 0, 0, null); [/ICODE] and i use the paintcomponent() here : [ICODE] … | |
Hey, OK, so this might be something, but I seriously cannot find how I went wrong here. This is my script: [CODE] <?php $_POST['submit']; $name = $_POST[$name2]; echo "It is going to database <b>db_".$name."</b>"; ?> <br> </br> <form action='' method='POST'> <input type='hidden' name="Example"> <input type='submit' value='What db is it going … | |
[ATTACH=RIGHT]18689[/ATTACH]DisplayLink is a combination hardware/software technology that enables users to connect almost any kind of monitor to a PC via USB. It is designed to make adding additional monitors very easy as well. You can add up to 6 displays without installing another video card. Simply install the DisplayLink software, … | |
PLEASE HELP ME! I have this really ennoying problem: every now and then (almost every 30 secs) my computer display is getting light green (well not the whole display but it is blurred green if you know what i mean) I don't know what to do! :cry: I don't really … | |
[CODE]/* * hello.c * This is a simple, introductory OpenGL program. */ #include<stdlib.h> #include <GL/glut.h> #include<iostream> #include<fstream> using std::fstream; using namespace std; void draw(void) { /* clear all pixels */ char fileName[] = "house1.txt"; fstream instream; instream.open("c:/house1.txt",ios::in); if(instream.fail()) return; glClear (GL_COLOR_BUFFER_BIT); GLint numstrip,numlines,x, y; instream>>numstrip; for(int j=0;j<numstrip;j++) { instream>>numlines; glBegin(GL_LINE_STRIP); … | |
I made website for the computer shop,i have to display image & price of the components for that i made sql database(laptop.mdf) with columns(model_no as varchar(50),company as varchar(50),price as int,picture as image). image of component is stored in the picture column.i an already inserted image directly by writing sql query … | |
Id like to limit the text chars shown in this script because too many chars are displayed causing overlap (see link) no idea what to do, please help? p.s I dont know js so if you could kindly be very specific, thanks. :) see it here (bottom of page 5 … ![]() | |
Hey guys, I am an owner of a Dell Studio XPS 1645 and I need some help trying to figure out what the problem is with my screen. I turned it on about a week ago and the laptop started but the screen stayed blank, nothing showing up at all. … | |
hi how can i display part of site in my webbrowser control ? for example: in Window_Loaded i use : web1.Navigate(new Uri("http://mysit.com/", UriKind.RelativeOrAbsolute)); and in webbrowser show All parts of the site, but i dosen't like it. i want show just header or foter or just any where of part … | |
hi,i have an Acer aspire 7003wsmi and the screen doesnt come on anymore when i turn on the laptop,a couple of days ago i turned it on and the screen was fine until about halfway through the boot process when it went pixelated and shut down the laptop,now when i … | |
[i]I found this in a few different places around the 'net - hopefully it's helpful:[/i] [font=Arial][size=5][color=#0000ff]How to Change Column Settings in Windows Explorer[/color][/size][/font] [font=Arial][size=2]This article describes how to change the column settings in Windows Explorer. To change which columns are displayed, or change the width or order of the windows … | |
Hello I'm new to sql (sql 2000 database) and i'm trying to get two simple things. I have two sql queries that i run in order to display a result and to update another one. The queries that i run in sql query analizer are: 1. select memb_guid from MEMB_INFO … | |
Hi there, My computer has been working fine until this morning when it froze shortly after logging into Windows (mouse/keyboard unresponsive and frozen display etc). I switched the computer off and on again, and from this point my monitor has been displaying a 'no signal' message when the machine is … | |
I am trying to display the sNames vector. I am not sure if I am storing the information correctly. Any help would be greatly appreciated. Also I am trying to get an average for each students exam grades and a class average, and I am not sure how to go … | |
I am new to AJAX and want to create something with three dropdown boxes. When a user selects the first one, the second dropdown populates with the corresponding fields, and when they select something from the second dropdown, the third populates. After selecting an option from the third dropdown I … | |
Hi all, I am in the process of redoing my website and I have done pretty much all the html and css for it ([url]http://antobbo.webspace.virginmedia.com/photogallery/test/home.htm[/url]), so now I would like to add some javascript/jquery. This is essentially what I would like to achieve. On this page [url]http://antobbo.webspace.virginmedia.com/photogallery/test/gloom.htm[/url] I have a … | |
Hello, i have some problem with this issue. i have to do display results randomly using mysql. but results don't repeat until one cycle completed. i mean there are 6 results is there.... example first displyed randomly like 2 and 6, next 3 , 4 next 1,5 (one cycle completed) … | |
let me preface this by explaining the reason i'm writing this code.. i've been writing an x86 PC emulator in FreeBASIC, and this program is designed to test it's handling of video mode 13h, including palette manipulation. i thought in addition to being fun (at least for a nerd like … | |
My car has a Kenwood KVT-747DVD 7 whose screen can’t display pictures, do I have to replace a new DVD unite ? | |
I have a `richTextBoxLog` which is public and static. After I declare it, I start a new thread which initializes new variable named `proba`. `richTextBoxLog` should get the value from `proba`. The problem is, `proba` needs time to be initialized, and I want `richTextBoxLog` to initialize while `proba` is initializing. … | |
Hi, I am having a problem with my Toshiba X205-SLI3. Ive had it for about 1 1/2 years so far and upgraded the ram to 4g DDR2 667, 2x Scorpio black 320g 7200rpm HD's and thats it. I have researched the web for countless of hours and even sent it … | |
Not sure what the problem is...I turned on my computer & it sounded like it was starting up normally (no beeps; prior to Windows startup). The monitor however only displayed the error message "vga--no input signal". I turned off everything, made sure there were no disconnected wires, & unplugged the … | |
hey all, Am trying to display the div tag and its content by clicking it. the code below displays the whole source code when cliked on the div with id = softros. I want to make this script to display the div in view source format of the browser when … | |
hey all, Am trying to display the div tag and its content by clicking it. the code below displays the whole source code when cliked on the div with id = softros. I want to make this script to display the div in view source format of the browser when … | |
Hi, I have a search textbox in my form. I also have, textboxes for computer name, mouse serial number, monitor serial number and phone number. While in my database, they are all reside in one table named tblComputerAsset. I am using Access for my Database. What I want to do … | |
I am having problems figuring out how to get the results from the strings and then give myself the option to sort through them alphabetically (or numerically). I have the code to the point where it shows the input data but don't know where to go from there. I'm fairly … | |
[COLOR="blue"] Hi, I have been given a Dell Inspiron Mini 10 to fix by a friend, but it is stumping me currently. Friend put new screen because previous one was cracked. He couldn't get it to work, though claims to get it to display like old DOS machines, but I … | |
I want to display the URL of a page using PHP. Basically do this: <script language="javascript"> document.writeln(document.location); </script> with PHP | |
Has anyone any idea how I stop chrome from displaying perfectly valid links with a line through them. It looks as if they are broken, but if you click on them, they are fine. I've tried specifying [CODE]text-decoration: none[/CODE], but it still happens. I don't even use this attribute (line-through) … | |
Hello Friends! Want to Post something i know might be very weird but this is how it goes. In Java we use [CODE]RS.getString("FirstName");[/CODE] to get the value of the column FirstName from the database. If the valueis not detected then it shows null in the Text Box. [CODE]RS.getInt("StudentID");[/CODE] to get … | |
So Im writing this basic payroll tax program as an assignment , I have everything good this time except for one thing, with the multiple identifiers I have assigned to the data types when I go to write them to the output how do I tell the compiler to write … | |
Hi All, I was having trouble with getting my program to display all the necessary conversions. Here is a snippet of the code to help explain what I want to do: [CODE] private class CalcListener implements ActionListener{ public void actionPerformed(ActionEvent e){ String centInput, inchInput, meterInput, yardInput; double cent, inch, meter, … | |
I have 2 table [EMPLOYEE] Emp_ID Emp_Name [ATTENDANCE] Emp_ID Emp_Name Time_In Time_Out How do I display it like this. I hope I present this right [CODE] +--------++----------++---------++---------+ | Emp_ID || Emp_Name || Time_In ||Time_Out | <---- FROM ATTENDANCE +--------++----------++---------++---------+ | 1 || Josh || || | <---- FROM EMPLOYEE +--------++----------++---------++---------+ … | |
I have a doubt regarding [B]stack[/B] in c functions... Here is a program which shows an example... [CODE] #include<stdio.h> int display(); main() { int m=display(); printf("m is : %d\n",m); } int display() { printf("1234\n"); return; } [/CODE] outputs: 1234 m is : 5 [CODE] #include<stdio.h> int display(); main() { int … | |
Okay, I'm sorry if this question has already been answered before. I looked and only found one question similar to this one but it was never answered. After I turn on my computer/monitor or "wake" the screen from the power saving mode, my monitor will go blank and the orange … | |
Well, i bought a new set of computer nvidia geforce9500 1000mb 2gig of RAM 500gb hdd emaxx motherboard. i cloned it from the other computer with same specs (all is the same except the casing which doesn't matter). now my problem is, when i tried playing games in this new … | |
hi i have a question relating to a date time picker, i have a form that i have the employee name and all the emaloyee details such as the employee DOB. whena user selects a user from the combo box the details from the database is being taken and displayed … | |
I have a question similar to this, [url]http://stackoverflow.com/questions/457050/how-to-display-text-in-system-tray-icon-with-win32-api[/url] I tried his solution but it's not working for me. I get a small 4x16 white image as the system icon instead of text and I can't understand why. I'm not using MFC/.NET just win32 api. [CODE] void UpdateIcon(HWND hWnd){ NOTIFYICONDATA nid; … | |
.innerHTML is used when you trigger an event but if you just want to display the text how would you go about do it?? I don't want to used document.writeln because it will "[B]Wipe out all the contents[/B]" of that page. So I have some HTML text and javascript text. … | |
Hi Please help me to resolve the issue my icons and screen are weird too see. plz find image [IMG]http://i51.tinypic.com/10r1m4j.jpg[/IMG] | |
[B]Sending email through PHP[/B] [B]Intro[/B] Thousands of websites use contact forms to communicate with their users. You will have almost certainly seen one if not used one to contact someone. The contact form will take the users information that he or she has filled in then send the data over … | |
Has cut out a couple of times and left distorted images. Not at all sure what to do about it. Would welcome any help. Want to take action before it goes altogether. | |
Hello Everyone! A new thread i have started and this is how the problem goes... I want to display record of a user something like profile details based on the user who has logged in to member's page! So when the user has logged in and clicks on the view … | |
How can I output the resulting echo from my php to the main html? heres my code: what I want is when the I submit , the resulting echo will be posted in the <p id="alert" name="alert"></p> of the main html HTML: [code] <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>REGISTER</title> <link rel="stylesheet" type="text/css" … | |
I created a from which includes a textarea, this data will be saved to mysql, when I retrieve it, I want to only display the first two lines of this textarea data(ignore the rest), and only limit to text format(not html), how can I do that? If I continue to … | |
I'm trying to make a function to insert a few integers into a sorted vector and display the integers in decreasing order. Actually is from my college tutorial question. Not that i don't want to ask my lecturer but i'm trying to learn myself how to solve the problem and … | |
Hi all, I'm doing a software. In this i want to develop my report engine in c++ using linux platform. Now my report engine should connect with my browser (Display engine). How i connect C++ with browser?? Example : in my report engine there 'll be class like below. Class … | |
I need the pinout of the HD15 connector on a Samsung SyncMaster 551v, Model Code: AQ15VSPN/XAX, 100-240V a.c. ~60/50Hz Max. 80W 1.2A, Chassis Code: PNL, Type No.: PN15VS, Color Display Unit, Mfg: April 2002, Assembled in Tijuana, Mexico. Your help will be highly appreciated, I found a pinout but it … |
The End.