199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shihab2555

I have created a table named student including column stu_id, stu_name & Blood_group.I created a delete button to delete rows and I used the following code when delete button is pressed.I take input using jtextfield.But this can only delete by taking input in stu_id.But now i also want to delete …

Member Avatar for shihab2555
0
259
Member Avatar for shihab2555

I have created a table named student including column stu_id, stu_name & Blood_group.I created a delete button to delete rows and I used the following code when delete button is pressed.I take input using jtextfield.But this can only delete by taking input in stu_id.But now i also want to delete …

Member Avatar for shihab2555
0
240
Member Avatar for andrew mendonca

Define a getMean() function with the specification and prototype shown below: // Return the sum of all scores divided by the number of scores. // This know as the "mean" or average of the scores. // Assume that numScores > 0. double getMean(double scores[], int numScores); Here is the driver …

Member Avatar for vijayan121
0
208
Member Avatar for tingwong

Hello all. For my project I have to create a snack machine with mints and cookies. So far I have gotten an array of cookies with the code below. However an interesting problem I'm having is my output: OATMEAL cookie LEMON cookie null CHOCOLATE_CHIP cookie OATMEAL cookie LEMON cookie null …

Member Avatar for JamesCherrill
0
1K
Member Avatar for jessa_lee

I've got a basic subscription list signup for a website, and a basic form to input the text for sending an email to the subscribers... but I need to know what steps I need to take to create an HTML email, place a different main topic in the newsletter each …

Member Avatar for smartedesigners
0
1K
Member Avatar for manjushcool

I am doing my c++ program on hospital data base management. I have users of type admins,hospitals,doctors and patients. Each have their own username and passwords. I used files in order to maintain data base. It does not enter if the user name and passwords does'nt match. But my problem …

Member Avatar for happygeek
0
4K
Member Avatar for krunal1986

hi all, i am not able to redirect/login to my owa page. when i run my code below commandd windoe comes and disappears nothing happens. please seemy code below: Sub main() Dim strServerName As String = "12.345.56.789" ' my owa ip Dim strPassword As String = "password" 'my password Dim …

0
166
Member Avatar for pratik65

i am trying to get crystal report of my Marks_master Records From Table . I tried Following Code But It is Giving Me Exception As : System.IO.FileNotFoundException was unhandled Message=Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one …

0
121
Member Avatar for bikashjit

I want to make J2ME mobile browsers, and games. Im complete beginner so.. How much time it may take me to become master in developing games and utility apps.?

Member Avatar for harinath_2007
0
182
Member Avatar for andrew mendonca

Define a getScores() function with the specification and prototype shown below: // Get scores from console and return the number of scores recorded. // A negative value signifies end of input. // If more than MAX_SCORES values are entered then discard entries beyond the first MAX_SCORES. // Assume that MAX_SCORES …

Member Avatar for faroukmuhammad
0
214
Member Avatar for tingwong

Hi everyone, I have a little problem with my code right now. For a project, we are to create a snack machine with cookies and mints using a GUI. We are given nickels, dimes, and quarters to enter in. The problem is when I enter in 1 nickel and 6 …

0
133
Member Avatar for lulu79

Hi, How can i change the bar chart color after I click a button? Here is the senario. I have a bar chart to show line progress. Here is the 3 condition for the bar chart: 1) Before the bar chart reach maximum limit, the color will set to blue. …

Member Avatar for lulu79
0
298
Member Avatar for jilkin

PHP how do I - in a password protected dir stop anyone typeing anything after the "/" or if they try to change the address at all they will simply be directed to the login page with message? Hope somone can help am stuck.

Member Avatar for jilkin
0
140
Member Avatar for tingwong

Hello all. So I have a little problem with my school project. We are to create a snack machine with cookies and mints and interact with it using a GUI. We click the add Mints or Cookies button to add to the 'Snack Machine' and then click buy to purchase …

Member Avatar for tingwong
0
279
Member Avatar for nyfan68

I'm kinda stuck with the first part of this assignment. Design and implement a program for a phone book application. Create classes Name, PhoneNumber, and PhoneBook that are employed by the provided phone book program, PhoneBookProgram.cpp. The Name class is where I'm at. Class Name • Represents the name for …

Member Avatar for nyfan68
0
159
Member Avatar for coroshea

The program works perfectly. But in order for an individual to succeed in computer science, he or she must fiddle around with the program, and come up with other algorithms, such as converting a pre existing one, even it it is more or less efficient. Again the program works perfectly. …

Member Avatar for coroshea
0
211
Member Avatar for subratabanerjee

My concept is to load contents of a div on other div in html. In short I want to learn how the new Facebook inbox works, when we click on a message on the right, the contents and fetched from the database and loaded in the center column. I know …

Member Avatar for subratabanerjee
0
188
Member Avatar for lulu79

How can I change the color of bar chart based on value in database column? For example, in table "STATUS" in my database, I have 3 type of value. What I want is: 1) If the value = 0, then color will change to blue. 2) If the value = …

Member Avatar for lulu79
0
2K
Member Avatar for jcrck

I'm taking an Intro to C++ course and I'm having some difficultly with a lab I'm working on. I don't have any code yet. I've been working on my design file but don't know which direction to go in to solve the problem. I want to put the dataSheet into …

Member Avatar for jcrck
0
250
Member Avatar for Fuzzies

Hello! I just started learning C a few weeks ago and I'm having a problem with a program I'm writing The program has to prompt the user for a certain number of values defined as NUM_VALUES, and then calculate the mean and standard deviation of the numbers. Here's what I …

Member Avatar for Fuzzies
0
273
Member Avatar for Sam_07

I wrote a short program to factor numbers, and it works in most cases. The problem I am getting is that when I use a very large number I get "Floating point exception: 8." I am assuming that I am trying to divide by 0 on line 43 or 46, …

Member Avatar for NathanOliver
0
4K
Member Avatar for algrandjean1

Hello, I am having some difficulties getting my program to write the contents of an object to a file. First off, I am not sure if I should be writing the contents of the the object (e1, e2, e3) to the file or if I should be writing the contents …

Member Avatar for aradicev
0
280
Member Avatar for DelilahDemented

I'm trying to build a tree from a file and it keeps blowing up on me. It doesn't even give an error but it shuts down when I try to run it. I'm not sure what is wrong. I think I have something wrong with my root but I'm really …

0
158
Member Avatar for o.s.o.a

hi... i face this problem i created php file has form contient textarea which has ckeditor toolbar i created anthor php file has link when click this link call the first php file the problem form show in second php file without ckeditor toolbar when i load first php file …

Member Avatar for o.s.o.a
0
126
Member Avatar for woah123

I'm given a text document with marks and course codes, and I need to create a function where you input the directory of the file, and the course code. Doing so, the code will return the average mark of all the marks in the text with that course code. Any …

Member Avatar for woah123
0
206
Member Avatar for anisha.silva

Hi I have two tables Employee and Job, Employee's prmary key is EID and in Job there is a EID that is a foreign key to Job. job has another column as the status of the employee. first the employee is added to the database and then the job detils …

Member Avatar for AleMonteiro
0
206
Member Avatar for adams161

I have a Java application i've written, it's a chess client that i've done as a hobby project, and it has a main applicatoin window and all the windows are contained in that. I've had a number of requests from mac users that they'd like to see it converted to …

Member Avatar for JamesCherrill
0
244
Member Avatar for phphelp123

<?php $host="localhost"; // Host name $db_username="root"; // Mysql username $db_password=""; // Mysql password $db_name="shop"; // Database name $tbl_name="users"; // Table name // Connect to server and select databse. mysql_connect("$host", "$db_username", "$db_password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form $username=@$_POST['username']; $psswd=@$_POST['password']; $password = md5(trim($psswd)); // …

Member Avatar for veedeoo
0
122
Member Avatar for nickick

I am using the following code on my raspberry pi (with debian as the os), and when i run it, it says: cannot load image C:/root/desktop/Snake.bmp * Traceback (most recent call last): File "/root/game.py", line 25, in <module> background, tmp_rect = load_image('Snake.bmp') File "/root/game.py", line 11, in load_image raise SystemExit, …

Member Avatar for woooee
0
219
Member Avatar for mitch_oso

Hi everyone I'm new in VBA and I have a problem with my code, if someone can help my I will be grateful. I have this part of code in Excel VBA an work fine Dim NumeroArchivo As Integer Dim conta As Integer Dim ListArchivAbierto As String NumeroArchivo = Workbooks.Count …

Member Avatar for Nutster
0
226
Member Avatar for Brick Wall

Right im tring to figure this out.... using the form load event i have created an array which gets populated with 20 random numbers from 0-9 (numbers do repeat). Based on the users input I am now trying to search my array to findthe first occurrence if any of the …

Member Avatar for xerohomicide
0
129
Member Avatar for cucolino

Hy there. I have some code where I store data for 365 records (for every day in a year) in delphi, some kind of list as far as I understood (a good man!!! Sir Rufo on stackoverflow helped me with that part of code, writing whole example for me! Thanks …

Member Avatar for cucolino
0
427
Member Avatar for Ricky116

Hi folks, I have been making a marquee scroller that reads the text coming from the right to the left, so setting a JLabel's text using setText() starting with 60 spaces and one character-long substring, to zero spaces and 60 character-long substring. I've noticed that immediately, the jlabel's text starts …

Member Avatar for Ricky116
0
937
Member Avatar for Neethaa

Sub empno() ComboBox2.Items.Clear() sql = "select empno from tbl_empinfo" If rs.State = 1 Then rs.Close() rs.Open(sql, conn) Do While rs.EOF = False ComboBox2.Items.Add(rs(0).Value) rs.MoveNext() Loop End Sub how do i write this for an access connection???

Member Avatar for xerohomicide
0
128
Member Avatar for poojavb

Need help while working with timer.... I am trying to do the database restoring part.... When the user clicks on the restore database button the progress bar shud be shown and as soon as the restoring is completed the progress bar shud stop and display success msg... Right now I …

Member Avatar for Reverend Jim
0
293
Member Avatar for Neethaa

Actually I'm doing a project to maintain the company info, here i wanted to write a code to check whether the company id already exists or not. that is if the id 123 is already present in the access database then it shuld show the msg that it already exist. …

Member Avatar for Neethaa
0
125
Member Avatar for hotblink

Hi there, I just wanted to ask how I would go about writing a single function to count the frequency of numbers 0-10 including .5(such as 1.5,2.5) This is what I have done file = open ('grade.txt', 'r') s=file.readline() grade=[] while s[0:3]!="EOF": s=s.replace(' ','') lst=s.split(',') if lst[0][0]!='I': grade.append(float(lst[5])) print(lst) s=file.readline() …

Member Avatar for hughesadam_87
0
391
Member Avatar for fantasma.delespacio.773

I've been looking for a way to work with polynomials using python, did someone already wrote a code to do that?. Here's what i have until now using dictionaries as polynomials -for example: x^4-6x^2+1 would be {4:1, 2:-6, 0:1}-, someone have any suggestion to make? def degree(f): t = sorted(f.keys()) …

Member Avatar for hughesadam_87
0
168
Member Avatar for shihab2555

Hi. i made a database table table and i showed it in a jframe through jtable.I want to change my column name displayed.So far i used the follwing code. private void Update_table(){ try{ String sql="select stu_id ,stu_name ,Blood_group from student"; pst=conn.prepareStatement(sql); rs=pst.executeQuery(); md = rs.getMetaData(); int columnCount = md.getColumnCount(); Vector …

Member Avatar for shihab2555
0
2K
Member Avatar for PrimePackster

Sorry! The problems are all solved and every error is removed.. Sorry guys! Modes: Please delete this thread. CJ

Member Avatar for PrimePackster
0
103
Member Avatar for jhedonghae

i have here a code that add timeintextbox and timeouttextbox to calculate for the total hours work. my problem is that i want to subtract 1hour in the total hours work for the break time..please any idea on how should i do this? Dim TimeA As Date Dim TimeB As …

Member Avatar for G_Waddell
0
188
Member Avatar for mitesh.24jain

I have 3 table let say table1 ,table2 and table3 Table1 with 2 columns pid and productname pid(P.k) productname 1 abc 2 qwe 3 ewre 4 jui Table2 with 2 columns fid and imagename fid(P.k) imagename 1 a 2 b 3 c 4 d 5 e 6 f 7 g …

Member Avatar for mitesh.24jain
0
224
Member Avatar for weeraa

I'm bit new to C#. This is my code. When i click edit button in grid, it should be update the database. But now it is not update the database from this code. The database has original value after editing. after click edit button, it is shown a message box …

Member Avatar for riahc3
0
173
Member Avatar for zubair khalil

this is java webservices code and please convert to C# webservices code, just change for me , i think you understand my probelm, and please do for me here is a code below , <div>import java.io.FileOutputStream; import java.io.PrintWriter; import java.net.HttpURLConnection; import java.util.Enumeration; import java.util.Properties; import java.util.Vector;</div> <div>import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; …

Member Avatar for riahc3
0
532
Member Avatar for laguardian

Hey guys! So I'm trying to create a method that takes in a list of integers into an array and prints the elements inside the array line by line. How do I print the the elements? Here's what I have so far: public class Main { /** * @param args …

Member Avatar for NormR1
0
141
Member Avatar for seeking_help

so i am using visual basic express edition 2010 i am now able to select an image and displaying it in the picture box. now i need to run a c code (its exe file) by clicking a button in the vb form. i was able to this too by …

Member Avatar for Pgmer
0
107
Member Avatar for Milton Neal

I'm re-kindling some of my C++ theory and was working through a C++ SringBuilder class I found on the net. I understand it all except the 2 operator methods. (See listing below). Can anyone explain what these operator methods are for and how and why you would impliment them. class …

Member Avatar for rstralberg
0
129
Member Avatar for Riu 2009

hello everyone, hope u ppl r fine :) well i am a beginner in php and my sql.. but i have no idea of javascript, i just wanted to use topup lightbox for my project.. i want to display the course material and the material is all media files like …

0
96
Member Avatar for subrata_ushasi

Hi , I am creating an website where I want to create worldwide partner . I got a reference site http://www.ogilvy.com/Offices.aspx which is developed in asp.net and flash but I want the same effect in php,jquery/javascript/ajax which is very urgent to do. Thanks in advance Subrata

Member Avatar for NardCake
0
343
Member Avatar for dbalas

Hi! I have a problem with .pdf upload size... In input form i have set it like so: <input type="hidden" name="MAX_FILE_SIZE" value="1000000000"> in php.ini ; Maximum allowed size for uploaded files. upload_max_filesize = 150M but i can not upload the file of 1MB... I have looked at my error log …

Member Avatar for dbalas
0
772

The End.