1,537 Topics
![]() | |
I am trying to store a single random number from 0 to 99 to a variable. This is what I used in my code to do that: [code]time_t t; time(&t); srand((unsigned int)t); int rTSB(rand() % 100);[/code] I am trying to make a single random picture show up when you start … | |
I have Windows Defender installed, and whenever I open the My Videos folder, which contains tons of movies, Windows Defender warns me that malicious code is being run, and it has to close explorer.exe. While I can sorta play some of the movies (by having the expand folder option for … ![]() | |
How to restrict the size of image thats to be uploaded . I am creating a small social network and have space constraints . So , i dont want to restrict the image size to be confined to certain limit. | |
Hey, im in need of a little help... im trying to have my .exe show an image with sdl, wait 2500 milliseconds, close the image and then return to the black console screen with my cout statments and whatnot appearing. But instead when i exit sdl, the whole program exits. … | |
Hello .. :) Im on ma way completing my C# project,, but i have a small issue .. let me tell you what it is /// since its complicated to send the whole image to a db i only the send the image name to the database ( table ) … | |
Well i want to make my prog more pro so is boardless and it has custom buttons like close - minimize and option btn i made that option btn so it appears another form boardless with options but you can see completely the first form. i want like when i … | |
hi all i'm trying to draw an oval/ellipse over an existing square the problem is that the oval is drawn behind the rectangle how do i fix this? here is my form's code [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; … | |
hi all, i am trying to create a thubnail image and want to insert in a folder and path into database.. i uploaded image into folder but not able to create thumbnail from it [CODE]string s = @"~\uploads\" + FileUpload1.FileName; FileUpload1.PostedFile.SaveAs(Server.MapPath(s)); SqlConnection cn = new SqlConnection("Server=praveen;Integrated Security=True;User Id=sa;Password=sa;Initial Catalog=banking"); string … | |
I've got a little app to resize and watermark images. At the moment it only does one at a time but I would like to get it to do a full folder of images in one go. I have done this previously in VB using loops but im new to … | |
Hello! I have more or less zero knowledge about coding in PHP. The most I've done is includes, to help me maintaining my sites more efficiently. I hope I will not offend anyone with this question. Anyhow, towards my issue. I have one table containing several fields, with information such … | |
Hi, I'm trying to find a way for the user to draw an image on the screen, and then return a formal version of the image. This is a tool to enable practise writing symbols from an ancient language. What I mean by a formal version is the properly drawn … | |
Hi I have made a javascript image viewer where there are thumbnails at the top and when you click on them the bigger image below the row of thumbnail image changes according My question is, how do i make the larger image become a hyperlink to the corresponding page it … | |
For my program I am working with simple graphics and need to display a straight row of squares from left to right decreasing in size. I also have to program this recursively so that it makes the squares following the first one by itself. My problem right now is that … | |
I am trying to make a row of decreasing squares with a recursive method, but none of the squares comes up besides the first one. Any ideas where my code is going wrong? [CODE] import java.awt.*; import java.awt.event.*; import java.util.Random; public class Lab19ast { public static void main(String args[]) { … | |
I've tried all manner of methods for accomplishing this and nothing has worked so far. The latest attempt follows. The objective is to call a function that tests for the existence of an image file. If the file exists then that image file is to be displayed. Otherwise, an alternative … | |
I need to load a single jpg image to a windows form at run time. file name / path is a given. Any insight on how to do this? | |
Hi guys, I'm trying to UPDATE the image that has been already in the database with another image using a form in PHP. I got the uploading working all fine already. Just the edit part. With this code, I get no error, but the MySQL table is not written with … | |
Hi there, I am building a blog at the moment i have a amazing script that search a post for the images in it. So i can just setup a post template, call the images that are in the post and go. In this way i put the images unedited … | |
we r making an image viewer for our mini project....n we hav tried doing it on our own ..but we are able to show only 1 image ...how to show many images using say 10 images in database?? we want functionalities like easy preview of next / previous image from … | |
I have no idea how to move a bitmap with the arrow keys. Here is my code [CODE] #include <windows.h> #include <tchar.h> #include <stdlib.h> #include <string.h> #include "Menu.h" #include "Icon.h" LPCTSTR ClsName = L"App"; // Class name LPCTSTR WndName = L"WindowsAPI"; // Window title HWND hwnd; // Handle to our … | |
I am trying to read and write a text file into an array and then store it back into the text file. The main problem i am having is the storing the file character by character into the 3D array. Here is my code: [code] #include <iostream> #include <fstream> using … | |
I want to download Image file from web using c++ and save it in specified folder. How to do it?... please help me. | |
Hi guys I would like some help with creation of Java ME class I have only been capable of coming up with the peudo-code Can someone please assist? Thanks CLASS ImageGetter Method 1: CREATE a connection to a remote server to request the image Method 2: RECIEVE the image and … | |
Okay. I have been seriously struggling with this lately. I've searched and searched forever. The closest I found was this thread here: [url]http://72.5.124.102/thread.jspa?messageID=1662301[/url] What I am trying to acheive: I want to give my interface grayscale images for icons(png), and have a filter class that can color the grayscale images … | |
[B]1.[/B] I want to put javascript in webpage that shows gif image on moving cursor anywhere on the page and [B]2.[/B]I want to get the value of one textbox and put this value to another textbox. | |
Hi I have decided to use CSS for layouts. Previously I would have used tables. My problem is that I want to place images to the left and related text on the right of the images. I have used new blank paragraphs to "fill" the space between the end of … | |
Hi guys, I am looking for a way to change an image when a link is hovered over. I should make it clear that it is not the list/link image i want to change but an image along side in order to "illustrate" the content. Can anybody suggest a starting … | |
Nvidia yesterday began shipping the [url=http://www.nvidia.com/object/product_geforce_gtx_480_us.html]GeForce GTX 480[/url], with double the number of processor cores previously available at 512. The card is intended to to permit smooth playback and editing of 2D or 3D content, including animation, games and videos. The GTX 480 supports Microsoft DirectX 11, Direct3D and [url=http://en.wikipedia.org/wiki/Physx]PhysX[/url], … | |
Hi, I need to develop a functionality similar with the iTunes one, when you right-click a song -> Get Artwork, the jpg/png is "embeded" into the mp3 file. I have no ideea how this could be done, do you have any hints ? Thanks. | |
Now that's cool. Nintendo has confirmed via a [URL="http://www.nintendo.co.jp/ir/pdf/2010/100323e.pdf"]press release[/URL] that it is set to release a brand new DS portable video game console, complete with 3D capability but without the need to look like a total dork and wear those silly glasses. Unfortunately though the Nintendo 3DS, how did … | |
hi, I am new to c# and I am working on an application which has a main menu with an open dialog which enables users to select picture files, when the user has selected the picture file I then want this to be displayed in a new form called picture_viewer. … | |
I'm stuck on this part of my program, im using graphics.py to implement a linear regression line. I think I'm making a stupid error but cant wrap my head around it. The BIG part I'm stuck on is that im supposed to make a "button" in the lower left corner … | |
I'm making an archery game and I need to shoot 5 arrows and assign a point value to each spot of the target. Bulls eye is worth 9 and each ring out from there is worth 2 less. I am having trouble figuring out how to assign a score to … | |
Hi. I have a printscreen and I want to find a way to make a program that can analyse that printscreen in order to identify two poker cards in a specific location. So I probably need an image analysing library. By the way I'm new in this forum, is there … | |
![]() | I have a number of images where there is a small rectangle on a large white background; is there a way to automatically find the non-white content and crop that out to a new image? java or other language code, commercial software, or free software would be great. If I … |
On March 10th Panasonic teamed up with Best Buy, DIRECTV and Twentieth Century Fox Home Entertainment to offer consumers a "Full HD 3D" home theater system. The set includes a 50-inch class (49.9” measured diagonally) [attach=right]14052[/attach] Panasonic VIERA VT20 Plasma 3D HDTV and a Panasonic BDT300 3D Blu-ray Disc Player … | |
Hello. I am new to c sharp . I want to know how to store image in access database. And retrieve back to picturebox . Which data type is used to store image..? Plz help..... | |
To start off, I am absolutely sure this question has been answered before, but I've searched for it all over the internet to no avail, probably because I don't know the term. I've been working with Eclipse C++ IDE on my Ubuntu machine for awhile, and all of my programs … | |
im trying to get an image scroller to work that i found in a code library. its working fine in firefox but not in inet explorer this is the link to the scoller... http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm i am just interested in the image part. ive deleted the script for the text part … | |
I'm trying to find some VM software that can access more than 256mb of the video card. Parallels tops out at 256mb. It won't let you access more than that. The machine I intend to run this on will be an 8core mac pro workstation desktop with 8gigs of RAM … | |
I have a working form passing the information to me via email but need to add one more item to the form which I'm not sure how to do or that it is possible with PHP. I have an image which needs to have sections change color on mouseover, mouse … | |
I have an exam tomorrow and this is a practice program, I am very lost could some body help me please Moving Hero The hero in this scenario should move "forward" whenever act is called. Note that Hero is a subclass of Actor, so there is no move method defined, … | |
I have this line added to my .htaccess which is suppose to make all .png files cacheable until end of the month. [CODE] <FilesMatch "\.(ico|flv|jpe?g|png|gif|js|css|swf)$"> ExpiresActive On ExpiresDefault "access plus 1 month" </FilesMatch> [/CODE] But when I run Google PageSpeed it still says that those images are not cacheable. What … | |
Hello guys. I am building a new i-5 system for my friend but as i have never before build an i-based system before and dont really understand the Intel® HD Graphics 3 that i-5 and i-3 has i am confused and need some help here. The machine i am building … | |
Friends, pleas tell me a simple method to upload and then view the upload image using php and mysql. The image can be stored in a separate folder or in database itself. But anyhow tell me the simplest way to do this. It'll be very good if u post the … | |
I would like to understand how to retrieve an Image stored in a mySQL database as a longblob. Once retrieved, assign that image asp.net image control. Heres the code that uploads the pic to the MYSQL database [CODE] If (Not myups.HasFile) Then Return -1 End If 'FileName.PostedFile.InputStream() Try Dim fs … | |
Hi My question relates to Python GTK I have an image -a JPG - which I draw onto a drawing area. I want to reveal a portion of the image -say a 10pix by 10 px square -only where the mouse pointer is currently at. Everything 10 x 10 px … | |
I am working on my first build and I am getting no display when powered up. I have checked all connections, there is no power connector on the GPU, onboard graphics are not present on this board, and the cooling fan on the GPU works when I try to power … | |
I am trying to render a very simple scene by loading various parameters from a file (MLC.txt) When compiling I receive the following error main.cpp: In function ‘void renderScene()’: main.cpp:77: error: ‘pBeam’ was not declared in this scope H | |
HI! I am working with an image tagger system.. Im done reading the file's properties.. then when i go to code for keywords.. an error exist saying that Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed due to the following error: 80040154. I Already added the DSO … |
The End.