199,111 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tintavivek

is call procedurename() is work in php version:5.2.4 mysql:5.0.45 server version:5.0.27

Member Avatar for smantscheff
0
93
Member Avatar for 123a

Hi, I basically have 1 arrayList with 10 elements. [CODE] //arraylist with10 elements private ArrayList<String> arrayList1 = new ArrayList<String>(); //arraylist with nothing in it. private ArrayList<String> arrayList2 = new ArrayList<String>(); public void copy() { Collections.copy(arrayList1, arrayList2); } //The code above will copy all the elements in the first arraylist to …

Member Avatar for JamesCherrill
0
147
Member Avatar for judithSampathwa

Hi there, I have a problem in datetimepicker in the interface in C#. I have restricted the user for entering a date that has passed by the below code dpSignedSO.Value = DateTime.Today; dpSignedSO.MinDate = DateTime.Today; but when the date is entered as 7/20/2010 and this is being saved to the …

Member Avatar for menakaa
0
997
Member Avatar for spades0001

I'm trying to make my for loop print ODD numbers and print their sum and average. Here's my code: public class Loop_For2 { public static void main (String[] args) { double sum = 0f; int ctr = 1, ctr2 = 0; for (;ctr<=10; ctr++, ctr2++) { System.out.println(ctr); sum += ctr; …

Member Avatar for tong1
0
131
Member Avatar for Dante2

Ok, here we go again. I am trying to use sessions to keep track of how many times a user guesses at a number. All of the code works fine [I]except[/I] for the counter at the top. I am not aware of how to start a counting session and get …

Member Avatar for cwarn23
0
126
Member Avatar for globberbob

Trying to write to a file with this function in my program, for some reason itl make the file, it'l output the text on screen, it all works as intended, but i go to check on the file, and its blank inside. so im guessing im doin somethin dumb, help/tips …

Member Avatar for globberbob
0
137
Member Avatar for cwkeng09

hey guy, i was fail to update the title and content using php code below, can anyone help me check what is the problem. Thanks. [CODE]<?php if ( !defined( "ROOT_PATH" ) ) { exit( "Forbidden" ); } if ( "0" < $userdb['sellerid'] && !$_S['ifsell'] ) { message( "group_ifsell" ); } …

Member Avatar for Caeon
0
112
Member Avatar for annitaz

build an FA that accepts the language of words tha do not contain the substring ba

Member Avatar for apines
0
97
Member Avatar for canterorist

hi! in php i use md5 function to encrypt a password. how about in asp.net is their a built in function? please help me. i'm new in asp.

Member Avatar for canterorist
0
71
Member Avatar for jaypatel711

For my project I am sending the HTML value from one text editor. For that I had set the character set to UTF-8. Here I am sending value through URL. In the text editor I am Providing the facility of changing the color of text. Now when I change the …

Member Avatar for jaypatel711
0
173
Member Avatar for whodoes21

Hello members of Daniweb :) I am a frosh IT student and I need little help with this :) ok so the program is basically a simple cashier program. you enter a code for an item. you buy it compute for the change etc. etc. now my problem is with …

Member Avatar for whodoes21
0
208
Member Avatar for srikanth.hk

Please anyone help me out it is very urgent php data grid view with update delete option for each row . it should be with php,ajax or javascript .....i dont want dot net code

Member Avatar for sateeshms
0
99
Member Avatar for sah

I have a c# form application with a text box and a button. I type Chinese character in the text box and press the button to assign the input to a string using the following code [CODE]String chineseChar = Textbox1.Text ;[/CODE] // TextBox font property: Arial Unicode MS or SimSun …

Member Avatar for sah
0
457
Member Avatar for writt

what is the best way to read a file format as below: titleone 5 jim john brian george bill titletwo 5 abc qwe zxc asd etrwe titlethree 5 lkj mnb oio uyu trwww titlefour 5 dfg lksjdf alskdj oipopi iuiuy Need to create a dynamic 2d array with title as …

Member Avatar for writt
0
263
Member Avatar for melodopolis

Ok this is my first post so please be gentle... I have tried several ways to get data to a mysql database from radio buttons that have male or female options.. I had it saving to the database but couldn't get the data out and into the radio button... example …

Member Avatar for melodopolis
0
224
Member Avatar for MoreBloodWine

[code] <script type="text/javascript"> function confirmation() { alert( "Please Confirm Before Proceeding !" + "\n\n" + "Display Name: " + document.forms["paypal"]["os0"].value + "\n" + "Donation Amount: $" + document.forms["paypal"]["amount"].value + "\n\n" + "Click Ok to Proceed or Cancel to Make Changes." ) } </script>[/code] Ok, here's what I would like done …

Member Avatar for MoreBloodWine
0
100
Member Avatar for ConfusedStudent

I have a file with a list of names. Jane Huston Bob Brown Jack Tracy they should be ordered by last line like this Bob Brown Jane Huston Jack Tracy but my program wont compile and i dont know how to fix it? here is my code #include <iostream> #include …

Member Avatar for VernonDozier
0
303
Member Avatar for aftong

Hello, I am trying to create an order form that allows a user to customize a fire ring by choosing the number of segments in the ring and the designs on each segment. When the 'Submit' button is pressed, the form returns to the same page and the page checks …

Member Avatar for aftong
0
88
Member Avatar for hacks14

how do i run my shell Shell("netsh interface ip set address" & Chr(34) & "Local Area Connection" & Chr(34) & "static 10." & IPAddy & ".4") as admin? PLZ

Member Avatar for hacks14
0
104
Member Avatar for aftong

Hello, The problem I am having is when the following script is executed within my page and the user submits the form, the variables passed to the GET array are duplicated only for the inputs created by my script. I have other inputs in the form that are created within …

Member Avatar for aftong
0
77
Member Avatar for acheo

How can I listen for new connection as well as lisstening for ongoing communication with TCPIP? I have the following code which properly listen for new connections, sends and receive data. However, if the client application sends new data from an existing connection I don't see anything. [CODE] using System; …

Member Avatar for darkagn
0
150
Member Avatar for morancr

I'm not sure why it's not calculating right. When I enter a negative number, the if else statement or something does not register it's a negative number. There is a before and after, and you can see where it does not register negative numbers. Thanks in advance for your help! …

Member Avatar for morancr
0
164
Member Avatar for rebellion346

I'm getting weird output from this program, its printing a bunch of huge negative numbers, they're all the same number in fact. I have no idea what's wrong with it. Heres what im trying to do: I'm taking ordered pairs and translating it into a boolean matrix so for example …

Member Avatar for rebellion346
0
156
Member Avatar for mcdonalds

Hi there, I'm having a weird error, When I click on my submit button my eventhandler that should be capturing the data from my JTextField is throwing an error : This is my first week using Java so I'm sorry if this is a newb thing. My Main function simple …

Member Avatar for Taywin
0
95
Member Avatar for Xtremefaith

So having a decent understanding of programming but new to PHP I'm stuck on this somewhat simple problem. I have column titles being listed from my database as follows: [CODE=php] //This section gathers the field names // and puts them in the first row of the table $sql = "SELECT …

Member Avatar for Xtremefaith
0
168
Member Avatar for insanely_sane

Been working on this for 2 hours non stop. Can't seem to figure out exactly what's the problem. Perhaps I'm taking a wrong approach to this problem. Right, I need to copy a singly linked list to another new list. Can use any method EXCEPT RECURSION. Here's the code so …

Member Avatar for Taywin
0
3K
Member Avatar for bigwhiteegg

following is my main program Linklist is a class of circular Linked list so my question is since the parameter of function doesn't contain Linklist in it can I go ahead and call it "List" in any function, such as List.print(), anyway? [CODE]main() { linklist list; int choice, num; do …

Member Avatar for Taywin
0
158
Member Avatar for gmfreak1991

I'm creating a Wheel of Fortune program, and I have just started. Currently I'm just trying to take a word from a file and transfer it into an array, and with that create an array with the same size, but full of asterisks (*'s). My class is making me use …

Member Avatar for gmfreak1991
0
520
Member Avatar for gwpaul

I am having a problem in getting a watermark on an image that is called from a database. I can static image static image to work fine, but when I try to use it on a dynamically called image, I get these errors. I am trying to merge two images …

Member Avatar for gwpaul
0
99
Member Avatar for markfisher

Hi I'm trying to create application using C and GDI. I want my EXE file to have an ICON, so I created .bmp file (64x64) and added to resource file. Then I created HICON hIcon using that bitmap image (CreateIconIndirect(...)) Now my problem is, .EXE file still has the default …

Member Avatar for venomxxl
0
217
Member Avatar for eikal

Hi, so im having the user pick two separate colors. Now when they pick the 2.... im going to run an event that determines that combination..... for an example if the user picks red and blue the outcome will be +5 points. Now the only way i can think of …

Member Avatar for codeorder
0
112
Member Avatar for trilithon

Hi All, I need to use the results of this query as an array to exclude files from a tree. The file and folder names that I enter into $exclude work fine but I can not seem to add the results from the query to the array. Below is the …

Member Avatar for trilithon
0
173
Member Avatar for vinay9785

Hey everyone.. I am relatively new to PHP and JS and I need help. I need to populate a dropdown list from a db(mysql). I can do it just with PHP. The problem arises when I add another of the same dropdown to my form using javascript. I need the …

Member Avatar for vinay9785
0
113
Member Avatar for marboleon

I'm trying to display a value on the status bar according to a position on a plot made on a panel. So I want to call the method SetStatusText with the value in a string. The instance of RefreshPanel is set within a frame called 'frame', which is an instance …

Member Avatar for marboleon
0
182
Member Avatar for lotrsimp12345

Having problems with executing jobs using fork. The code is supposed to create one job and execute one job and repeat this multiple times. We are only supposed to use usleep in the jobgeneration() function. We are having trouble sleeping and executing ctrl-c in the execute job function. [CODE] #include …

Member Avatar for lotrsimp12345
0
510
Member Avatar for MrConfused

I have been given the following code to convert a string to a "byte array" (which is then passed to other software) but it does not appear to work. I have practically never needed to use a function and am even less familiar with the data type byte and Hex …

Member Avatar for FSandlewould
0
899
Member Avatar for LevyDee

How would I setup an event in my class to be automatically called. So, Im using a ChannelFactory object, which has a few events associated with it. Closed, Closing, Faulted, Opened, Opening. I want to do something specific when these events happen, but I guess im lost on how to …

Member Avatar for jbrock31
0
165
Member Avatar for fx5500

hello I have a datareader and I how can i know that, how many row this datareader have? [CODE] string query_ci = "SELECT [Kolon1],[Kolon2],[Kolon3] FROM[Sheet6$A:J] WHERE [Kolon1]='" + kolon_bul+ "'"; OleDbDataReader rdr_ci; OleDbCommand komut_ci = new OleDbCommand(query_ci, conn); rdr_ci = komut_ci.ExecuteReader(); // ---> i want to know in here rows …

Member Avatar for alc6379
0
110
Member Avatar for andimiami

I think I am only making this worse and worse... I need to write a program that uses functions and a for loop to calculate a hat size, (`2.9*weight in pounds/height in inches`), jacket size (`height in inches*weight/288`), and waist size (weight in pounds divided by 4.9)... I know this …

Member Avatar for sfuo
0
174
Member Avatar for ceyesuma

Hello I just started working with JTabbedPane tabs. I have been using the index to navigate the pane. Now I add and remove tabs from the pane so clearly the index navigation is no good. Does anyone know some code for an easy solution for using the title or something …

Member Avatar for ceyesuma
0
99
Member Avatar for prakash2813

After installing the VS 2008 , i created projects both console and windows forms....and also had run successfully........... The problem is ..when i restarted my pc...and try to run that projects again......and also created new projects and had run....the following error message occurs...... ========================================================================================= Error while trying run project : …

Member Avatar for alc6379
0
184
Member Avatar for programmer12

Ok, my question is... Why is it that when i uploaded my files to the server the [CODE]header("Location:".$config_basedir.");[/CODE] wont execute more than once.... But on my Localhost I had no problem with the header refreshing... Is there a way to stop this from happening or maybe a revise PHP code …

Member Avatar for ofus
0
137
Member Avatar for NewOrder

[CODE] class Program { static void Main(string[] args) { Number n1 = new Number { X = 10 }; Number n2 = new Number { X = 20 }; Number n3 = n1 + n2;// +(n1,n2) Console.WriteLine("{0}+{1}={2}",n1.X,n2.X,n3.X); int result = n1 + 30; Console.WriteLine(result); Console.WriteLine(n1==n2);//False Console.WriteLine(n1 != n2); //True } …

Member Avatar for alc6379
0
105
Member Avatar for Awah Mohamed

hey everyone i need your help i want to create a mailling list in php and mysal but i dont know how to do it , so please if you know how to do it please tell me or if you know where i can get it also tell me …

Member Avatar for Awah Mohamed
0
115
Member Avatar for Akatosh

I want to know how to make a plugin framework in c++. I have searched for some topics and have found a few to get me started but I still don't understand the concept. I'm making an IDE and would like to add the functionality of plugins...I know you have …

Member Avatar for Stefano Mtangoo
0
220
Member Avatar for noniterum03

I am a new python user and I am trying to code an implementation to calculate and empirical cdf. So far, I have some code (attached below) that returns a list of tuples [(datapoint, P(X>=x)),...]. The problem I am trying to resolve is how to take care of replicated data …

Member Avatar for SgtMe
0
110
Member Avatar for watery87

Hello guys im been tasked to do a series of complex functions. so far im able to complete addition, subtraction and multiplication, but currently stuck at division. Would appreciate any kind soul help on this [code] class Complex { public: Complex( double r, double i ) : re(r), im(i) {} …

Member Avatar for mrnutty
0
214
Member Avatar for CompSci_Guy

I am good at created a little block diagram; however, I struggle with tracing these out and I have a midterm in a few hours. I am confused about all the casting and also about #4 and #7. I thought #4 would be a compiler error because the "Decared Type" …

Member Avatar for apines
0
967
Member Avatar for geethasree

Hi All, this is my first query after joining the forum. I would like to know following points: 1. If I can create threads in constructor 2. If yes, can I use the same object / instance (which created this thread)in this thread to call other methods of the class …

Member Avatar for geethasree
0
2K
Member Avatar for MAGall

Hi, Im new to java, mostly done networking in the past, im trying to create a program that will run a basic simulation of a number of heats for a 100m sprint. It mostly about the use of collections so nothing to complex but im completly lost. I've created a …

Member Avatar for MAGall
0
206

The End.