132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Loony064

Hey all! First off, yes i have read the tutorial and i'm still stuck (mainly cos i'm not using ADOOB). My main problem is that my code adds a new record to the end of the dataset, which is what i want, but then it also has the very annoying …

Software Development dataset visual-basic
Member Avatar for Jishnu
0
103
Member Avatar for fujilec

Lets say i do this to count the number of that particular hour: [code]If vDateTime.Hour > 0 And vDateTime.Hour < 24 Then Dim hour As Integer = vDateTime.Hour If hour = 0 Then hour = 24 End If count(hour, 0) = count(hour, 0) + 1[/code] Refer to the data below: …

Software Development vb.net
Member Avatar for waynespangler
0
140
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 …

Software Development vb.net
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 …

Software Development java
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 …

Software Development python regex
Member Avatar for Miyuki
0
128
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 …

Software Development client-server python
Member Avatar for tzushky
0
714
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 …

Software Development c user-interface
Member Avatar for Aleczz
0
157
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, …

Software Development c++
Member Avatar for lhadieinsane
0
117
Member Avatar for april_er

anyone knows what is option strict on is used for? or it means wat?

Software Development vb.net
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 …

Software Development email vb.net
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 { …

Software Development c linked-list
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 …

Software Development dataset vb.net
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 …

Software Development c++
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" …

Software Development c++ storage
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 …

Software Development python
Member Avatar for Agni
0
125
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..

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

Software Development c++ file-stream ios
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 …

Software Development c++ visual-studio
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 …

Software Development visual-basic webcam
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 ?

Software Development printer windows-xp
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 …

Software Development c++ ide visual-studio
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 …

Software Development c++
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 …

Software Development c c# c++ video visual-studio
Member Avatar for blood08
0
289
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 …

Software Development c++
Member Avatar for CoolGamer48
0
448
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 …

Software Development c++
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 …

Software Development c++ python
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 …

Software Development html-css javascript xml
Member Avatar for 7arouf
0
167
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 …

Software Development c++
Member Avatar for agartrell
0
94
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 …

Software Development c++
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 …

Software Development display listview vb.net
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 …

Software Development c
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]; ... }; …

Software Development c++
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(""); …

Software Development java
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?

Software Development java
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 …

Software Development visual-basic
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{ …

Software Development java
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 :)

Software Development visual-basic
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). …

Software Development client-server vb.net
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 …

Software Development c++
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 …

Software Development java
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 !!

Software Development java
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 …

Software Development visual-basic visual-studio
Member Avatar for Jishnu
0
1K
Member Avatar for cam9856

I was wondering if it is possible to have people create accounts with passwords and be able to login in to them within a C++ console app without using SQL. Like winsock or something.

Software Development c++
Member Avatar for cam875
0
91
Member Avatar for sweety0

Hello!! I wanted to know that does anybody can provide me the source code of : how to find the shortest path between different countries.? I m sending u my code its in Visual C++ 6.0 I m doing it with adjacency list. done with adjaceny list but dont know …

Software Development c++ ios
Member Avatar for Jishnu
0
416
Member Avatar for wellibedamned

Hmm, i kinda aint in the mood to dig the net about this, so i guessed i'd post my question here.. I'm not so familiar with the time library...is there a nice easy way to drop some code into the loops to check which one is slowing down the program? …

Software Development c++
Member Avatar for phalaris_trip
0
104
Member Avatar for darlineth

Hi to all. i am darryl Nuyda from a native country philippines, i'm here your site to participate and need your help. I'm a sophomore student of information technology. am here in your site, to need a help for my Java application using J FRAME . I'm a newbies, this …

Software Development java
Member Avatar for VernonDozier
0
146
Member Avatar for margierose

I'm new to this site and to C++ in general I was looking for some way to do the following: Write a program that allows numbers to be [B]entered[/B] in decimal, hexadecimal, or binary, and then [B]prints out[/B] the number again in all three bases. Any help on this program …

Software Development c++
Member Avatar for William Hemsworth
0
160
Member Avatar for bhoot_jb

in my project, i need to take some details like company name, contact no. and address during the installation of the project itself. but i dont know how to accomplish that..please guide me. :|

Software Development visual-basic
Member Avatar for Jishnu
0
273
Member Avatar for Aamit

I want to store my file data in array?? List.txt contains Xyz Abc Lmn Pqr Hij Klm [code] #include <stdio.h> #include<conio.h> int main() { FILE * pFile; char mystring [100]; pFile = fopen ("c:\\List.txt" , "r"); if (pFile == NULL) perror ("Error opening file"); else { while(!feof(pFile)) { fgets (mystring …

Software Development c++
Member Avatar for Alex_
0
1K
Member Avatar for gh0sst

Hello! I've used the code in [URL="http://www.daniweb.com/code/snippet173.html#comments"]this[/URL] thred to generate an image on the Console. It works fine but the problem is that I don't know how to clear the screen in dev-cpp. I've imported some libraries (conio & winbgim) from [URL="http://www14.brinkster.com/aditsu/console/"]this[/URL] site and clrscr() works but it only deletes …

Software Development c++
Member Avatar for mitrmkar
0
410

The End.