199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Slade

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 …

Member Avatar for priyesh.gupta
0
257
Member Avatar for veledrom

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 …

Member Avatar for veledrom
0
117
Member Avatar for mentos12345

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 …

Member Avatar for Lerner
0
255
Member Avatar for BigPappyJappy

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 …

Member Avatar for BigPappyJappy
0
114
Member Avatar for Takafoo

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 …

Member Avatar for vmanes
0
124
Member Avatar for arkaprava

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 …

Member Avatar for peter_budo
0
164
Member Avatar for ITech

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;; …

Member Avatar for ddanbe
0
106
Member Avatar for colmcy1

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 …

Member Avatar for Narue
0
138
Member Avatar for etc123

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 …

Member Avatar for mitrmkar
0
445
Member Avatar for lehe

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 …

Member Avatar for nucleon
0
189
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
435
Member Avatar for eswarsure

please take 3 nubers and print numbers as ascending order descending order USE TERNIARY OPERATORS ONLY thans in advance

Member Avatar for Dhaneshnm
0
125
Member Avatar for daviddoria

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; …

0
230
Member Avatar for shikeb

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.

Member Avatar for Dhaneshnm
0
283
Member Avatar for tillaart36

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 …

Member Avatar for Murtan
0
89
Member Avatar for brianknott844

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++) …

Member Avatar for ddanbe
0
111
Member Avatar for Traicey

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 …

Member Avatar for Traicey
0
104
Member Avatar for kjetil4

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]

Member Avatar for kjetil4
0
633
Member Avatar for koolhoney07

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++)

Member Avatar for verruckt24
0
2K
Member Avatar for webCurious

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 …

Member Avatar for webCurious
0
610
Member Avatar for eugene83

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 …

Member Avatar for siddhant3s
0
94
Member Avatar for netnewb

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 …

Member Avatar for expvice
0
461
Member Avatar for niksni

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' …

Member Avatar for mwasif
0
88
Member Avatar for enitsirc

I need help on this: Write your own versions of String search methods indexOf and lastIndexOf. Hope you could help.thanks.

Member Avatar for stultuske
0
238
Member Avatar for Joanneb24

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 …

Member Avatar for Joanneb24
0
84
Member Avatar for Frani

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 …

Member Avatar for Frani
0
130
Member Avatar for Tuhin Chandra

#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; …

Member Avatar for MrSpigot
0
108
Member Avatar for phoenixlsk

hi i need some help. i have to do a linked list using XOR and i don't know how to do it. thanks

Member Avatar for manojthesingham
0
376
Member Avatar for enitsirc

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 …

Member Avatar for verruckt24
0
82
Member Avatar for Tank50

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 …

Member Avatar for Tank50
0
124
Member Avatar for jenilgandhi
Member Avatar for iTsweetie

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 …

Member Avatar for vmanes
0
137
Member Avatar for Dewey1040

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( …

Member Avatar for monkey_king
0
111
Member Avatar for Razza92

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 …

Member Avatar for vb5prgrmr
0
100
Member Avatar for Valkerion

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 …

Member Avatar for blog_user
0
1K
Member Avatar for s1986

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. …

Member Avatar for monkey_king
0
102
Member Avatar for yuvaraj.tr

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

Member Avatar for monkey_king
0
130
Member Avatar for atiqjaved

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 …

Member Avatar for dlplenin
0
151
Member Avatar for Roybut

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 && …

Member Avatar for darkagn
0
106
Member Avatar for wonder_laptop

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 …

Member Avatar for wonder_laptop
0
87
Member Avatar for Silver Snail

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 …

Member Avatar for Silver Snail
0
897
Member Avatar for hhhassan

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>

Member Avatar for achadya
0
109
Member Avatar for cppStudent

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 …

Member Avatar for cppStudent
0
120
Member Avatar for death_oclock

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 …

Member Avatar for Ancient Dragon
0
151
Member Avatar for danielle23

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 …

Member Avatar for danielle23
0
1K
Member Avatar for Talguy

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 …

Member Avatar for ArkM
0
3K
Member Avatar for chadactive

I want to know if there are any good beginner books that cover everything about windows scripting. Please suggest.

Member Avatar for siul0_0
0
73
Member Avatar for bharavn

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?

Member Avatar for ArkM
0
114
Member Avatar for Designer_101

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] …

Member Avatar for ShawnCplus
0
79
Member Avatar for naseerus

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 …

Member Avatar for naseerus
0
93

The End.