199,114 Archived Topics
Remove Filter ![]() | |
Hi, On my asp .net site, I want a login page so that when the user is logged in, a few extra links are made visible on the header control (.ascx). Also, there will only be about 4-6 users logging in here, I also want to give each one the … | |
Hi, I cannot get the full physcial path of a selected file in Firefox. Code below works fine in IE. Is there other way to get full path in Firefox as well? Thanks [code] function getPath() { alert (document.formUpload.file.value); } <form name="formUpload" enctype="multipart/form-data"> Filename:<input type="file" name="file" id="file" onChange="getPath();" /> <input … | |
i need a program about loan approval or rejection .. but i really don't have any idea to do it .. can any 1 help me ? it need to get the user income.. get the user loan commitment.. get the user outstanding credit card.. it calculate how many years … | |
I was wondering if someone could help me with modifying a program. I first must write a program that not only encrypts, but decrypts a message as well. This part I think I have figured out (although it is probabaly a little bloated) here it is: [code] #Cypher.py #A program … | |
Hey, Ive got a program I'm try to work on that the user enters the number and then it reports back if the number is prime or not. So far my calculations are completely off and I have no idea how to fix them or what they should be. Any … | |
Accorting to MySql manual and web site I modified the environment variable for installing JConnector for mysql as follows : CLASSPATH C:\Program Files\Java\mysql-connector-java-5.0.7\mysql-connector-java-5.0.7-bin.jar where my MySql connector Folder is placed on Java folder in program files (I put there willingly) But actually when I want to do any testing program … | |
hi, i have a table with customer information(name, date of birth etc) i have created a windows form in c# and binded it with the database. the thing i want is retrieve the DOB from database and calculate the customers current age n display in a label in the form;; … | |
Hey all, I am having trouble with a program I am trying to write. Basicially I have a 2 sets of 9 "if statements". These if statements give me the parameters for 3 functions. The problem I am having is that the I am getting errors that are telling me … | |
During a C++ script compilation, and doing exe building in AIX 5.3 using xlC compiler, I get the warning shown below: [CODE]ld: 0711-224 WARNING: Duplicate symbol: .NotNode::NotNode(BoolNode*) ld: 0711-224 WARNING: Duplicate symbol: .UnaryNode::UnaryNode(BoolNode*) ld: 0711-224 WARNING: Duplicate symbol: .OrNode::OrNode(BoolNode*,BoolNode*) ld: 0711-224 WARNING: Duplicate symbol: .BinaryNode::BinaryNode(BoolNode*,BoolNo de*) ld: 0711-224 WARNING: Duplicate … | |
Hi, I am goint to create a very large array but have this error when running this code [code] #include <iostream> #include <limits.h> #include <cstddef> #include <cmath> using namespace std; int main() { cout << UINT_MAX << " " << ULLONG_MAX << endl; cout << pow(pow(24,2),4) << endl; unsigned long … | |
do you know how it is useful to use dataset.begininit method? Thanks | |
please take 3 nubers and print numbers as ascending order descending order USE TERNIARY OPERATORS ONLY thans in advance | |
I've seen a few questions about this floating around here (mostly from me :) ) but I finally got this is into a nice working form - maybe it will be useful for someone. It is called like this: [code] void TestParallelSort() { vector<double> Numbers; Numbers.push_back(3.4); Numbers.push_back(4.5); Numbers.push_back(1.2); vector<string> Names; … | |
Hi , I'm bit confused, what to use as a base langauage for ASP.net, which one is better and easy to code. Please !! help me out... Regards, Shikeb Ali. | |
Hey there! I've written a program and outside of that program I want to make a new python program which generates lists (or in some cases maybe dictionaries) from certain directories and the files in them. I've puzzled around with the os.path(), os.chdir(), os.getcwd() functions, the glob.glob() function and I've … | |
I know what this code does but I don't know How it works if someone can explain to me how it works I would be glad const int Last_Number = 1000; int Primes = 0; Array Numbers = new Array(Last_Number, true); for (int i = 2; i < Last_Number; i++) … | |
I need to keep track of odd and even number which will be accepted from the user 10 time after the user entering them I have to print something like odd number = "The number of odd numbers from what she/he is inputed" and even numbers = "The number of … | |
Hi, i`ve made a simpel media player that can open and play mp3 tracks. And now i wanna try to make it open/create and save playlist. any hints on how to start?? Apreciate your time! =) the code for the player is here [url]http://www.daniweb.com/forums/thread177216.html[/url] | |
hiiii frns... integer can hold only upto 8 bits...where as a string can hold more than 8 bits...so to compare them...is der any function??? like my code is like this for(int i=0;i<= stringgg("12345678901234567890"); i++) | |
Hi, There is a problem with session ID haunting me for a couple of days. In Mozilla Firefox, the session ID changes every time the page is refreshed. But in IE it does not change and is working correctly. Is this because of some browser settings? Since I am checking … | |
I'm new to C++ and I'm having a hard time with classes the question is [COLOR="green"]int main(void) [COLOR="Green"]{ Point ary[5] = { Point(1, 2), Point(3, 4), Point(5, 6) }; Point sum; sum.SetXY(sum.GetSumX(ary, 5), sum.GetSumY(ary, 5)); sum.Print(); return 0; }[/COLOR][/COLOR] for this main function how do I make a Point class … | |
Hi, I am trying to send the userId (which is a uniqueidentifier in the db) in a querystring. The receiving masterpage will then show data based on the user id. However, i am getting the error 'Conversion failed when converting from a character string to uniqueidentifier' I thought converting guid … | |
hi i want to merge two rows in a table. but a little confused.. Please help!:confused: the example is as shown below Record #1: [B]Nikhil [/B]Bhat [B]1Jan2009 [/B][B]Married [/B]ABC Record #1: Nikhil [B]Ong [/B]1Feb2009 Single [B]DEF[/B] Meged Record : Nikhil Ong 1Jan2009 Married DEF There is a primary key 'ID' … | |
I need help on this: Write your own versions of String search methods indexOf and lastIndexOf. Hope you could help.thanks. | |
I am really hoping someone that is a lot smarter than me can help me I have been given the impossible task of updating our current website. 6 years ago or so I went to uni and touched on PHP etc so far I have managed to revamp the … | |
i have been getting this error, <identifier> expected System.out.println("Enter the name of the lab this computer is located: \t"); room = scan.nextLine(); while (room.length() == 0) { System.out.println("Error: This field cannot be empty"); System.out.println("Enter the name of the lab this computer is located: \t"); } room = scan.nextLine(); } System.out.println("Enter … | |
#include<iostream.h> #include<string> class books { char author[20],title[100],publisher[30]; float price; int stock; public: void display(); void getdata(void) { char title[100],author[20]; cout<<"Name/Title of the Book--->"; cin>>title; cout<<"\n\nAuthor of the Book------->"; cin>>author; } void stock() { char choice='y',another; while(choice=='y') { cout<<"\nEnter the following into Stock....\n"; cout<<"\nAuthor-------->"; cin>>author; cout<<"\nTitle--------->"; cin>>title; cout<<"\nPrice--------->"; cin>>price; cout<<"\nPublisher----->"; cin>>publisher; … | |
hi i need some help. i have to do a linked list using XOR and i don't know how to do it. thanks | |
I'm having difficulty in formulating the code in this problem:Use the string-comparison methods discussed and the techniques for sorting arrays developed to write an application that alphabetizes a list of strings. Allow the user to enter the strings in a text field. Display the results in a text area. I … | |
HI I installed Visual Studio 2008,but I only installed C#.I want to create new database connection,so what I did is in Database connection->Add connection->select Data source But MS Sql server compact 3.5 and MS sql server database File are avaliable in here I cant find the sql native client,only MS … | |
Hi all! I need a little help with a problem. I've been instructed to write a dice rolling program that uses rand to roll dice one and uses rand again to roll dice two. I'm then to record the values of the two faces in a two-dimensional array. The dice … | |
I'm trying to complete a radix sort program, and i cant remember the algorithm to get the specific digit out of a number between 1 and 10000 heres the for loop which calls getdigit: [code=C] for( i = 0; i <= 4; i++ ){ printf("Pass %d: ", i ); for( … | |
hello, im making a game, (multiplayer) and i would basicaly like an image (bullet) fly accross the scren on the vbkeyx command. however, i can not figure out how to do it. the bullet should move left accross my form but then i must have one to move right also … | |
Greetings from Greece. We got a Hangman assignment for my Class at Java. I m just a begginer.And the whole input/output thing is done either by console (system.out.println) or with JOptionPane. So here is my code [code] import javax.swing.JOptionPane; import java.util.*; public class Hangman { public static void main (String … | |
connect() system call fails while client tries to connect to a server givin duplicate name error.Can you please suggest me a way to remove this error? Also I would like to know can we check if a socket is closed or not? how to ensure that a socket is closed. … | |
Hi I have doubt . Can we return the some data from boolean Function in C For Example [code=c] bool add( int a, int b) { int C; C = a + b; return C; } [/code] Is it possible in C | |
I am trying to select data from a database in the based on a condition....Its just a simple select SQL query [CODE]SELECT playerid FROM player WHERE username = 'John'[/CODE] Therefore, from this I would like to store John's playerid to a variable and then use this variable. Below is my … | |
Hi, I'm not very good at PHP so sorry if this is stupid but I have a database with a table called item. I want to retrieve certain items based on specific criteria so I have written this function: [CODE]function get_item ($item_no, $supp_id, $cat) { global $connection; if ($item_no && … | |
Dear all, to start with, im not asking for a code...im just too lost and need someone to guide me. can anybody help me think about implementing a hash table to store memory addresses and times for stores, and to look up matching addresses and times in the hash table … | |
I have created a simple HTML and Perl test to figure out how to properly get a browser to re-Post form data to a new URL. The raison d'etre for this test is to figure out the best way to re-Post the shopping cart order form data to PayPal after … | |
Hi , I want to program an assembly program that can manage multiprograming . a code that can execute two sub programs together. I want the source code if it is possible. if not please mention about the interrupt. Please Please Help Me. I need it. Please. <SNIP> | |
Hi! I implemented a Binary search tree, which worked as desired. Then I had to create a new class which inherits from "BinarySearchTree" called "SplayTree". "SplayTree" has only one method called "contain" which overrides the inherited "contain". The new "contain" will return a boolean. If the object is found in … | |
My program is getting hung up somewhere in the function [ICODE]evolveRealization[/ICODE] and while it is stuck its memory usage is increasing by around 1MB per second! While it is building up generations, it was designed to only use the most recent one, and the old ones should be freed. So … | |
I am working on finished up a program using stacks. I am getting some funky errors when I attempt to rebuild&compile, so I am certain something in the code is not right. [B]Program Objective[/B]: Just to brief, I am using main and a .h file with classes. I am supposed … | |
I am trying to communicate with my vehicles OBD port using LibSerial. When ever i send a command to the vehicle it echos back a hexadecimal value but LibSerial returns this hexadecimal value back to me as a string, i.e. "0x01A". How would i convert this hex string into a … | |
I want to know if there are any good beginner books that cover everything about windows scripting. Please suggest. | |
I am new to Turbo C can anyone tell me how to create a project of muLtiple .c and .h files in Turbo C, and also how do you combine all the files at once? | |
Hi The following code is for an advice panel. It should give out a list of members names with a hyperlink to there user_id. Its not complicated. However i seem to be getting this, instead of the actuall data in the table. [B]Advice for Array(name)[/B] This is the code: [CODE] … | |
Hi, I am working on creating application forms for our website and I face some difficulties. Here is the deal; I am using ASP:Wizard and I have 4 wizards for a form. Wizard 2 contains 3 similar tables each having details about the applicants 3 past addresses. For example; If … |
The End.