199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for c++ prog

does anyone know the game about saddam being shot in miniclip in flash? I have been working on a game but I dont know How to make saddam apper on the screen...example...on a desk he will rise up then will go down...then he will rise again beside a computer then …

Member Avatar for c++ prog
0
83
Member Avatar for olams

Hello, I wrote a code to calculate the fibonacci number. However, i noticed that it starts acting erratic when i input 1000 i.e it cannot calculate the 1000th fibonacci number. I would appreciate it if you could show me how to make it work. [code] int f(int &n) { if …

Member Avatar for ShawnCplus
0
84
Member Avatar for mark2326l

I have stories (some with images) displayed through a repeating region. Data of stories and image paths from MySql. Stories with no image have a blank image frame next to it, but only on MS Explorer. I thought I had this resolved using a variable style. All Mac browsers look …

Member Avatar for mark2326l
0
97
Member Avatar for tagpi

how can i pass or put a row of data on a datagrid into a bunch of textboxes? on my datagrid are StudentID, LastName and FirstName, i have textboxes named txtID, txtLname and txtFname, i have command buttons named cmdEdit and cmdSave if i select an entire row and click …

Member Avatar for tagpi
0
120
Member Avatar for olams

Hello, Please i really need your help. I am trying writing a code that will delete the last element of the list. However, i keep getting 0 or when i tweak it, i get a message asking me to abort what i am doing. In this code, i append some …

Member Avatar for olams
0
148
Member Avatar for mikjall77

I am in the early stages of writing a program in VB 2005 that deals with taking a test. I need to create an ERD for the project that deals with taking tests and storing the results. All users, admins, instructors, tests, questions, answers, and results will be stored in …

Member Avatar for mikjall77
0
380
Member Avatar for Mbt925

I want to introduce some good and practical activex component at this topic. 1.[B]LargeTm[/B] Vb Timer object can get until 60000 miliSec interval and don't accept largar than it. this timer can get each interval you want. 2.[B]MBClock[/B] This clock is a simple clock that show system time in your …

Member Avatar for Mbt925
0
579
Member Avatar for kennik

i just started my first IT job since graduating (I have not had a java class in 3 yrs due to going to school part time) and i have been givin a pretty easy assignment but i am having problems getting started. I pulled out my old school books and …

Member Avatar for kennik
0
92
Member Avatar for winbatch

Hi, If I have a JComboBox which has a list of Strings which can be selected, is there a way to insert a line/horizontal rule inside to indicate some sort of grouping of values? If so, how do I do it? (Also, the actual line ------ should not be selectable …

Member Avatar for masijade
0
214
Member Avatar for conan19870619
Member Avatar for shankhs

I am a newbie to windows programming environment in c++,I have to make an on-screen keyboard. I dont know how to do draw the exact layout of keyboard in Visual C++. Any help?

Member Avatar for VernonDozier
0
110
Member Avatar for filaminae

I'm know this question will make me look pathetic, but I desperately need some help. I'm quite bright, really. Here's my question: [COLOR="Red"]Regarding programming, even pseudocode: Other than mathematical computations, what are examples of processes?[/COLOR] I'm taking online classes through University of Phoenix, and they've been great. However, I've hit …

Member Avatar for filaminae
0
123
Member Avatar for tonyaim83

Hi... My input file is as follows :- A<-B<-C<-D A<-C<-E<-F<-P ....... ..... What i want is to first store the given input as follows :- {{{A,B},{B,C},{C,D}},{{A,C},{C,E},{E,F},{F,P}}} and then make a check if the pair is present in particular subset of a set. For e.g if the user can give index …

Member Avatar for VernonDozier
0
75
Member Avatar for abhi_elementx

This may be a dumb question. But is it possible to use multiple files in a single program without using header files concept. Perhaps maybe using the "extern" keyword.

Member Avatar for abhi_elementx
0
99
Member Avatar for hooray

Hi I have some code here that fills a dropdown box from an array depending on what is selected in another dropdown box. One of them is disabled, and i would like to stop that once an option has been selected. This is the Javascript: [code=javascript] function fillStates(opt){ s=document.f.states.options s.length=stateNames[opt].length …

Member Avatar for ~s.o.s~
0
135
Member Avatar for bredes
Member Avatar for binoj_daniel
0
106
Member Avatar for priddysharp

It works in firefox and displays 30 seconds, but when I try it in IE7, the countdown starts at 9 seconds no matter what. [CODE] <script language="JavaScript" type="text/javascript"> var x = 31 var y = 1 function startClock(){ if(x!=='Done'){ x = x-y document.frm.clock.value = x setTimeout("startClock()", 1000) } if(x==0){ x='Done' …

Member Avatar for ~s.o.s~
0
132
Member Avatar for ITech

i am trying to do a project using vb.net and Access...i know access but dont kno vb ..tell me some where i can learn vb in short time..video tutorials, e-books etc...

Member Avatar for Jx_Man
0
91
Member Avatar for vanalex

Hello everybody! This forum gave the greatest impression so congratulations to you folks who built it. I'm not an expert in c++, i've actually started learning a year ago so i need little help..I have two classes course and student. The course class is : [CODE=c++]class course { private : …

Member Avatar for rkavinash
0
112
Member Avatar for yenyen

[code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html > <head> <title>Untitled Page</title> </head> <script language ="javascript"> function chkRadio() { column =document.list_photo.hidCounter.value; var total = 0; var file =0; for(var i=1; i<=column; i++) { var objId = "chkBuy" + i; var obj = eval("document.list_photo." + objId); document.list_photo.totalcredit.value = obj.length; …

Member Avatar for ~s.o.s~
0
174
Member Avatar for Olsi009

Hey guys, I study computer science (1st year) and I have an exam after tomorrow but there's one exercise with the linked lists that is impossible for me. [COLOR="Green"][B]Supposing that we have 2 created linked lists, let's create a third one that has the elements of the previous 2, but …

Member Avatar for Duoas
0
2K
Member Avatar for OmniX

I was helping a fellow daniweb user with validation for restricting output to only numerics. Then another user said even it validates a user could copy and paste into the cell. Now that has been annoying me and I have been trying to figure out a way to prevent this. …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for cygnusX

Look at this code: [ICODE]delegate void SetBrowserContentDelegate(WebBrowser b); if (browser.InvokeRequired) { browser.Invoke(new SetBrowserContentDelegate(SetBrowserContent), browser); } else { browser.BringToFront(); browser.DocumentText = "<html><body>example</body></html>"; //this code here is executed and it gives an error saying this "Cross-thread operation..." } void SetBrowserContent(WebBrowser b) { b.BringToFront(); b.DocumentText = message_; }[/ICODE] My question is why the …

Member Avatar for cygnusX
0
118
Member Avatar for swanxst

Tracking Grades A teacher wants a program to keep track of grades for students and decides to create a student class for his program as follows: Each student will be described by three pieces of data: his/her name, his/her score on test #1, and his/her score on test #2. There …

Member Avatar for Ezzaral
0
2K
Member Avatar for kharri5

I figured it out! Huzzah! In order to grab data from cells of an excel spreadsheet from an outside excel app into PPT WORD, or other office apps, jam that data into a custom class and jam that into an array of CustomClas type you do the following: [CODE=VB] Public …

0
107
Member Avatar for chitra1
Member Avatar for chitra1
0
100
Member Avatar for sweety0

hi all this is an algo of finding the no. of times the key occurs in an array.. [code=c++] #include<iostream> using namespace std; int main() { int a[5]={1,2,2,5,6}; int max=2; int counter=0; for(int i=0;i<5;i++) { if(max==a[i]) counter++; } cout<<"the element "<<max<<" appears "<<counter <<" no. of times"; return 0; } …

Member Avatar for sweety0
0
98
Member Avatar for AndreRet

Got stuck completely. Need to shell to an app running on IP***.***.***.***, Server is running windows server 2003. Normally connect to app using remote desktop connection. I need to let client connect from MY app to this server - forms part of app I'm developing.

0
75
Member Avatar for nathanpacker

Hey everyone, I'm using php to delete a row from a table in a database in mysql, but it's not working. I'm not even trying to do anything fancy, just delete one row. Here's the code: [PHP]<? include 'config.php'; $recordid = $_POST['recordid']; echo $recordid; mysql_query("DELETE FROM employees WHERE recordid='$recordid'") or …

Member Avatar for nav33n
0
4K
Member Avatar for altzaportu

I have designed the next program. It is the catalogue of a library. The problem is that if I want to find the book "the new world war" the program also finds other books (being the tiltle completely diferent). I want to modificate the code so that if I introduce …

Member Avatar for Duoas
0
223
Member Avatar for kv79

[code=c] struct CircleStruct { int x ; int y ; int width ; int hight ; }; struct CircleStruct CreateCordinate = {40,0,80,40}; //this is the global declaration maybe void Draw(); void newfunction(); [/code] And can i do this ? Why? [code=c] void newfunction() { CreateCordinate = {40 ,40 ,40 ,40}; …

Member Avatar for Paul.Esson
0
77
Member Avatar for kmaria

i have a window with 2 edit boxes. i want when i put value to the first edit box to start the counter and when i click on the second edit box to stop the timer. thank you and sorry for my english.

Member Avatar for Ancient Dragon
0
105
Member Avatar for lydia21

i have a login page which checks the user login...this works by fetching the data from the database and it is working.... but when i type the url of the second page it is getting displayed....i want all the user to enter through the first page...please tell me how to …

Member Avatar for nav33n
0
103
Member Avatar for zeiken
Member Avatar for Ancient Dragon
0
112
Member Avatar for seneye

I want to learn to C++ But I don't know how to start to learn it? Is there a program that I can practice it in or something? I just don't even know how to begin learning it?

Member Avatar for HLA91
0
133
Member Avatar for majestic0110

Hi there. I have a datagrid that prints out data from an SQL d/b. I also have a 'Save' button which I am struggling to write an event handler for. the Datagrid data is editable, and when I press save I want the changes to update the D/b too. Any …

Member Avatar for majestic0110
0
381
Member Avatar for Derice

i am new in java ... i would like to know how 2 maintain an integer without having it to show the decimal after i manipulate it. Example: int y = 5; System.out.print(Math.pow(y,2)); it display 25.0 instead of 25 which i wan it to be. Help would be very appreciate …

Member Avatar for javaAddict
0
89
Member Avatar for toboto

please somebody run this program i have problem with #include <graphics.h> [code=c] #include <stdio.h> #include <math.h> #include <graphics.h> #include <conio.h> Void DrawFunction (int Npoint, double data[], double H) ;/* Display results */ Void MakePotential (int Npoint, double x0, double dx, double V0, double v[], double vd[]) ; /*potential*/ Void MakePacket …

Member Avatar for Nick Evan
0
153
Member Avatar for Artmann

Hello mates. I've made a basic cryptation program and I hoped that I could get some feedback from you guys. I know the cryptation algorithm ain't that secure but that something for a later version ;) And I also wonder what I can do to speed up the cryptation progress. …

Member Avatar for Artmann
0
77
Member Avatar for volscolts16

Well another semester has started almost done with all java classes, and now C++ has started. I like it so far it is shorter and somewhat easier code. I have a homework assignment which I have started on, but with just starting C++ not sure where to go. Class meets …

Member Avatar for brk235
0
100
Member Avatar for Sur62

Iam creating a programme in Visual Web Developer 2005. In that am creating a login pager where the user has to give the username and password to enter. The username and password i have stored in Access Mdb.How to connect to database and check whether the username and password is …

Member Avatar for happy8899
0
148
Member Avatar for happy8899

I have been using The Beer House web example to develope a project and i wan to add photo gallery inside but i m stuck when i can't get the user login identification from the web login which uses the cookies as the user authentication. I want to personalize the …

Member Avatar for happy8899
0
135
Member Avatar for bobei89

okay, here is the code my teacher gave...but i do not understand some part... [code=c] #include <stdio.h> #include <time.h> #include <stdlib.h> void printfAll(int size, int ary[]) { int a; for(a=0; a< size; a++) { if(!(a%10)) //why a%10 and what not equal to it// printf("\n"); printf("%5d", ary[a]); } printf("\n"); } void …

Member Avatar for bobei89
0
154
Member Avatar for rajeshkhanna_in

Hi all, Is there a way in which a TSR program could be made in vb6.0. Something like If an EXE of a software written in vb6.0 is run, then this TSR program should load and remain their for as long as it wishes to (the program cannot be stopped …

Member Avatar for rajeshkhanna_in
0
364
Member Avatar for jimJohnson

I am new to C++ and need help with this output after the debugging.... Type of Ticket Orchestra Mezzanine Balcony Select: Number of Adults: Number of Children: This is what it is supposed to look like and I am confused on multiple issues. All i know is need to use …

Member Avatar for brk235
0
83
Member Avatar for j.arevathi

Hello there, I have got a csv file which has Chromosom_id fstart fstop Count 1 105 1 14.5 1 105 1 14.5 1 105 1 14.5 1 813 797 4 1 813 797 22 1 813 797 4 In this the fstart represents the start of a matching with the …

Member Avatar for KevinADC
0
112
Member Avatar for rajeevkshr

Hi All, I am Struggling Some Problems With search Engine(Both Content search and Database search).I completed Codings For this.But its too lenghy.reached 12000 lines For search engine.Can i reduce this Codings? 2)Can you give me some tips for developing webmaster module for job portal? 3)How can i create a sub …

Member Avatar for nav33n
0
99
Member Avatar for seneye

Well, I want to start to learn some different types of computer languages. But I have to start somewhere. I know the basic of like html but nothing great. Couldn't type it or anything but could edit if I had to. I was thinking about learning Java. But what is …

Member Avatar for technogeek_42
0
176
Member Avatar for jf404

I've been working on this code for a simulation, but strange things keep happening. The trader object is (int buy, int inf, int t1). The values of buy and inf should only be 0 or 1, but i keep getting ridiculously high and even negative values and I cant see …

Member Avatar for wazzam
0
116
Member Avatar for mannuvashishta

VB.NET takes the input from user like network address and port number and check it check it, the entered IP address and port number are valid or not as well as check the enter digit how many digits are entered in input box. Some one who knows please reply me. …

Member Avatar for bector
0
110

The End.