199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lllllIllIlllI

Hi, Just wondering if someone could explain why this is happening: [code] >>> example = "" >>> example in "Hello there" True >>> [/code] I'm confused as to why [ICODE]example in "hello there"[/ICODE] gives a True value as return.

Member Avatar for sravan953
0
156
Member Avatar for kkcaddy

Hi everyone am new to java-ing i cant seem to create a class for my first application my "Hello World" when i type javac helloworld it returns that javac is not a in the path and i have created a path for java. Please help me.

Member Avatar for kkcaddy
0
101
Member Avatar for jrosh

I created a table in mysql db. it has a column with auto increment value. i checked inserting data through mysql console putting jst ' ' to the place of the auto increment value in the query. it worked ok. but when i do it through my java application (using …

Member Avatar for masijade
0
89
Member Avatar for chathuD

hi it me again... i need to show an image(a gif) in a blank wndows form (border less). he think is the place where the image is going to be visible...... when some one moove the mouse ponter to some place on the form and wait for their for some …

Member Avatar for chathuD
0
105
Member Avatar for facadie

1. How do i close 2 forms in runtime. Eg. I click BTNCANCEL in frm1 it will open frm2 and i want to click BTNNO in frm2 to close all forms in the runtime. How do i go about doing that. [frm2 is just asking the user whether to save …

Member Avatar for facadie
0
122
Member Avatar for Demonisya

Hello guys i need help on my program factoring.... i have the progam here but the bad news is it is been giving me -3242 or infinite number as an output... I already been so busy changing any thing but i cant make the output correct the way it should …

Member Avatar for minigweek
0
2K
Member Avatar for treyd

Okay here is the just of my assignment: Write a test program that creates an Account object with an account ID of 1122, a balance of 20000, and an annual interest rate of 4.5%. Use the withdraw method to withdraw $2500, use the deposit method to deposit $3000, and print …

Member Avatar for masijade
0
291
Member Avatar for hket89
Member Avatar for mrnutty

Does anyone know how to correctly add a 3rd party library to NetBeans? I have NetBeans 6.7.1 The library is from this site : [URL="http://wps.aw.com/aw_sanders_oopjava_1/36/9390/2403930.cw/index.html"]Link[/URL]. Its called wheels, and its for my class. It comes in a zip file. What I tried was this : 1) Set the zip file …

Member Avatar for masijade
0
896
Member Avatar for hery

This is my code: [code] Private Sub cmdHitung_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdHitung.Click Dim tempBASIC As String If strChrDec = "." Then strFormatDec = "#,##0.00;(#,##0.00)" formatSAVE = "############0.#0" Else strFormatDec = "#.##0,00;(#.##0,00)" formatSAVE = "############0,#0" End If If Val(Format(Convert.ToDouble(txtGajiPokok.Text), formatSAVE)) > 0 Then If Trim(txtGPPilih.Text) = …

Member Avatar for sknake
0
249
Member Avatar for sunilsinha

I need to rotate text by 90, 180 and 270 degrees. How can i achieve this in firefox2. In brief, what i am doing is, there is one main container div whose background is set by 600x400 image. There are 4 inner divs each having some text. Now i have …

Member Avatar for rhand
0
173
Member Avatar for wael12211

(Credit card number validation) Credit card numbers follow certain patterns. A credit card number must have between 14 and 16 digits. It must start with: • 4 for Visa cards • 5 for Master cards • 37 for American Express cards. • 6 for Discover cards In 1954,Hans Luhn of …

Member Avatar for sknake
0
377
Member Avatar for jralexander137

I'm trying to scan a line from a data file(txt format) it just contains a line of ints ex. 3457983257892 I need to scan the line and get the total number of individual ints. Basically, 34563456 would total to 8. I'm not sure how to manipulate a while loop using …

Member Avatar for Salem
0
102
Member Avatar for Merlin33069

I have a few nice ideas for a game that i would like to make, involving some, what i see as, pretty advanced coding requirements. all i would like is a site with some nice begginer tutorials, i think i can take it from there, also your favorite program or …

Member Avatar for BlackPhoenix
0
153
Member Avatar for xfreebornx

[CODE]#include <iostream> #include<vector> #include<ctime> #include<algorithm> using namespace std; struct student { int id; char name; char nationality; char gender; student() : id(0) , gender(' ') { } student(int i, char g) :id(i), name(g) { } }; void insert(student array[]); bool sortByID(const student& a, const student& b) { return ( a.id …

Member Avatar for hao001
0
320
Member Avatar for ofir0803

Hi I hope u can help me... i have a code that connect to mysql db and it works fine. [CODE] using System; using System.Collections.Generic; using System.Text; using MySql.Data.MySqlClient; using MySql.Data.Types; namespace MySqlExample { class Program { static void Main(string[] args) { string host = "localhost"; string database = "articles"; …

Member Avatar for sknake
0
188
Member Avatar for kreskin

Hi guys, I am new with c++, so please bear with me... I am reading in a text file that similar to this: $ABCDE,12345,12345,12345,12345.... I need to be able to place each number in a variable like: A = $ABCDE B = 12345 C = 12345 ... I can get …

Member Avatar for kreskin
0
142
Member Avatar for wewehalim

i am developing 64 cell(column) for 20 rows of automata. I need to compare each cell (in a row) with the left and right cell. And then, after i finish 1 row, i need to do it for the next row. So, for example, after i have compared each cell …

Member Avatar for Ramy Mahrous
0
3K
Member Avatar for JerieLsky

I'm just new in php actually and this is the problem that i have been encountering lately. I actually have one .html file and .php file, on the .html file I created a form which looks like this: [CODE]<table cellpadding="0" cellspacing="5" border="0" width="500" align="center"> <form name="FAQ" method="post" action="question.php"> <span style="font-family: …

Member Avatar for ivatanako
0
237
Member Avatar for AdventDeo

Ok so I have two separate AJAX function that I want to combine but have no idea how. The first 2 files are to call up a table with cells in the form of text-boxes, and the last 2 files are linked dropboxes. What I want to do is to …

Member Avatar for AdventDeo
0
122
Member Avatar for j_limboo

Echo google problem Please advice you inputs are greatly appreciated [CODE]<?php if (empty($_GET['q'])){ echo "What are you doing?"; } else { /* getting value from the search form creating a new variable*/ $ser = $_GET['q']; /* applying logic and creating a new variable to it*/ $logic = "~resume (filetype:pdf OR …

Member Avatar for j_limboo
0
101
Member Avatar for j_limboo

Got stuck How to make $newUrl a hyperlink in a different html page new to php code [CODE] <?php if (!isset($_GET['p']) || empty($_GET['p'])) { $_GET['p']=0; } if (empty($_GET['q'])){ echo "What are you doing?"; } else { /* getting value from the search form creating a new variable*/ $ser = $_GET['q']; …

Member Avatar for j_limboo
0
261
Member Avatar for rajivgupta1107

Hi, I am having python 2.4 on linux machine. I am using exec funcation as: objconfigfile=open(path, 'r') for line in objconfigfile.readlines() if line == None: continue exec(line) It is throwing exception as: invalid syntax for "exec(line)" Please let me know the issue, do we have exec function in python 2.4? …

Member Avatar for vegaseat
0
235
Member Avatar for Cory_Brown

I need to populate an array with the items a user has selected in a listbox. Example: Listbox contains A, B, C, D, E User selects B, D, E create an array containing B, D, E What method would I use to do this? I've found plenty of info for …

Member Avatar for Cory_Brown
0
165
Member Avatar for wyett

Alright. Basically the point of this program is to allow a user to select how many fractions they want printed on the screen. It is supposed to print 3 fractions PER line. If a user requests 4 fractions..it would print 3 and print the 4th fraction by itself on the …

Member Avatar for wyett
0
115
Member Avatar for shuffman

I'm working on this problem that has n positive integers in a row except for the first column, which always contains zero, these numbers represent the cost to enter each column. I'm supposed to get to the end of the board with the path that costs the least. I can …

Member Avatar for shuffman
0
82
Member Avatar for onaclov2000

So I guess my question is: Can I grab an entire line using cin.getline(), and grab an entire line and ignore the whitespaces? What I'm trying to do is grab the following line: 2 3 and I want to know how many numbers are in it? OR maybe a better …

Member Avatar for necrolin
0
122
Member Avatar for f_atencia

I think this is more of a SQL query but how do I change my Grid Viewso that it displays a currency in the proper format of $ with 2 decimal places only? As it stands it is only like 194.9500 format. Cheers again.

Member Avatar for serkan sendur
0
142
Member Avatar for LJames

I have a text box for number input. Validator works fine for range 1 to 100, but it still allows the return key to be used. I want to tell ASP.NET, using VB, to ignore a return key press. Any ideas?

Member Avatar for serkan sendur
0
112
Member Avatar for Lukezzz

In a textChanged event for a textBox I am trying to do a search function for ListBoxItems like below. It seems that I have done the code correct but no items is selected and when writing a string that is longer in length than the item that is shortest in …

Member Avatar for Lukezzz
0
84
Member Avatar for ellimist14

Sorry about a n00b question but I'm having trouble. I'm messing around with linked list to try to get a good handle on them for the program I have to write. The program below was intended to fill a link list with structures then print out each structure. Instead it …

Member Avatar for ellimist14
0
116
Member Avatar for sudharani

Hello Friends, What is the code i have to write on Button click event to perform signout from a web page using C#. I have just wriitten the code Response.Redirect.But if I use back Button it is coming back to the page again. Please help me . thank U.

Member Avatar for serkan sendur
0
56
Member Avatar for jwill113

[code] #include <string> #include <iostream> #include <fstream> #include <list> using namespace std; #include "mono.h" int main() { int e; string m; string z; string fname; mono * mptr; mono * mptr2; list<mono>P1; list<mono>P2; list<mono>::iterator P1itr; list<mono>::iterator P2itr; cout<<"Menu"<<endl<<endl; cout<<"A Enter two polynomials from a file"<<endl; cout<<"B Enter two polynomials via …

Member Avatar for jwill113
0
104
Member Avatar for mania_comp

hi guys I have heard that for displaying message we generally use MSGBOX function in VB.NET and we use ScriptManager.RegisterStartscript in ASP.NET to display message box... but I have tried to use Msgbox function in ASP.NET and it works here also... [COLOR="Red"]So is it ok to use Msgbox function in …

Member Avatar for serkan sendur
0
265
Member Avatar for dp_neo

Hi, I am creating a page that has two dropdowns. One drop down needs to change dynamically depending on the selection made in the other. So Dropdown2 values depend on dropdown1 selection. To do this I am trying to add code to the Dropdown1_SelectedIndexChanged event. The data comes in from …

Member Avatar for serkan sendur
0
134
Member Avatar for freshfitz

How can I use cfloop or query my database so I can select home game and away game for multiple selections. I need to select 1 selection for home and away game but have to be able to select 1 of each. here is my output [URL="http://67.219.102.67/wcfootball/index2.cfm"]http://67.219.102.67/wcfootball/index2.cfm[/URL] [CODE] <script language="JavaScript" …

Member Avatar for freshfitz
0
304
Member Avatar for Nishanthi

now i m working in ASP.Net i created tables named customer and Product now the task is to create a web form for bill based on the products that was bought.Please help me....

Member Avatar for Ramy Mahrous
0
124
Member Avatar for Smoking Bros

Well.. It's actually pretty simple.. I just created this real quick project to try out a new (and better ;)) way of loading images in XNA Game Studio 3.0 Visual Studio C# 2008 Express Edition but when I run & debug (F5) I get a warning telling me that I …

Member Avatar for serkan sendur
0
226
Member Avatar for click here

hi iam tried to send mail but see how it appear iam use mail function when i make 2 line the message appear line one [COLOR="Red"]\n[/COLOR] line 2 and how i can make it go to the inbox and not spam and its appear some time strange how can i …

Member Avatar for almostbob
0
126
Member Avatar for j_limboo

[CODE] <?php $ser = $_GET['q']; $logic = "~resume (filetype:pdf OR filetype:doc OR filetype:rtf OR filetype:htm OR filetype:html) skill -jobs -apply -submit -required -wanted -write -sample"; str_replace ("skill", "$ser", $logic); echo $logic; ?> [/CODE] I am not able to replace skill please help New to PHP Please advice Thank You

Member Avatar for smartness
0
78
Member Avatar for Sereal_Killer

im busy with a school project to create a photo viewer type site with java script. the whole thing i being created from java script and im giving all the img's an ID tag how do i go about getting the id of the img that i have just clicked. …

Member Avatar for Sereal_Killer
0
248
Member Avatar for MrNoob

hello i m suppose to do this program which should pass array of ptrs to a structure intilise and put student[i] info in each array i did most of it but now i got problem coz i cant just pass address of structure since its an array of ptrs to …

Member Avatar for MrNoob
0
152
Member Avatar for ameneh_p

hi i want to get it's implementation as soon as possible. i will be thankful for your help. :icon_redface:

Member Avatar for mrnutty
0
158
Member Avatar for jay_412

hey guys,,could you help me bout my problem? I want to make a function and i want to preselect its ID's not its values,, this is my code [QUOTE] function getVisibility(){ echo "<option id=0>Inactive</option> <option id=1>Active</option> <option id=2>Active on Website</option> <option id=3>active on churchwide calendar</option>"; } [/QUOTE] I want to …

Member Avatar for smartness
0
105
Member Avatar for helpme123456789

This is what I have so far. This isn't working and this isn't even close to working. I'm not that experienced at C++ so I was hoping that someone would help me please. The assignment is basically to write a code to validate an email address to see what characters …

Member Avatar for VernonDozier
0
228
Member Avatar for j_limboo

echo $_GET[x] changing it into variable... any code sugessions Please advice new to PHP some inputs first change $_GET[x] to variable and then echo

Member Avatar for j_limboo
0
123
Member Avatar for somedude3488

Got bored and made a function that handles filling strings similar to mysqli bind_param. It actually gets used a lot in my code. Figured someone else might find it useful. Example usage: Using question marks as place holders [code] $str = 'Hello, my daniweb user name is ? and my …

Member Avatar for somedude3488
0
152
Member Avatar for masterjiraya

[CODE=PHP] <html> <title> consonants vowels and numbers </title> <body bgcolor=red text=white><form method=post><font size=15> Enter a word(s):<input type=text name='phrase'></br> <input type=submit value=generate></br> <?php $vowel; $conso; $nums; switch($_POST['phrase']){ case'a': case'A': case'E': Case'e': Case'I': case'i': case'O': case'o': case'U': case'u': $vowel+=1; break; case'0': case'1': case'2': case'3': case'4': case'5': case'6': case'7': case'8': case'9': $nums+=1; break; …

Member Avatar for diafol
0
150
Member Avatar for jameswoodhouse

Hi there im very new to VB.net. However ive bee told its the best place for me to start if i want to program a small application for use with my family business. Basically i want to be able to enter the type of employee. Either (Manager, Help Desk or …

Member Avatar for bubbachunk
0
197
Member Avatar for jazzycontact

hi i don't know it is wright place for it or not. i am new in javascript programming. i am try to implement find and replace functionality. in it i want to search keyword in particular div only. not other part of the page. i have implement following code function …

Member Avatar for Troy III
0
132

The End.