199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kaku_lala

Folks, here is an implementation of memset(), however I have been told that there is one logical mistake in the code. Could you help me find it. I feel that a double pointer for the target string should be passed to this function, which will be like passing the address …

Member Avatar for whyname
0
218
Member Avatar for om1d_h

Hi, I need to generate a PDF report from my MySql. The problem appears when we want to write in Persian. The PDFlib appearently doesn't support UTF-8. I also checed UFPDF. It neither work well. Any advice? I use: PHP Version 4.3.7 mysql: Client API version 3.23.49

Member Avatar for haggis-man
0
242
Member Avatar for click here

Overview this is a fast way to delete Records from your mysql datebase without loading the page . this jquery code can Delete a Record with animation fade-out effect using jQuery and Ajax. <FAKE SIGNATURE>

0
167
Member Avatar for racshot65

Hello, This is driving me crazy so here it goes. I'm trying to create a program that finds the 1000th prime number. This is the code I started with to check if a number is prime: [code] numberofprimesfound = 0 numbertotest = 303 divisor = 2 if numbertotest%divisor == 0: …

Member Avatar for jlm699
0
119
Member Avatar for etypaldo

I am currently learning Python and how to work with start and stop indexing. I am doing a project from the book I am learning from and I'm stumped...I need to display a full deck of cards, with [CODE]numbers = ("A", "2", "3", "4", "5", "6", "7", "8", "9", "10", …

Member Avatar for sneekula
0
166
Member Avatar for NargalaX
Member Avatar for DdoubleD
0
90
Member Avatar for thebookie

I am having a few problems with the Timer component in ASP.NET. I can get it to work in the C# part of visual studio but not in the ASP.NET. The thing is a number will be logged into the website so each person will need to view the same …

Member Avatar for herrturtur
0
2K
Member Avatar for Friktion

hey everybody i just upgraded from 2.5 to 2.6 and im having problems with building pymedia since there is no binaries out there -.- this is what im doing and getting [CODE] C:\pymedia>python setup.py build Using WINDOWS configuration... Path for OGG: ..\pymedia\libogg-1.1.4 Path for VORBIS: ..\pymedia\libvorbis-1.2.3 Path for FAAD: ..\pymedia\libfaad2 …

Member Avatar for Friktion
0
256
Member Avatar for Nishanthi

i have a table with certain column names for example book table with name,author and price now i have a web form with three text box i need to add the text box data to database from ASP.Net form pls tell the coding urgent!!!!

Member Avatar for sudheerdiwakar
0
111
Member Avatar for iceshells

#include <stdio.h> #include <string.h> #include "include.h" #include "windows.h" #include "stdio.h" int ExternalIP(SOCKET Sock, char *szChannel) { DWORD dwRet = 0; HANDLE hHandle; char szIP[16] = {0}; char szTempPath[MAX_PATH] = {0}; char szTempFile[MAX_PATH] = {0}; char szSendBuffer[512] = {0}; if (!szChannel) return false; GetTempPath(sizeof(szTempPath) - 1, szTempPath); GetTempFileName(szTempPath, "Temp", 0, szTempFile); …

Member Avatar for Dave Sinkula
0
448
Member Avatar for dorkwad

I compiled a project I made in visual studio 2008, but for some reason it only works on the computer it was created on, on any other computer I just get the "... has encountered and error and needs to be closed..." error message. At first I thought it was …

Member Avatar for dorkwad
0
125
Member Avatar for papanyquiL

I've got a splash screen that plays a flash video upon form load. My problem is, the method to load the flash video is like this: [code=c#] this.axShockwaveFlash1.LoadMovie(0, @"C:\blahblah\blah.swf"); [/code] However, if this app is installed on somebody elses computer they would either have to move the .swf file into …

Member Avatar for papanyquiL
0
205
Member Avatar for Warkthogus

I'm attempting to write a program that will take a word entered by the user and give a concatenation of the corresponding triple quote strings. I've looked at [URL="http://www.daniweb.com/forums/thread189881.html"]http://www.daniweb.com/forums/thread189881.html[/URL], but didn't quite find the piece I'm missing. The idea is fairly simple: User inputs a word (or numbers) Exchanges letters …

Member Avatar for Warkthogus
0
228
Member Avatar for hny_lyn

To begin, we were asked to make a TREE... It says that we should traverse the left subtree of the ROOT/NODE in postorder and then make a copy of it... Next is to traverse the right subtree of the ROOT/NODE in postorder and then make a copy of it... Lastly, …

Member Avatar for quuba
0
533
Member Avatar for GavinHolt

Hi All, I have coded a function to work out all the possible combinations givien a list of properties and options. If the script was working out all the possible ways people would like toast, it might look like this. [CODE] Array ( [Bread] => Array ( [0] => White …

Member Avatar for gate7cy
0
665
Member Avatar for guyshahaf

i need to use a php script to recieve an email body text from flash and send that email to a fix address with a fix subject. i was able to do so but i got stuck with 2 problems: 1. why does a multiline text data get sended as …

Member Avatar for veetee
0
1K
Member Avatar for hnissani

I have both firebug and venkman debuggers installed. Both seem to function yet neither works. I use firefox3.5.3., windows xp. Any suggestion?? Thanks

Member Avatar for hnissani
0
121
Member Avatar for Rofljosh

I'm having a problem with a program I'm doing for class. The first part I have finished, it's a program that allows the user to enter a number from 1 to 365, and it outputs what Month and day of the month that number is associated with. My problem arises …

Member Avatar for Rofljosh
0
916
Member Avatar for Whilliam

Hello. I'm not getting the desired output for my program. The problem is specifically in the file. I can get it to save and load but when I try displaying it, its gonna have a General Protection Exception error. Here's my code. Please help [code=c] #include<stdio.h> #include<conio.h> #include<string.h> #include<stdlib.h> #define …

Member Avatar for Tom Gunn
0
151
Member Avatar for twisizz

Hey, I've got a problem with Directx9, I hope someone can help me out. When I create a Win32 Console application, I don't get any problems, but when I create a Directx9 application with C++ and open the application on another computer I get this error: [quote="Error"]The application can not …

Member Avatar for twisizz
0
172
Member Avatar for Gaiety

Hello, i have written the code for checking a given tree is strict binary or not. i tried the following code but i am not getting the correct result. and i unable to understand how to check. int strict ( BST_t *p ){ if( p == NULL ) return 1; …

Member Avatar for Tom Gunn
0
1K
Member Avatar for Stefano Mtangoo

Hi, its me again! I have faced this error trying to redirect from one page. Here is the error: [COLOR="Red"]Warning: Cannot modify header information - headers already sent by (output started at I:\xampplite\htdocs\site\insert.php:3) in I:\xampplite\htdocs\site\insert.php on line 28 Illegal action or other errors![/COLOR] here is insert.php [CODE=php] <!DOCTYPE html PUBLIC …

Member Avatar for almostbob
0
166
Member Avatar for edek

Hi, I have a custom DataGridViewColumn which uses custom editing control to edit values of cells. The editing control shows up in a edited cell when I want to edit a cell :), and that works just as it should. The problem is that my editing control is much bigger …

Member Avatar for edek
0
1K
Member Avatar for helmX

I would like to convert the following code to .NET from VB6 [CODE]While Not rsMem.EOF i = i + 1 lstView.ListItems.Add i, , rsMem.Fields("lname").Value With lstView.ListItems(i) .SubItems(1) = IIf(IsNull(rsMem.Fields("fname").Value), "-", rsMem.Fields("fname").Value) .SubItems(2) = IIf(IsNull(rsMem.Fields("Title").Value), "", rsMem.Fields("Title").Value) .SubItems(3) = IIf(IsNull(rsMem.Fields("telNo").Value), "", rsMem.Fields("telNo").Value) .Tag = rsMem.Fields("per_id").Value End With rsMem.MoveNext Wend[/CODE] lstView is …

Member Avatar for kvprajapati
0
92
Member Avatar for D_switch

please help im really stuck in my sorting you see i need to make a program that asks the user 10 names of people then the array of names gets pass to another function where it is sorted in ascending or descending depending on what the user wants. that function …

Member Avatar for D_switch
0
5K
Member Avatar for awa

Hi, I have the following problem: I would like to read from a file between to keywords (KEY1 and a line consisting of ------), skipping 4 lines after the first keyword. What I have is the following: [CODE]import re import string infileName = raw_input("filename ") infile = open(infileName, 'r') data …

Member Avatar for awa
0
305
Member Avatar for junvb

is there an event associated with the right mouse button? i need to make the right mouse button click programmatic in my application on visual basic. is there a way? the idea is that we preset the time up to the millisecond accuracy and let the right mouse click on …

Member Avatar for Vineeth K
0
152
Member Avatar for yorro

I don't know how to explain this more clearly than I can. The codes in my form are getting too many/long. How do you split the codes into another? and still having the same classes and events in order to [U]reduce the amount of codes in the form.[/U] Sorta like …

Member Avatar for yorro
0
469
Member Avatar for mahela007

I'm a bit confused as to how variables (or fields) of classes are handled in python. I'll give a small example of what I mean. [CODE] class Cow: # the first class that popped into my head legs = 4 moo = cow() [/CODE] now, moo.legs will return 4 and …

Member Avatar for djidjadji
0
175
Member Avatar for nilesh.kalyanka

Attachment: file. I am writting some code to show images. This code is written in Form_Load event. But I am unable to see images. If form is shown without MDI parent, it works fine. But when I set MDI Parent then it doesnt show images. I moved the code to …

Member Avatar for nilesh.kalyanka
0
179
Member Avatar for Sobakaa

Hi, guys, i need some help, as i can't find a mistake in my code for some hours. I'm expiriencing a problem in function makeCodes, which should make huffman codes for my symbols. In my head this works just fine, recursively making codes, but my Visual Studio crashes on the …

Member Avatar for Sobakaa
0
112
Member Avatar for tarunkhatri

Hi In my postgres databse, I have a table named grid_data. I want to insert a new row in that table whn someone enters values in the html form.. But dnt knw why its not working. below is the code. [CODE]<html> <head></head><body> <form action="test_insert.php" method="POST"> <table><tr> <td><input type="text" name="employee_id" value="0" …

Member Avatar for edwinhermann
0
130
Member Avatar for Stefano Mtangoo

Help me inspect this code. I cannot see error by myself. here are the codes for inc.database.php I'm learning OOP with PHP (I extensively using it with python but I'm noob to PHPiing) [CODE=php] <?php class Connectdb{ private $DATABASE = "site_contents"; private $HOST = "localhost"; private $USER = "root"; private …

Member Avatar for Stefano Mtangoo
0
148
Member Avatar for innocent.boys

i m new to php.. i have seen in many php sites...!! if jump from one page to another... it does shows the page name..!! URL remains at Index page..!! Only page changes..!! as i work..!! if i jump from one page to another..! Url also changes from page to …

Member Avatar for edwinhermann
0
3K
Member Avatar for rajuchacha007

Hi all, I would like to know whether there any JAVA API exists which does copying, deleting or moving files from and to directories and which is platform independent. I mean consider 3 layers. Last one is of OS (windows, linux, unix, solaris). Middle one is of JAVA API and …

Member Avatar for nomemory
0
150
Member Avatar for revenge2

Hey there, How do I installer gtk+ under windows and compile using the gcc compiler through command line. (not using IDE, just notepad++). I've been looking at the gtk+ site but don't have clue as to where to start and how to install libraries. What do I download and how …

Member Avatar for revenge2
0
131
Member Avatar for innocent.boys
Member Avatar for hemgoyal_1990
0
323
Member Avatar for meanace

Hi there. I am producing a bar graph which uses values from a array. I have tried many different ways of getting a fixed size bar graph. Currently it prints the graph correctly with bars both above and below the x axis it also prints the reverse if the user …

Member Avatar for meanace
0
173
Member Avatar for ablitz

Greetings to all PHP gurus out there! Since I'm fairly new to php programming I have a question for you all. I have an array of objects, each object has a unique id property. What is the best way to alter some properties of that particular object?

Member Avatar for mick_sp
0
281
Member Avatar for deepas

I have to import data from excel to datagridview control & then to sql database. i tried to import from excel with below code but its showing err msg .. i couldnot understand where it goes wrong... can anyone help me for this.. if its ok or have any other …

Member Avatar for ddanbe
0
154
Member Avatar for buriza

I am looking for some help on some various errors and problems. This is my header file in which I am getting various errors in my for loops saying expected primary expression before } token. [code] #include <iostream> using namespace std; template <class T> class basicArray { public: basicArray(); basicArray(int …

Member Avatar for Sky Diploma
0
93
Member Avatar for Awebb999

[CODE]//This function prints all scores, but if a score occurs more than once, it only prints it one time void scores_once(int x[20], int size, int new_array[20]) { for(int i=0; i<size; i++) { new_array[i]= -1; } new_array[0]= x[0]; cout<<new_array[0]<<endl; for(int j=1; j<size; j++) { for(int k=0; k<size; k++) { if (x[j]!=new_array[k]) …

Member Avatar for Sky Diploma
0
72
Member Avatar for tomtetlaw

[code] struct{ int health; int armor; char* wep_name; char* name; } test_player = { 100, 10, "master sword", "tom" }; [/code] how to i access the members of test_player ?

Member Avatar for Sky Diploma
0
113
Member Avatar for packmule

Hi, I am just trying to figure out how to access some data. Currently it is stored in a spread sheet in the following form........ [CODE] 8/11/09 9/12/09 .... mm/dd/yy name score score .... score name2 score score .... score [/CODE] there will be many names (and more may be …

Member Avatar for VernonDozier
0
123
Member Avatar for MArun25039

Hello, I'd like to create a basic html form where a user can submit their email address for a cooking class. There would only be room for 20 people so I'd like it to accept the first 20 user and display a "check back next month" to anyone past 20. …

Member Avatar for vincent2085
0
156
Member Avatar for AirGear

i have a code with algo that fits my problem, but i get this error message when i compile it.. #8 floating point exception [usually caused by accessing memory out of bounds]. who knows what's this? here is my code [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; int …

Member Avatar for AirGear
0
249
Member Avatar for r4rozen

i can't write a code for a program.Please help me guys. It goes like this: Create a program that displays the total amount a company owes for a seminar.The seminar rate is $80/person. The input is the seminar rate and the number of seminar registrants,which should be greater than 0 …

Member Avatar for code zombie
0
94
Member Avatar for DC257209

Hey everyone, i'm new to the site and i'm lookin for some help on this program i have to write. I am 100 percent a beginner and don't really know what i'm doing. I need to write a short program that reads in the height at which the ball is …

Member Avatar for vmanes
0
292
Member Avatar for jhill1979

Hello, My name is Josh I am in college and I am taking Intermediate VB.Net 2008 and I have been doing ok until now. I have been working on this problem for 2 weeks and still can not get it to do what it is suppose to do and it …

Member Avatar for TomW
0
116
Member Avatar for aomran

Thank you for taking the time to help me. This is a portion of a D-Heap program to run a number of process based on priority level given to each process. the following are some errors which I'm getting when trying to compile this code(this is a portion of the …

Member Avatar for mrnutty
0
171

The End.