199,110 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Son of a gun

Can I ask for some advice / help please, I am writing a UI that upon the user making a selection from a drop down list it then populates details about the selection in text boxes. I am writing this as three classes the main class, the UI (User Interface …

Member Avatar for Son of a gun
0
111
Member Avatar for abewin

Firstly, i press ENTER to exit the 1st do..while loop and then the programe ask Rent Paid(y/n): if i press n and then ENTER, the program return rent_step2, and it is supposed to wait for me before i press ENTER again But it just break the 1st do..while loop and …

Member Avatar for abewin
0
976
Member Avatar for feodal

Hey, I have a scrapper that was written in php that gathers info from a website and outputs it in csv format. The problem that I have encountered is that there are short connection breaks which are enough for my script to stop executing and I am not sure whether …

Member Avatar for feodal
0
84
Member Avatar for rational_

Design and implement an object-oriented program describing two kinds of BANK accounts, [B]FixedFee[/B] and [B]ChargeableFee[/B], that differ in the way that fees are charged: • FixedFee: There is a fixed £5.00 fee at the end of the each month • ChargeableFee: Each withdrawal costs £0.50. The total fee is calculated …

Member Avatar for apines
0
306
Member Avatar for Mark709

Users click to open NEW Internet Explorer program page but they only get top half of page (ie minimized style) and need to click on icon at top right hand side - to get full screen (complete with tool bars etc). Question What code can be used to ensure window …

Member Avatar for Mark709
0
75
Member Avatar for Rox Vi

Help Needed. When I click on button1, employee_id and P values need to be transferred from button1_click to Cal_Category13() and go through all the calculation. After the calculation, udtnew.X and udtnew.MTD values need to be transferred back to button1_Click I've no problem to return multiple values Cal_Category13().MTD and Cal_Category13().X from …

Member Avatar for Mariandi
0
156
Member Avatar for HoneyBadger

Guys I am trying t write this script that finds the age of a daughter through palindromes. Here is the question: Recently I had a visit with my mom and we realized that the two digits that make up my age when reversed resulted in her age. For example, if …

Member Avatar for gwmorris
0
288
Member Avatar for minimi

[CODE] import javax.swing.JOptionPane; public class Test1 { public static void main (String[] args) { // Method 1 Test3 method1 = new Test3(); // is this the method to call Test3()? JOptionPane.showMessage (null, method1 // Method 2 JOptionPane.showMessageDialog (null, Test3()); // Method 3 JOptionPane.showMessageDialog (null, Test3.toString()); } } class Test2 { …

Member Avatar for apines
0
143
Member Avatar for intes77

[CODE]import javax.swing.*; class Month { public static void main(String[]args) { String value=JOptionPane.showInputDialog(null,"Enter Month Day and Year"); if(value.length()==10) { char Month=value.charAt(0)+value.charAt(1); char Day=value.charAt(3)+value.charAt(4); char Year=value.charAt(6)+value.charAt(7)+value.charAt(8)+value.charAt(9); JOptionPane.showMessageDialog(null," "+Month+"/"+Day+"/"+Year+""); } else { JOptionPane.showMessageDialog(null,"INVALID INPUT!!"); } } }[/CODE] Hello i need help about combing the charAt()'s for example i would input 05/05/2010 i want …

Member Avatar for intes77
0
443
Member Avatar for sekhar9038

hai friends i am developing a voting software, but i cant able to find the code for increment the no:of vote in the database when an user click on the button.I used sql server 2005 as my back end..Any one pls help me...

Member Avatar for sekhar9038
0
109
Member Avatar for vegaseat

Suddenly I am interested in the tcl scripting language. Does anybody know a good website to learn the rudimentaries.

Member Avatar for gwmorris
0
3K
Member Avatar for jemimaloh

hi there. Just wanna check if I am coding this wrongly, [CODE]int sumOfVotes = 23 int howlong = 94 double SimPercent = ((sumOfVotes / howlong) *100);[/CODE] Shouldn't the answer, SimPercent, be 24.4? Tks!

Member Avatar for jemimaloh
0
99
Member Avatar for veledrom

Hi, When I send bulk emailsto many people I want to get reports like "how many delivered, how many failed, who opened, who didn't open etc.". Is this possible with PHP, if so which PHP mail package would be the best. Thanks in advance

Member Avatar for mschroeder
0
92
Member Avatar for serph09

Hi, I got a compile error of incompatible types - lang.object is found but int expected on line 21. But when i put int in front of square, it says .class error:/ P.S. I didn't write everything here, I got some codes from other programs:P [CODE]import java.util.ArrayList; /** A magic …

Member Avatar for hanvyj
0
172
Member Avatar for saqib_604

Hi! I want to know, how to calculate running time complexity of a given code or algorithm. some one please help me. code is given below. x = 0; for (a=1;a<=n;a=a*9) { for (b=1; b<=3n; b++) { for(c=0;c<n; c=c+5) { x++; } } } I think, there is for the …

Member Avatar for apines
0
306
Member Avatar for lakk

Hi all, I have used popen function to run a shell script in my c program.. using that shell script, i write some floating point vale to a temporary file.. Then i tried opening that file using fopen and i used fscanf to read the only floating point value that …

Member Avatar for lakk
0
115
Member Avatar for 080346

Hello everybody; m screwed by searching, and dont get any satisfactory material, i want to know that, if i have a button of NEXT then how it will close that GUI and open the new one from another class?? kindly help me

Member Avatar for kramerd
0
88
Member Avatar for joshisumitnet

Dear Friends, I am using FCKEditor in my website. It's working all over in website fine. But there is one page in which it does not showing properly. I tried all things but in that page is does not showing properly. I have one hidden div tag. When user clicks …

Member Avatar for joshisumitnet
0
188
Member Avatar for andydeans

hi, never done this before and wondered if anyone could point me to a fairly simple step by step guide on how to add an rss feed from a site into our own web site? many thanks

Member Avatar for RoseMary3
0
139
Member Avatar for jakizak

PHPMYSQL - How do you perform a double SELECT query or check against multiple fields? Does anyone know how this can be achieved? What i want is from a search page that has multiple search areas such as name / description / functions and be able to type multiple search …

Member Avatar for raju_boini525
0
682
Member Avatar for herms14

guys, ive copied a code about socket programming just to see how it runs. problem is i cant compile it everytime i compile client.c it shows and error. here is the error [CODE] client.c: In function ‘error’: client.c:9: warning: incompatible implicit declaration of built-in function ‘exit’ client.c: In function ‘main’: …

Member Avatar for getlogesh
0
1K
Member Avatar for khushhappy

I am displaying a value in directory.php page and then i want to display the result when clicked on the detail hyperlink , specific record to be shown in the directorydetail.php , but it is not showing. :( i am submitting the code in chunks, <td width="90"><?php echo $row_Directory['Off_tel']; ?></td> …

Member Avatar for khushhappy
0
283
Member Avatar for dead1

i need to write a code that will download an excel file from a website every time it is ran. what im trying to do is automatically import real time electricity rates into excel. im a beginner in programing and am seeking help for my senior design project. Thank you

Member Avatar for hanvyj
0
81
Member Avatar for vbx_wx

I know how to test for a blank space,but how can you test for more than one blank ?

Member Avatar for vinitmittal2008
0
289
Member Avatar for AndreiZ3

Hi, I have loaded a listview with data from a webservice. foreach (DataRow dr in dt.Rows) { ListViewItem lvi = new ListViewItem(dr["ProductName"].ToString()); lvi.SubItems.Add(dr["QuantityOrdered"].ToString()); lvi.SubItems.Add("0"); lvProductsOrdered.Items.Insert(0, lvi); lvi.Tag = dr; } Now when the user taps on the listview item I want to read the data back in: The list view …

Member Avatar for N4JRY
0
160
Member Avatar for SunnySideUp

Hi, I am trying to get a live search facility working but my code is not working, I was wondering if someone could help me out and see if there are any mistakes or things I can change: Index.php [CODE] <form id="jobSearch" method="get" action=""> <input type="text" id="searchJobs" class="JobSearchBox" name="z" onkeyup="showResult(this.value)" …

Member Avatar for SunnySideUp
0
220
Member Avatar for vanan4u

i have done program as below. need to input no of students and no of subject. no of subject and student is undefine. every entered marks should produce its grade. in this case i've defined the no of subject by right it should be entered by user. how can i …

Member Avatar for mfaisalm
0
189
Member Avatar for vinitmittal2008

[COLOR="Green"]Hello Friends... i made this Queue Program in c and its working good.. But I want to make it circular Queue please give some ideas..[/COLOR] [CODE] # include <stdio.h> # include <conio.h> # include <stdlib.h> # include <string.h> # define QSIZE 5 typedef struct{ int head,tail; char names[QSIZE][30]; }QUEUE; void …

Member Avatar for vinitmittal2008
0
2K
Member Avatar for shakssage

Hi, I cant seem to convert the following into vc++ from vb.net. [CODE] Dim i As Integer Dim address As String = myReader.Item("Address") Dim addresses() = address.Split(" ") Dim secondPartIndex As Integer For i = 0 To addresses.Length - 1 If Regex.IsMatch(addresses(i), "^\D{1,}$") And secondPartIndex = 0 Then secondPartIndex = …

Member Avatar for jonsca
0
165
Member Avatar for TriceD

Hi all, I need to pass an event as a parameter to a function and I'm wondering if there is any way of doing this. The reason why I need to do this is because I have a sequence of two lines of code that is littered all over my …

Member Avatar for TriceD
0
448
Member Avatar for 080346

hello; i have gui on which i have a button of ADDMEMBER and this is in my package of Member; now i want to open another gui from another package of LIBRARY; how i will do it?? i have searched it alot kindly answered me .... Thnx

Member Avatar for hanvyj
0
93
Member Avatar for leemyers

Hi i have this form below and i cannot get it to display as a .cfm file within I.E. and i also get this error The value of the FROM attribute is invalid. The length of the string, 0 character(s), must be greater than or equal to 1 character(s). I …

Member Avatar for leemyers
0
145
Member Avatar for ymb6

[B]According to Walter E. Trabbold, controller of the Bank of Delaware, "We have defined it [development of management information systems] in terms of six subsystems.'' These are:[/B] [COLOR="Red"]a. Development of a central (customer information) file. b. Computerization of all operations: demand deposits, savings, commercial loans, mortgage loans, investments, and clubs. …

Member Avatar for apines
0
92
Member Avatar for westernbees

Hey guys.... please help me out on sorting this php issue... i have made a form to upload images to folder and its details to database but not able to code a form to retrive image from folder and its details from database. HTML form - [CODE]<form method="post" action="addMember.php" enctype="multipart/form-data"> …

Member Avatar for westernbees
0
111
Member Avatar for ekkanh

Hi I have a list of False and True, which I have written to a file. When I read the file, I cant get back to my True and False list.... I only get the ["True","False"] version of it, but I want it to be like this: [True,False] Is it …

Member Avatar for ekkanh
0
237
Member Avatar for muzikhera

i have two related table name employee and userloginlogs. In my program user must first log username and password located at employee table. If the user already logged in i want to get the employeeID at employee table then save it to userloginlogs table plus the login and logout date …

Member Avatar for muzikhera
0
136
Member Avatar for JasonQiao

How to use RE to solve this, I did it with other method. THANK YOU VERY MUCH! Here is Question: '''Parse Stock prices. Create a function that will decode the old-style fractional stock price. The price can be a simple floating point number or it can be a fraction, for …

Member Avatar for Gribouillis
0
308
Member Avatar for BboyRodimus

I have this recursive method that counts the amount of negative numbers that lie in the array called "NumArray" [CODE]public static int countNegative(double[] NumArray, int startIndex, int endIndex) { if (startIndex == endIndex) { if (NumArray[startIndex] < 0) { return 1; } else return 0; } else if (NumArray[endIndex] < …

Member Avatar for apines
0
1K
Member Avatar for Phil++

Hey, I have a function that replaces a string within a file: [code] public static void WebPage(int gradeA, int gradeB, int gradeC, int gradeD, int gradeE, int gradeF) { // read the HTML file TextReader webpage = new StreamReader ("/Users/Desktop/Assignment/webpage.html"); string LookUp; while ((LookUp = webpage.ReadLine()) != null) { string …

Member Avatar for apines
0
96
Member Avatar for welcomelambb

Hello, everyone i just start to learn python, but i have some problem of it can you help me figure it out please? my problem is i want to obtain a sensetce and obtain one randomly words from the use i want to write a prgram which can find out …

Member Avatar for SgtMe
0
125
Member Avatar for Bri426

I'm learning about arrays in my C++ class and am having some trouble with them. We have an assignment that states: Write a program that will: (1) Ask the user how many times a simulated pair of dice should be thrown. (2) Ask whether the user wants to see each …

Member Avatar for SgtMe
0
1K
Member Avatar for brycematheson

I'm creating a Tic-Tac-Toe game. Well, at least the beginnings of it. Currently, I'm trying to read a game board from a file, display it to the screen, and then write the contents back to a different destination file that the user selects. My problem is this: when reading the …

Member Avatar for WaltP
0
126
Member Avatar for raider650

How would I output this into: int main() I've tried: int main() { PostTemperatures; } [CODE]struct WeatherStation { string StationName; double Temperature; }; void PostTemperatures(WeatherStation BigBasin,WeatherStation Foothill, WeatherStation DeAnza, WeatherStation MiddleField, WeatherStation RedwoodCity) { cout<< "Enter reported temperatures..."<<"\n"<< "\n"; BigBasin; BigBasin.StationName = "Big Basin"; cout << "Weather Station " << …

Member Avatar for raider650
0
74
Member Avatar for planetPlosion

I have printed the contents of 2 folders to separate txt files. It is in the form of a python list ['a', 'b', etc.] How could I loop through the files looking for matching list elements? My first problem is how to extract the words from out of the quotes …

Member Avatar for Gribouillis
0
113
Member Avatar for LuckyX2

Hey guys, just like the other graph/node problem on here, I too have a problem with graphs. The problem is as listed here: [URL="http://www.cs.rit.edu/~vcss241/Homeworks/08/AlternateDFS-stu.pdf"]http://www.cs.rit.edu/~vcss241/Homeworks/08/AlternateDFS-stu.pdf[/URL] and the pseudocode for what I'm trying to do is this: [QUOTE]DFSnodeWithDeletion( graph, node ): count the node itself for every neighbor of node: remove the …

Member Avatar for LuckyX2
0
166
Member Avatar for Diamonddrake

I have written a Rockband Drum kit app that lets you use the Rockband Drum kit with your PC as a drum synthesizer. It has 30 Drum wav sounds and can also be used to play sound through MIDI as well, working on MIDI recording and a loopback driver to …

Member Avatar for Diamonddrake
0
395
Member Avatar for nellyznell

I'm trying to evaluate postfix expressions but i cannot get it right. I always get the result value as 0 and in my evaluate method it keeps saying my num1 num2 and result have not been initialized. Any help is appreciated. [code] package collection; import java.io.*; public class Postfix { …

Member Avatar for CLina
0
1K
Member Avatar for SpyrosMet

Hey everyone. I have a problem with 2 strings i need to compare. My code is the following [CODE] if((*(fixedparkpnt)).name == pname) { //do stuff }[/CODE] I am trying to make a search proceedure based on a name given by the user but the condition is always false. I have …

Member Avatar for Agnusmaximus
0
1K
Member Avatar for Iamthecheese

Hello, I'm having trouble translating an algorithm. I'm not sure I coded bits of this correctly, but I'm certain that I have no idea how to compare an item with a node identifier (cannot apply > operator with T,T) but since this is an insert sorted method rather than insert …

Member Avatar for kramerd
0
184
Member Avatar for BboyRodimus

So I'm suppose to create some code that will perform some methods in recursion. Here's the prompt: [I]Assignment #9 will be the construction of a program that reads in a sequence of numbers (not necessary integers) from standard input until 0 is read, and store them in an array (including …

Member Avatar for kramerd
0
501

The End.