199,114 Archived Topics
Remove Filter ![]() | |
Hello, I have been programming for a little while, but I wouldn't consider myself very novice yet. Yesterday I started a project but ran into difficulties with getting the position of the object (apply_surface(0,0,Ss,screen,&clip[0]); to change based on the key input because they are in different headers and stuff, so … | |
Is there anyway, through java, to tell whether a tv connected to your computer is turned on or off? Or if its not build into java is there any way to even do this in windows? Because nothing change in windows or my raedeon driver when i turn my tv … | |
**Dudearoo** *useing Code::Blocks* Hey you guys! I've got an problem, i want to print the current time, simple as that. heres my Code. #include <iostream> #include <stdio.h> #include <time.h> using namespace std; int main() { time_t rawtime; struct tm * timeinfo; char space[50]; time (&rawtime); timeinfo = localtime(&rawtime); strftime(space,80,"Current Time:%h%m%p",timeinfo); … | |
Hey c++ maniacs out there ^_^ I need your help to edit this code. In such a way that this program can generate all prime numbers from 10000-50000. BUT it will still ask the user what limit he wants but the limit should be between the said default limit ( … | |
How do you edit from php like I have a form and from another php file I can edit that form but just like click it and type something like name : (then login text box) and save it. I want that for register and login . ![]() | |
Hi I want to resize all my photos but there are so many subfolders too and every subfolder contents JPG files. Now, I want to resize all my main and sub folder's JPG files with HIGEST CLEARITY. I know that there is "convert" command but it only do inside one … | |
Hello kindly help me to solve my problem to check item listview to avoid duplicate item in database. I have 1 listview, my plan the listview checking each item from database before insert to database. and item in listview obtained from opendialog excel this is my code : when items … | |
Hello guys, I need to develop my own peap protocol. I've found some source code to inspect, but i dont know how to compile it. In Linux? In Visual Studio C? Please help me. I'm getting so pressed :s Here is the source codes : client : http://www.codeforge.com/article/116327 server : … | |
Hello Forum Members, I am fairly new to programming in general and am just learning VBA for Excel and Access. I currently have a work project that involves producing a SQL query from our internal database system based on VBA procedures in an Excel template. Most of the code was … | |
hi! im currently creating a payroll system for my project and part of it is a time calculator. but my problem sir is that i don't know how to deduct lates on there daily hour .. its goes this way sir, it has a textbox that has their schedule that … | |
System date & time is in SimpleDate format. How can i convert this into integer? **"sdf.format(new Date(System.currentTimeMillis()))"...**.......... I want to convert current time** into integer** data type. *Plz plz plz help me.* Any help for this is alwayz welcome. | |
Hi guys, I've made a class with a lot of functions, and for the 99% of the time i need the __construct functi. How can i call the class without the __construct ? class Test { public function __construct() { echo "bla"; } } $test = new Test(); What I … | |
Hey, Im stuck trying to figure out how to insert one byte between two other bytes that have already been created in an output stream: OutputStream out = new FileOutputStream("MyFile"); try { out.write((byte) 70); /*Byte should be inserted between these elements*/ out.write((byte) 40); /* but must be performed at end … | |
Hi everyone, i am building book store, i am thinking about to create a single page who fetch a record from MYSQL on the basis of Book_ID instead of create each product detail page. when some click on detail button it passes book_id to another page where i write a … | |
Hi, I would know how can I validate the following php form fields Need for my student project. Please help me Fields requied are **Mobile Number**: `(10 digits number field)` **Gender **:` (Radio button or drop down box)` **Email **: `(valid email field)` **Date of Birth:**`( YYYY/MM/DD)` Please help me..Urgent.. … | |
Hi guys.. I have some problem with Richtextbox. I have a Richtextbox in Form class. How can I add any text into the textbox from other classes for instance from Client class? Hope you can help me. Thanks | |
Hi, I have a requirement where I have to identify duplicates from a file based on the first 6 chars (It is fixed width file of 12 chars length) and whenever a duplicate row is found, its original and duplicate row's last 2 chars should be updated to all 0's … | |
Hi, I am trying to make my search results table sortable. The content is obviously dynamic, so how would I do this? *Tablesorter.js does not work…* I am using CodeIgniter... Any help would be fantastic! Thanks | |
**Wow I'm an idiot, I just saw the problem, how did I not see that for so long. How do I delete threads?** Hello everyone! I have a problem that confuses the hell out of me, when I try to compile my class file I get the "illegal start of … | |
Hi, i need help on updating data in mysql using JDBC since im using java.i want to send data from arraylist and it seems and error when i run it.below is my code for update. [CODE] private void update(ArrayList<String> list, int uid) { try { Connection con=null; Class.forName ("com.mysql.jdbc.Driver").newInstance (); … | |
Hi guys I've been trying to connect my c# file to my database file(in .mdf format created in SQL Server Management Studio 2008). So basically I used visual studio 2008 for my C# file and SQL Server Management Studio 2008 for my database file. Now I'm sure that the naming … | |
Hi all, Need help from all of you... I am still a newbie, and wanna ask code to display mysql data based on username login. I try many time to change on this code : $result=mysql_query('SELECT tb_hitung.Keterangan, tb_hitung.Debit, tb_hitung.Kredit FROM tb_hitung INNER JOIN tb_bulan ON tb_hitung.id_bulan=tb_bulan.id_bulan ORDER BY tb_hitung.id_hitung'); but … | |
i need help creating enemy. i want enemy to move closer to player and enemy can only move left or right; here is my enemy class public class Enemy extends BasicGameState { Animation enemy; Animation e_movingRIGHT; Animation e_movingLEFT; int[] duration = {200, 200}; //how fast animation change double speed = … | |
hi, i m doing a project in asp.net using visual studio 2005, the topic is Hospital manage ment. I couldn't understand how i will start this project i m getting confused!!!! plzzz help me how i will make this website!!!! | |
I have a TreeeMap that i need to wite to file. I tried this: try { File file = new File("reboot_customer_details"); FileOutputStream f = new FileOutputStream(file); ObjectOutputStream s = new ObjectOutputStream(f); s.writeObject(customerDetails);//customerDetails is the map i need to save s.close(); } catch(Exception ex) { gui.results.setText("Error: " + ex); } When … | |
Hi, I have these two - almost identical http posts, one works, other doesn't. POST /debug/kktest.ashx HTTP/1.1 Content-Type: multipart/form-data; boundary=---------------------------8cf186fa8ac7b31 Host: 172.16.0.9:7777 Content-Length: 68004 Expect: 100-continue Connection: Keep-Alive -----------------------------8cf186fa8ac7b31 Content-Disposition: form-data; name="identu" 2 -----------------------------8cf186fa8ac7b31 Content-Disposition: form-data; name="bookingno" aaaaa -----------------------------8cf186fa8ac7b31 Content-Disposition: form-data; name="tag" -----------------------------8cf186fa8ac7b31 Content-Disposition: form-data; name="file"; filename="aaa" Content-Type: x-application/pdf binary … | |
Hi, can anyone tell me how to make the text a user types into a JTextfield appear in uppercase regardless if caps is on or not? Thanks Glen.. | |
I have the following code Dim adoCN As ADODB.Connection Dim sConnString As String Dim sSQL As String Dim lRow As Long, lCol As Long sConnString = "Provider=sqloledb;Server=MonsterSQ1;Database=AmiCatSQL;User Id=SA;Password=123456" Set adoCN = CreateObject("ADODB.Connection") adoCN.Open sConnString 'Assumes that you have Field1, Field2 and Field3 in columns A, B and C 'For this … | |
HI Could yu please tell me how to get previous values from current iteration in the below example : public void parseDtoCollection(Collection dtos) contains list of dtos in private AssetClassVersion createNewAssetClassVersion(AssetDTO dto) method i am iterating but i want to get to get previous itearation values in current iteration if … | |
HI All my requiurement is: I am getting list, list consists of follwing id assetid name assstatusid seriescode matchedstring 10 1 ab 3 34 match1 11 2 some 3 67 mat 12 3 name 3 678 matchstring 12 3 name 3 678 matchstringone 12 3 name 3 678 matchstri 12 … | |
Simple conversion between string and int. | |
I have no idea where to start with this, a few pointers and a kick in the right direction would be much appreciated. I run a radio station. All our music is in folders representing music styles. From time to time I want to print out a complete library. Printing … | |
So, I just did a fresh install of ubuntu 11.10, and am in the process of reinstalling gsl. For some reason, my old make file seems not to work, and am trying to figure out how to change it. Last time I had a similar problem, people in here were … | |
Below is a sample code using the [URL="http://developer.yahoo.com/yui/slider/"]YUI Slider Control[/URL]. How can I get the photo to zoom in and out proportionally as the slider moves up and down? P.S. I am open to any existing working scripts. I have not been able to find any that does a variable … | |
I am a newbie to php and learning now, can you please help me telling how can I take inputs from users in pHp instead of using forms (i.e., a replacement of scanf() in php. I am solving a question to take number as a input and print that number … | |
Hello, I am trying to make a web site. i have started to play about with the style sheet that is auto generated the make it how i like, My question is how can i put a background image in the .LoginDisplay class? I have tried editing it as follows … | |
Dear Frendz, Can we publish a web application in php like .Net? ![]() | |
Can some one provide me an example to call dll from java? I learning some thing about JNI , also linkage with c++ but doesnt found any cool stuff on c# and java... I want a free solution. Thanx in advance. | |
Hi, The below is my situation, **Input String :** abc 123$ abc 123$ abc123$abcabcabc 123$ From the above string i want to store the starting index of "123$" code and the "123$" string. When i debugged and found, for first iteration(codecount=0) i'm able to store both index and string but … | |
i have binded one textbox at design time to adodc control... and haveing one number field in database... now problem is that, if their is a blank value in database adodc is showing 0 in that field.. can anyone help me, i want to show it as blank if it … | |
I am in a capstone programming class where I have to create my own program. The instructor is not giving us any help and told us it was our responsibility to find our own help in creating this program. What I want to do is have the user click on … | |
i had a problem how can i download music to my project and what is that command and who can give me a sample of a project that is like a media player or mp3 player. thnx to all | |
I have 3 objects in Open Inventor: a lamp, a desk, and a painting. I need to -be able to place them on each other, such as a lamp on a desk, and a painting on a wall, -the objects can't penetrate the walls and floors (which I have a … | |
Hello All, I am devolping one desktop application for myself, in that I am using dataGridview. In that, I have 2 Columns which represent time. I created one custom control which represents hh:mm format. Now my problem is I want to integrate my custom control to those 2 columns. How … | |
can i add two numbers without using arthemetic operators. can any one do it. | |
How can I cast a class to another type? Example: class Point { Point(int X, int Y); }; Point A(10, 10); POINT P = (POINT)A; A = (Point)P; //I've tried: Point::Point(POINT P) : X(P.x), Y(P.y), Color(0) {} //Constructor. Point& Point::operator ()(POINT P) { if (X != P.x && Y != … | |
It's been a while since I've posted anything; I've been really busy. I was just sworn into the Marine Corps, and just finished making my own 5x5x5 LED cube. Now I'm wanting to get a little programatical with what I did in the real world. Basically I'm needing to find … | |
Hello, I would like to retrieve the data from one of my database table. I have read many stuff about it and found out that I need to create a table model which is quite confusing to me. Basically my table consists of customer information. What is the best way … | |
Hi ! I have books.txt and it contain 20 books with author,the books.txt look like so.. Mark Lutz/learning python James payane/Beginning Python Noah gift/Python for Unix and Linux System Administration If user search for book it just print book and author if user search for author print (“you cannot search … |
The End.