199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ayesha789

Hi, I am using UNION ALL to get Sum of expense of different categories from various tables. Now I got Site against their Sum of expenses but When I make this query as table(tbl2) ans select site,Max(Expense) from tbl2 it shows correct Max(Expense) but first Site id of tbl2. Here …

Member Avatar for ayesha789
0
161
Member Avatar for 54uydf

Hey everybody! :) I decided to learn C# by myself..YAY :icon_mrgreen: So I downloaded some book, I'm not sure when it was written, the author suggest to download Microsoft Visual C# 2005 Express Edition. I think there's 2010 and 2008 also, so what would u recommend I get? I know …

Member Avatar for Ketsuekiame
0
121
Member Avatar for Dhanapal

Error: ApplicationException was unhandled by user code How to solve this error in ASP.Net YAF Application

Member Avatar for RvSon
0
163
Member Avatar for Lomko

Hello everybody, i'm a beginner in programming, so I hope someone can help me. I'm programming in Visual Studio 2008 in C++ and I'd like to use the error functionor the complementary one, erf(x) and erfc(x). I've looked for a solution in the internet and I've seen that including math.h …

Member Avatar for Lomko
0
707
Member Avatar for jackabascal

Say I have a tab control with tabs Tab1 And Tab2. How do I switch the selected tab programmatically, say on button1 click event. Sample code would be appreciated. Thanks in advance.

Member Avatar for Ketsuekiame
0
921
Member Avatar for jack.doe77

Hi, I'm using begintransaction to update multi-tables. I need to update one of the table while retrieving some records from that same table before commit. But it seem the table become locked after I inserted a record, and timeout at last. I've looked begintransaction option and try all IsolationLevel with …

Member Avatar for jack.doe77
0
92
Member Avatar for babydol

Is it possible to show the last selected value from the drop down list box after form reload?

Member Avatar for lakshmi_lux
0
77
Member Avatar for cintojose

I have stucked up with an issue.For my date time picker control I want the day as 1st on any value selected by the user.(day of date part should be 1 for any date).Please help me regarding this......Thank You...

Member Avatar for Luc001
0
88
Member Avatar for chandini123

[B]Why is a null displayed in the first row?[/B]:-/ I want the first row to display the text value given in the textfield(actually i am getting the text value from database) Any help??[code]<html> <head> </head> <body> <form name="form1"> <input type="text" name="txtname"> <input type="submit" value="Click here" name="Click" onclick="fun(this.form)"/> </form> <script> function …

Member Avatar for javaAddict
0
121
Member Avatar for SeanC

Hi all, I've got a problem relating to error reporting. In the code posted below, when the user actually presses enter after reading the error, the program does not loop back to the main menu, but merely repeats the error. If I remove the "input.nextLine();" code in line 17, then …

Member Avatar for SeanC
0
90
Member Avatar for fuggles

I am looking for an API that can provide simple, 2D graphics support. Since Direct3D wasn't directly made for 2D, I looked elsewhere, and saw an API called Direct2D by Microsoft. Can anyone point me to a good tutorial on this API. The one Microsoft provides is very overly complicated …

Member Avatar for PixelExchange
0
136
Member Avatar for prem2

Hi all, I am having a trouble in identifying Java Memory Leakage in my java program.I want to check where the memory lecakage gets occurs.Is any tools are available for the java program to analyze the memory leckage. Thank you, With Regards, Prem

Member Avatar for prem2
0
116
Member Avatar for Quagmire232

Here's the code i've done so far: [CODE]PROGRAM MORSE_CODE_TRANSLATOR; USES CRT; VAR Sentence : STRING[25]; {Maximum of 25 characters in sentence} MorseOut, EnglishIn, EnglishOut : STRING; Count : INTEGER; KEY : CHAR; PROCEDURE AnyKey;Forward; {~~~~~~~~~~~~~~~~~~~~~~EXTRA PROCEDURES~~~~~~~~~~~~~~~~~~~~~~~~~} PROCEDURE AnyKey; {Makes the program move on when any alphanumerical key is pressed} VAR …

Member Avatar for Quagmire232
0
543
Member Avatar for shock8

Hi everyone, I need help in my school project which requires me to send data from a mobile application to a database table. The inputs for the table data is through textfield and when i press the submit button, it will send the input fields into the database table. Will …

Member Avatar for shock8
0
188
Member Avatar for canterorist

hi! i have problem with this rmdir. How can i remove the directory and the image inside of my dir? this is my PHP code: [CODE] $dir="image/"; $arr=array(1=>"pig.jpg",2=>"animal.jpg"); $x=0; while($x<2) { if(unlink($dir.$arr[$x])) echo "success"; else echo "failed"; } rmdir($dir); [/CODE] but when i run the error occur. [B]Warning: the directory …

Member Avatar for canterorist
0
80
Member Avatar for creperz

Hi guys... ahm im new in php. i really need help with this.. i am making a exam system. i want to put a time limit to my exam page like 20mins and when the user still dont click the next button and the limit reach. it will automatically refresh …

Member Avatar for vibhaJ
0
102
Member Avatar for lwaterfo

Hi, I keep getting this error when filling out my form and calling process.php: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home3/waterfor/public_html/process.php on line 1 all I did was move around some of the variable names in the php code. It was working fine just a second before that. Here …

Member Avatar for manzarr
0
457
Member Avatar for vishalkhialani

Hi, I am currently making my own template for wordpress and I am using someone elses template as a reference. I came across this code: [CODE]thesis_head::build();[/CODE] I don't know what this code means ? What is :: for ? Cheers, Vishal

Member Avatar for vishalkhialani
0
156
Member Avatar for johny1980

Hi there i am working on Medical Billing project in vb.net I made Login form and it was run with user name and password. but i also made radio button selection on top for doctor , staff and for admin. so my question is how i connect the useid,password chk …

Member Avatar for finito
0
98
Member Avatar for figuer25

I just coded this implementation of a stack using a singly linked list. Its written in C++ using the STL. I believe I am complete with it but there may be functions I am forgetting or ways to improve/ optimize my code. I tried using exceptions to learn how to …

Member Avatar for figuer25
0
404
Member Avatar for zyrus001

I'm looking to write a program that should be capable of holding around 1000 records, each record will contain a varying number of fields and values. Usually, I'd create a list of dictionaries for something like this but wanted to know if that's the right way to go about it. …

Member Avatar for griswolf
0
321
Member Avatar for chintan9624

Hello guys this forum helped me alone for completing my projects that is y i am going to post one article hope you like it......... 1->create an excel sheet and enter data in that then at the time of saving saving it as a csv format and below is the …

Member Avatar for manzarr
0
139
Member Avatar for nats01282

Hi there, I am trying to use a login and a contact form on one page, but im struggling with the php context [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>my webpage</title> </head> <body> <?php $user = 'admin'; $pass = 'admin'; if ($user != $_POST['username'] …

Member Avatar for nats01282
0
107
Member Avatar for omGac0W

Whenever I try and run this my compiler shows a random error and a bunch of binary numbers. I have no idea what is wrong. Am I missing something? Its a program to check if a number is a palindrome. [CODE]#include <stdio.h> #include <math.h> int palindromecheck (int number) { int …

Member Avatar for Ancient Dragon
0
100
Member Avatar for gloriak

I cannot get Java script to work on my windows XP, SP3. Any assistance out there. I have checked the settings for Java and all appear to be in order (ie: tools, internet options, etc. All java settings are set to run. I am stumped.

Member Avatar for gloriak
0
48
Member Avatar for santosh5471
Member Avatar for jhai_salvador
0
176
Member Avatar for zyaday

People, this is all my code is. I am trying to change an Integer Object to a primitive int, to use them in the getValue and Compute(Integer i) methods . Compiler Says NO.. I have tried both the solutions below ... and got the following errors i.intValue(); // no method …

Member Avatar for java_programmer
0
85
Member Avatar for new_programmer

I have basic idea about malloc and calloc i heard about falloc and dlmalloc, can any one explain about it?

Member Avatar for new_programmer
0
179
Member Avatar for mutawari

dear, everyone... i need solutions. i have several tables in a database. this is tabel_jawab [CODE]kd_jwb nis kd_mk jwb1 jwb2 jwb3 jwb4 jwb5 321 654 2 A B A C B [/CODE] i input them via jsp to mysql table. i have these table too named tabel_kunci [CODE]kd_jwb kd_mk Kjwb1 …

Member Avatar for mutawari
0
151
Member Avatar for lf.gene

Hi! i have problems one query. $day_result has a value of 1 and 4 $sql3 = "Select * from Venue where idVenue != $day_result"; echo $sql3; if i use for loop for the above it will give the result below Select * from Venue where idVenue != 1 Select * …

Member Avatar for genevish
0
99
Member Avatar for Peter_TARAS

Hi! I designed a class in Python to do stuffs related to genetic algorithms. I have a method in this class, which should provide a sort of log to keep the track of the populations during the evolution. I mean, I provide the filename as a string argument to this …

Member Avatar for vegaseat
0
17K
Member Avatar for ManishS

[I]hi... I am getting an error:"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.1989)' at line 1" please help me removing the errror[/I] [code]<?php include "functions.php"; ?> <html> <head> <title> Register Form </title> …

Member Avatar for metalix
0
109
Member Avatar for apolochaves

i wrote this code for a simple life game loosely based on Conway's. I wrote an 40x40 integer matrix with random numbers and a 40x40 char matrix based on the previous one, where the numbers 0 to 3 generate an X (alive cell) and the numbers upper 4 generate an …

Member Avatar for Adak
0
124
Member Avatar for mybluehair

I've got a big problem on my site i'm developing. I have a pretty simple session login script, and every page of my site checks to see if the person is logged in. If not, it redirects them to login.php. I've noticed that when I click links on my menu …

Member Avatar for mybluehair
0
102
Member Avatar for Archenemie

Hi, id like to set values for a botton is wxpython by taking that value from a text file. For this code [CODE]button = wx.Button(parent, label = “x”)[/CODE] and for example on the 1st line of the text file id like to read x. Ive played about with this a …

Member Avatar for Archenemie
0
115
Member Avatar for sudoku43

hello, im newbie here and also newbie in c++. I have a problem with char data type. I try writing the code input character 'D', 'd', 'R' and 'r'. if input are correct, the output will be 'OK' but turn out, even I give input other character, still give the …

Member Avatar for RogueEffect
0
168
Member Avatar for verbob

I'm not all that certain how to go about this, but here's what I am trying to do: Firstly, coding in PHP and using MySql DB. I have a table (called overall) that holds each individual Softball teams stats. fields are: 1. team (team name) 2. gp (games played) 3. …

Member Avatar for verbob
0
154
Member Avatar for adams161

Hi, I know how to detect clicks and touches on the views, and i know how to make menus appear when they hit the menu key. My phone also has a little ball like button that you can press down on. How would an activity capture this event, say if …

Member Avatar for adams161
0
119
Member Avatar for assgar

Title: Comparing arrays Hello I am having a problem getting the difference between two arrays. The first array $list has all codes that can be linked to a specific id The second array $exist has the values select and linked to a specfic id. Both arrays are storing integers array …

Member Avatar for assgar
0
80
Member Avatar for crodriguez08

Hey there, I'm having trouble getting my program to display the students and class summary using classes. What I'm unsure of is where the problem lies, whether it is a displacement of set/get functions or the content in my StoreStudent function is incorrect, or perhaps something else I might have …

Member Avatar for mike_2000_17
0
389
Member Avatar for Tcll

I need help counting the number of times a particular number is used in a text file... and to output a number of results to a text file... eg: [B](input.txt):[/B] 01 40 39 01 72 39 36 56 72 82 39 ### 56 62 38 03 03 06 38 30 …

Member Avatar for Tcll
0
104
Member Avatar for asad_80

Hi, I am having issues while comparing of cards.As i starts the card game and clicks on first button the card opens and when i click on the any other button if the button i have clicked matches with the image on the first button both the cards stays open …

Member Avatar for NormR1
0
90
Member Avatar for jackabascal

[CODE]private Bitmap _picture = new Bitmap(@"<C:\Users\Jack\Documents\Visual Studio 2010\Projects\Animotion1.0\DefaultCharPic.jpg>");[/CODE] as a datamember to a class? Can I just not assign Bitmaps as members?

Member Avatar for Zinderin
0
220
Member Avatar for Cgm

Hi, I have visual c++ and have recently downloaded the Dark GDK add on. Does anybody know where i could find some tutorials because I am okay with c++ but dont know how to code the graphics. Any help is appreciated Thanks -Chris

Member Avatar for green_frog
0
204
Member Avatar for goody11

Hey, I wanted to make a program that could open up and control another program...Specifically, I wanted to write a program that could open up google chrome, open 2 extra tabs, have each of the tabs go to hotmail, and then each auto-sign me in to my 3 different e-mail …

Member Avatar for goody11
0
230
Member Avatar for phplover

Hello, I have a script that works great, basically i have a mysql database that contains information about files; like filename, description, size etc. The information is displayed on a webpage in a nice formatted table. each file has a link next to it and once pressed the script below …

Member Avatar for phplover
0
262
Member Avatar for comSysStudent

Below is code taken from [URL="http://download.oracle.com/javase/tutorial/java/javaOO/QandE/enum-answers.html"]Sun Java Tutorial[/URL]. From my reading of the code the first time this loop executes should it not populate cards[1] with the first card skipping cards[0]? I've tested the code in eclipse and it seems to work properly first populating card[0] so I'm hoping somebody …

Member Avatar for comSysStudent
0
102
Member Avatar for figuer25

Hi so I am just trying to figure out what is wrong with my program. I am trying to implement the node class in C++. All I want to do is learn how to implement it and get it working. I am not trying to use it to create a …

Member Avatar for figuer25
0
1K
Member Avatar for tundra010

Hello all As the title suggests, I have tried to write a sorting program in C++ The code compiles right, but does print the sorted numbers, but rather prints a list of zeros. I have tried to find the cause of this error for a while, but I can't seem …

Member Avatar for tundra010
0
203
Member Avatar for edoscope

Hi, I am having a very hard time understanding what I am doing wrong here. I am trying to read from a file into a struct array, however it stops working properly after a short while. my data in the file is in the following format: Last, First Name ID …

Member Avatar for blackrainbowhun
0
159

The End.