199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Cobus Steyn

Hi everyone I have a simple yet annoying problem. I'm trying to change the selected color in a stringgrid, ie when selecting a cell the background must change color. The grid has no fixed rows or columns and only one column (like a simple list editor). I've overridden ondrawcell for …

Member Avatar for Cobus Steyn
0
170
Member Avatar for joker40

I am working on Final year project and it is going smoothly untill i face this problem in my contact form [COLOR="Green"]Data has been submitted to [email]ibrahim_1_0@yahoo.com[/email]! Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() …

Member Avatar for joker40
0
118
Member Avatar for nikita_knp

can anyone plz help me out..to make a text editor in C... i dun even know where to start with... it should perform basic functions like moving cursor up and down.. cut,copy,paste,delete,moving to a new line on a enter etc..

Member Avatar for rizwan_aman007
0
160
Member Avatar for Tom Tolleson

Hi everyone. I have sort of a simple question: I have need to replace one object (an image) with another object (a textfield/form object). I want the switch to occur when the user clicks on the image, and have the textfield appear in the same location. Is this possible? Thanks! …

Member Avatar for phillman17
0
109
Member Avatar for Papikos

Hello! I got a Web Site ([url]www.papikos.com[/url]) which shows well in MOZILLA (check it out). In IE is shows bad, on the left, right side too much space and the header is also not good (please check it too). Can somebody help with the according SCRIPT to make it look …

Member Avatar for MidiMagic
0
85
Member Avatar for alexgv14

I have a .txt log file and must of it is crap. But there are parts that display when a user logs in, and at what time the logged in. Below is a portion of the log file. For example, "user1" is a user logging in and "user2" is another …

Member Avatar for jrcagle
0
119
Member Avatar for davidianstyle

Hi Everyone, I'm fairly new to DaniWeb and I was hoping I could get some advice from all you experts out there. I registered my own domain name and got a host a few days ago and am planning on building a personal website based on Ruby on Rails (I'm …

Member Avatar for jenishkottaram
0
161
Member Avatar for bleonard989

These are the errors I am getting. I have never worked with classes before, I posted before but have done some work to it since then, and have gotten less errors. The main problems are the push function, the copy constructor, and the function that creates a new stack. prog4.cpp: …

Member Avatar for bleonard989
0
212
Member Avatar for SYT

Hello, I've developed my project using C language on Linux platform. When I compiled my program, I got some linkage errors. I've read in some other C forum that the errors I'm getting is due to a linkage problem with the libraries. Can someone tell me the proper steps to …

Member Avatar for SYT
0
115
Member Avatar for evios

I'm doing tic tac toe. I am planning to show the scores of the users and computers using the same form. So, for each time the user or the computer loop, i need to add a timer to it so that it can update the scores. Refer to the source …

Member Avatar for evios
0
156
Member Avatar for sfurlow2

For my homework assignment, I'm supposed to get five numbers from a user and print the highest one using a loop. I'm not sure what to do. Any suggestions?

Member Avatar for sfurlow2
0
469
Member Avatar for orcboyx
Member Avatar for DarkDot

Basically for a class project/assignment we need to take another persons program in class and correct it for them, if they are good at assembly then your in luck if your person is bad like mine seems to be your screwed. Below is the exact code they posted, I've gone …

Member Avatar for DarkDot
0
5K
Member Avatar for Auzzie

Right well i thought that seeing as i am creating a complete application i thought i would write my own db class just done a little bit of it and i am getting a nice error of [QUOTE]Fatal error: Call to undefined function mysql_connect() in *:\****************\database.engine.php on line 61[/QUOTE] it …

Member Avatar for Auzzie
0
98
Member Avatar for Tinemelk

Hi! Im trying to make a program where I fill an array with elements from my defined class cars in cars.h /cars.cpp, and then sort the elements by using the selectionsort algoritm. Im guessing I have to replace my filling of the tab with random numbers with something like Cars<int>Cars[10]? …

Member Avatar for Ancient Dragon
0
134
Member Avatar for sebe

hello, My computer have a problem when i start, there a error message "couldn't load main class". I need to know if i update the java can resolve this problem. Thanks

Member Avatar for shinnxennosagga
0
69
Member Avatar for slayman89

Ok i apologize in advance for my ignorance but i have just started learning c++ and my first program went off without a hitch now this one that im doing completely on my own is giving me some hiccups. The best i can tell is that im just having some …

Member Avatar for Ancient Dragon
0
83
Member Avatar for mevtho

Hi, I have to refactor the method kingRange under, the goal being code readability : [code=java] /* For information, here are the class fields needed here : private String setUp; public final static Collection validPieces = Arrays.asList(new String[] { "R", "N", "B", "K", "Q" }); public static final int LEFT …

Member Avatar for mevtho
0
121
Member Avatar for eleonora

Hello, Im trying to implement a program which will split a text file and then parses the elements to an arraylist. My text file looks like that: [QUOTE] Name: Mariah Johnson Customer no: 663,283 Post code: BA1 74E Telephone no: 028-372632 Last modified: Jan 11, 2007 8:10:05 PM GMT Name: …

Member Avatar for eleonora
0
227
Member Avatar for wonder_laptop

well , i know java, but im new to c. i came across this while learning c : int my_function(const char *str1){ unsigned char c1; c1 = (*(unsigned char *) str1); } well i suppose this code is casting from a string to the character value of it but what …

Member Avatar for wonder_laptop
0
108
Member Avatar for ulasu

hi, i want to link to dll files in my project. I have the header and implementation files and object library file to that dll file. I don't know how to call the functions out of the dll file. I am using Visual studio.NET C++ IDE. Any help will be …

Member Avatar for twomers
0
161
Member Avatar for Jboy05

Given the following variable declarations and function prototype. How do I write three different calling statement to the MyFunction function without declaring additional variable. int I; bool B; double D; double MyFunction (bool, int&);

Member Avatar for Jboy05
0
101
Member Avatar for apuM

hey, basically I have an assignemnet to write a C and MIPS code to determine if a number is a power of 2 or not.(that is only a beginning part to the main core of this assignment which needs this code to be used later). I'm capable of doing the …

Member Avatar for Duoas
0
210
Member Avatar for HeroOfTime

Hello all. I was looking for a set of java classes that I can use to synch midi output of a speaker to output on the monitor (or other actions). I've been looking for the longest time in google, and I can't find exactly what I want, or at least, …

Member Avatar for Ezzaral
0
137
Member Avatar for AbuShokry

Hi everybody, my problem is as follow, I have two classes myClass and myGUI myClass code is [CODE] public class MyClass { public void start() { while (true) { // do some stuff } } public void stop() { System.out.println("Hello from stop method!"); } } [/CODE] myGUI code is [CODE] …

Member Avatar for Ezzaral
0
91
Member Avatar for cbattagler

Hello, I need to overload my comparison operators such as == and < so that I can use things such as std::sort and std::unique on a vector of some user defined classes. I know how to overload them globally. The problem is I need to overload these operators as member …

Member Avatar for cbattagler
0
111
Member Avatar for Matt You

I have a simple program (code follows) that circle_shifts an array, but I need it to be able to quit when the user enters a character, (ex. q). Where do I start?[code]#include <stdio.h> #include <stdbool.h> #include <math.h> int printAr(int n[], const int SIZE){ unsigned int i; printf("Array contents: "); for( …

Member Avatar for Matt You
0
121
Member Avatar for Sampath.nalaka

Hey I Want to know How Can i develop a software to send sms pc to all mobile phones using vb.net. Can you guide me how to do it or plz send me a sample code.

Member Avatar for densman
0
90
Member Avatar for brr

plz help me how to do select/dropdown iam new to ajax i followed the example select/dropdown from sourceforge net but its not possible how to do it using [B]jsp[/B] plzzzzzzzzzzzz help me in this, send me the code how to do it in jsp

Member Avatar for MattEvans
0
271
Member Avatar for muddpigeon

hi im new to this javascript business and have a problem with the following code [ICODE]<HTML> <HEAD> <TITLE> SOFASPEND - IN THE BEST POSSIBLE TASTE </TITLE> <SCRIPT LANGUAGE = "JavaScript"> /* Program to prompt for a number and then display message according to the response but allowed 2 maximum tries …

Member Avatar for ShawnCplus
0
187
Member Avatar for Mr.Wobbles

I am writing a program in VB 2005 Express and I am using SQL to insert, delete, etc. I was curious if there was a SQL statement that would allow me to backup the database in Access - I have tried the MySQL syntax for it, but I can't seem …

Member Avatar for jbennet
0
102
Member Avatar for SBox

when iam trying to add data to the database i get this error [CODE]Microsoft JET Database Engine (0x80040E14) Syntax error in INSERT INTO statement. /science/add.sign.asp, line 14[/CODE] here is the add.sign.asp [CODE] <!--#include file="connection.asp" --> <% adddate=now() name=request.form("name") email=request.form("email") ranking=request.form("ranking") notes=request.form("notes") if name="" or ranking="" or notes="" then response.write"الرجاء ادخال …

Member Avatar for Kim Rowden
0
434
Member Avatar for what_is_that???
Member Avatar for Ene Uran
0
47
Member Avatar for mlattanzi

Dear all, this is my first post on the Forum, so hello everybody! :) I am newby with Python (I have only 4 days experience), I have started to leanr because I will need to develop some software to the company I working in. Currently I am developing a code …

Member Avatar for Ene Uran
0
174
Member Avatar for landercat

I can get the code to compile, and essentially do what I want it to. The problem I'm having is in my getData(int choice) function. I want the function to keep asking the user to enter a valid number (1-8) if they enter something else. If I put an if...else …

Member Avatar for landercat
0
4K
Member Avatar for mjsinpl

Hey guys. I have to create an alarm clock in python. i really really need some help in creating this thing.. seeing that i have absolutely no clue what i am doing. I have found some basic code that supposedly makes a clock which updates but the bleeeding thing just …

Member Avatar for Ene Uran
0
684
Member Avatar for ghost_squad7

i would just like to ask i'm making a timer w/in a game my problem is with the scan function the game is like a guessing game. where a jumpled word appears on screen the timer is supposed to be displayed like this -------------------------------------------- output/user screen: -------------------------------------------- sampleword time left …

Member Avatar for WaltP
0
469
Member Avatar for manzoor

Hi i have to complete a program which do the following If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 …

Member Avatar for manzoor
0
113
Member Avatar for Jennifer84

I am trying to delete what is written in a textBox like this in C++ .NET. When pressing the button the text/Numbers I have written in the textBox doesn´t deletes. I beleive 0 is the index from where to begin the delete wich should be from the first character in …

Member Avatar for Jennifer84
0
185
Member Avatar for sean_morris9

Hi, I'm trying to display an image that's stored in a SQL Server database. The ContentType and binary data are being returned but the image is coming up as a broken image. To test that the data is being retrieved I tried outputting the content type. [code=C#] Response.Write(adm["Image_MIME_type"].ToString());[/code] It is …

Member Avatar for JerryShaw
0
125
Member Avatar for majestic0110

Hi all, I am looking for an ASP.Net 2.0 training (online/dvd/cd) - any recomendations? I am in the UK and have some ASP.Net experience. I am not looking for a class to attend, or lectures etc. I am looking for something I can complete either online or from a DVD …

Member Avatar for serkan sendur
0
79
Member Avatar for rohoni

when i use for loop to get a string i have following problem why? [code=c] include<stdio.h> void main() { int i; char name[5]; for(i=0;i<5;i++) scanf("%c",&name[i]); for(i=0;i<5;i++) printf("%c",name[i]); }[/code] output world here for [COLOR="Green"]world[/COLOR] i get only [COLOR="Green"]worl[/COLOR]. that is for 5 char I get only four why ?

Member Avatar for gerard4143
0
97
Member Avatar for maydhyam

Hi, I have an application set to run in a .bat file, and would like to know what I can do to hide the command window that comes up with the application when it is executed, but still have the application running.

Member Avatar for maydhyam
0
113
Member Avatar for johnny.g

hiii,,,i m using asp.net 2005 and sql server 2005 i m using gridview and sql datasource,,whn i debug the application i get ths error:::: ________________________________________ Format of the initialization string does not conform to specification starting at index 0. ___________________________________________________ can ne1 help me out with ths error,, thnks in …

Member Avatar for serkan sendur
0
46
Member Avatar for charitha_sharma

hello all i have experience with windows forms programming but now i have to work independently for the whole project i need help in two topics pls help me 3 clients will be connected to my server front end : VB.Net my database : Oracle my question is how to …

Member Avatar for charitha_sharma
0
86
Member Avatar for bleonard989

I am pretty new to c++, and have never worked with stack or templated classes before. I have started this program, but I am not done, I was wondering if I am at least on the right track, because I get a ton of compile errors. The assignment: Implement the …

Member Avatar for mitrmkar
0
529
Member Avatar for joker40

Frist I would Like to Welcome All the members in this Forum And Also i would like to represent some tutorials about Java , and this frist tutorials maybe look selly to some people but as we move far in this programming language it will get harder and harder ... …

Member Avatar for joker40
0
124
Member Avatar for ihtraa

hi, I want to read the string as many time and filter that string, store in hashtable. I don't know any filter command is present in java.here I am sending the code. [code] import java.util.StringTokenizer; import java.util.Hashtable; import java.util.Enumeration; public class test123 { public static void main(String[] args) { String …

Member Avatar for stultuske
0
104
Member Avatar for vectra17

Is it possible for an imported COM DLL server to be seen as an object in the 'TOOLS PALETTE' ? Thanks.

Member Avatar for vectra17
0
76
Member Avatar for vbobba

I have below query inside sp. select groupno,a from table1 where groupno <> 'Test' It is not returning rows where groupno is null. I did recompile sp with SET ANSI_NULLS off. But it is not working. Any suggestions? Please help thank you

Member Avatar for debasisdas
0
67

The End.