199,114 Archived Topics
Remove Filter ![]() | |
im trying to write a cg pixel shader and just want to generate a random number too offset the colour of a pixel is there something i need to include, i tried using rand() but gave me errors thanks in advance | |
i have this form that is php and it has some required fields. that get checked with php . but i know that javascript can be disabled so i want to keep the php code because it does all the error checking but i want to add javascript to look … | |
Hey everybody, I'd like to write a python script which renames a file on my desktop to a number which is 1 less than what it was before. If you're wondering, the number tells me how many days left 'till I finish high school, lol, but I've also got other … | |
Hi I am looking for a random background image script. I have 3 background images that cover the whole browser and I want them to rotate when someone hits the refresh button on the browser. Can anyone help me on this thanks. JimPatrick | |
Respected Sir, i am developed a web based sofware in j2ee. Now I want to include hibernate. i am in need of a suggession. when i used a query for selecting some records from database, i want to present data. Is it better to present Data java class itself or … | |
i have thisnew script if anyones interested i have lots of questions just pm me i get emailed if someone pms me and im online a lot so ill get notified fast see i have an emil checker on my firefox browser. i need help with lots thanks guys! | |
Hi Guys, I'm new to SQL and just know the basics. My boss has asked me to help him with a new system they are developing using MS. Access. In the form, the user enters their information as well as checks the applicable check boxes. When they have completed the … | |
hey i have a int **grid; pointer which should read from a txt file a grid which is made up for 0's and 1's, how would i make my grid pointer only read in 1 int for each index of grid[0][i]? txt file contains height and weight of the grid … | |
Hello all, I worte a structure and filled the data, then i need to send them on tcp socket. before that i need to send only few data and i need to split them into bytes and need to store them in other array. Here is the code below [code=c] … | |
Hello, I'm writing a paper about the Computer programming industry and I have a few questions that I have been having trouble trying to get answered. What is the difference between programming and scripting? What types of job positions are computer programmers needed for, Other than the obvious software development … | |
i may already have asked a similar question to this but my brain is so fried with this problem. i have to read two csv files, entering the data contained into a map and a list. the first method readInTasks() works fine, reads the file and enters the data into … | |
hello all , im trying to read a text file and display its contents. While i got the code running and the output was displayed perfectly for sometime , i started getting Abort(core dump) error . Am i missing something here ? im using HP-UX. [code] #include <iostream.h> #include <fstream.h> … | |
I need to do a C program where user will be able to change the system time. I'm looking for this at some websites, but I can't find how to solve this. How do I change the system time using C on Linux? Any clue? 10x | |
Problem Statement: Dynamic memory allocation/reallocation of an Integer array. Detailed Description: Write a program in which you have to: 1. Dynamically allocate an array of integers. 2. Take array size as input from user and allocate memory according to this size. 3. Take values of array elements as an input … | |
I wanted to create a form where a user can create an account, have it loaded in SQL, and be able to retrieve the information and validate it. I've reached a mental block on the validation code and need some advice. Here is my code so far: [code]Public Class main … | |
hey there I relise there's probably a few threads on here but theres none that answer my question. I have been writing a script for my web site where users can write in a thread and get the thread to display onto the main page, because this is done through … ![]() | |
I am trying to make the code below make decisions between two different data sources. Basically, if the data source is m_mas it should go through one set of processes, and if it is m_rma, the coding should go through another set of processes. I am not sure if I … | |
Hi I have the following code which is my project I completed section 1 and 2 but it doesn't work could you help figuring why? [CODE=c++] #include<iostream> #include<string> using namespace std; void count(); void reverse(); void encode(); void decode(); int selection; int main() { cout<<"******************"<<endl; cout<<"Welcome To Project"<<endl; cout<<"******************"<<endl; cout<<endl; … | |
Heres a snippet of my code: [code=cplusplus] int main(); { string cmd1; int cmd2; cout << "Command: " << flush; cin >> cmd1; if (cmd1 == "playlist") { cin >> cmd2; if (cmd2==XXXXXX) { cout << "Illegal command: " << cmd1 << endl; } else cmdPlaylist(cmd2); } return 0; } … | |
Hi all, I have the following string: [CODE]<REQUEST><KEY_HEADER><STATUS>CREATE</STATUS><TIME_CODE>0</TIME_CODE><COUNT>344</COUNT><TARGET>8</TARGET></KEY_HEADER><KEY_INFO><NAME>TEAMLIST</NAME><ARGS>97</ARGS><ARG>COACH: XXX</ARG><ARG>Crusaders</ARG><ARG>WHITE</ARG><ARG>BLACK</ARG><ARG>Crusaders</ARG><ARG>WYATT</ARG><ARG>CROCKETT</ARG><ARG>JASON</ARG><ARG>MacDONALD</ARG><ARG>OWEN</ARG><ARG>FRANKS</ARG><ARG>BRAD</ARG><ARG>THORN</ARG><ARG>ISAAC</ARG><ARG>ROSS</ARG><ARG>KIERAN</ARG><ARG>READ</ARG><ARG>RICHIE</ARG><ARG>McCAW</ARG><ARG>THOMAS</ARG><ARG>WALDROM</ARG><ARG>ANDY</ARG><ARG>ELLIS</ARG><ARG>STEPHEN</ARG><ARG>BRETT</ARG><ARG>ADAM</ARG><ARG>WHITELOCK</ARG><ARG>RYAN</ARG><ARG>CROTTY</ARG><ARG>TIM</ARG><ARG>BATEMAN</ARG><ARG>JARED</ARG><ARG>PAYNE</ARG><ARG>LEON</ARG><ARG>MacDONALD</ARG><ARG>DANIEL</ARG><ARG>PERRIN</ARG><ARG>BRONSON</ARG><ARG>MURRAY</ARG><ARG>MICHAEL</ARG><ARG>PATERSON</ARG><ARG>JONATHON</ARG><ARG>POFF</ARG><ARG>KAHN</ARG><ARG>FOTUALI'I</ARG><ARG>SEAN</ARG><ARG>MAITLAND</ARG><ARG>HAMISH</ARG><ARG>GARD</ARG><ARG> </ARG><ARG> </ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG></ARG><ARG> </ARG><ARG>1</ARG><ARG>2</ARG><ARG>3</ARG><ARG>4</ARG><ARG>5</ARG><ARG>6</ARG><ARG>7</ARG><ARG>8</ARG><ARG>9</ARG><ARG>10</ARG><ARG>11</ARG><ARG>12</ARG><ARG>13</ARG><ARG>14</ARG><ARG>15</ARG><ARG>16</ARG><ARG>17</ARG><ARG>18</ARG><ARG>19</ARG><ARG>20</ARG><ARG>21</ARG><ARG>22</ARG><ARG> </ARG></KEY_INFO></REQUEST>[/CODE] Yep I know it's a mess but it's the only way I can receive it. What I need to do is loop through the string and change ARG to be ARG then a number e.g. <ARG>14</ARG> changes … | |
I am trying to merge two different RSS sources with the same structure into a single list concurrently. I have two foreach statements but would like to combine them. Problem I can not turn a DOM Method into an array... Thanks in Advance. ###### CODE BELOW Using DOM METHOD ##### … | |
how to make a confirm e-mail for the client who submit the form in my website ? ![]() | |
Hello everyone, How can I convert this format using Java? 2009-05-20T18:19:23+08:00 I was able to convert this using the SQL Statement below. select cast('' as xml).value('xs:dateTime('2009-05-20T18:19:23+08:00')', 'datetime'); I would like to know how Java handle this format. Any suggestions are greatly appreciated. Thanks in advance, Jamojo | |
I have a excel sheet that has only four rows of numbers and a fith row that is the average, no big deal. see below before solver 54 53 21 62 Average = 47.5 after solver 76.5 75.5 43.5 84.5 Average = 70.0 Now i have the solver doing a … | |
Hi, I want to read an environmental variable using javascript.I have know idea of how to do that.Can anybody help me. | |
Hello again all of you! This time I have a load of questions, some of which might seem simpole, some of which might be far more difficult then I can even comprehend. To start off, I'm a novice to programming. I've made some simple games and programs as excercises and … | |
i'm new to this site, and find everyone really knowledgeable, but I'm interested in finding a new career in programing. The problem or is it a problem, I'm 49 and can maneuver around sites, but have limited ability or little knowledge about software. Where do I begin, there seems to … | |
i'm interested in computer programming and software development. help me out! | |
Dear friend, I make a very simple dictionary script. Now I need to extend sound file in this script. My Initial database has only 2 colums {English,Bm} I forget to create the "ID" column. :) all 5000 sound files are stored in a folder [url]http://www.domain.com/files/sound/(english-word)*.mp3[/url] how can I link all … | |
Hi, Guys. I have a issue reading a word document, well i can actually read the document but i need some how split some data into array, now the data that i want to split is into a table in word, is there an easy way to split that data … | |
Hi everyone, I get stuck with this homework. May be someone here can help me. I must combine two txt file, line by line. My first datafile contain 1 column, contain float numbers and the other contain many columns, also float numbers (Here i attached both the txt files). For … | |
This may sound a bit newby but I was wondering if you can use methods and properties from a child object [code=php] class Father{ function Father(){ // echo the child's $message } } class Son extends Father{ $public $message = 'We're in the same family!'; } [/code] If you know … | |
[B][COLOR="red"] hi every body .. in this link : [url]http://www.2shared.com/file/5935975/1e5b926d/client_with_pass.html[/url] i wrote program in c# in this program .. i wanna [ if txtname == txtpassword ] Show ( FrmClient ) ,, by click on button Login .. == BUT .. in this code .. it shows ( a new … | |
i need to put html login and php in same page and save it as loginphp can i do that [code] <?php require_once("nocache.php"); ?> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>login.php</title> <?php if(isset($_POST['Submit'])) if (empty($id) || empty($pword)){ header("location: login.php"); }else{ … | |
I am using the ConfigurationManager in a Class Library and I want to read the config file for the Class Library project. The ConfigurationManager wants to read the config file for the applicaiton. How do I read the Class Library config file? <html> Dim strCBFile = ConfigurationManager.AppSettings("CBFile") </html> | |
Hi, Can someone help provide directions on how i can add selective required fields on my [URL="http://www.pcmechanix.ca/request.htm"][B]make a request[/B][/URL] page? Basically I want to make place, email, contact and name a requirement while the rest is just optional! Thanks, | |
I am developing a notepad using Visual C# but cant figure out which function to use among those to print the text in the main text box through a printer. | |
Please can someone help with passing of variable for the 3rd menu. The second menu is populating correctly from the first menu. The third menu doesn't work because it is not pulling the cat1 & cat2 values. I suspect it is the "checkNew" function, which I tried (with limited Javascript … | |
Hi all I need to read an Excel sheet using java and I need to know how many columns are there in that excel sheet. Please drop a code snippet to this thread | |
Hi, all. Have anyone ever implemented strings encrypting with libmcrypt? Especially, interested in MCRYPT_RIJNDAEL_256 with MCRYPT_OFB mode. Tried to implement following the example from docs, but always gaining segmentation fault. Seems to me, that i missed something with iv size and block buffer size. Would be happy, if somebody provide … | |
I'm new to mysql and I need some more practice with this stuff since were going to have a test soon ([I]this is not a homework assignment[/I]). One thing I still don't get is how to check if two tables contain an equal set of values. Heres the practice problem … | |
I am using the following code for disabling Ctrl-N in IE7. It disables the Ctrl-N feature of IE which opens a new window containing the same page as the 'active' window. The code works great (at first glance). However, I noticed that, if you click anywhere inside the browser window … | |
hello i m a working on php but now i want develop softaware using new vb.net and also want to add left panel bar so user can select page link from left bar and it dispaly on right bar left bar is fixed when any page open at right site … | |
I need a script for my website in which there will be a paragraph provided to our visitor. He will be asked for his reading rate like words per minute he can read. Then according to this asked rate the words in that particular paragraph will get highlighted. | |
Ok, well I have an assignment, and I'll be needing some help. First off, I need help on counting the number of from a text file. I'm not sure if I should do a loop eg : [code]for (j=0, j<26; j++)[/code] or there may be an easier way. I have … | |
Hello everyone: I'm a bit frustrated because I'm getting an error on one website but not on another one for the same web page. This tells me there's something different about the PHP settings that is different, but I'm not sure where to begin. This is the error I get: … | |
can anyone please help me with converting from image to world coordinates? Once i get the world coordinates how do i make use of the Z coordinate to show the 3d? thanks in advance:) | |
I m having problem in using the php array values in javascript. I m not very good in javascript so i need a support from u.. [icode] $pr[]=array(date('y/m/d',strtotime($rev_date)),$w_s['status_percent']); [/icode] this is the php array i m using. I need to use its values in the following javascript code [CODE] <script … | |
Hi Please help to me I am not able to display image from Mysql 2005 i written code but the image is not displaying the data is comming to my java but not displaying [code=Java]( if(request.getParameter("option").equalsIgnoreCase("FOUR")) // for image & signature { //qry2="select PicBuffer from D140101 where CustNo="+cust+" and PicSrNo … | |
Hi, I used to experiment with making websites with ASP and Dreamweaver back like 5 years ago. I am now developing a website with ASP.NET and Visual Studio 2008. One thing I used to like about ASP and Dreamweaver (together) was that after a little bit of going through some … |
The End.