199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ku95

Im currently working on a Connect4 progrqam and I'm trying to convert a string into an integer. You will see that it is under the Connect4View. Its really frustrating as I'm struggling to find a way round this. Is there a possible solution to this and can someone please tell …

Member Avatar for ku95
0
162
Member Avatar for Chosen13

I need help making something for a forum of mine. I have view thread, new reply, new topic, forum index, view forum, and all that done. I just need this. What I want it to be is a section that lists the last 25 posts you've posted in, and each …

Member Avatar for Chosen13
0
85
Member Avatar for RossMc

Hi, I need to create this Carpark application that looks like this [url]http://i35.photobucket.com/albums/d171/rossmc/java-1.jpg[/url] I have got the buttons to work but when I try to make the grid it is not showing with the buttons when I run it. This is the code I have so far. Does anyone know …

Member Avatar for masijade
0
131
Member Avatar for Dragennd

Hey, I'm trying to make a form of a search engine for my website. I have permission from my teacher to do it for class even though its for personal use. I have part of it built but I'm stuck at the "proper translation of the file" part. Heres the …

Member Avatar for Dragennd
0
166
Member Avatar for tdhprestatyn

I am running a BackgroundWorker to make a call to a Web Service to obtain a list of Customers, and a list of Vat Rates. This is fine and works, but I am simply stuck passing this data through to RunWorkerCompleted so the form can be updated (these two sets …

Member Avatar for orthimnas
0
421
Member Avatar for eagled2

I'm creating a site with several articles. On the main page of this site I am creating section that shows you a preview of the articles and allows you go through them using a next and previous button. I found some example code designed for use with search results and …

Member Avatar for eagled2
0
2K
Member Avatar for LloydFarrell

Hi all, Im looking for some help with a profile view counter in php. What im trying to do is update mysql db by 1 everytime a profile is viewed. ATM when a profile is viewed, my db is updating every profile by 1 please review my code below and …

Member Avatar for nonshatter
0
949
Member Avatar for canadave

Hi there...I'm not much of a programmer, but I'm hoping someone will take pity on this newbie :) I have a webcam that uploads an image to my non-profit's website via FTP every 15 seconds. The filename is webcam.jpg. I have a javascript that automatically reloads the image (NOT the …

Member Avatar for fxm
0
2K
Member Avatar for AFB

this erorer message appear to me when i run projact --------------------Configuration: afb - JDK version 1.6.0_17 <Default> - <Default>-------------------- Exception in thread "main" java.lang.StackOverflowError at sun.awt.Win32GraphicsConfig.getBounds(Native Method) at sun.awt.Win32GraphicsConfig.getBounds(Win32GraphicsConfig.java:215) at java.awt.Window.init(Window.java:393) at java.awt.Window.<init>(Window.java:432) at java.awt.Frame.<init>(Frame.java:403) at java.awt.Frame.<init>(Frame.java:368) at javax.swing.JFrame.<init>(JFrame.java:158) at Convert.<init>(Convert.java:10) at Convert.<init>(Convert.java:115) at Convert.<init>(Convert.java:115) at Convert.<init>(Convert.java:115) at Convert.<init>(Convert.java:115) at …

Member Avatar for quuba
0
243
Member Avatar for merse

I would like to read input data from text file with fstream. But I don't know how to mix different type of get functions. I would like to read for example numbers after char "=" I try to use something like this [CODE]char c; double x; while (!inFile.eof()) { inFile …

Member Avatar for Narue
0
800
Member Avatar for krishnisilva

hi, how can i call a method when a combo box values is selected in C#. please help me what is the event in the combo box that i have to use??????

Member Avatar for Sodabread
0
98
Member Avatar for bigsurya
Member Avatar for BLKelsey

I have selected to do a hangman console game in my C++ course (9th week) in which I have a question about wait(). I want to make the game "appear" to be loading just to give it aesthetics but I'm not sure how to do it the way I want …

Member Avatar for BLKelsey
0
107
Member Avatar for elizabeth mwash

hello to you all, i need some assistance in making the right decisions here. i have been requested to create a system that will do the following:- when a customer gives his order, it is not written on a paper, everything is on soft copy. the data clerks enter user …

Member Avatar for finito
0
99
Member Avatar for rai32

Hello people, i am really sorry to post two new threads in such a short time, but i have a problem that's driving me nuts. I think i know where my program fails, but i don't know the reason why. Let me explain: I am making a chat program. I …

Member Avatar for rai32
0
153
Member Avatar for Mujahid158

Hello everyone, I've been looking for a open source cricket fantasy script for couple of months but haven't reached to anything. Now, i decided to code my own cricket fantasy script. But there is one thing which is making me confuse. How does the match fixtures, results and player stats …

Member Avatar for Mujahid158
0
84
Member Avatar for CzechRock3

Im trying to creat a password varification system where the user enters there password twice while making a user account but everytime the user enters there password it is telling them 'sorry, passwords dont match' Im trying to say if there are two input boxes in the first one they …

Member Avatar for Hirra
0
413
Member Avatar for D4n1sD

Well I have a gui and I want to change its process name or dont display it on process at all how do I do it?

Member Avatar for Rajesh R Subram
0
103
Member Avatar for np2100

I was wondering if its possible to embed c++ into an Html website. Is there some engine that does it for you, or is it just not possible? Thanks.

Member Avatar for Rajesh R Subram
0
159
Member Avatar for gunbuster363

Hi all, I am a beginner of C++ and I don't know many things. I happens to encounter a simple problem which I don't know how to solve. Please help me out. I intended to write a program that solve the following problem: [QUOTE]Problem A Hashmat the brave warrior Input: …

Member Avatar for Sky Diploma
0
349
Member Avatar for antman89

<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="cart.aspx.vb" Inherits="cart" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <script runat="server"> Dim TotalUnitPrice As Decimal = 0.0 Function GetUnitPrice(ByVal Price As Decimal) As Decimal TotalUnitPrice += Price Return Price End Function Function GetTotal() As Decimal Return TotalUnitPrice End Function Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, …

Member Avatar for antman89
0
355
Member Avatar for Venom Rush

Hi I've been searching on how to use php variable names inside an array and to much dismay I've found nothing. I'm sure it's something really simple but I can't seem to get it even after the numerous educated guesses I've made and tried. What I want to do is …

Member Avatar for Abolshiz
0
4K
Member Avatar for eyes4u

I create my listview in my design part, not programmatically. Then I want to reach this listview's content when I pressed some button. In my main form, I created a public listview to return listview2 as in my design. [CODE]public ListView lst { get { return listView2; } set { …

Member Avatar for dilbertz
0
234
Member Avatar for habib_parisa

Dear All, I am trying to use free function in C to free memory of an array of pointers. It does not work and I get segmentation fault. The code looks like this: [CODE] #include <stdio.h> #include <stdlib.h> int main() { int *make_pointer(int); void read_array(int *array[3]); /****************/ int *array[3] ; …

Member Avatar for jephthah
0
6K
Member Avatar for ItecKid

Hello, I am trying to structure query to execute MySQL fulltext search. I have creates simple table as follows: CREATE TABLE IF NOT EXISTS `entries` ( `id` int(3) NOT NULL auto_increment, `doc` text collate utf8_unicode_ci, PRIMARY KEY (`id`), FULLTEXT KEY `doc` (`doc`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ; And …

Member Avatar for mwasif
0
97
Member Avatar for leegeorg07

Hi all. I have a text file and it will be edited by multiple people at one time. I want to be able to have a script to do this for me, given the new text, the old text and if possible how many people have been editing it. I …

Member Avatar for EvolutionFallen
0
101
Member Avatar for spotlight87

hi guys >> i need ur help please >>> i ve created a login page which includes user name and password and i created a welcome page which contains the required codes for connection and verifying the username and password from oracle database .. when i run the login page …

Member Avatar for spotlight87
0
310
Member Avatar for Geek-Master

I have been playing around with different 'flavors' of programming, like QBasic, Assembly, and C++. I like all of them, but I have really begon to like C++. The only problem I have, is that I dont have any problems to solve. I'm just programming cause its FUN ^^. I …

Member Avatar for mrnutty
0
179
Member Avatar for moods125

[[CODE]#include <iostream> #include <string> using namespace std; class digits { }; class numOutofRange { }; int string_to_int(string s) throw(digits, numOutofRange); int main() { int histogram[10]; int total; int currentNumber = 0; string s; for(int i=0; i < 10; i++) { histogram[i] = 0; } cout <<"How many numbers do you …

Member Avatar for moods125
0
163
Member Avatar for Mitja Bonca

I would like to know how to programmatically call a mathod regarding on time. In my example I would like to call a method every hour. Can I use a Timer or is there something else?

Member Avatar for mcriscolo
0
934
Member Avatar for cellus205

Hey guys, I need some help with the logic on coding a checkbox column on a Datagrid on a Windows Form. What I want the Datagrid to do, is once the checkbox is checked on the Datagrid, to enable several other columns also on the Datagrid. I think I almost …

Member Avatar for cellus205
0
142
Member Avatar for bsse007

what will be the code of comparing the login data with the already stored data of user on the data base .kindly reply me soon.ihv to compare the two variables(user name and password).plzzz

Member Avatar for bsse007
0
2K
Member Avatar for yongj

I have a code here that needs to return a string from a function, but the compiler continues to tell me an error saying that "overloaded function differs only by return type from 'int Bible::getName(void)'". How can I fix this? Here is my code: [CODE]// Joseph Yong // CSC2430 // …

Member Avatar for Fbody
0
193
Member Avatar for vharuna

Somebody please help with this code. I have been tryin to calculate and display the total of the total output from an oracle database. Please see my code below and kindly tell how i can display the total. <?php $conn = oci_connect("Username", "pwd", "IP/tns"); $date=date('d M Y'); $total= oci_parse($conn, "select …

Member Avatar for LethargicCoder
0
140
Member Avatar for nonshatter

Hi all, I have just made a search bar for a site but I am having trouble trying to return the number of results that are found. E.g. I want it to print "Your search terms returned 'xx' results" after each search. This is my code: [CODE] <?php include ('db.php'); …

Member Avatar for Virtualbase
0
2K
Member Avatar for dicksonkaranja

Guys i was wondering if any of you can suggest a book or a tutorial that i can use in object oriented PHP

Member Avatar for Virtualbase
0
83
Member Avatar for ultimatebuster

Is this needed? [CODE] class Test: def __init__(self, f): self.f = open(f) def __del__(self): try: self.f.close() except: pass [/CODE] Also, how can i open a file, and have it in append mode. However, if the file doesn't exist, python creates it?

Member Avatar for HiHe
0
132
Member Avatar for emaduddeen

Greetings Everyone, In the TableAdapter configuration wizard I am using this query: [CODE] SELECT AttendanceID, StudentID, ClassId, DateOfClass, Absent FROM Attendance WHERE (DateOfClass BETWEEN #5/1/2010# AND #5/30/2010#) [/CODE] Can you tell me the correct syntax to change the #5/1/2010# AND #5/30/2010# so the WHERE clause uses dteStartDate AND dteStartDate which …

Member Avatar for emaduddeen
0
373
Member Avatar for nanharb

I am trying to create an update query for a website, and I keep getting an syntax error message. I narrowed it down to the table column that is the only field that is set to be of type text. [code]UPDATE company SET references = "blah blah blah" WHERE company_id …

Member Avatar for cereal
0
2K
Member Avatar for kevintse

Hi, everyone. I am stuck when trying to solve such a problem, I need your help. We have a website for online e-book reading that holds around 60,000 books and currently has 5 million registered users, we are using MySQL for storage of all the data. Now there's requirement from …

Member Avatar for jwenting
0
216
Member Avatar for bsewell

HI All, I'm developing a security system for a CMS but it appears that my redirect does not work. I'm using sessions and I know that the session is being created since I did an echo on session_id(). [CODE]<?php if($count==1) { $_SESSION['loggedin']=1; print "logged in"; header('Location: edit.php'); print "no"; } …

Member Avatar for Virtualbase
0
285
Member Avatar for paragouldgamer

The code: [CODE = php] $selecteddate = $_POST['Releasedate']; $selectedplatform =$_POST['Platform']; $selectedstyle = $_POST['style']; $query="SELECT * FROM $table WHERE date = '$selecteddate'AND Style = '$selectedstyle'AND Platform = '$selectedplatform'"; [/CODE] Ok, the code works if someone picks something for all 3 of the items, so all of the code works, but if …

Member Avatar for Virtualbase
0
99
Member Avatar for Eternal49

Ok, I dont really know how to explain what im trying to do. So it might be easier to just look at my code. But basically im getting the following error messages when I try to compile the code, I know what error messages mean, I just dont know how …

Member Avatar for abhimanipal
0
197
Member Avatar for Fredep

I am in a car club. We have a LOT of people and even more cars that they own (or have owned):icon_rolleyes:. I would like to make a database of each members car, year, make, model, body style, date purchased, date sold, member information. So...... I am stuck :$(why, of …

Member Avatar for Fredep
0
94
Member Avatar for Demon_singh

Could anybody help me with this code 1. want to read a file into an array. 2.three button should sort it 1st product name should sort it alphabetically, 2nd maximum stock level which sort by maximum value, 3rd price sort by maximum value on the top. thanx cheers Demon

Member Avatar for moutanna
0
110
Member Avatar for arunvb

Hi.. Am using vb6.0 and crystal report 2008 in my project. Am getting lots of temp files on the root path.. Application will taking more than 2 hrs to load. After loading, the application is terminating automatically.. And when i try to open .dsr files it ll showing an error.. …

Member Avatar for vb5prgrmr
0
102
Member Avatar for Donnovan

can i change the value of an int with a pointer. e.q. int n = 20; int *size = n; can i change n by doing this *size++. thanx

Member Avatar for sweetyk2
0
89
Member Avatar for bsewell

Hi All, I'm trying to replace all occurances of ' to &rsquo;, which is it's character code in HTML. How to I get str_place to search for '? [CODE]$data=str_replace("&rsquo;","'",$data);[/CODE] Cheers,

Member Avatar for mschroeder
0
78
Member Avatar for HiHe
0
9K
Member Avatar for pash101

I am writing a project to calculate the area and volume of 2d and 3d shapes. I have a class hierarchy with my abstract base class called 'shape'. I want to make a separate class to calculate a prism of a specified depth from any 2d shape, yet am unsure …

Member Avatar for pash101
0
249

The End.