132,726 Archived Topics
Remove Filter ![]() | |
Hello all, is there a way to cancel or abort the execution of current actionPerformed? My problem is that, when the control is passed to the listener method, i perform checking if certain value is null, if so, display Error Msg using JOP. when user click OK, then the actionPerformed … Software Development java | |
There is no operator overloading in JAVA, but operator + is used as arithmetic addition and concatination operator. why ? please clarify this Software Development java | |
Hello everyone. I suppose I should start off with an introduction. I'm new to the whole C++ environment. I've done some scripting in perl, but just started with C++. I've picked up a few books and looked around on the web now for about 5 months. Finally came across this … Software Development c++ data-science ide linked-list perl visual-basic visual-studio | |
![]() | Please tell me how to transfer values from one method to another wherein the second method is trying to access the value from the first method and the second method takes in parameter from some other method. Software Development java |
This program create structures of the type "pf_space" and allocates memory as they're created. The problem is, it doesn't work like the book. malloc never returns false and therefore you can continue making structures until the program crashes. On my PC, I tracked down the offending line. After creating 1034 … Software Development c | |
Good day guys: The assignment is : Write a program that will generate an unknown (between 93 & 139) count of random numbers whose values fall between 147 and 206. Calculate the average to 2 decimal places and the standard deviation (3 decimal places). On the monitor, display only the … | |
I am trying to teach myself java and I have a book but it doesnt have how to parse an int into a string. So are there any ways of either doing this or getting round it so I can display my answer? I put in bold the place where … Software Development java java-swing | |
hi, im using this code to serialize my class into xml: [code] [COLOR=green]public[/COLOR] [COLOR=green]static[/COLOR] [COLOR=green]void[/COLOR] Save([COLOR=green]Class1[/COLOR] myClass) { System.Xml.[COLOR=green]XmlTextWriter[/COLOR] w = [COLOR=green]new[/COLOR] System.Xml.[COLOR=green]XmlTextWriter[/COLOR]([COLOR=green]@"./myFile.cfg"[/COLOR], [COLOR=green]Encoding[/COLOR].ASCII); System.Xml.Serialization.[COLOR=green]XmlSerializer[/COLOR] x = [COLOR=green]new[/COLOR] System.Xml.Serialization.[COLOR=green]XmlSerializer[/COLOR](myClass.GetType()); x.Serialize(w, myClass); w.Close(); } [/code] my class has only 2 things to serialize. these are private member variables, which i provide … Software Development xml | |
Hi! Would you anybody please do check my code given below and say why I am getting Debug Assertion Failed. I have used visual studio 6. But I think I have problems in my code. Please I do need urgent solution. Please help me. [code] #include <iostream.h> int INITIAL = … Software Development c++ visual-studio | |
[SIZE=2][FONT=Microsoft Sans Serif]Hi..anyone here have sms gateway coding (vb.net)for windows application?? i need a free service..meaning i will hope my application can able to send sms to my customer for latest news/promotions. how can i do so? [/FONT][/SIZE] :sad: Software Development microsoft microsoft-windows vb.net | |
I have a project in C++Builder. It invokes Application->MessageBox in several files. I recently upgraded to C++Builder 2007. The MessageBox calls that were already there seem to work OK, but those I have added since upgrading all give an AccessViolation at Run time. The Call Stack looks like this: :7c812a5b … Software Development c++ | |
Hi guys, can you please help me. Is it possible to get data from NOTEPAD,Store each data into a new table of MS-Access, Thanks..God bless Software Development visual-basic | |
Hi friends.. I need to get all the .exe's running in a machine and display them in my application .How to do it..? In specific i need to get the .Net exe's alone.. Somebody help in this regard as early as possible.. Regards, Balaguru | |
Hello people, How can i display the JLabel text using external file.. When user click a button, a file is read and retrieve and will be displayed at the label.. what I did was: 1) Declare all the necessary file IO 2) use the useDelimiter() method to read the file … Software Development java | |
![]() | Hello guys, I want to improve up my skills programming in C and Phyton on Linux. I have no idea which version of Linux is good to do this. So far I have tried Fedora 7, Slackware and StartCom Enterprise. I couldnt find what I really want. Few years ago … |
Hey guys. I need to add a constructor that takes an int argument, sz, and an array of char of size sz. I then need the constructor to set the first sz members of the private dara array (myArray) to the sz members of the argument array of char. Here's … Software Development c++ | |
Hi all, I want to use a function to write some values to a text file. That function is called from the main function. Every time when I can that function from main, the perviously written value is overwrite. That's true, it wont work. So what I have done is … Software Development c++ file-stream file-system | |
hi please i need some help..i know how to write a code for postfix expression evaluation by taking input from user,, but what if all the data is in text file,, pls help me modify my code , i have to read all the variables and values and also the … Software Development c++ | |
I have a project for class and I have an error coming up that I don't understand. I've written code the same way I always do, and haven't found that I've done something oddly, but I still get an uninitialized local variable warning. Here is my code: [code] include <iostream> … Software Development c++ | |
im trying to convert the int input into a string so that i can find the length of it and use the substring method. how may i go about this? [CODE]import java.util.Scanner; public class OddEvenZero { public static void main(String[] args) { int input = 0; int len = 0; … Software Development java | |
Hello All, I would like to create a Student class as follows: class Student { String name; int age; int studentNum; String instructor; } My question is how would I read information from a text file into an array of class Students? The file is as follows: Sue Jones, 19, … Software Development java | |
I'm not sure if my title adequately explains what I want to do, so I'll provide a scenario. I have two classes in a folder, one named UserInterface.class and another named HelloWorld.class, and the contents are as follows: [code=java] import java.util.Scanner; public class UserInterface { public static void main(String[] args) … Software Development java | |
I want to implement Dijkstra algorithm for shortest paths in Java, can anyone please help me with the code. | |
Hi I am completely new to the programming and I got 0/10 on my last algorithm in pseudo code. I need to write an algorithm using pseudo code to score a tennis match. The algorithm takes two scores and the player who won the point as input and retuen the … | |
Hi, I'm having trouble to get the value of a certain tag which seems have a complicated data structure. Object: To pull data from a data and print it out to a report file. Problem: Getting the data from array of hash and pass it to a hash of hash … Software Development api data-structure perl | |
Hi friends, This is Sunny. i am trying to create a paint brush. almost i have done it but there is a problem in filling color. Actually i have done it in vb6 but when i use vb.net it does not work. here i write vb6 code : Private Declare … Software Development vb.net | |
I'm sorry for asking such a simple question, but I can't an haven't found a reference to my problem. Its fairly simple, and I don't think it will require much change over-all (I hope anyway). By the way: Its a plugin designed for an human interaction program designed for games … | |
Hi guys, I've to read a txt file and produce a statistic of each alphabetic char occurrence. I'm approaching this task reading char by char until EOF and using an int array to hold the number of occurrences of each character read so far! So that's my solution: [code] int … Software Development c | |
i'm trying to read and understand a .cc (c++)file, i want to know what does ok_flag(false),time_range(false),prefix() do after ":" ? I did know that ":" was being used for class inheritance but what is ":" for in the bleow code? [code] ClassA::ClassA(const char *db) : ok_flag(false),time_range(false),prefix() { //.. Constructor statements … Software Development c++ | |
I am totally new to java, but i understand java is the appropriate for my project. i am not sure where to start? and how to use the java packages. I know programming but JAVA is my first time approach. Can any one guide me on the visualization java tools? … Software Development java | |
The following is my "inFile": [code]UEAALEUE RIXETOHI BACOZOEI DIUEAOAU ZIKOFIMO RESUZEAE IIJEHUMO EEQINOXO TAOEKIBI RUQICIGU ZIWAREWE HIDIFIFO MOIACALA MEJIEACO UAPEUUQU YISOZAZO KENIDONA EEVIYOHU SEJEXEYA OESEQUFU NUJECAUE RAKAWUME NISIMAKE MEPIBADO TAUELAZI IIEACINU IITOGIIE GIEIFEVU NIOUQELU IIVOFEHI TOKUCORU GUQOEOJE HOBUUIXA HOVEDAGO JEROMAFA TOLIOELU QIGOIIAA TEDEIUOA COZOLELA YOHUZUZA QUNACAKO POSAEIGA JECAMOPE VAKEKAPA LEJEVINE … | |
Hello out there! I've tried lots of editing in this code yet I still receive the following errors. 1. Every time I press the Update button to update a record, I usually receive this error message[COLOR="red"] [B]“Syntax error in UPDATE statement”.[/B][/COLOR] 2. When I press the Save New button to … Software Development microsoft-access open-source | |
Hello out there! I've tried lots of editing in this code yet I still receive the following errors. 1. Every time I press the Update button to update a record, I usually receive this error message [B]“Syntax error in UPDATE statement”.[/B] 2. When I press the Save New button to … Software Development microsoft-access open-source | |
[code] [COLOR=#000000]] Dim GETWORD[/COLOR] [COLOR=#000000] Dim GETLINE[/COLOR] [COLOR=#000000] Dim ARRAYNUMBER As Integer[/COLOR] [COLOR=#000000] Dim itmx As ListItem[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] nFileNum = FreeFile[/COLOR] [COLOR=#000000] Open "C:\Documents and Settings\Reece\My Documents\I.T\Visual Basic\Reece\client.db" For Input As nFileNum[/COLOR] [COLOR=#000000] If Input(LOF(nFileNum), nFileNum) > "0" Then[/COLOR] [COLOR=#000000] GETLINE = Input(LOF(nFileNum), nFileNum)[/COLOR] [COLOR=#000000] GETLINE … Software Development visual-basic | |
Hi all, How can I make, for example, all my Buttons have the same look (Maybe the same red background)... Of course I don't want to go to every button and set it's background to red... I want to set the value in one place for all buttons. Any ideas? … Software Development c# | |
I'm hoping this is the appropriate forum for my situation. I'm trying to populate a form on a .NET server with data from a form on a different server. Using SOAP::Lite we've managed to get this code working: [code] use strict; use warnings; use SOAP::Lite +trace => 'debug'; my $name='Trudge'; … | |
hi im new in c++ and i need some help , im doing a program that trace many shapes and i have a problem with this one %%%%%% % % %%%%%% this is just an example i hav to read the length and with and the character from the user … Software Development c++ | |
Hi, I have created a database using Access 03 and VB, and I will be letting some people use it shortly. I would like to create a way in which the program cannot simply be copied onto another computer. I was thinking of using VB and referring to some system … Software Development visual-basic | |
Hi there First off I don't want you guys to tell me the answer that way I learn nothing., but if you could give me a pointer to what I am doing wrong it would help alot cheers :D What I am trying to do is get a dice to … Software Development java | |
Hello, I am trying to migrate my application from an older unix box to the new Hp unix box with Itanium architecture.The problem I am facing is with the different versions of the aC++ compilers installed in the 2 boxes: older unix machine has : aC++ Version A.03.33 new machine … | |
Hi I have an binary of 10 bits . How do i change it to decimal suppose binary is 1000000001 . I need to get the decimal of it . Can some body gimme the psedocode?? Software Development c | |
Do you have any idea what functions to use in standard library to replace these Win32 functions (GetPrivateProfileInt and GetPrivateProfileString)? Thanks! :) Software Development c++ | |
Hello, I need to make a x^2 curve in C++. It has to be horizontal to make it easier, not vertical. I have no idea where to start, can someone put me in the right direction? Thank you. Software Development c++ | |
I found this very nice tutorial on what Python generators are and how they can be used: [url]http://www.neotitans.com/resources/python-generators-tutorial.html[/url] I had a difficult time with the other tutorials out there because, funnily enough, they seem to assume that you already know what generators are before they try to teach you about … Software Development python | |
how do you get the directory witch the program is instaled in ? and put it in code e.g. textbox1.text = (******get directory code*******) Software Development vb.net | |
Hi,guys how are you I just want to ask in c programming that how to return a string to a main function thanks. Software Development c | |
I have an array in class array and I'd like to access it's members in class table. I'm lost on how to do this. Any help would be greatly appreciated, thanks. [code] using System; public class Restaurant { //Writes a welcome message. public void Welcome() {//start Welcome method Console.WriteLine("Welcome to … Software Development | |
Hi, I am trying to write a program that tells the user the ammount of digits that are in a number for multiple numbers. I have it to the point where it will tell me the digits of the first number but it wil just write it an infinite number … Software Development c++ |
The End.