1,537 Topics
![]() | |
[CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * MainMenu.java * * Created on Feb 22, 2012, 7:28:37 PM */ package f1carracing; import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JOptionPane; /** * * @author … | |
Greetings! I have a website [url]www.lanceronlinejobs.com/our_franchises.php[/url] I have a franchise images. I want to display each franchise record from database whenever a user click on franchise link. Here is my code. ourfranchises.php code: [CODE]<?php include('fconnection.php'); $sql = mysql_query("SELECT * FROM tbl_franchise ORDER BY id DESC") or die(mysql_error()); $row3 = mysql_fetch_array($sql); … | |
In this code to upload multiple images to a different folder each time, it creates a new folder and moves files to it, but the validation part is not working ! if i remove the validation part the files are uploaded correctly!! I have mentioned using comments that in which … | |
Hi Guys well what I am trying to do is set a background image for my program where my labels, buttons , and text areas sit in front of the background. Everything I try I try I cannot get it to work. My jframe layout is below so any help … | |
Hi, i have the following code in Java as you can see there are a lot of code repetition. I want to know how i can loop this part of code instead of writing it each time? [CODE] g.setColor( Color.black ); g.fillArc( 110, 80, 300, 300, 0, valint[0] ); g.drawString("BMW", … | |
Hi, I have a problem with jquery callback. The callback is executed before the fadeIn animation is completed. What im trying to do is, I want to replace an existing image with a new image and resize the new image to a specific size. [CODE] var filepath = "images/test.jpg"; $('#imagewrap').css('background-image', … | |
I currently have this code: [CODE]import java.util.Random; import java.io.*; public class randomdwarf { public static void main(String[]args)throws IOException { String dwarves[]= {"Dopey", "Sneezy", "Happy", "Sleepy", "Grumpy", "Bashful", "Doc"}; Random generator = new Random(); int randomIndex = generator.nextInt( 7 ); System.out.println(dwarves[randomIndex]); Runtime.getRuntime().exec("H:\\Profile\\Desktop\\dwarves\\Doc.jpeg"); } }[/CODE] It is a very simple code that … | |
I recently installed windows 7 on an windows XP Intel Centrino. Ever since then I can't play my games like grand chase due to the fact that I now have a standard VGA graphic driver. Also when I go to DXDIAG I found that my computer is a Intel(R) Pentium(R) … | |
Hey there guys, this is my first post here. Really pretty website I must say. I guess you'd expect a programming website to be well built. Haha. But anyways, I've been having some problems recently with a JFrame. I'm a beginner, but I usually do pretty well with resolving errors. … | |
Many people are searching for this code, and not all codes are working for them :) So, this is a bit easyer, ussualy a .js and/or .css file are required, but this one is simple! [B]STEP 1[/B] Paste this into your page header: [CODE]<script type="text/javascript"><!-- function setFirstChildImgDisplay(el,vis) { if(!el || … | |
i've already searched but i got more confused when new codes appears in my sight again (cuz im just a newbie) So, what I want to is, when the user successfully uploads the image(upload.php), it will be viewed before continuing into the next step (view.php). [B]index.php[/B] [CODE=php] <html> <body bgcolor="black" … | |
Hi :) Can anyone help me? I want to display image in my GUI using tkinter (python 3.2.2) Do i need to download this python image library ==> PIL-1.1.7.win32-py3.2 or actually it was already in tkinter? How about the code? Thanks for the help. | |
Does anyone know how to update multiple images? | |
Hi! I'm having a bad time on learning how to store and retrieve image files on MS Access. This is some sort of uploading profile picture thing in my software. The open file dialog stuff and the storing of image file in the MS Access Database are taken care of … | |
Hello Mac users, I'm trying to hook up my husbands dell printer with my mac. We have two printers in our office and it's crowded. I wanted to get rid of my hp printer, the two printers are about the same. I can't figure out this printer driver thing. I … | |
I have to save 4 different pictures in my database. NSO, GoodMoral, ReportCard & TOR. Here is my code. [CODE] Sub savepic() Dim str As String = "My connection" Dim con As New SqlClient.SqlConnection con.ConnectionString = str Dim ms As New IO.MemoryStream() nsopic.Image.Save(ms, nsopic.Image.RawFormat) goodmoralpic.Image.Save(ms, goodmoralpic.Image.RawFormat) repcardpic.Image.Save(ms, repcardpic.Image.RawFormat) torpic.Image.Save(ms, torpic.Image.RawFormat) … | |
Hi, it's me again. I got a little problem with displaying thumbnail images. I have a repeater which is containing thumbnail images. Each image will zoom-in to a defined bigger size if we click on the thumbnail. [CODE] <div class="thumb"> <a href="images/<%=request.querystring("div") %>/<%=request.querystring("veh") %>COST<%=reportdate.Value.ToString.Replace("/","")%><%# Eval("page") %><%# Eval("image_link") %>" onclick="return hs.htmlExpand(this, … | |
i using this code for making a page but the images are not showne in web browser win i deploy the script please help..... [CODE] def get(self): self.response.out.write(""" <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>my page</title> <link href="stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <h1>my page</h1> """) f_path=os.path.join (os.path.dirname (__file__),'\image') … | |
Hey everyone, I am new to the site and to programming so please be gentle. I am working on a simple project where I use pre-created classes that define shapes and call the methods within them to create a picture on a canvas. I have most of this down, but … | |
Hi All, I have an image upload that works for my requirements - But what I am unable to figure out is how to rename the image to the datatime stamp and to keep the file extension .jpg / .png / .gif / .jpeg etc I have a variable $datetime … ![]() | |
Hi all , I am trying to develope an autocad like application in C++ using code::block 10.05 and directx but code::block 10.05 is not supporting graphics . Any one can suggest ? Thanks in advance | |
How can I get an image to have it's own hyperlink that is inside of a clickable div? [CODE]<div id="clickable" onclick="window.open('http://www.daniweb.com');return false;"> <p>I love clickable images!</p> <a href="http://www.google.com"><img src="someimage.png" /></a> <p>too bad they don't click in a clickable div</p> </div>[/CODE] If I try the above then the DIV is always … | |
Hi, Am trying to get away from flash + new to jquery. I know there is an obvious problem in the Css or js but the more I change things around the worse it gets. I want the gallery up next to the right of the nav column. Sick of … | |
i have a given picture and have to create a picture that is twice as wide as the given picture. For each pixel (x, y) in the original picture, the pixels (2 * x, y) and (2 * x + 1, y) in the new picture should be set to … | |
GoZ acts as a bridge between artists's creations made on Sculptris and the progs (such as Zdraw and 123D) that drive the 3D printer that makes them But despite dozens of websites boasting success, not one says how to ger GoZ Many thanks | |
Hi Friends, I am having a pdf which has to be watermarked.But the code below I use is writing contents of my PDF into another PDf which is being watermarked.Please suggest any ideas which helps me watermark the same pdf without creating a new one. Please find the code below. … | |
i need help in adding image in my current payroll project i need a more simple way or easier to understand codes in adding image in my database tnx in advance | |
Hello everybody, I need your help choosing between these 2 PCs : --------HP G6-1250/1/2/3 Intel Core i5-2430M 6GB Ram 640GB HDD DVDRW 15.6" LED LAN, WIFI VGA:HD6470M 1GB Bluetooth/Cam/Windows 7 Premium 64-bit --------HP G7-1350 Intel Core i5-2450M 6GB Ram 750GB HDD DVDRW 17.3" LED LAN, WIFI VGA:HD7450M 1GB Bluetooth/Cam/ Windows … | |
How will Microsoft differentiate Windows 8 in an already crowded Windows OS user space? How about, for one, with the use of a photographic gesture security system for logging in? The idea of using a photo to identify and authenticate the user is not without some pretty obvious problems (ambient … | |
Hey everyone, I've made a game with SDL and I'm now trying to distribute it. I've included all of the required .DLLs and such but now I get this error whenever I try to run the .exe: The application or DLL E:\GAME\DEBUG\MSVCR100.dll is not a valid Windows image. please check … | |
Hello,everyone!I am trying to sync my photos to my iphone. In itunes, I am able to check the box to sync, then check to sync a particular folder. After that I have tried clicking on Apply AND File>Sync iphone and then the photo box will gray out and the photos … | |
Hello everyone on daniweb!:) I'm trying to make a programme which will move a picture to the sides when pressing the right or left arrowkeys. I did successfully put a picture in and I was able to change the side coordinates(called "side" in the programme) to make the picture move. … | |
How to creat the photo gallery like these websites? [url]http://www.citibank.com.hk/[/url] [url]http://www.gigonzone.com/productinfo.do?method=viewTopProduct&subproductid=2757[/url] And one more question. How to creat the countdown clock? [url]http://www.gigonzone.com/productinfo.do?method=viewTopProduct&subproductid=2757[/url] Thank you very much! | |
Hi, This is my very first post in DeniWeb and I would like to start threading with the problem I have been facing from long. I am working on a blog community site where I want to show screenshots of user's blog in their profile page. For this purpose I … | |
I am developing a dynamic page in that some text and images should be displayed together...! But before that i had tried to get nevigation page for whole application. In that i am getting same problem, Image is not displayed...! What i should write in src=" ????? " I have … | |
I have a mysql table that has id, name, type, size, content, and link. I have pages download.php and showimage.php. I want the link to affect the image so when the user clicks it sends them their. I only created showimage.php cause I had ran out of options on how … | |
What I want is a pic to show on full background. But the image is not displaying. The code I have ( the relevant parts ): [CODE] <div id="bg"><img src="welcome.psd" width="100%" height="100%" alt="" /></div> [/CODE] And the CSS: [CODE] #bg { position:fixed; top:0; left:0; width:100%; height:100%; } [/CODE] I have … | |
hi. i'm trying to make a program that will connect two points that i click in my JPanel. i'm trying to connect the two points with a line. i displayed the values of my (x1, y1) and (x2,y2) coordinates whenever i click using the mouse and there is no error … | |
"Draw a grid of 20 streets horizontally and 20 streets vertically. Represent the simulated drunkard by a dot, placed in the middle of the grid to start. For 100 times, have the simulated drunkard randomly pick a direction, move one block in the chosen direction, and draw the dot. Use … | |
The app I'm currently working on is suppose to overlay a square image. The square image should overlay on preview camera screen wherever the user touches the screen. And it should also appear on the image captured by the user. I'm having hard time figuring this out. Guidance would be … | |
Hello I'm looking to allow users upload pictures onto my site and have it displayed and linked to their site.. This process is for Ad purposes. Ive looked into php mysql uploading images but ive ran into a lot of threads condemning the practice and suggesting saving the images to … ![]() | |
Hi there, I'm having a little bit of trouble modify my colleagues old website (a new one is being made currently, but I'm tasked with fixing some issues with the current one). Look at the blue buttons saying Previous and Next on the bottom of this page: [url]http://www.electrix.co.uk/view_products.php?offset=10&id=86[/url] In IE7 … ![]() | |
hi,guys, i am facing on hiding the image source problem, may i know how to prevent user by using right click on image and check on the path image source location?thks for any info ya.cheers | |
Hi all, So here is my situation: 2 classes 1st class is a windows form created in VS2008. It has a picture box on it which i want to update with images. 2nd class is a custom class called 'camera' which uses the AForge.Net framework to grab images from my … | |
My objective is actually [B]extremely[/B] simple, but I just don't know how to do it. I want to put some swing components on top of graphics which fills the entire screen. That's it. And I can't figure out how to do it... Some other side-questions that I would love to … | |
is there a way to resize an image after you have uploaded it using php? suppose i want to restrict the width and height of my images to 1000 and 800 respectively what code to i add to the following code snippet? [CODE] $tmp_file = $_FILES['file_upload']['tmp_name']; $target_file = basename( $_FILES['file_upload']['name'] … | |
Hey guys, Can you all help and teach me how to retrieve image file which is stored on database?.. I had an image stored on database in the column i called 'profpic'. By the way, I am needing this information for profile picture on a users page. I've started testing … | |
I have a problem with an image I want to be clickable. I have writing to the far left of this - with a bottom border (width 800px) so it has a line throughout most of the website. I also want this clickable button to be above the border on … | |
i'm newbie in php. need more help to finish my project..i have 3 page: 1st page : status button(i'm using image button for each status and have 5 status button) code for image button: [CODE] <a href="negeri-semak.php" ><INPUT TYPE="image" value="" src="pictures/icon/image005.gif" width="230" height="37" border="0" id="RAKAN MUDA" onclick="javascript:this.form.submit()" name="BTN" alt="RAKAN MUDA"></a> … | |
Hi to All, Actually i am working on social network cum portfolio site, in which one can able to display his/her artwork to the all users. For e.g : Deviantart.com, Shadowness.com, etc. Now i have login system for users as well as profile page for each individual users. But now … |
The End.