199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for GaryD.

I might be in over my head since I've been taking VB.net for about 5 weeks now. However, I have been taking programming classes (c/c++) over the past year. My basic goal is to make a program like this one [URL="http://www.youtube.com/watch?v=EurGROIqZhg"]http://www.youtube.com/watch?v=EurGROIqZhg[/URL] The game is simple, click the ball and move …

Member Avatar for waynespangler
0
105
Member Avatar for redZERO

Hi, I don't want you to do the project for me, but I would like to ask about the logic behind building an RPG in java. You would have to assign a picture for trees and houses and stuff right? Then would you create an array and assign each map …

Member Avatar for redZERO
0
82
Member Avatar for haikur

Hi everybody! I'm trying to write a program that is able to look inside a txt file and change, for example, the first word with a similar word. The txt file will have one word for line. EXAMPLE::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ORIGINAL TXT FILE: tom lives CHANGED TXT FILE: mum lives :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: I …

Member Avatar for Miyuki
0
128
Member Avatar for trouble706

Hello, I am designing my website and I want people visiting my site to be able to submit a form. However, if they submit a form, I would like to require certain information to be submitted. I got a script from Dynamic Drive that is supposed to do that but …

Member Avatar for mgt
0
120
Member Avatar for Agni

Hi Guys.. Can someone explain to me what's the difference between sending any data over a socket vs sending an http request? i mean sending an http request would also be happening over a TCP socket, am i right? so basically it's as simple as sending data from client socket …

Member Avatar for tzushky
0
714
Member Avatar for sreein1986

Hi, freinds i got below code from some one put in our daniweb.com my question is that is it working for HTML page also ?? Advance Thanx, [code] <SCRIPT LANGUAGE=VBScript RUNAT=Server> Sub Application_OnStart Application("WhoOn") = 0 End Sub Sub Session_OnStart Application.Lock Application("WhoOn") = Application("WhoOn") + 1 Application.Unlock End Sub Sub …

Member Avatar for bala24
0
327
Member Avatar for Aleczz

Hello Im coding mp3 encode / ripping tool and because i have licence to realbasic im gonna make user interface with it Technical part im gonna make with akrip.dll and i have develope it more by my own way now. The meaning is use threads for ripping and encode in …

Member Avatar for Aleczz
0
157
Member Avatar for maydhyam

I have a concern about my program....the files that I want uploaded vary n size....would that affect the upload? I did not set anything anywhere to enforce the file size to be uploaded, and only really small files are able to upload...

Member Avatar for maydhyam
0
398
Member Avatar for lhadieinsane

i need some help.. this is for our C++ project.. :( can somebody help me? i'm just a beginner in C++.. (THANK YOU!) 1) [B]LARGE NUMBER[/B] For the purposes of this problem we will define a large number as a positive whole number with at least eight digits. For example, …

Member Avatar for lhadieinsane
0
117
Member Avatar for april_er
Member Avatar for gever
0
113
Member Avatar for mark192

Hi, I need help with sending an email through gmail from a program. I substituted email adresses and passwords with generic names, this program works up to the last line where it fails to send the email. Any ideas as to why this may be? This is using [code] imports …

Member Avatar for conan82ac
0
84
Member Avatar for manavsm

i want to delete the entry of a student using its roll no....its not working It is my earlier program and i just modified it but now i am not being able to perform deletion operation..if you will help me my project will get over.. [icode] #include<stdio.h> struct student { …

Member Avatar for stephen84s
0
112
Member Avatar for ShraddhaM

i have created one database in which there is one table **Supplier**, its **primary key is SCode**. i have one more table **Quotation**, in which i have created **SCode as Foreign Key**.nw i want to allow user **to select SCode from Combobox in Quotation table.** Format. hw 2 add databinding …

Member Avatar for ShraddhaM
0
372
Member Avatar for aintlikeyou

Hi guys, I need to write a program in C++ that will input data for N rectangles (0<N<5). The data for each rectangle consists of coordinates of the lower left and upper right corners, which are positive integers, less than 100. Then I need it to calculate the area of …

Member Avatar for Alex Edwards
0
134
Member Avatar for Ellisande

So... here I am again. Items are a pretty important part of RPGs, so I'm probably going to have to code them in at some point. My basic idea is this: I'll start with an abstract class called "Item". From there, it'll be broken down into several subclasses, including "Equipment" …

Member Avatar for Ellisande
0
290
Member Avatar for Agni

Hi, When i search for a pattern in a file how do i get the line and line#? basically i want to replicate the 'grep' command functionality. Now i can easily say whether the pattern exists or not using re.search funtion but i'm not able to print that particular line …

Member Avatar for Agni
0
125
Member Avatar for heels

Hi, Is it possible to use images for a button instead of the normal button? I am not trying to link it to another page over here but, getting it to trigger some event like a normal button. Thanks alot. Regards, heels

Member Avatar for heels
0
77
Member Avatar for raphaelsolis

hello there. can someone know the code for this.. here is the output.. record 9 of 10 displaying the total number of records in the database and the current record to which the cursor is focus on..

Member Avatar for raphaelsolis
0
86
Member Avatar for ibe123

Below is my problem... Here is my code... [code=cplusplus] #include<iostream> #include<iomanip> //allows me to use setflags/showpoint and set precision #include <stdlib.h> //for exit(1) #include <fstream> # include <stdlib.h> # include <cstdlib> using namespace std; int main() { double s1, s2, s3; ifstream inf; inf.open ("C:\\CS201HWASSGN6INPUTFILE.txt", ios::in); ifstream infile("C:\\CS201HWASSGN6INPUTFILE.txt", ios::in); //Input …

Member Avatar for Jishnu
0
186
Member Avatar for WillMcc

I'm just basically reading a book and messing around with the scripts they give me so I can understand what they're talking about, and here is the script (essencially word for word) however isn't working. What the program is supposed to do is (for example:) [B]"Enter two integers, and I …

Member Avatar for Alex Edwards
0
182
Member Avatar for manishupadhye

anyone please help me how to save images in access database while reducing its size. in my application, daily 100-150 images captures (passport size photo) using webcam and saves images to db. but db size is increases day to day basis. it is very difficult to take backup. I want …

Member Avatar for Jx_Man
0
141
Member Avatar for Softhearted1

:eek: My Dad has been working on a program and since he isn't online, he is having me ask you all for HELP !!!!! How do you access the USB printer driver included in Windows and be able to use that information to print application programs using QuickBasic 4.0 ?

Member Avatar for Jackgrt
0
261
Member Avatar for WillMcc

As the title says, more or less. I'm just trying to make a program basically (Variable) + (Variable) = (Total) Here is the script: // Variable + Variable = Total.cpp : main project file. #include "stdafx.h" using namespace System; void main() { float num1; float num2; float total; cout<<"enter a …

Member Avatar for WillMcc
0
135
Member Avatar for Pikachumanson

Can anyone give me a hint on how to save my heroes health that is in a PLAYER class that would be GetHealth() because it inherited that from the base class entity. SetHealth() is in the base class Entity. I know I am just a couple line away from solving …

Member Avatar for Ancient Dragon
0
113
Member Avatar for blood08

Hey I am following a video tutorial teaching pointers... I am following along and writing what they have. Which is: [CODE]#include <iostream> using namespace std; void main() { int myArray[4] = (1, 2, 3, 4); cout << (int)myArray << endl; cout << (int)&myArray[1] << endl; }[/CODE] They are able to …

Member Avatar for blood08
0
289
Member Avatar for cyberjorge

Good Day! Please help with my requirement, I'm more on a graphic designer and has little knowledge in programing, mostly on basic html only. I have a web page I created in Flash and exported to an html page. I need this to have a predefined username / password (pass …

Member Avatar for cyberjorge
0
65
Member Avatar for CoolGamer48

Hey, So, three questions: 1. What is a DLL and what is a .lib file? 2. (might have been answered w/ #1) What is the purpose of .lib/.dll files? 3. How do I create a .lib file with C++, and (again, may have been answered above) what exactly will this …

Member Avatar for CoolGamer48
0
448
Member Avatar for percent20

I have been trying to access a public array inside a class, but it is freaking out on me. Should this be able to work? [code=php] $TestArra = array('Hello', ' ', 'World'); class Test { function Test() { $this->Display(); } function Display() { foreach($TestArray as $value) { echo $value; } …

Member Avatar for R0bb0b
0
562
Member Avatar for mikelle

>>// Lab 4 read and calculation file/input Ray Perales >>// This program will read the data in the input file >>// used by grosspayMinustaxFileCode >> [code] >>#include <iostream> >>#include <fstream> >>using namespace std; >> >>int main() >> >{ >> ifstream fin; >> fin.open("readgrosspayMinustax.in"); >> if (fin.fail()) >> { >> cerr …

Member Avatar for kc8pdr
0
155
Member Avatar for deostroll

I've create a C program that makes a call to routines which I create inside of python...however when I copied the final exe to another machine the program crashed saying it couldn't find the python25.dll...tried looking for it but could not find it. Is it enough that we have this …

Member Avatar for deostroll
0
84
Member Avatar for 7arouf

hi there. i created an xml, xsl, and html files and i need to create a drop down list that will allow me to quesry database my xsl files is [QUOTE] <?xml version="1.0" ?> - <Kwantlen> - <Schedule> <Semester>Summer</Semester> <Department>CISY</Department> <CourseName>Emerging Technologies</CourseName> <Prerequisite>CISY1218</Prerequisite> <CRN>2583</CRN> <Days>Monday</Days> <StartTime>16:00</StartTime> <EndTime>19:00</EndTime> <RoomNumber>G1045</RoomNumber> <Instructor>Sen</Instructor> <FinalDate>August …

Member Avatar for 7arouf
0
167
Member Avatar for tmarket

I have 2 tables: an IP Address table, and an IP Ranges table. I want to retrieve a list of ranges in the ranges table for which one or more of the IP addresses in the IP address table fall within that range. The IP addresses are represented as integers, …

Member Avatar for tesuji
0
599
Member Avatar for agartrell

Hey, I have a hash table for primitive values that uses a template to store the key Type and value Type, everything compiles fine as far as that's concerned, but i have a wrapper class that associates floats with ints (array indices) and that's all good except for one syntactic …

Member Avatar for agartrell
0
94
Member Avatar for steveg242

Hi, I have created an Access 2003 database for about 20 users over a network. I am currently weighing options as to just have the database on the network or to split it. The one main question I have is how to distribute design changes and possibly table design changes …

Member Avatar for boblarson
0
111
Member Avatar for firthusa

I have two tables, one is called "options" and the other is called "option_values". The first one contains entries such as: "size, color, shape" while the other has a "option_id" field linking it back to the "options" table and with entries like: "small, medium, red, green, square, etc..." depending on …

Member Avatar for firthusa
0
127
Member Avatar for Firestone

I've been looking over classes, but I just can't understand a few things. 1) Why would you make variable private and use functions to set and read them? Whats the benefit? 2) Since I don't know what the benefit of making variables private, whats the point of using a class …

Member Avatar for Narue
0
81
Member Avatar for ninjaimp

Hi I am trying to populate a listview with all the hours of the day in 30 minute intervals. I can doing very basically from 0 to 24 with the following code: [CODE] Private Sub CreateTimeStep() For i = 0 To 25 Step 0.5 lstDays.Items.Add(i) Next End Sub [/CODE] but …

Member Avatar for ninjaimp
0
87
Member Avatar for NiNTENDU

Hi all, this is my first post! I'm pretty new to C and maybe this is a dumb question. I've a function that accept a string as a parameter for modify it but it doesn't (I'm sure there is some logical mistake with pointers): [CODE=C] void doSomething(char *string) { string …

Member Avatar for NiNTENDU
0
800
Member Avatar for Muttley

[code=cplusplus] class Base{ char* s1; public: ... ~Base(){ delete s1} } class Derived:public Base{ char* s2; public: ... //the constructor of the derived class will call the constructor of the //base class, so derived will contain s2 and s1 too. ~Derived(){ //HERE } void main(){ ... Base x[5]; ... }; …

Member Avatar for Narue
0
125
Member Avatar for sciwizeh

hello, i'm making a small calculator program, and i want the display to look like this: [URL="http://www.freewebs.com/sciwizehgames/images/want.jpg"]want.jpg[/URL] but i'm getting this: [URL="http://www.freewebs.com/sciwizehgames/images/Getting.jpg"]getting.jpg[/URL] this is the code i am currently using for the task: [CODE]public void actionPerformed(ActionEvent e){ String currText = viewer.getText(); String text = enter.getText(); int len = currText.length(); enter.setText(""); …

Member Avatar for sciwizeh
0
723
Member Avatar for new_2_java

Can someone tell me what jar file do I need inorder to use the above class?

0
122
Member Avatar for regalla

Dear f riends, i have two forms connected to two tables in ms access database with data control. and i want to link two field in two forms and update database . i used the following code for updating text1.text=form2.text1.text in form1 text1 lost focus event. but iam not understanding …

Member Avatar for Jishnu
0
98
Member Avatar for darklich13

I'm having trouble getting my InputMismatch working on my program. Do I need some kind of throw for this exception? The program compiles fine, but it dosen't pick up the exception. Can someone please help. [code] public class EndingListener implements ActionListener { public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("Convert")){ try{ …

Member Avatar for darklich13
0
206
Member Avatar for era_chatterbox

How to highlight a week if the week number is given. e.g. against week number 22, the form must show the dates ranging between 2/july/08 to 9/july/08. Thanx in advance :)

Member Avatar for selvaganapathy
0
118
Member Avatar for MarcFielding

Hello Everyone, I was hoping for some advice on my little problem as i'm a little stumped. I writing what is basically a telnet client using sockets in vb.net. The client works fine until I want to start parsing the received text for ANSI escape sequences(the ones that give colour). …

Member Avatar for MarcFielding
0
112
Member Avatar for &rea

Hello, I have got a problem declaring a matrix. I have got a picture (bitmap) and I take the whole image with a rectangle so I can "paste" it in a matrix. My problem is that the constructor says that I need an array of Point (Point[]) but I don't …

0
62
Member Avatar for mansoorhacker

hello viewers. i have some problems in java database connectivity. the code compiles successfully but , when i execute the code it gives this error " error establishing socket connection". i have applied several solutions e.g enable tcp/ip in sql server, checking the name of sql server., giving ip to …

Member Avatar for Ezzaral
0
149
Member Avatar for anuragatiiith

hey i need to generate and print an identity-card kind of thing ..i hav the values in my database ..how can i do with help of java tools ..im new to java .pls help ..i-card hav speicifc format with a image . thanks !!

Member Avatar for Ezzaral
0
88
Member Avatar for luxe

Hi all... i'm using Visual Studio 6, and i must create an .exe file with a .dll inside and a small database (only read) .txt inside. How i can do that? I have try but always the i have 1 exe, 1 dll and 1 txt file, but i want …

Member Avatar for Jishnu
0
1K
Member Avatar for Alex_

Hello, i am supposed to solve a problem using this Method. Can anyone pls tell me what this exactly is, and how does it work?Or maybe a link to a source ...? i'd be very thankfuly! Pls this is urgent.It's for my thesis! the perl calculus problem sounds like this: …

Member Avatar for Abzero
0
153

The End.