199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DARK_BYTE

Hi I have to build the like of a commercial website for my project and all was going well until I had to try to insert images in a SQL database ; I tried to modify some code that I found online but it is not working. The idea is …

Member Avatar for zinnqu
0
113
Member Avatar for Amonod

Hello. I am currently reading c++ primer plus 5th edition and I've become stuck at Chapter 13, Exercise 1, which is on class inheritance. The classes looks like this: [CODE] class Cd { ..... public: ... virtual void Report() const; .... }; class Classic : public Cd { .... public: …

0
76
Member Avatar for new programer

hello all, I've posted an old version of the following code before but I was not clear on my question or the title of the problem [for that am sorry] I did changes on the code now I have no errors but it does not do what I want .. …

Member Avatar for new programer
0
103
Member Avatar for tunde011

please open [url]http://www.sharewink.com/[/url] in mozilla and IE search for share Please what am i doing wrong?

Member Avatar for tunde011
0
80
Member Avatar for CrazyProgrammer

Hi, Could somebody please show me and example of how to iterate through an n-nary tree, where I do not know what n is and n could be different for every node ie the root node could have 3 children and each child might only have 2 children etc, I …

Member Avatar for john.double
0
224
Member Avatar for EllenHeijmans1

I have a problem with a combobox and no page on the Internet has been able to help me so far. So I hope that one of you can. I have a form (with information about clients) with textboxes binded to a dataview. One of the columns in the dataview …

Member Avatar for sem.live
0
94
Member Avatar for timtianchen

[CODE]int main(){ string array[][]=get_element(2,3); return 0; } string get_element(int numrow,int numcol){ string result_array[numrow][numcol]; for (int i=0;i<numrow;i++) { for (int j=0;j<numcol;j++) { result_array[i][j]=" "; } } return result_array; //ERROR is on this line } [/CODE] I get error: conversion from ‘std::string (*)[(((long unsigned int)(((long int)numcol) + -0x00000000000000001)) + 1)]’ to non-scalar …

Member Avatar for monkey_king
0
148
Member Avatar for handyman_uk

i am currently using the meta tag for page transition i would like to use a cross browser script does anyone know of a script to circle out on page exit that is cross brower compatable a little sheepish shorn

Member Avatar for handyman_uk
0
75
Member Avatar for timtianchen
Member Avatar for dasatti

Hi, I need database for implementing dropdowns for Countries than based on selected country the States/Proviences dropdown and then the cities dropdown on the bases of selected State/Provience for all the countries in the world. I hop you understand what I need to implement. Can any body please provide me …

Member Avatar for kireol
0
88
Member Avatar for SKANK!!!!!

like i cant use mail() beacuse it uses my hosts mailer which is really slow. i use google apps to check my email adress at my domain and i can send with tht to but thats at the gmail website. is there some kind of script to send with gmail …

Member Avatar for SKANK!!!!!
0
297
Member Avatar for matthewl

Lets say I have two functions that I want to run simultaneously for different purposes as example a function handles an XML RPC requests and the other function handles an IRC connection to an IRCD. what my goal would be to avoid program hang ups on user requests. Is pthreads …

Member Avatar for gerard4143
0
112
Member Avatar for nigelmercier

Hi guys, I'm pretty much a C newbie, but I've dabbled in other languages over the years. For my current project I'm using mikroElektronica Pro C on a PIC microcontroller. I've got a 2-dimensional array defined like this: [CODE]const char FONTTABLE[96][5]= { {0x00,0x00,0x00,0x00,0x00}, {0x00,0x00,0x5f,0x00,0x00}, {0x00,0x07,0x00,0x07,0x00}, /** [90 rows snipped] **/ …

Member Avatar for gerard4143
0
143
Member Avatar for SoulMazer

So...I have just begun to whet my appetite for Java today, and I have already run into a stumbling block. When I put my code in a .java file and compile it (via javac), I receive no errors. However, when I actually run my script, I receive quite the nasty …

Member Avatar for peter_budo
0
207
Member Avatar for kde

How can I do it - with pointer and only one loop ? for exmpl function - unsigned int dif(const char *str) [CODE] counter = 0; for(i = 0; i < N; i++) A[i] = 0; do { A[tmp % 10]++; tmp /= 10; } while(tmp); for(i = 0; i …

Member Avatar for gerard4143
0
104
Member Avatar for lewashby

In the following program, why do I need to use the name "player" rather than a regular counter like "i"? I ran the program this way and it prints out the last element in players for how ever many player elements are in players. I want to know what's going …

Member Avatar for jcao219
0
113
Member Avatar for joshbeebe

How do you take input from a user and use that input to determine what information in a class to use. Here's an example that doesn't work, but hopefully you understand what I am trying to do from this. [CODE] class hello { string name; int size; }; int main() …

Member Avatar for Bench
0
302
Member Avatar for Kruptein

the code on my localhost and on the server are completely the same (django), but it is not shown correctly; I include two screenshots What could be the cause of the difference? (the left one is the online server; the right one is the localhost)

Member Avatar for hondros
0
325
Member Avatar for marirs07

hi,I'm currently working on a program in C++.I have a string for ex "Hello Hai How are you" When i print it using outtext im not able to get the output same as that of the string, the new line character"\n" is replaced by some other special charecter,and is printed …

Member Avatar for Lerner
0
318
Member Avatar for rmsagar
Member Avatar for vegaseat
0
201
Member Avatar for tqmd1

Dear Experts Please modify UPDATE codes according to INSERT codes Style. 'Insert Codes [CODE] Dim cmd As New SqlClient.SqlCommand("Insert Into employees (sno,Name, city, phone,img) Values (@sno,@Name, @city,@phone, @img)", con) cmd.Parameters.Add(New SqlClient.SqlParameter("@sno", SqlDbType.Int)).Value = Val(Me.TextBox1.Text) cmd.Parameters.Add(New SqlClient.SqlParameter("@name", SqlDbType.VarChar)).Value = Trim(Me.TextBox2.Text) cmd.Parameters.Add(New SqlClient.SqlParameter("@city", SqlDbType.VarChar)).Value = Trim(Me.TextBox3.Text) cmd.Parameters.Add(New SqlClient.SqlParameter("@phone", SqlDbType.VarChar)).Value = Trim(Me.TextBox4.Text) cmd.Parameters.Add(New …

Member Avatar for sknake
0
109
Member Avatar for dipak83

I want to convert url using GET method from [url]http://localhost/demo/index.php?keyword=sap&Submit=Search[/url] TO [url]http://localhost/demo/sap[/url] but i am getting problem in rewriting url i.e unable to rewrite url to [url]http://localhost/demo/sap[/url] i have written my htaccess as RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?keyword=$1 Please help me to get the proper htaccess code... Thankyou [code] <form …

Member Avatar for arunss
0
139
Member Avatar for eva yang
Member Avatar for vegaseat
0
132
Member Avatar for NargalaX

Hey, I'm making a little program that will talk to you using fixed sentences etc., and I want to make it able to do math. How would I be able to check if a string contains + - * / and also contains numbers? and then furthermore, once I have …

Member Avatar for sknake
0
111
Member Avatar for apease11

I am working on a program that can read, write, and export files, these functions all work fine and are almost perfected. What I would like to do now is to be able to choose a file and tell it to "Open With" (In the Right-Click Context Menu on Windows …

Member Avatar for sknake
0
142
Member Avatar for punter999

hello Seniors, i am new to python development.i have started my internship in that language. can any one provide me the code that show me how to add subtract and multiply matrices in python.??? what will be the code if i want to take input from the user to enter …

Member Avatar for vegaseat
0
150
Member Avatar for farag

Hello every one, i have small question, How to add reference automatically in all projects which i create in Visual Studio like System, System.Collections.Generic and others in Console Application Projects Thanks in Advance

Member Avatar for sknake
0
153
Member Avatar for HelpMeIT

Simply put i would like to open a new form as simply as possible using a button i looked at this [URL="http://www.daniweb.com/forums/thread99518.html#"]http://www.daniweb.com/forums/thread99518.html#[/URL] but it confused me i dont want any values passed on i just simply want it to hide the old form and open then new form can this …

Member Avatar for House_of_Dexter
0
2K
Member Avatar for swapneelearth

Hi,im here for d first tym and also for d frst tym ever in any forum.im very much intrstd 2 learn C#.bt i dnt knw in wich way i should start.i dnt knw any othr language.is it possible for me 2learn C#??? any gud heart thr pls pls help me.thank …

Member Avatar for ddanbe
0
127
Member Avatar for CMSHelper
Member Avatar for farooqaaa
0
146
Member Avatar for SKANK!!!!!

i dont understand, because i use mysql num rows and stuff someone on some other webbysite says u have to use lock tables so if someone else changes the table while the script is running then they cant if u lock the tables. but i dont understand anyone know how …

Member Avatar for SKANK!!!!!
0
174
Member Avatar for startstop123

As you know there exists Mobile Banking for all Banking Domains. Everyone can do their banking from their Mobile devices. So I like to create a Desktop Application for banking on Windows. Users can do their banking like making and viewing transactions, credit card information, Saving accounts, current accounts, demat …

Member Avatar for startstop123
0
266
Member Avatar for Mitja Bonca

How can I simply do a list of hours - a date schedule (from 0 to 24) in a listView, that 1st column would show hours seperated by 30 min, 2nd column then will be filled with the name who will reserved that hour. Something like that: [URL="http://img189.imageshack.us/img189/5023/clistview02.jpg"]PICTURE[/URL].

Member Avatar for Mitja Bonca
0
140
Member Avatar for new programer

hello all.. I have been working on a code to deal with cryptex .. please take a look at it and tell me what am doing wrong if you may.. here's the code: [CODE]//This program takes the number of rings, the unlocking word and the secret word in the form …

Member Avatar for Agni
0
156
Member Avatar for jagdish kasta

Hi, I am traying to set font for datagrid whole column but thare is no any easy way to do it in vb6... please help

Member Avatar for vb5prgrmr
0
94
Member Avatar for venus_me11

Can you please help me how to loop a textbox for example, I have 10 checkboxes and I check only 2 of them. If I click the submit button, the number of times I check a checkbox should be the number of textboxes to display.. so I check 2 checkboxes …

Member Avatar for venus_me11
0
103
Member Avatar for NativeCode

I seem to be getting an error in this code gdb tells me the segerror is comming from the code: data[dpos]+=cmd[d]; [CODE]//Strip tags data[0]="";data[1]="";data[2]="";data[3]=""; dpos=0; for(int d=0;d<cmd.size();d++){ if(cmd[d]==';'){ dpos++; } else{ data[dpos]+=cmd[d]; } } cmd=""; //end strip[/CODE] Could anyone please tell me whats going on?

Member Avatar for NativeCode
0
131
Member Avatar for cthoes

[below structure contains s1[i].name contain array of string name. to check if user entered name in that array list. i need to compare words by words. but my problem is that since string is stored in array. and string itself is an small array. so i dont know how can …

Member Avatar for cthoes
0
164
Member Avatar for badboy00z

[QUOTE=vegaseat;250820]This little code shows 6 random integer numbers from 1 to 50 ... [code]import random print "show 6 random integers from 1 to 50:" for k in range(6): r = random.randint(1, 50) print r, print [/code] Rewrite the code to make sure there are no duplicate numbers amongst the six …

Member Avatar for badboy00z
0
860
Member Avatar for sanfan49er

Hey i have a problem with my C# problem under the class cars. On each public declaration it is saying that it already contains a definition for 'idNumber', 'make', 'model', 'color', and 'cost'. I am using windows visual basic, here is my code. [code=csharp] using System; using System.Collections.Generic; using System.Text; …

Member Avatar for Kalimuthu_S
0
226
Member Avatar for er.imran2006

Want to merge multiple text file items into a single text Please give code Thanks in advance Imran Ahmed <EMAIL SNIPPED>

Member Avatar for peter_budo
0
104
Member Avatar for dreamygirl

Hey guys, I'm working on my DBMS project,it's about creating a visual basic application that links the user to a database. I've created the connection and added the dataset with the relations i've made in MS access. Since i'm a beginner in visual basic,i've come up with this simple layout: …

Member Avatar for abu taher
0
118
Member Avatar for tustind

I apologize in advance for this being quite a long post... but, any help is great! I have a website (coded in PHP) which publishes content provided by users in a revenue sharing model. We pay each contributor a certain amount for every 1,000 "views" that their articles get. In …

Member Avatar for FlashCreations
0
217
Member Avatar for love_dude1984

hi.. im using a grid with a template field which contains a button.i just want to know how can i retrive a value from a 2nd cell of the same row... for ex. my grid contains 5 columns.the last col is a template field with a button. ther are say …

Member Avatar for love_dude1984
0
131
Member Avatar for BobFX

Hi, I need to convert some C# code into C++. It starts with: [code=c#] Dictionary<string, ListViewItem> mItems = new Dictionary<string, ListViewItem>(); [/code] I can't find a full example in the C++ Visual Studio documentation. How do I declare a Dictionary object? A small example would be appreciated. Thanks.

Member Avatar for BobFX
0
1K
Member Avatar for ryy705

Hello, I have a time field saved in database in GMT format. I need to convert it to the visitor's local time. Is there a way to figure out the vistor's region/time? Should I be looking into javascript for this? I thank you in advance for your help.

Member Avatar for Aamit
0
373
Member Avatar for cabsjonel

hi! folks merry christmas and happy new year to all of you ahhm! i have problem in using the .bas module i mean declaring global varibles from it, I try several times to use the variable that i declared in .bas module but did not work so can you help …

Member Avatar for abu taher
0
97
Member Avatar for a9m2i11t

Hello Everybody....... I am a student of M.C.A. 3rd sem. and I received an assignment on making "Project on Placement Cell " from my college , but i don't know what i have to do in this project...... can you please help in creating this project.... Please tell me from …

Member Avatar for abu taher
0
105
Member Avatar for Pamilerin

Please I have a little problem with my project. It goes "A polynomial of degree n is represented as Pn(x)=A0 + a1x + a2x^2 + … + anx^n Where a0, a1, a2, a3 , … , an are constant coefficients. Evaluation of such polynomials may be important if Pn(x) is …

Member Avatar for vinodxx
0
111
Member Avatar for kde

how can i do it with one loop? [code] void printMat(const int mat[][N], int n) { int i, j; for(i = 0; i < n; i++) { for(j = 0; j < N; j++) printf("%3d ", mat[i][j]); puts(""); } }[/code]

Member Avatar for jonsca
0
102

The End.