199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 650U

I have a question in Inheritance(Python): Write a class named Person with data attributes for a person's name, address, and telephone number. Next write a class named Customer that is a subclass of the person class. The Customer class should have a data attribute for a customer number and a …

Member Avatar for e-papa
0
241
Member Avatar for Mrunmaishinde

hi.... ZSLGRREN i am to late to reply , sorry i have used your code of changing color of selected row of gridview but problem is that color is not stable . after click event fire color is disappear... so plz help...

Member Avatar for crishlay
0
157
Member Avatar for xanawa

HI, i have the following code and i am getting the error [CODE]private Reservation getReservationDetails() { Customer c = GetCustomerDetails(); ManagerCustomers mgrCustomer = new ManagerCustomers(); int customerID = mgrCustomer.SearchCustomerByIDCardNumber(c.IDCardNumber); DateTime reservationAdded = DateTime.Now; int numberOfPeople = Convert.ToInt32(nudNumberOfPeople.Value.ToString()); string dateOfEvent = dtpReservationDate.Value.ToLongDateString(); string timeOfEvent = dtpEventTime.Value.ToLongTimeString(); DateTime dateTimeOfEvent = Convert.ToDateTime(dateOfEvent + …

Member Avatar for xanawa
0
1K
Member Avatar for rajeesh_rsn

Hi friends In one of my project I just need a rich text editor . A simple one which containing bold, Italics, Underline, Image , Link ... which must output like [CODE][url=""]asdasd[/url][/CODE] I m very new to this and can anyone suggest me a free one ? Thanks in advance …

Member Avatar for rajeesh_rsn
0
134
Member Avatar for Mrunmaishinde

hi... frnds i want to hold the position of selected row of gridview using update panel... plz help..

Member Avatar for crishlay
0
350
Member Avatar for amit.hak50

I am having problem with the yahoo search API,sometimes it works and sometimes don't why I am getting problem with that I am using this URL [CODE]http://api.search.yahoo.com/WebSearchService/rss/webSearch.xml?appid=yahoosearchwebrss&query=originurlextension%3Apdf+$search&adult_ok=1&start=$start[/CODE] The code is given below: [CODE]<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <? $search = $_GET["search"]; $replace = " "; $with = "+"; $search = str_replace($replace, …

Member Avatar for amit.hak50
0
626
Member Avatar for laitingfei

I have a Computer Science project due Monday. We have to make a game and use GUI in order to ensure ourselves a good score. I decided to make Hang Man. The class reads in a txt file of common SAT words (I'm a sophomore in high school, so I …

Member Avatar for rebecca94
0
2K
Member Avatar for edensigauke

Hie guys, i am thinking of setting up an sms center which send sms' to subscribers. I would like to know where i can get as much research help as possible about sms centres and how they work. it would really help

Member Avatar for jwenting
0
163
Member Avatar for amit.hak50

I am getting this error ,can anyone help me : Warning: Invalid argument supplied for foreach() in /home4/thesisth/public_html/pdfsearchmachine/classes/rss.php on line 14 Here is the rss.php code [CODE] <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <? $search = $_GET["search"]; $replace = " "; $with = "+"; $search = str_replace($replace, $with, $search); if ($rs = …

Member Avatar for amit.hak50
0
271
Member Avatar for zslgreen
Member Avatar for finito
0
100
Member Avatar for ashishnandwani

I am trying to update a JProgressBar in a for loop , The maximum size , I have set is equal to the size of the array which is computed upon and I am incrementing the value of the progress bar in the for loop.Here 's the code [CODE] private …

Member Avatar for ashishnandwani
0
199
Member Avatar for MeandJava

Hello everybody, I have a task to let an engine run. Now I want it to program that it runs once for 60 seconds and then stops. How can I do this? Timer is not an option because it don't need to repeat. Thanks in advance for your answers :) …

Member Avatar for MeandJava
0
163
Member Avatar for Sadun89

What is the best edition to learn java in basic.... Eg.. JavaSE JavaEE JavaME or if something else..... Is JavaEE [B]good [/B]for begin or [B]not [/B]? Why? What are the main differences between those editions.....

Member Avatar for Sadun89
0
133
Member Avatar for phplover

Hello, I posted here as although it's in regards to mysql the thing i want to ask is in regards to php itself. I have two tables below as follows: [CODE]CREATE TABLE `users` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `status` char(10) NOT NULL, `username` varchar(15) NOT NULL, `email` varchar(50) NOT …

Member Avatar for phplover
0
131
Member Avatar for stobbz

[code=c] . . string line; vector<string>DataStore; ifstream file; file.open(fileName.c_str()); if (!file.is_open()){ cout<<"Error retrieving file " <<fileName<<endl; } while(getline(file,line)) { getline(file,line); stringstream lineStream(line); string bit; getline(lineStream, bit, ','); getline(lineStream, bit, '\n'); DataStore.push_back(bit); . . [/code] This piece of code takes a CSV and stores its data in a vector. The first …

Member Avatar for stobbz
0
4K
Member Avatar for gulbano

Hey all Can any one tell me what is the basic difference between events and delegates :) Thanks

Member Avatar for gulbano
0
128
Member Avatar for coding101

Do you think a hash table is a good data structure for implementing a priority queue? Any ideas?

Member Avatar for Lamthuy
0
142
Member Avatar for cwarn23

Hi, I am in need of a python ocr script that can convert images into text and for the script to work on BOTH windows and centos. All the scripts I have found seem to not be compatible with linux/centos or require an api to another server and I do …

Member Avatar for cwarn23
0
167
Member Avatar for valter

I have an external dll that provides the time and date a photo has been taken I am getting an argumentexception for a certain image. I believe it is because it is a jpeg from a scan, so it doesn't have a datetime. My problem is that even with the …

Member Avatar for valter
0
143
Member Avatar for Lamthuy

Hi, I have to read and store 70 millions of Double objects in a Vector. The problem is that it seems that Java will allocate 40 bytes of memory for each Double object and the memory amount we need to store such number of Doubles object is approximately 2.8 GB. …

Member Avatar for Lamthuy
0
162
Member Avatar for iklila

how to write the interrupt instruction in assembly language and what the diferrent between subroutine and interrupt in assembly language?? anybody can help me??

Member Avatar for Athelas
0
105
Member Avatar for kirtee2209

Hi..I have a table named tblTask and another one named tblDaily_Task_Schedule. the relationshipis such that a task can have many daily_tasks. the primary key of tblTask is Task and the primary key of tblDaily_Task_Schedule is Daily_Task and its foreign key is Task (from tblTask). Each subtask in the tblDaily_Task_Schedule has …

Member Avatar for Mitja Bonca
0
86
Member Avatar for minitauros

Hello, I'm encountering an AJAX problem when I try to execute multiple AJAX requests at the same time. What I want to do is delete a message and display the status (succes or failure) of that in [I]div1[/I], and refresh the messages on the page in [I]div2[/I]. This needs (for …

Member Avatar for Airshow
0
437
Member Avatar for shyla

Hello i am trying to solve the second part of this question i am getting these errors Error 2 Only assignment, call, increment, decrement, and new object expressions can be used as a statement Error 1 Use of unassigned local variable 'i' [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; …

Member Avatar for abelLazm
0
756
Member Avatar for Munnazz

Can any one say how can i make the first letter of a asp label(Hello World==> {{Change H color to different color in Hello}}) to different color using css class

Member Avatar for abelLazm
0
97
Member Avatar for TheQuad

Hi I'm making the mastermind game but using numbers instead of colours. The one part that I'm stuck on is when the right number is guessed but in the wrong position, it seems to count it too many times. for example; generated number: 4234 guess: 2122 real answer should be …

Member Avatar for peter_budo
0
1K
Member Avatar for alfredferg

hi to all, I'm new in mysql and I have a problem regarding deleting rows. I have 38 tables in database and I want to delete rows in all tables with specific ID that is executed in just 1 click. For example, I executed ID number 1 then it will …

Member Avatar for tomato.pgn
0
135
Member Avatar for shilp

I am using VB.NET using Visual Stduio 2005. From a Windows application, how to execute another form? Thanks for your help.

Member Avatar for tomato.pgn
0
192
Member Avatar for cj333

I am making a mysql fulltext search. my database table article1 has ~18000 articles, article2 has ~7000 articles, article3 has ~13000 articles. FIELD cat is a INDEX field Now I want to make a union search. there are 5 groups words put into 3 table, match out the results. But …

Member Avatar for cj333
0
185
Member Avatar for Sourish90

Dear Frnz, I am new to this community.....I wanted help from you guys... I want to clear as well as strenghthen my concepts of data structures...I am planning to implement them in C.....I am follwing [B]Tanenbaum[/B]...but i am not completely satisfied with it..... Can you guys suggest which can be …

Member Avatar for tomato.pgn
0
238
Member Avatar for g2gayan

Hello :) Im still learning C# , im developing and application as my project .... i came across a issue and thought the experts might help me out :) what i want to do is to read a text file like this : [CODE] 91.210.46.1:8080 124.193.109.13:80 124.193.109.7:80 [/CODE] and i …

Member Avatar for abelLazm
0
364
Member Avatar for rohitamitpathak

I am working for encryption and decryption using rsa algorithm ,and adding my own concept in rsa, after rsa and padding i m getting a string like- 100011234A12300A12A231A234A981A for different input output string is increase... Is there any technique by use of that i can compact this string [ then …

Member Avatar for rohitamitpathak
0
172
Member Avatar for python01

Hi all, I have just modified a mouse so that the left mouse button gets activated when a puck hits the net in ice hockey... Now all I need is for python to react to the hit by sending an output of voltage for a period of time and adding …

Member Avatar for python01
0
180
Member Avatar for LegitHugo

Hey, Im trying to figure out how to read a starting and ending point in a string. What Im trying to have accomplished is something like this (This code doesn't work) [CODE] string str = ""; //str = readfrom(textBox1.Text, "start Character", "End Character"); str = readfrom(textBox1.Text, "[", "]"); textbox2.text = …

Member Avatar for abelLazm
0
158
Member Avatar for kshitij tyagi

Hi.. I am a total newbie to writing scripts. I am trying to execute a program through a script, but I keep getting 'unexpected end of file' error. [ICODE] q=1.170 while [ $q -lt 1.405 ]; do ./a.out $q q = $(($q + 0.005)) done [/ICODE] Please tell me the …

Member Avatar for kshitij tyagi
0
169
Member Avatar for rannamaa

In Java and c# you can get the total lenght of an array with array.length or simular. Not only the length of the filled elements, I want the length of the total array. Lets say the array is introduced as this. [CODE]string array[100];[/CODE] Maybe its half filled or not it …

Member Avatar for rannamaa
0
118
Member Avatar for sumprit

Hi everyone! i am trying to find the average from an arraylist conatining database values. My database table have 9 columns and has 168 rows. Now i need to find the average at an interval of 12. My database table has time as 1 column and 8 other columns with …

Member Avatar for sumprit
0
121
Member Avatar for Munnazz

Hi, I was in a urgency of some requirement that was given to me.. I want to access my mater page control in my child page can any one give some assistance regarding this..

Member Avatar for Munnazz
0
117
Member Avatar for NinjaLink

I want a user to enter the query: "select * from books where price > 24.99 and price >= 25.00" for example, but since the statement doesn't need price >= 25.00, I want to rewrite the query to just "select * from books where price > 24.99" and give the …

Member Avatar for ztini
0
119
Member Avatar for vedro-compota

Hi guys - I need your advice) In which cases It'll be correct to use <T> after class name when I want to have generic type fileds in this class? big thanks in advance)

Member Avatar for vedro-compota
0
138
Member Avatar for jfunchio

I keep getting this error when I try to run and print out the results of my database query. I know that this error usually mean that my query failed but i can't figure out what is wrong with it. [CODE=PHP] $genre=readline("Enter Genre: "); $query = "SELECT movie_title FROM movie …

Member Avatar for vibhaJ
0
254
Member Avatar for die_raupe2

i was just hoping to get help on an assignment i've been racking my brain over for the last couple of hours. i'm asked to program a database of houses using object oriented programming. i'm suppose to do this by writing a house class, an address class, and a third …

Member Avatar for ztini
0
220
Member Avatar for rannamaa

I try to get this to work... [CODE] for(int i = 0; i < size; i++){ if(nameList[i] != NULL){ //save name } else cout << "Namelist is full" << endl; } [/CODE] but NULL is not exepted in a situation like this...or...? I want to put in the name in …

Member Avatar for rannamaa
0
117
Member Avatar for Shizuka

Hi guys! i wonder how can i save image path in a string to MySQL, i mean...what instruction i have to use...i want to save it to MySQL and then show it into a picture box. Thank you very much for your help.

Member Avatar for Jx_Man
0
286
Member Avatar for guru_iyer

Hey here's my code for functioning like MS Paint. But JLabels are just not visible. Please Help. [CODE] import java.awt.event.*; import javax.swing.*; import java.awt.*; import java.awt.image.*; public class MSPaint { JFrame frame; JPanel panel; Painting paint = new Painting(); public MSPaint() { frame = new JFrame("MS Paint"); frame.setSize(1024,768); panel = …

Member Avatar for guru_iyer
0
1K
Member Avatar for alfredferg

hi to all, I'm new in mysql and I have a problem regarding deleting rows. I have 38 tables in database and I want to delete rows in all tables with specific ID that is executed in just 1 click. For example, I executed ID number 1 then it will …

Member Avatar for alfredferg
0
132
Member Avatar for menukadevinda

hi, although, database is connected and admin table of my database consist of 2 rows of data, I still get 0 value for $numRow=mysql_num_rows($result); And mysql_fetch_array doesnt fetch values properly plz can any body help me thx in advance [code]<?php //include_once 'config.php'; /* 1. Got the username and password from …

Member Avatar for tomato.pgn
0
147
Member Avatar for toferdagofer

Hi i'm creating a GUI and i have a couple menu items set up with options within those menus. What I'm looking to do is use those items inside the menus to open up more menus kinda like when you go down to all programs in your start menu and …

Member Avatar for WolfShield
0
127
Member Avatar for retmil

I am having problems with finding a solution to update the quantity and list the menu items: ex: if you select Plain eggs at 1.45 each 3 times and coffee at .50 each 2 times it should output: 3 plain eggs $4.35 2 coffee $1.00 I have the total cost …

Member Avatar for retmil
0
128
Member Avatar for reloadmvp

Create a class Cat with its data members weight & age, each of which defaults to 1. Provide get & set member functions for each data member. Also provide data member functions speak & walk. Both set functions should verify that data members are >0 otherwise set the default value …

Member Avatar for reloadmvp
0
210

The End.