199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dragonheart

i am using monthview control in my form to display date in textboxes .. it's date format is mm/dd/yyyy , but i need to change it to dd/mm/yyyy.. is it possible in any other way than using "format" ?? coz when i use "format" it works only for 1 textbox, …

Member Avatar for dragonheart
0
284
Member Avatar for cdmunoz279

I have created an application in VS 2005 pulling reports created in Crystal Reports XI Release 2. My problem is I have a couple of reports that have linked subreports on them. Does anyone know how to pass a parameter value to a subreport in .NET? I have the following …

Member Avatar for cdmunoz279
0
980
Member Avatar for Waseemn

Hello All I am writing a program, for homework, that would rank 3 runners in 1st, 2nd and 3rd places based on their finish times. I need to bubble sort the names, but it fails. Here is what I have: [code] //Constants Used: const int iLength = 21; //20 Chars …

Member Avatar for vmanes
0
172
Member Avatar for linux0id

Hello everyone! I am writing a music database, and I need to insert into album table the path to its cover. However, not every album has a cover in its directory, so I've made an algorithm that only gets the albumID that has a cover. My question is - how …

Member Avatar for linux0id
0
100
Member Avatar for williams1987

Hi all, I am new here and to programming and i am currently trying to build an interactive form for my works. I have my form which at the moment saves text from textbox1 to a .txt file and also i have succeeded in being able to read this back …

Member Avatar for williams1987
0
165
Member Avatar for Scottmandoo

Couls someone help me fix this code, I think I need to put in a function and a return but i'm not quite sure. All the code does is return the value # for everything even letters [CODE=php]$letter = ucfirst($_POST['tut_name']); $letter2 = $letter{0}; if($letter2 = 1) { $letter3 = '#'; …

Member Avatar for Scottmandoo
0
129
Member Avatar for kevin wood

i have once again been asked to fix some code on a website. this time the website is meant to have a content management system but once again the person who made the original website did not complete what he started. the content management system side of it is using …

Member Avatar for trudge
0
83
Member Avatar for jonc

Hi, I am in the process of making an application which I am hoping will become a GUI for QStat (a DOS based application which retrieves the current status of an online game server). The problem I have is this: I can run the QStat application as normal (including the …

Member Avatar for Kevin B.
0
95
Member Avatar for ujwalkhairnar25

hi please tell me the answer of this question How to give the variable value to textfield on same page?

Member Avatar for nav33n
0
162
Member Avatar for kathirvelmm

I need to extract the currently login user from remote system. This is an intra-net project. All users use win-OS. Its also possible to find the user name from net bios. This is table where all name registered to that particular machine is shown. I would like to extract the …

Member Avatar for Ramy Mahrous
0
253
Member Avatar for mcenley

Hi friends, I have written a function which inverts a dictionary. The code is as follows: [code=python] def histogram(s): d={} for c in s: #print c, d.get(c,0) d[c]=d.get(c,0)+1 return d def invert_dict(d): inv={} for key in d: val=d[key] if val not in inv: inv[val]=[key] else : inv[val].append(key) return inv hist=histogram('parrot') …

Member Avatar for mcenley
0
185
Member Avatar for LBor

Hi to all i want appface.dll without period time .if any one have this , please send to me thanks alot

Member Avatar for choudhuryshouvi
0
101
Member Avatar for mank

I cant seem to figure out whats wrong with this code, I am trying to generate random floating point number numbers with values from 0 to 1 with positive and negative values here is the code [CODE]#include <stdio.h> #include <stdlib.h> void populate(int generations) { int seed, ttt; seed = 456739853; …

Member Avatar for jephthah
0
133
Member Avatar for hjong.mahjong

code to display linked list: [CODE]for (Node *cur = head; cur != NULL; cur = cur->next) cout << cur->item << endl;[/CODE] in the header file: [CODE] struct Node { int item; Node *next; }; [/CODE] It will declare a new pointer called cur, set it equal to head, and keep …

Member Avatar for hjong.mahjong
0
104
Member Avatar for kevin wood

I am trying to set up a database on the server and keep getting the same error message. it say to me that it was successful in connecting to the db but access is denied for the user. what is causing this as the password and user name that is …

Member Avatar for RoryGren
0
113
Member Avatar for kpnprakash

hi, i want to know how to get a text file situated anywhere in my drive and to read it.

Member Avatar for WaltP
0
74
Member Avatar for charper

On the risk of sounding extremely stupid, Does anyone know how to print a string representation of an exception. i.e. just the type of error? I have code that catches all errors and would like to then print the type of error as a string. My code is: [CODE=perl]def catchException(): …

Member Avatar for charper
0
72
Member Avatar for lily11
Member Avatar for caio1985

Hello all, This is my first post here, this board seems to contain interesting stuff regarding C++, that's why I subscribed into it. Ok, let's go the problem... I have a class with two methods into it: floodLog writeToLog floodLog is intended to create threads that will execute the method …

Member Avatar for vijayan121
0
3K
Member Avatar for kilermage

I get an error about "orphaned case". So this is the error. Can you help me on what I did wrong? [ICODE]client.java: 8643: orphaned case case 117: // bank 5 items - sell 1 item ^[/ICODE] This is the code: [CODE] case 117: //bank 5 items - sell 1 item …

Member Avatar for VernonDozier
0
405
Member Avatar for robbins88

I have the binary function done for this question, but I can't get the blur function to work using arrays/matrices. Can anyone help me? This is what I have so far: [code]void threshold(int src[], int rows, int cols, int dest[], int thr) { for (int i = 0; i < …

Member Avatar for dougy83
0
280
Member Avatar for BenWill

Hey all im basically a bit lost when it comes to how to do something in PHP. Im new to php programming and any help would be greatly appreciated: I have a query that displays a list of courses (In a while loop).. now all these courses belong to say …

Member Avatar for nav33n
0
130
Member Avatar for armen_shlang

hello, Im kinda stuck on how to initialize the class inside the main. Or what to write instead of the ??? inside the main. Thank you in advance... [code] //********************************************************** // Work In Progress // Author Armen Babakanian // A complete set of examples to use reference and pointer issues …

Member Avatar for dougy83
0
93
Member Avatar for sukhy_1

How can i allow a user to select only 2checkboxes, if they choose more then 2an error message will appear saying you can only select 2, heres my code below where the checkboxes are used. // Loop through data and display [code=php]while($a_row = mysql_fetch_assoc($result)) { echo "<tr>". '<td style="color: black;"><input …

Member Avatar for nav33n
0
143
Member Avatar for amroto

Hi...Plz i'm facing some problems on how to make my program work successfully. i'm a beginner in the c++ and i have an assignement to make a text editor using the devc++..it requires certain functions and i've written this code so far but i can't handle except the choice number …

Member Avatar for amroto
0
484
Member Avatar for gwarguy

Howdy, hoping I can get alittle help today. First off I have a real bad habit of learning one thing, and getting very fascinated by it and going off on a tangent using what i learned in as many ways as I can think of. Im a very new person …

Member Avatar for linux
0
157
Member Avatar for L31chH4rdT

Hey guys, first post here so go easy. Ha. I am writing a program that needs to take command line arguments, a number and 2 characters. However, if one of the chars is a command line specific char (such as #, &) it must produce an error. Does the isgood() …

Member Avatar for Salem
0
133
Member Avatar for Mahesh59

Hi i'm New to this site.I want to know how to upload files into database using jsp & retreiving them.PLzzz urgently reply me.

Member Avatar for peter_budo
0
81
Member Avatar for jeffasbrand

I would like to populate a listbox with multiple columns of data retrieved by a query. I am using the Listbox.DataTextField = "SpaceID" to get one value but can't seem to append others using lines like Listbox.DataTextField = "SpaceID" & " " & "SpaceName" Is there a way to do …

Member Avatar for lance.stine
0
118
Member Avatar for maxmannuk

I have some problems with javasript functioning in firefox... something very basic as open window browser???????????????????

Member Avatar for maxmannuk
0
58
Member Avatar for robotnixon

I'm having a tough time conceptualizing this problem. I have a recursive function computing the number of possible combinations of two numbers. I have it working fine, just need one thing sorted out. My output needs a counter to increment each recursive step. Like this: Level 1: ... Level 2 …

Member Avatar for robotnixon
0
93
Member Avatar for kv79

Hi all, I was wondering how to you create application in PHP . Do you have any program tool ? Or you write Forms or you do something else . Do you know any good site about application development in php . Thank you for your info .

Member Avatar for nav33n
0
117
Member Avatar for avmaza

give me idea to develop hotel booking check in and check out date using drop down list day month year with calender.

Member Avatar for nav33n
0
107
Member Avatar for mank

HI I am trying to print a certain number of sequences from a file. So if the sequence is like LKSAJDLSAJDLSAJDLKSJD. then I want to write from 10th character to 20th character. please help. Here is my code [CODE]#!/usr/bin/perl -w use strict; use warnings; my ($fileName, $firstSequence, $lastSequence) = @ARGV; …

Member Avatar for KevinADC
0
143
Member Avatar for mank

Hi I am trying to read two files and then copy their content to a third file while removing duplicates please help [CODE]#!/usr/bin/perl -w { open A,shift; foreach (<A>) {$a{$_}++}; open B,shift; foreach (<B>) {$b{$_}++}; open C,shift foreach(<C>) { print unless $a{$_} print unless $b{$_} } } [/CODE]

Member Avatar for KevinADC
0
390
Member Avatar for StepIre

Hi Guys, Im having trouble with my prog.. basically i have a file with lots of details in it. I want to find every time the file says for example "blah" Than i want to find the next occurence of "notblah" and i want to use the information between these …

Member Avatar for ZZucker
0
84
Member Avatar for RoryGren

Hi all The following query works and gives me the desired results. The only problem is that it is very slow, and I suspect it is because of the multiple sub-queries included in it. The table, RESULT, has multiple records per athlete, per stroke, per distance stored in the order …

Member Avatar for RoryGren
0
90
Member Avatar for mzdiva041986

I have some errors that I can't seem to understand, could someone help me clear up this problem? [CODE=cpp]#include <cmath> #include <iostream> using namespace std; double F ( double X ) { return pow ( X, 4) - 9*pow ( X, 3 ) - 2*pow (X, 2) + 120*X - …

Member Avatar for WaltP
0
143
Member Avatar for bhoot_jb

i want to clear a doubt... please check out the following codes.. [CODE]int function (int p[]) { //sm code } [/CODE] another style is : [CODE] int function (int *p) { // sm code }[/CODE] here i am passing an array to both the functions...and one receives it through p[] …

Member Avatar for bhoot_jb
0
119
Member Avatar for toadzky

I'm helping my dad out with some of his website issues, so any help is appreciated. He is getting an error (and no I don't have the exact text at the moment) that there was a fatal error in charlint.pl The problem apparently started when the site's host updated the …

Member Avatar for KevinADC
0
77
Member Avatar for spywx2003

i have a question about JFrame. is there anyway to set the size of frame as automatic depending about the values in the frame.so if the values is a lot more than what is expected that frame adjust it self it fit all the data ?

Member Avatar for jwenting
0
97
Member Avatar for angelinajade

Hi all, Does anyone know how to change the color (or highlight) a part of a listbox)?? I need to have the negative amount (if any) highlight automatically during an if statement. I have looked through my textbook for VB, and the instructor does not think I can because the …

Member Avatar for bwkeller
0
90
Member Avatar for Ryano24

Public Class frmCommand Private Sub Command1_Click() Dim txtInput1 As Double Dim txtInput2 As Integer Dim txtInput As Integer Dim Sum As Integer Dim Average As Integer Dim Larger As Integer Dim Smallest As Integer Sum.Caption = "Sum : " & (Val(txtInput1.Text) + Val(txtInput2.Text) + Val(txtInput3.Text)) Average.Caption = "Average : " …

Member Avatar for Jx_Man
0
171
Member Avatar for Sh13

Q. Write a function Stars() whose input are an array of characters(a), the size of the array(n), and a character(ch). This function should replace all occurrences of ch in the array, a, with a star(*), and return the number of times the replacement was made. So far I have the …

Member Avatar for Sh13
0
78
Member Avatar for tgiboss1

Hello, I searched most of yesterday online for an answer to this question and was unsuccessful. please help. What I am trying to do, I have an emulator.exe application which is totally external from any project of my own. I want to create a control (custom control, activex control???) on …

Member Avatar for tgiboss1
0
805
Member Avatar for Nemoticchigga

Hey, Any Idea why this section of code would give me these linker errors using Visual Studio 05 in a console application and using winsock2.h: error LNK2019: unresolved external symbol __imp__WSACleanup@0 referenced in function "void __cdecl CloseDevice(void)" (?CloseDevice@@YAXXZ) error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function "void __cdecl CloseDevice(void)" …

Member Avatar for Nemoticchigga
0
92
Member Avatar for kory27

I recently started using a remote image url to power my thumbnails on my website. i noticed a significant, but not across the board, slowdown in page load times. i ran an sql monitor and nothing is showing that would cause the issue, so i am wondering; 1. Would a …

Member Avatar for kory27
0
130
Member Avatar for larryperl

Hi, I have two files-- file1- Quote: dn: cn=Anandmohan Singh,ou=addressbook,dc=thbs,dc=com objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson cn: Anandmohan Singh givenName: Anandmohan mail: [email]anand_ms@thbs.com[/email] mobile: 9986010455 ou: null physicalDeliveryOfficeName: ST-6th Floor sn: Singh telephoneNumber: 41827200 Extn: 7400 title: Associate Software Engineer - Trainee uid: 1432 dn: cn=Riteshkumar Mohanty,ou=addressbook,dc=thbs,dc=com objectClass: …

Member Avatar for larryperl
0
89
Member Avatar for Traicey

I am having a problem in knowing where to start with my project that has to ask a user to enter a string of characters.. you can limit the size of characters and u decript those characters u can print them backward or u can change them into numbers depends …

Member Avatar for Traicey
0
104
Member Avatar for serkan sendur

Membership method needed in order to delete the user according to his provideruserkey. There are two overloads for the membership.deleteuser method but none of them accepts object provideruserkey as a parameter thanks

0
48

The End.