199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for slejeivw

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 …

Member Avatar for WolfPack
0
264
Member Avatar for becdudek

Hey, im new to scripts(stumbled on them a few hours ago) and was wondering if and how i am able to modify functions from a website's page source. i have greasemonkey etc, so would i copy/paste the function into a new script and make my modifications or something, it didn't …

Member Avatar for becdudek
0
68
Member Avatar for Mustashimo

Hey everyone. I have a question about trying to delete successive elements from an array. For example im trying to delete every other element. Lets say my size is 10, so my elements are 0,1,2,...9. Heres what I want my output to look like: 0 1 2 3 4 5 …

Member Avatar for Mustashimo
0
164
Member Avatar for sumeetpingale

Hello Sir, [INDENT]I am doing a project realted to Jewellery Valuation. I want a report generating specifically on a customer. For that i have created a query in ACCESS to group requried tables for generating report. Now if i drop down the customer name in Page Header Section (Which is …

Member Avatar for alpesh_08b091
0
764
Member Avatar for QWaz

Hi, I am pretty new to php. On my site, I have set up a form to store images in a database, it works fine, and the images are stored in there as BLOB files. However, I can't work out how to display the image from the database. I want …

Member Avatar for colweb
0
1K
Member Avatar for IOwnAndPwnU

[B]How would I implement two listeners?[/B] I need to implement ActionListener and [URL="http://java.sun.com/docs/books/tutorial/uiswing/events/mouselistener.html"]MouseListener[/URL]: I have the [CODE]public class Othello extends Applet implements ActionListener[/CODE] which is just below my libraries. But I also want to be able to use the MouseListener. So, I'm having trouble implementing both listeners. I tried: [CODE] …

Member Avatar for moutanna
0
133
Member Avatar for stain3d

Hey guys. I wanted to know if someone can tell me what's wrong with my code. I got it to work, to a point. It shows all the months, however, when a user inputs the month/number it ends. Which it needs to playback the month... Example: 2 = March Here's …

Member Avatar for moutanna
0
3K
Member Avatar for brettbed

Hi all, This is my second post. I got some awesome help last time I posted. Thanks. So for my intro to programming class we had to write a Tic Tac Toe game played against the computer. The computer A.I will just pick randomly until: 1. it's possible to win …

Member Avatar for brettbed
0
171
Member Avatar for bill_kearns

I'm coding a small test app in C# and I thought it would be real nice to be able to parse the "description" meta tag and also download the favorite icon. I'm not asking for a complete solution but does anyone have any ideas where I should start? Thanks. As …

Member Avatar for apegram
0
129
Member Avatar for Kevin_160

Hi Everybody, I have succeeded in parsing the values I needed from a text file and storing them in an array. The script I've posted works as a function, but now I tried to put it in a class and I can't figure out how to define the constructor. The …

Member Avatar for mrnutty
0
2K
Member Avatar for timbomo

could i get help with the syntex on reading a file to an array in c++. all the examples i see are more

Member Avatar for Kevin_160
0
130
Member Avatar for ayushky

sir i want to lock with password protection to my '.c' files.how i can do that. please suggest sir. thanks

Member Avatar for Ancient Dragon
0
284
Member Avatar for verbalurbs

Hi all... I got a stored procedure to compare dates and if the date is not valid it returns an error in sql server. I need to know how i carry that across to vb. Thanks..

Member Avatar for verbalurbs
0
91
Member Avatar for chathuD

guys iam new to c++ ,i even dontknow what are the tools to use develop c++ aplications so if sny body know tools like that (c# MS visual studio,java netbeans) pls let me know. and ma problem is i need to creat a link list on c++ .and i googled …

Member Avatar for Lerner
0
167
Member Avatar for Lolalola

Hi, now program show Messagebox and wait user decision. How make, that program don't wait? Show Messagebox, ant keep going.

Member Avatar for Fungus1487
0
125
Member Avatar for Kakashi

What is internet database system? what are the hardware and software requirement? i really need to know... urgent thanks

Member Avatar for peter_budo
0
88
Member Avatar for pok.kys90

Consider a collection of songs in an MP-3 library where each song is characterized by artistName, songTitle, albumName, playTime (in seconds), musicCategory, and albumProducer – hence, you will need to use a struct data type to hold a song and an array of structs to hold the song collection. The …

Member Avatar for Sky Diploma
0
235
Member Avatar for newdave

hello, I need to have in ONE request clients who just like apple AND banana : clients id name relations_like id id_client id_like like_fruits id title a same client can have a few differents like_fruits if I made a classic SELECT FROM relations_like WHERE id_like IN (idapple, idbanana) I will …

Member Avatar for drjohn
0
100
Member Avatar for sporti711

I know this may seem simple to some of you, but I really need help. I think I have part 1 correct for the most part but I really need help with the 2nd part. [B]Part 1[/B] The ABC Car Service & Repair Centers are owned by the SILENT car …

Member Avatar for rmart
0
1K
Member Avatar for Jeff_5_7

ok i cam writing a class named fraction to add subtract multiply and divide fractions and it also compares them. This is my first time writing a class and also the operators are suppose to be overloaded. I think i did them right. I just need to figure out why …

Member Avatar for Banfa
0
263
Member Avatar for InsaneOstrich

I have to write a JUnit test method for a short program that lets the user add/remove/browse images in a collection. (Adding an image is done with a JFileChooser) The test method that I wrote exhibits some really bizarre behavior; it passes every so often, but fails most of the …

Member Avatar for InsaneOstrich
0
555
Member Avatar for roul

hi, I need php mysql image upload and resizer. The image uploaded through a uploading page should be resized and should kept in mysql server. and we need to retrieve it to another page. help me. thanks,

Member Avatar for qazplm114477
0
147
Member Avatar for qazplm114477

Hi, I`ve started doing PHP and MYSQL for a few months now and I am working on a project for a friend. Basically I had the code written down in mysql format and decided to change my code too mysqli. Everything was working fine except for one function. I keep …

Member Avatar for qazplm114477
0
7K
Member Avatar for livestrong2431

Hello. I'm just starting out in C++ and am trying to figure out how to split a users string input into individual words and then put each word into a slot in an array. I think it's going rather well, but I'm running into some problems, and it would be …

Member Avatar for livestrong2431
0
787
Member Avatar for spaniel

Hi, I'm trying to develop a linkchecker, the HTML text I'm using it on though has a few lines such as this: [CODE] <li><a href="PhD/refs.html"> <b> References </b> </a> section of PhD <li><a href="WWM/refs.html"> <b> References </b> </a> section of WWM proposal[/CODE] which aren't being picked up by my linkchecker. …

Member Avatar for moutanna
0
107
Member Avatar for deeaz_luv

Hi everyone, i'm a final year student doing this project on rfid recognizing system. i'm using a rfid reader with smartcards and vb.net as the software platform for this project. 1. i need a help on how to do coding in vb.net(i'm using 2005). in my system, i'm using hyperterminal …

Member Avatar for deeaz_luv
0
2K
Member Avatar for tinanewtonart

We got to get this to compile and I really need your assistance! I got sick last week and missed the lecture on these subjects and it took all night but here it is..... almost done.... but the assignment specs below say that it HAS TO COMPILE OR I FAIL! …

Member Avatar for peter_budo
0
2K
Member Avatar for Duki

Hey Guys, I have a header file I downloaded for an application (actually about 20 header files). Most of them can be opened fine, but I get errors on a couple that say: [QUOTE]fatal error C1083: Cannot open include file: 'Transport.h': No such file or directory[/QUOTE] I've checked, and the …

Member Avatar for vidit_X
0
105
Member Avatar for d34dw4rd

Hi I'm writing a menu driven array with 50 randomly generated integers. In the program I am suppose to search for numbers in the array and print the number and location of the number in the array. I have most of the program finished, however when I input an incorrect …

Member Avatar for abhimanipal
0
133
Member Avatar for rori

Hi, I have a page on my website where I put an iframe and display inside it another website, something like this: [CODE] <iframe frameborder="0" height="100%" scrolling="yes" src="http://www.another-website.com/" style="overflow: scroll; min-height: 600px;" width="100%"></iframe> [/CODE] My problem is that my page have a fixed width of for example 800px which the …

Member Avatar for fxm
0
813
Member Avatar for daviddoria

I am trying to strip a prefix from a string, e.g. turn [code] VTK/Examples/Test [/code] Into [code] Test [/code] Sometimes the string does not contain the prefix, in which case I would expect nothing to happen. However, [code] >>> S="Main Page" >>> S.strip("VTK/Examples/") 'Main Pag' [/code] You can see that …

Member Avatar for woooee
0
155
Member Avatar for jazzvibes

Hi all, I think I have a fairly basic question. I have a matrix and I would like to find the eigenvalues and eigenvector. In both MatLAB and Python (pylab) I can use the eig() function. Can anyone explain the reason for the differing answers? [CODE]MatLAB Code >> A = …

Member Avatar for Gribouillis
0
2K
Member Avatar for noplagiarism

I have to make an audio player in java applet so that it can be used on websites. It will browse files on the computer, make its playlist and will play them one by one. I have compiled the .jar file and done everything correctly in the <applet> tag in …

Member Avatar for noplagiarism
0
184
Member Avatar for charqus

Hello guys. I made a code , which contains: a Circle and a ball. The ball is moving on the axis of Circle. But I'm using Thread.Sleep(80) , and when i want to close the form , i must press X for 10+ times , and after that i recive …

0
268
Member Avatar for kau14

I Have Created Following tables 1.Test_Student(Master) table which will contain StudentId(primary key), StudentName and StudentAddress as columns. 2. Test_Subject(Master) table which will contain SubjectId(primary key) and SubjectName as columns. 3. Test_StudentSubjectTrans (Transaction) table. This will be a transaction table between Test_Student and Test_Subject. This table will contain StudentId and SubjectId …

Member Avatar for kau14
0
106
Member Avatar for zzstore

Hi, Forgive me if this is a silly question as I am newbie to python. I have to pass a string that contains a few spaces to a python script. How can I get it to read as one argument? Thanks...

Member Avatar for Gribouillis
0
414
Member Avatar for jlego

i have multiple different programs that do different things published as different applications i then have a toolbar type application that has a list of buttons that calls each of these mini applications. all the applications are published to a public server, and each user on the network launches them …

Member Avatar for jlego
0
94
Member Avatar for ITGuy2010

Hello, I want to create a sorted list, where I enter a name in two separate text boxes(Jones, Brown) and their values in two other textboxes(200,500), then in a fifth text box I enter one of the names and it gives me a messagebox with its corresponding value. Am I …

0
61
Member Avatar for charqus

Hello guys. I made an orbit ( circle ) and a ball. I built the code , like the ball to move on the orbit. But i have a problem with the orbit , because it flash. Is there any option like the orbit to don't flash ? Here's the …

0
79
Member Avatar for basma.lm

hi, i work on a csharp application with sql server ce database and i have this code: [CODE] private void recherchebtn_Click(object sender, EventArgs e) { SqlCeConnection con = new SqlCeConnection(); con.ConnectionString = @" Data source= `|DataDirectory|\Database1.sdf"; try { con.Open(); } catch (Exception ex) { MessageBox.Show("connection failed"); } finally { SqlCeDataReader …

Member Avatar for basma.lm
0
96
Member Avatar for ruigrandaorocha

Hi, so i was told that i could use the scanf() function, validating it with a space, instead of an "ENTER". [CODE] scanf ( "% [^] d", & a); [/CODE] The person told me to use that. I couldn't get it working. Do you know what is wrong? Extra info: …

Member Avatar for ruigrandaorocha
0
189
Member Avatar for sweetgurl

i have no idea to return multiple statement. [code] public double[] compute(double[] times) { double[] t = this.Portion(times); double aa = this.computeTime(180-19.5,t[0]); double bb = this.computeMidDay(t[1]); double cc= this.computeAs(1 + asrJuristic, t[2]); double dd = this.computeTime(0, t[3]); }[/code] how to return all double " aa, bb, cc, dd" in this …

Member Avatar for sweetgurl
0
87
Member Avatar for preetg

hi i want to know to run php we use localhost as a server....can we use any other server??????or php is server side scripting language thats why we use localhost....but want to know can we use any other server??

Member Avatar for agraj1
0
1K
Member Avatar for HiHe
Member Avatar for HiHe
0
117
Member Avatar for trippinz

[code] private void button35_Click_1(object sender, EventArgs e) { Clipboard.SetDataObject(textBox1.Text, true); } [/code] This lets me copy only the text in textbox1 How do i make it so that it copies the text in textbox1 and textbox2 and textbox3 e.t.c ?

Member Avatar for trippinz
0
66
Member Avatar for kiransharma
Member Avatar for tunde011

[CODE]Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^myurl.com [NC] RewriteRule ^(.*)$ http://www.myurl.com/$1 [L,R=301] Header set X-UA-Compatible "IE=EmulateIE8" # PHP error handling for production servers # disable display of startup errors php_flag display_startup_errors off # disable display of all other errors php_flag display_errors off # disable html markup of errors php_flag html_errors …

Member Avatar for sourcez
0
485
Member Avatar for lil_Is

Hi all, I am doing a project on the CRM application which sending and receiving sms using the vb.net language. I am no where to conclusions of my project because I could not build the application. I have found many examples but the problem some of the examples some uses …

Member Avatar for mtbx
0
203
Member Avatar for calccrypto

Can someone explain how to generate rainbow tables? I know there are plenty of programs like Rainbow Crack that can do it, but I'm not looking for a program to do it. I want to know how to do it myself, like if i had no access to a computer …

Member Avatar for 0x69
0
862
Member Avatar for tskellyfla

Hi, I'm a student just learning c. I have an assignment that is killing me. I have to write a code that will produce the angle of a clocks hands. This is my third assignment I have done the 'hello' and calculated miles to feet and converted fahrenheit to celsius …

Member Avatar for jonsca
0
193

The End.