64,152 Solved Topics
Remove Filter ![]() | |
Hi all, I'm kind of new in Java MIDlet, and i'm having some troubles. Let say i got a MIDlet project, named APP.java, and the MIDlet project runs smooth without any problem. And i have another java application, named testing.java, and the java code runs smooth as well. But when … | |
| |
Need to write a simple declaration program w/c apply the substitution method. substitution table is: *-a $-e /-i +-o --u sample outputs ENCRYPTED MESSAGE: m$$t m$ *t 9:00*m /n th$ p*rk DECRYPTED MESSAGE should be: meet me at 9:00am in the park MY PROGRAM: [code=c] #include<stdio.h> main() { char c; … | |
hi guys i have designed software to read data from scales everything so far is so good except (yes theres always an except) part of my data arrives as 899 which is supposed to be 8.99 how can i converty this data to show 8.99 thankyou stephen | |
I'm having a little trouble shutting down a thread that might or might not be executing when the program closes. The thread, actually there are two of them, is started in an OnTimer event, and in OnDestroy I stop the timers then I want to close the threads. The thread … | |
I often have this situation [code] class OrientedPoint { private: Point P; Vector N; Color C; bool valid; public: //////////// Constructors ////////// OrientedPoint() {} OrientedPoint(const Point &Coord); OrientedPoint(const Point &Coord, const Vector &Normal); OrientedPoint(const Point &Coord, const Color &C); OrientedPoint(const Point &Coord, const Vector &Normal, const Color &C); [/code] where … | |
How can i print values on the word document from access table,there are more than 1 records for a single person Here recordcount holds 4 values,bt it is not beng printed on the word doc,it is coming out of the procedure [code] If rs.RecordCount <> 0 Then If Not IsNull(rs!Name) … | |
[CODE]/* * PartOfSpeechView.java */ package partofspeech; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.application.SingleFrameApplication; import org.jdesktop.application.FrameView; import org.jdesktop.application.TaskMonitor; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Timer; import javax.swing.Icon; import javax.swing.JDialog; import javax.swing.JFrame; import java.util.StringTokenizer; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileNotFoundException; import java.io.IOException; /** * The application's main frame. */ public class PartOfSpeechView … | |
Hey guys this is a very naive problem,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, but how do i save the c programs i compiled on borland c++ on the dekstop??????????????????????? | |
hi guys im using crystal report 8.5. but i wanted to print some report in the network by using some share printer. it is possible ? please kindly share some idea on how it take. thx in advance. | |
Hello everyone, I am having a problem, I want to transfer the data from a text field which is found in the class "ServerInterface" to a method in another class "Server". I wanted to transfer data to the method "sendData()" in the class Server when the user enter data in … | |
Hi, I am developing a piece of software which is not in any way being designed to hack into my schools proxy server using HTTP auth :P At the moment I have got it to generate random passwords of a random length, however using this method it is sometimes repeating … | |
Hello, I am new to delphi. I have a problem. I have a string which can be of any length. Sometimes with delimiter characters for printing in new line. Now I need to distinguish whether the received string is a number (both -ve and +ve) or any other alpha numeric … | |
Hi all, How can we open a flv file using the lightbox?I am using the following code <a href="http://myurl.com/video/clock.flv" class="lightwindow">Link Name</a> But the browser still downloads the file instead of showing it in lightbox. One more thing...is it possible to display some text along with this video in the lightbox? … | |
Good day, I am currently facing a problem with my VB6 program. I would like to send a form activated from the program of one pc to another pc linked together which doesn't have the same program. How can I do that? I only need to send the form to … | |
[ICODE]def selsort(l): if len(l)<=1: return l else: for i in range(len(l)): selsort(l[1:]) [/ICODE] Hey guys, this is what I have so far. I have trouble understanding recursion. Anyone know how to use it to do selection sort? | |
good day.! I want this date format to be echo. 2009-2010. My code gots error when i try to show this format. Here is my code: [code=php] $nowdate = date('Y') "-" date('Y') + 1; echo $nowdate; [/code] Thank you for giving time this simple problem. God bless on this mother … | |
Hi there I am setting up a text search with 3 search buttons to allow 3 different searches from the one text box. Each search has different values for the 2 hidden elements. So far I've got the 3 submit buttons working with the below code but I can't figure … | |
Hello Fellow members, Need assistance in my PHP/SQL statement please. [code=php] $sql1 = "SELECT * FROM `forum_cats` WHERE `admin` < ".$row['admin']."+1"; [/code] I would like the above code in Ascending order i.e ORDER BY ASC. Thanks | |
I have recently encoutered an error that I have failed to figure out while trying to implement something in MVC. I have used a similar code on another program which seems to work but I cant figure out why this one is not working. I get the error code "cannot … | |
In netbeans I added a scroll pane + bar inside one of my JPanels. When I drag enough items into the JPanel, the size of the JPanel increases in netbeans. How do I get it so that it stays at a fixed size, so I can use the scroll bar? | |
Good day.! How to clear all session variable when they click back on the internet explorer.?Assuming that i am on info.php page, when i click back on that page, all session on the whole site will be set to null. Pls help if this is possible. Thank you.God bless on … | |
Good day.! I have a page called loginforgot.php. There are two txtfield on this form(txtuserid) and (txtanswer) and 2 command button(retrieve) and (cancel). When the user click on retrived, the page will automatically send email which contains the password to the email address of the user base on the txtuserid … | |
Hi basically I've exhausted my mind looking for resources and help on the Huffman Tree Coding. This is my problem, there are 2 parts to what I have to do, the first done: 1. Given a text file, determine the frequency of each character in the text (map of character … | |
I tried really hard on this one, finally came up with this, however, there's space between every number in my result because of the code 'print xxx,' , I want to find a way to delete those spaces. Program: let user enter say 555-GET-FOOD, convert it to 555-438-3663 [CODE]alph = … | |
I have a small problem passing values between classes while a textbox is used. I can reach the public variable (field) for the textbox that belongs to the Form class from my other class, but no values in textbox1.text can be passed from the Form class to my other class. … | |
Hello, I just joined, so if I infringe upon any of the forum rules, then I apologize. Anyway, I have a code for approximating integrals via the Simpson's Method. The problem with the code is that somewhere within the mere 52 lines, I have divided my entire sum by 2. … | |
I want to able to search for multiple words on the same line. For example, consider the file with the following contents: .... 11. 15 18 40 53 => 16 19 41 54 12. 03 15 27 64 => 04 15 28 65 13. 25 46 47 91 => 26 … | |
Please help me again. I have 2 questions in this time. Question 1. Write a program that asks for a start and stop letter and then produces the following: Question one: This time create an array of 7 numbers. Fill each slot with a randomly generated number between 1 and … | |
hey all, i've only been using ajax for about 2 weeks but i was wondering, if at all, can you make an effect similar to the one here: [url]www.okayplayer.com[/url] (this also happens on sites like nba.com, espn.com etc) on the top of the page with the pictures scrolling with news … | |
i want to replace a word in string by other word how do this simply ? | |
How to print Tokenizer and Split out put in Text Area? Normally is use System.out.print() to print them. I wan it print in Text Area or something like text area, anyone can help me out? Thanks. | |
Hello everyone, I am in big trouble, actually, I am developing a chat in Java. I am still on the server part, but the problem is that when i am clicking on a button to instantiates a class, the whole program freeze, please help me to figure out this problem. … | |
am a beginner in C++; am writing a program on C++ and i have bin trying to make a user enter his username and to enter a password and If correct the program will output a message such as: "Welcome Name of User” If incorrect my program should allow at … | |
Hello, I am a newbie to programing but I seem to be getting the hang of things. I am trying to create an plain text encription program that inputs the cipher key and encription text to be accepted via either comma deliminated txt or excel file. I have my program … | |
I have an application that accepts around 20 fields of data (string/int) from the user. Then allows the user to edit a dataset in a datagrid, and sort this dataset to display the updated dataset. I now need to take the fields of user input (textboxes) and the applicable dataset … | |
hey, I've two classes and one class inherit the first class. I'm trying to add objects to vector (could be parent or child) and then call the overriding function (print) to display values passed in their respective constructors. But for some reasons only parent class' function (print) is invoked. I … | |
I dont understand wat has happened... the code was working fine yesterday when testing, and now i try to use it today, and it doesnt work. setcookie() isnt setting the cookie... Maybe i have missed something, so hopefully someone here can see where ive gone wrong. Just to confirm though, … | |
Hi. I just started python programming tonight and am trying to use good practices such as list comprehensions etc. However, I'm trying to get a list of all files in a directory (and subdirectories) and only add the filename to my list if its extension matches one of the extensions … | |
So having some trouble with the error checking in the below function. Currently if you enter something wrong like r it returns "Pleae Enter next move" which is correct. My problem is that if I enter rrr it will repeat "Please enter..." 3 times instead of just once. I hope … | |
Is there any way to force fwrite() to write in big-endian format no matter what? I am trying to write a MIDI file and they are always big-endian. Converting every value I write to big endian beforehand would be extremely tedious. Ideas? | |
Hi folks, Just hoping someone can point me in the right direction with this one. Say I have these key:value pairs in a dictionary, d1: [CODE="Python"] d1 = {fruit:['apples', 'bananas','oranges','tomatoes'], vegetables:['carrots','lettuces']} [/CODE] And I wanted to remove a list (containing tomatoes, oranges) from the value of the key fruit and … | |
[code]int **p; p = malloc (x * sizeof *p);[/code] sizeof *p - (i am not quite sure, and i was thinking) does it calculate the size of *p as size of double pointer, size of pointer or as size of variable pointed by pointer another exmaple with same [icode]int **p;[/icode] … | |
im making a program and when you select exit in the menu i want it to be like: Are you sure you want to exit? Yes No Enter Esc so when you press enter it will exit and when u press esc it will go back to the menu. everything … | |
So I have been messing around with Swing and am starting to grasp general functions with buttons and text boxes etc.. But what I want to do is have a main page (JFrame Form) with 3 buttons and when I click whichever button I want it to open another JFrame … | |
Hi all! I have several tables in an MsAccess db and I would like to read all data of a certain column to a Hashmap. With 3 tables and using static array, it' working but i have about 300 tables. With the static array, I used sg like this: [code=java] … | |
i am trying to mutiply and add 2 dnamic texts on a php form, but i do not seem to get the reply, but i get the following results "sum (4 + 1)" This is the code that i typed in [ICODE](<?php echo $row_standings['w']; ?>+<?php echo $row_standings['d']; ?>[/ICODE] The 4 … | |
Hi, I want to write a for..next loop...for a "For next " button... when clicked, the loop will execute for a short period (This time should be kept track of by the counter) and stop..... When the button is clicked "For next"...the speed of the object should increase and then … | |
I am trying to use the for_each from stl algorithm. [url]http://www.cplusplus.com/reference/algorithm/for_each.html[/url] [code] #include <algorithm> #include <vector> #include <iostream> template <typename T> void OutputObject(const T &obj) { cout << obj << endl; } template <typename T> void OutputVector(const vector<T> &V) { for_each (V.begin(), V.end(), OutputObject); cout << endl; } [/code] I … | |
Hello everybody.. I have tried to use these codes that I got from a book. I'm using MSFlexGrid, with the Grd name. It was set to be invisible (false visible). And when i enter the year (tahun) needed in the "txttahun" textbox, it will only show the data that related … |
The End.