199,114 Archived Topics
Remove Filter ![]() | |
hi all, i had a php page which contains a list of images in a table. When i click on submit button i those values should be inserted into database. I need this by using ajax. I had tried something but i am not getting values inserted into database. so … | |
Hey folks im having some trouble with a roulette wheel selection that im programming for a genetic algorithm. I decided to do it slightly differently to the standard Roulette wheel, primarilty because its highly likley in standard version that the fittest solution will mate with itself. And that just seems … | |
We have three different accounts on our website that members can sign up to but one login page. How can I set it up so when a user logs in they are taken to the correct account based off their user id? Right now when someone logs in they are … | |
suppose we have following function: [CODE]void someFunction(int * araye){ for (int i=0;i<5;i++) cout <<araye[i]<<' '; cout <<'\n'; }[/CODE] can we pass an array to this function by following syntax, under upcoming c++0x standards? : [CODE]someFunction({1,2,3,4,5});[/CODE] if that's true, will we even be able to use this syntax in any case … | |
Hello everyone. I have managed to connect a winsock client to a server application; however, I do not know how to display the results that are recieved inside of my "recv" buffer as a unified string, as apposed to the char array format it is currently in. I would like … | |
I am writing a program which will read a properties file. I craeted the properties file and placed it in the same location of the class file. But when I am trying to run the program from eclipse, it can't find the properties file, but if I specify the full … | |
I am trying to implement an application in which a Perl script uses Win32::OLE to populate a spreadsheet from a database and present it to the user. The user is then free to modify the spreadsheet [I]manually[/I]. The modified data is then required to update the database. We would prefer … | |
The Developer Studio compiles my code with no error and no warning, but I do not include the needed libraries. Maybe some standard libraries are loaded by default, but I cannot find in the settings, and dont know which ones! Can you help me? | |
Hello, I'm new to this forum. Right now I'm developing a software based on Genetic Algorithms. I really have almost none experience, and I have a question. First of, this software is a prototype, a template. So the user can choose between a lot of choices (types of crossing and … | |
Hi Everyone. Am new to this forum. ------------------------------------------------------ [URL="http://www.sangamgrouphotels.com/"]Hotels in Kanyakumari[/URL] [URL="http://www.sangamgrouphotels.com/ayurvedha-treatment"]Kanyakumari Hotels[/URL] ![]() | |
write aprogram in c++ to read the tokens in one at a time ,if it is integer,push it on stack, if it is binary operator, pop two elements from the stack, apply the operator to the two elements and push the result back on the stack?? please help me to … | |
Hi.. I am new to Dani web and would like to know the problem in the following code: [CODE] #include<iostream.h> #include<conio.h> void insertion_sort(int *p); int main() { int a[20],j; cout<<"\nEnter contents of array:"; for(int k=0;k<20;k++) { cin>>a[k]; } insertion_sort(a); return 0; } void insertion_sort(int *p) { int h,key; for(int i=2;i<20;i++) … | |
Hi i'm stuck on this script that i'm busy writing and have no idea where to start. I need a script that connects to a secure ftp, downloads files and store it on my local pc. has anyone done something similar and which modules should i be looking at. | |
Hi, I have a file that has about 65000 lines and three columns. I need to read in the first 2 columns until line 112960. I then need to write the 12960 lines of 2 columns to a file. This needs to be repeated for about 600 files... I then … | |
For my application we use scan guns to scan barcodes to do various things. My issue is with tabbing. We scan a barcode that represents the ">" sign. When focus is on the combobox box and they scan the ">" sign it places the ">" in the combobox. How can … | |
i have consistently asked for help but none so far. Kindly assist me to get the data grid view items saved into a database.below is code for what av done so far Regards. [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace … | |
good morning guys I have a question that am hoping someone can answer for me I am using vs 2008, and have put the sql database into a program that is being built. the database fields all work fine...I am able to make entries, save it, close it out and … | |
Hi, I need help passing variables in php. I have an html page describing a job with an id number(jobdescription.html). -when the user clicks on a submit button, I want to open another html page (jobsubmit.html) with a form and have the job id autofill into a form field named … | |
Hi, I have a small question. I am developing a php code and it has nested if else statements and it has like 7-8 nested if and else statements. I am looking to reduce the nested if else to reduce the complexity of understanding the code. Is there a better … | |
Hi there, I have used the below code to format an int value to a mask text box in C#. How can I avoid replacing the zeros in between the the numbers other than the zero’s in the front of the number. How can I do this, as an example … | |
I have a block of code from a prototype.js (ajax code) sample and I want to modify it in order to isolate a piece of the code to make it more maintainable: The original code looks like this ([COLOR="red"]red[/COLOR] is what I want to move):[CODE] function dofill( ) { new … | |
I'm very new to Java and I'm basically teaching myself. I'm writing a program where I need to plot some values. I have a while loop and I need to print x and y values to a text file that I can later graph using gnuplot. If someone can help … | |
hi I can change dictionary values but I can't figure out to change the keys.. here is the scenario I want.. A dictionary is coming like this {'fstn':'Tim','lstn':'Parker','mdl':'W','dob':'19801201'} now I need to change to {'FIRST_NAME':'Tim','LAST_NAME':'Parker','MIDDLE_NAME':'W', 'BIRTH_DATE':'19801201'} please help me to change the keys.. | |
Hi, I'm currently writing an application using VS C++, Qt, and SQLite. I have a user interface where the user uses a series of combo boxes to select certain criteria that they want to fetch from the database. When this dialog closes, all of the combo boxes selected text (string … | |
[CODE][/CODE][COLOR="Green"][B][/B][/COLOR]Hi everyone! Question??? I have created a source code for converting Decimal numbers to Binary. I haven't done this in a while so I need a litte help on figuring out what is wrong with my code. The problem is I enter the JOptionPane class in order to prompt the … | |
Hi I'm very new to Python Language, I'm getting this error "AttributeError: 'str' object has no attribute 'internalSplit'" and don't understand why. please check the following code.. [CODE] sourceAction = str(sourceAction); identityInfoDict = dict(identityInfo); for key in identityInfoDict.keys(): if(key.find("GENESYS_DATA") >= 0): intDict = self.internalSplit(key,identityInfoDict)[/CODE] and the internalSplit is a function … | |
Hi everyone, So i have the following code which is used so i don't have to have .php at the end of my files and also more importantly to view members profiles by having there username after my domain. Unfortunately if the user has a space in their name you … | |
Hi there, thanx everyone who contributed last time. I got a simple way to make the server chat with a connected client. But the problems now are: 1. how do i get the know of the other users who are online. 2. how do i get get clients communicate independently … | |
Is it possible to load in a txt file into java, but from a folder in say the c: drive - as opposed to placing the text file in the java project itself? Thanks in advance for any help | |
Hey there folks. New at this so forgive any mistakes, first post. I'm beginning to learn c++. Not so easy. After reading a few threads went to project euler. Problem i have is problem 3. " The prime factors of 13195 are 5,7,13 and 29. What is the largest prime … | |
Hi There I may be asking a question about something that is not do-able, but, here's my question Does anyone know if it is possible to let a visitor to my website upload a file to my server, without using the normal form file upload? maybe upload with ftp. I … | |
Hello everyone, I am doing a login form in ExtJS + PHP, but it does not work. (authentication failed each time) . Here's the code: ExtJS part: [CODE] <script type=text/javascript> Ext.onReady(function() { Ext.QuickTips.init(); var loginForm = new Ext.FormPanel({ url: 'login.php', title: 'Login to goodTalk', frame:true, bodyStyle:'padding:5px 5px 0', width: 252, … | |
Hi all, I'm hoping I'm posting this in the correct forum. I'm working on a project where a user purchases a downloadable item via Paypal. Once the user has made the purchase, he or she is return back to the site where the purchase is recorded to the database. Everything … | |
Hi, I have used HashMap in my program.I need to know the capacity of the HashMap. Now i am currently storing 5000 records in hashmap.I need to know the Maximum capacity. Thank you, With Regards, Prem | |
Hi Guys, I am trying to implement FormsAuthentication in my asp.net website. I am using VS-2005. The login page in my application is "Default.aspx" from this page I want to redirect the user to "FirstForm.aspx". However, if I type the address of the target page when in login page I … | |
I am trying to call a web service (smartermail) which return some information (single or multiple). I am able to call the service but I dont know how to read the response/returned values? Can someone give me hints please. | |
Hey guys, i've been having a go at / learning some php for the last 4 weeks or so. its been really interesting. ive however hit a problem that i cannot find a solution to. Here is the website in question http://apnb.du-z.com/ every sixth or so refresh in the 'Hot … ![]() | |
Hello. I am having a problem. I am attempting to gather a group of file names from a directory. I am able to do this. I tested the code by having the list populate into a listbox and all desired items were added to the list. Here is my code: … | |
Hi, I have a question relating to excel sheets in C#. I have a button in a datagridview in C#, how can I open an excel sheet when I click on the button. And then when the excel sheet opens I need to edit it, so how can I open … | |
![]() | Evening all. I have decided to try my hand at programming in python. I have tried some of the tutorials on the web but none of them really hold my interest for long. I am looking for a tutorial that covers all the basics and goes quite indepth. All the … |
Hi Folks, I have been searching to find a reglular expression that deals with decimal points, they are not mentioned on the Sun Tutorials for Regular Expressions. Basically im trying to verify that a string taken in from a screen matches the format of (15).99. This is not for my … | |
hi i want to display pascals triangle on computer screen.the pascals triangle goes like this. and what is logic. 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 and so on. | |
this probably has a simple solution but i cant seem to see whats wrong with it [CODE]<?php //Form Data //error seems to occur here echo "<h1>Registration</h1>"; $submit = $_POST['submit']; $fullname = $_POST['fullname']; $username = $_POST['username']; $password = $_POST['password']; $repeat_password = $_POST['repeat_password']; if ($submit) { } ?> //between these two points … ![]() | |
fck editor image upload failing in my server. images are not uploading. but it is working in my localhost.....plz tell me what to do? | |
I'm new to Python and I'm having a problem I can't explain. While running: [CODE] >>> open('word.txt') [/CODE] it returns: No such file or directory: 'words.txt', even if I have both files saved in the same place. I've tried entering the entire file location, but still no luck. Any help … | |
Hi, I had 2 Template columns in a Datagrid, each column contains a Textbox. The user can enter the values and it should be saved. I wanna add a new row if a user clicks add new button. After Entering the values in the textboxes (inside the Datagrid) if he … | |
I'm try to go through a file that's formatted as follows: f 5//10 3//2 6//3 f 9//3 20//15 3/20 etc. I want to pull out the numbers, subtract them by some set number, and then output them. I'm using a scanner to read each line of the file, but next … | |
Hi, I made a digital thermometer some time ago using PIC microcontroller. I would like to conncet it to my PC via serial port. I want to write some thing in C# to be able to achive that. I am having problem in designing the graphics in C#. I have … | |
I have command string and want to find a pattern in it.If present i have to remove certain characters and retain the other characters as it is in the command string. [code=c++] string aDir("bin/kwp-init start -t1 -uwelcome@mails.com -ppasstoks@123 -v"); string search_char ("@"); size_t found=0; found = aDir.find_first_of(search_char); cout <<"@ is … |
The End.