199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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... | |
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, … | |
anyone knows what is option strict on is used for? or it means wat? | |
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 … | |
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 { … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 | |
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.. | |
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 … | |
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 … | |
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 … | |
: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 ? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; } … | |
>>// 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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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]; ... }; … | |
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(""); … | |
Can someone tell me what jar file do I need inorder to use the above class? | |
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 … | |
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{ … | |
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 :) | |
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). … | |
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 … | |
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 … | |
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 !! | |
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 … | |
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: … |
The End.