132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for roshan_iiita

While running basic HelloWorld program using JSAPI, it is showing error "java.lang.NullPointerException at HelloWorld.main(HelloWorld.java:11)" Following is the code: [CODE]import javax.speech.*; import javax.speech.synthesis.*; import java.util.Locale; public class HelloWorld { public static void main(String args[]) { try { // Create a synthesizer for English Synthesizer synth = Central.createSynthesizer(new SynthesizerModeDesc(Locale.ENGLISH)); // Get it …

Software Development java
0
140
Member Avatar for rushikesh jadha

please tell me step of converting java source code into jar in netbean or if any software available please send me download link of it.

Software Development java
Member Avatar for rushikesh jadha
0
313
Member Avatar for danymota19

hi i need help!! i need a program where you enter a string and it has to sort the string using insertion sort showing the words in descendent order

Software Development c++
Member Avatar for Lerner
0
1K
Member Avatar for tomexlfc

Hello good people, This syntax error keeps coming up whenever i click the "commit button" to add a new record to my ms access database. The error is, "Syntax error in INSERT INTO statement." I got help to write a code to accept alphanumeric (e.g SC0001, SC0002...) in my order …

Software Development vb.net
Member Avatar for tomexlfc
0
175
Member Avatar for Vampiricx3

Hey guys, right now I'm trying to setup my GUI so that I can search for an Employee (which when clicked, disables all of the Text Fields, but not the ID, so I can search for the ID. But right now I have no idea on how to do this, …

Software Development gui java java-swing
Member Avatar for zeroliken
0
178
Member Avatar for DanWebb3148

I know how to create a window of a given size. How do I control the placement of items like labels and text boxes in that window?

Software Development python
Member Avatar for DanWebb3148
0
20K
Member Avatar for darshilpatel34

Declare a structure that contains: student Id, first name, last name, and five test scores. Also declare an array of 10 student structures. Prompt the user and read the student data from the keyboard and store the information in the array. After each student ask the user if there is …

Software Development c c# c++ data-structure
Member Avatar for WaltP
0
159
Member Avatar for beetlejuice

hi, Recently i was trying to look for a pixel searcher for java that was built in with the language but the only command that was somewhat related to specific color pixel searching was the getPixelColor in the robot library. The problem with this command was that it only returned …

Software Development java java-swing
Member Avatar for NormR1
0
184
Member Avatar for TF401

Hi, I want to know if is possible to make those events/automation with a Python code( without any program like Pywinauto ), so I could compile the python code: 1. [B]sending keys to an active window;[/B] 2. [B]sending mouse clicks to specific coordinates in a window;[/B] 3. [B]set the window …

Software Development api gui pc-peripheral python
Member Avatar for ihatehippies
0
357
Member Avatar for faintdeath

The purpose of the program is to create an account where you can deposit, withdraw, and check your balance. I have to use class and put it into a project with a .cpp and .h file. When i compile this it works almost perfect, but the balance always starts at …

Software Development c++
Member Avatar for faintdeath
0
2K
Member Avatar for engineerchica

Hi all, I am trying to figure out the code for searching a text file for a word/phrase and then replacing it. Both are user-input values. I've been having a tough time finding some help online because we are required to use get and put, [U]not strings[/U], unfortunately. The controllers …

Software Development c++ http-protocol
Member Avatar for engineerchica
0
236
Member Avatar for SCass2010

Hi everyone, At the minute I'm trying to learn XML and reading/parsing xml files with c++ but I seem to be a bit stuck :( I've an xml file [CODE] <?xml version="1.0" encoding="UTF-8" standalone="no"?> <NormalisedFileCheck> <ExpectedFiles> <File>File_Num_1</File> <File>File_Num_2</File> <File>File_Num_3</File> <File>File_Num_4</File> <File>File_Num_5</File> </ExpectedFiles> <ValidProducts> <Product> <Family>Windows</Family> <Name>Windows 7</Name> </Product> <Product> <Family>Linux</Family> …

Software Development c++ ubuntu
Member Avatar for jaskij
0
382
Member Avatar for ruval002

i need helping constructing an array of structs, this is my part of my header file which contains the following struct [CODE] struct PCB { el_t id; // contains the priority of the process string state; // current state of the process (e.g running) PCB *next;// link to the next …

Software Development c++
Member Avatar for ruval002
0
205
Member Avatar for dennysimon

hello all how to read from a text file which is not only run at the developer machine but also run at the other machine (after jar ing) I have tried ,the code run at my own machine but cannot find the text file on other machine thank you denny

Software Development java
Member Avatar for dennysimon
0
337
Member Avatar for kyky365

[U]The first round of the game seems okay. The game will generate the result but >1 round , the result wont be show. And the is another mistake I found. For example, when the random no. is 5134 and my guess is 5143 the game will generate the code O …

Software Development c++
Member Avatar for WaltP
0
1K
Member Avatar for EnriqueI

Hi everybody, I have a problem and if you could help me as soon as possible I'll really appreciated I have finished a C++ program but I've got a problem in a small part of the program ,I tried to solve it many times but so far I couldn't figure …

Software Development c++
Member Avatar for EnriqueI
0
206
Member Avatar for sota

Hi all, I ve been seeking a tutorial,article etc. about 2D cliext::vector . These are using <cliext/vector> library and cliext namespace. At once i need 2d vector decleration and its erase method to remove all rows which are full of zeros. Any help 'll be greatly appreciated.

Software Development c++
Member Avatar for sota
0
378
Member Avatar for rdchislett

I'm trying to set up a query to sum a value for each user by month and then calc the percentage of that user's total vs the total month's value. My query below works as long as its limited to one month. I've tried to group my subquery the same …

Software Development sql vb.net
Member Avatar for rdchislett
0
118
Member Avatar for Goldfinch

I was writing this simple loop and it's giving me trouble. It's supposed to count through the permutations in a deck, so Suit is supposed to go as high as Suit: 3 and Rank is supposed to go as high as Rank: 12, but it isn't doing that. My program …

Software Development java
Member Avatar for Goldfinch
0
181
Member Avatar for LdaXy

i'm testing out a template function i created for a header file i'm writing, but it will not compile for some reason. it's giving me problems with iosfwd, although i'm not using it. [CODE]#include <iostream> using namespace std; template <class LOGICAL_AND> LOGICAL_AND __and(x, y) { return x==y ? 1 | …

Software Development c++ ui-ux
Member Avatar for jaskij
0
302
Member Avatar for sokoxs

Hello everyone! I am new to VB.Net and I am actually developing a simple POS system. I am using visual studio 2010 and Access 2007. I created a form where the user can search the database and view the invoice details by entering the invoice id in a textbox. The …

Software Development vb.net visual-studio
Member Avatar for sokoxs
0
230
Member Avatar for randrum1707

Hey everyone, I'm trying to remove all punctuation from a string of characters. Here is the part of the code that I'm using to remove the punctuation from the string (string1 being the string). [CODE]for (int i =0; string1[i]; i++) { if(ispunct(string1[i])) string1.erase(i,1); } [/CODE] It is removing punctuation perfectly …

Software Development c++
Member Avatar for mazzica1
0
530
Member Avatar for engineern

I have an assignment to program a simple program that names each member in my family and how they are related to me. The program compiles and all, but as soon as i type in any name, this is what shows up: Run Command: line 1: 3805 Segmentation fault: 11 …

Software Development c c# c++
Member Avatar for engineern
0
181
Member Avatar for inspire_all

i recently read that we can pass function to a function by using pointer to a function. i tried with an simple example.i defined sum function and passed it to average function so that it calculated average of return value from sum and 2 more nos.. rather than convenience point …

Software Development c++
Member Avatar for rubberman
0
254
Member Avatar for student_learner

suppose that i write a program in turbo c: Q1.) the operating system program is in RAM.(yes or no?) Q2.) the turbo c application is in RAM. (yes or no?) suppose that i have written this simple code: [code] #include <stdio.h> #include<conio.h> void main() { clrscr(); int a=2,b=3,c; c=a+b*3; printf("%d",c); …

Software Development assembly c operating-system
Member Avatar for rubberman
0
333
Member Avatar for aruabc

Hi, I am studying .net. I need a code to enter data into database from a website... please help... thank you. :)

Software Development asp asp.net
Member Avatar for aruabc
0
105
Member Avatar for Lucaci Andrew

[CODE]def prel(x, i, j): if (i < j - 1): k1 = (j - i + 1) / 3 k2 = 2 * k1 prel(x, i, i + k1) prel(x, i + k1 + 1, i + k2) prel(x, i + k2 + 1, j) for k in range(i, j): …

Software Development python
Member Avatar for Lucaci Andrew
0
229
Member Avatar for lbgladson

In the program below I am trying to overload the +, -, *, >>, <<, ==, and != operators. I cannot get the code to compile and am not sure what I'm doing wrong. I have posted the code and error messages below: Complex.h [code] #include <iostream> using namespace std; …

Software Development c++
Member Avatar for lbgladson
0
606
Member Avatar for Candace Parker

Good day, people! I have here a code in C that needs improvement. It should list all the permutations of ABCDEF where C and E should be beside each other in any order (CE and EC). I know that I must treat C and E as one so I used …

Software Development c
Member Avatar for WaltP
0
3K
Member Avatar for jman2011

Here is what i got. I need to count the Uppercase entered in a string. Can someone help me? Enter string: The Brown Fox #of Upper Case: 3 My Progress: #include<iostream> #include<string> usingnamespace std; int main() { char string[15]; cout<<"Enter string: "; cin.getline(string,15); . . . . } I need …

Software Development c++
Member Avatar for WaltP
0
196
Member Avatar for rushikesh jadha

how to store MySQL table data into file and then again from file to table using java program.

Software Development java
Member Avatar for rushikesh jadha
0
158
Member Avatar for fredsilvester93

in function stars code is returning garbage value if i input date between 20 Dec - 19 FEB (it should return 0) i want it to return either 0,1,2,3,4 satisfying the condition... Please help me with this problem!! [CODE=c]#include <iostream> #include <string> #include <stdlib.h> using namespace std; int stars(int date, …

Software Development c++
Member Avatar for VernonDozier
0
101
Member Avatar for kolibrizas

So I am trying to make let's say, a chat software. For this example there will be two users X and Y and the Database named DB: 1. Both X and Y are connected to DB 2. X sends a message through a form by clicking submit, 3. the message …

Software Development c c# c++ sql
Member Avatar for kolibrizas
0
280
Member Avatar for DevNet

Hi guys. I just having a little problem about creating a good console GUI for our homework. My program is just a simple shopping cart program where in we were asked to create a GUI that asks for the user if he is either a ADMIN user or a CLERK …

Software Development gui java
Member Avatar for rushikesh jadha
0
169
Member Avatar for vartikachandra

i have to store msgs of string type in a file in java.how do i distinguish between 2 msgs.and how shud i delete the first msg in the file. for eg: "My name is abc.I am fbvnfdl.I am a girl." is stored in a file. and "My name is abc.I …

Software Development java
Member Avatar for stultuske
0
208
Member Avatar for kiki256

Hey, I have to build an addition calculator. in the application interface should have a label on top which displays the number you clicked then under the label a running total label and then under than there should be a keypad with numbers from 0-9 and a plus sign. my …

Software Development mathematics visual-basic
Member Avatar for abelingaw
0
304
Member Avatar for 3nrichedd

Working on this program that uses 2 classes and a client program to test them, I keep getting this error pointing at my constructor, not sure what i am doing wrong but could use some assistance if anyone is able to offer, the error i am getting is: cannot find …

Software Development java oop
Member Avatar for stultuske
0
211
Member Avatar for yeeitsneo

hi. im currently making a program. and im having a bit of a problem with checking if inputs on my text boxes correspond to the one im requiring the user to input. see. i have three text boxes. i only allow users to input q,d and n into each textbox. …

Software Development visual-basic
Member Avatar for abelingaw
0
168
Member Avatar for programmerb

please someone help me in printing 2 outputs in c using for or while loops . i am a begineer and i need help fast please. 1st pattern : 0 111 22222 3333333 444444444 55555555555 upto 10 . 2nd pattern: ABCD EFGH IJKL MNOP QRST UVWX YZ PLEASE HELPP

Software Development c
Member Avatar for inspire_all
0
117
Member Avatar for SeniorAlexandro

I recently added hsProgressbar.dll to my Program, it worked fine, but then I decided to remove it from my Computer and also remove it from the references...however..the Warning is still there? How can I completely remove it, so that I don't get the error anymore? Thanks in advance.

Software Development assembly vb.net
Member Avatar for SeniorAlexandro
0
139
Member Avatar for Jnk

Hello I am a new to C++ and have some questions. I have two classes called Point and Square like this: [CODE] class Point { int x, y; public: int getx() const { return x; } int gety() const { return y; } Point(int a, int b) { x = …

Software Development c++ linked-list oop
Member Avatar for Jnk
0
457
Member Avatar for Kalpesh Rajai

How To Create A Age Calculator In Visual Basic 6.

Software Development visual-basic
Member Avatar for happygeek
0
50
Member Avatar for mallikaalokam

package class import java.io.*; import java.lang.*; import java.util.*; package Yo public class C { String s,f,d; C(String s,String f,String d) { this.f=f; this.s=s; this.d=d; } void displayj() { System.out.println("1st arg passed:"+" "+s); System.out.println("2nd arg passed:"+" "+f); System.out.println("single arg const:"+" "+d); } } main class import java.lang.*; import java.io.*; import java.util.*; …

Software Development java
Member Avatar for rushikesh jadha
0
197
Member Avatar for Matkoo

Hello, guys. I made a program to compare numbers, Example input: [QUOTE] 1 3 10 845157 2 1101101 16 5AE12 [/QUOTE] It transfers numbers from different number system to decimal, then it compares them, but it is not so fast as i need, maybe just a little advice needed, I …

Software Development c c++
0
178
Member Avatar for Gribouillis

I discovered and installed a firefox addon called Remote Control. This addon starts a telnet server which lets you send javascript commands to the firefox web browser. Combined with python telnetlib module, it becomes very easy to reload or change the content of a tab in a running firefox from …

Software Development python web-browser
Member Avatar for Gribouillis
0
928
Member Avatar for emidevil

Hi. im kinda new here . i just want some help with this code i cant seem to figure out my problem, i already declared a constructor but it keeps on saying cannot find symbol when i compile it -_- import javax.swing.JOptionPane; import java.io.*; public class Sample_Thread { public static …

Software Development java java-swing oop
Member Avatar for DavidKroukamp
0
574
Member Avatar for sonicx2218

I like coding, though I'm really stupid, and not very good at it. I'm having trouble figuring out how to remove spaces from a String. I'm such a noobie.. if anyone wants to take a few min to educate me i'd appreciate it. The thing i was attempting to do …

Software Development java
Member Avatar for stultuske
0
119
Member Avatar for scheppy

I'm having some trouble using getClientproperty() to get a string value btw, im using java 1.4.2, so no autoboxing I know how to get int values, and here is an example, which works perfect in my program, [CODE] cx = ((Integer) btn.getClientProperty ("cx")).intValue (); [/CODE] but when i try to …

Software Development java
Member Avatar for JamesCherrill
0
257
Member Avatar for markdean.expres

Guys anyone knows how to create tables at runtime? Or if it is a long story, kindly direct me to a site where I can learn more... Thanks

Software Development vb.net
Member Avatar for markdean.expres
0
159
Member Avatar for srinath1

inr main () { int x=3,y=4,z=4; printf("%d",z>=y>=x), } the answer is zero ..how??

Software Development c c# c++
Member Avatar for sharathg.satya
0
180

The End.