199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for richymac

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

Member Avatar for Stinomus
0
328
Member Avatar for SKANK!!!!!

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 …

Member Avatar for SKANK!!!!!
0
154
Member Avatar for frank.zappa

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 …

Member Avatar for frank.zappa
0
400
Member Avatar for JimPatrick

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

Member Avatar for JimPatrick
0
268
Member Avatar for annumol

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 …

Member Avatar for annumol
0
71
Member Avatar for SKANK!!!!!

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!

Member Avatar for SKANK!!!!!
0
92
Member Avatar for jmw229

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 …

Member Avatar for timothybard
0
160
Member Avatar for Usura

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 …

Member Avatar for Ancient Dragon
0
84
Member Avatar for venucpp

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] …

Member Avatar for William Hemsworth
0
97
Member Avatar for Pogo24

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 …

Member Avatar for Stinomus
0
99
Member Avatar for lardshow

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 …

Member Avatar for lardshow
0
149
Member Avatar for vishy_85

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> …

Member Avatar for Stinomus
0
153
Member Avatar for cesar7160

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

Member Avatar for cesar7160
0
295
Member Avatar for saalvi

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 …

Member Avatar for MariaERamos
0
211
Member Avatar for lolwtf

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 …

Member Avatar for lolwtf
0
149
Member Avatar for ryuk

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 …

Member Avatar for diafol
0
117
Member Avatar for roro2

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 …

Member Avatar for woooee
0
115
Member Avatar for FaMu

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; …

Member Avatar for FaMu
0
255
Member Avatar for shuda009

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; } …

Member Avatar for shuda009
0
453
Member Avatar for adamdidthis

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 …

Member Avatar for slate
0
76
Member Avatar for lonestar23

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 ##### …

Member Avatar for lonestar23
0
127
Member Avatar for gdrsujit

how to make a confirm e-mail for the client who submit the form in my website ?

Member Avatar for diafol
0
80
Member Avatar for jamojo

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

Member Avatar for masijade
0
163
Member Avatar for jlbryant0120

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 …

Member Avatar for jlbryant0120
0
81
Member Avatar for Arumugams

Hi, I want to read an environmental variable using javascript.I have know idea of how to do that.Can anybody help me.

Member Avatar for Airshow
0
156
Member Avatar for ctrl-alt-del

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 …

Member Avatar for ddanbe
0
150
Member Avatar for ss20090612

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 …

Member Avatar for kenji
0
290
Member Avatar for Buckers
Member Avatar for kenji
0
118
Member Avatar for sayakyi

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 …

Member Avatar for sayakyi
0
169
Member Avatar for jbisono

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 …

Member Avatar for jbisono
0
470
Member Avatar for headacheinC

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 …

Member Avatar for headacheinC
0
590
Member Avatar for iThaos

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 …

Member Avatar for ShawnCplus
0
106
Member Avatar for mini person

[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 …

Member Avatar for mini person
0
133
Member Avatar for lolodede

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{ …

Member Avatar for tweeeter
0
152
Member Avatar for TheBrenda

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>

Member Avatar for TheBrenda
0
167
Member Avatar for ashcares

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,

Member Avatar for Tulsa
0
97
Member Avatar for themaster

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.

Member Avatar for ddanbe
0
682
Member Avatar for ficus

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 …

Member Avatar for Airshow
0
297
Member Avatar for sneharaveendran

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

Member Avatar for jaka.ramdani
0
167
Member Avatar for Quessir

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 …

Member Avatar for Quessir
0
315
Member Avatar for fusi0n423

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 …

Member Avatar for fusi0n423
0
159
Member Avatar for sbhavan

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 …

Member Avatar for sbhavan
0
121
Member Avatar for Tulsa

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 …

Member Avatar for Tulsa
0
146
Member Avatar for yehtech

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.

Member Avatar for Airshow
0
91
Member Avatar for Raven6666

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 …

Member Avatar for Raven6666
0
137
Member Avatar for Pado

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: …

Member Avatar for leviathan185
0
327
Member Avatar for vs.vaidyanathan

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:)

Member Avatar for vs.vaidyanathan
0
291
Member Avatar for chknabeel

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 …

Member Avatar for chknabeel
0
151
Member Avatar for sivendar1

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 …

Member Avatar for kvprajapati
0
121
Member Avatar for PhilN

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 …

Member Avatar for kvprajapati
0
647

The End.