132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abdul04

Hi i'm attempting here to let a user select the id of a record he/she wishes to modify, find that record and allow the user to modify the record. this is as far as i got, after i locate the record and try to display it i get gibbrish as …

Software Development c++ ios
Member Avatar for abdul04
0
153
Member Avatar for acnodnem

I'm making a program that calculate wages, but I'm having problems in seeking the rates in the file, an example of one table.[URL="http://3.bp.blogspot.com/_xrZFmlhX0Ts/SYofqkmc1bI/AAAAAAAAO-Y/XfgESqYqZms/s400/tabela+2.JPG"]http://3.bp.blogspot.com/_xrZFmlhX0Ts/SYofqkmc1bI/AAAAAAAAO-Y/XfgESqYqZms/s400/tabela+2.JPG[/URL] the function receiving the salary and number of dependent, will seek in the file for the correct rate that this person as to pay. I thought of …

Software Development c
Member Avatar for acnodnem
0
223
Member Avatar for vbx_wx

This is how I want my XML file to look: [code] <root> <data> <track src="123456"> <desc id="1" mt="audio/mp3" ra="24" dr="221" nv="10005761">Madonna - La Isla Bonita</desc> <clipdata>PD94bWwgdmVyc2lvbj0iMS4wIiBlb</clipdata> </track> </data> <completed/> </root> [/code] And this some part of my code: [code] AttributesImpl atts = new AttributesImpl(); AttributesImpl atts2 = new AttributesImpl(); AttributesImpl …

Software Development audio java xml
Member Avatar for peter_budo
0
243
Member Avatar for kapojian

in my access database the column "foods" has multiline text..but when i view it in datagridview in my c# form it only has single line text,,, the width and height in datagridview is not the same as in my access database... my access database looks like this [U]|primary key|[/U][U]|foods|[/U][U]|servings|[/U] 00000001 …

Software Development microsoft-access visual-studio
Member Avatar for kapojian
0
152
Member Avatar for yumyam09

Can anyone show me a sample program that can turn on a computer automatically on scheduled time..please show me so that i have an idea what it look like.. thnx ^_^

Software Development java
Member Avatar for stultuske
0
188
Member Avatar for ARaza110

Can someone help me please. I am using a Scanner Class and want to count characters entered in the textfield. Unfortunately, backspace and any key (Ctr,Alt,Capslock) for that matter is counted as a character and that increments the counter by 1. Here is the code [code] String ab="^[A-Za-z0-9]+$"; public void …

Software Development java
Member Avatar for ARaza110
0
704
Member Avatar for perfectBing

Hi Coders, I was just trying out a simple singleton class. I have wriiten the below code. Now My que is : How do I instantiate the class from main function. PLS HELP :) [CODE] class MOV{ private:static MOV* inst; MOV(){cout<<"Hellooooooo\n"<<endl;} public:static MOV* get_it(){ if(!inst){ MOV *p=new MOV; cout<<"1st instance …

Software Development c++
Member Avatar for alwaysLearning0
0
85
Member Avatar for rayden150

Please Help, im trying to run the emulator on my WINDOWS VISTA I really dont know why it doest woork!, It just stays at this huge black screen which I know isnt normal, it should be smaller.. I have the ANDROID SDK 3.1 and have ECLIPSE HELIOS and I think …

Software Development android-development ide java seo
Member Avatar for hithirdwavedust
0
426
Member Avatar for anuj6928

i m using combo box in vb.net 2008 bt i m using the property as i can type in combobox this is done ... bt on running it ..when i m entering the wrong word in combo it will save the data .or sometimes gives error nd i want that …

Software Development vb.net
Member Avatar for anuj6928
0
152
Member Avatar for jason_joseph60

[CODE]import javax.swing.*; import javax.swing.JButton; import java.awt.*; import java.awt.event.*; public class CreateTabbedPane extends JFrame implements ActionListener { JButton b1; JTextField txt1; public CreateTabbedPane() { JFrame frame = new JFrame("Tabbed Pane Frame"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JTabbedPane tab = new JTabbedPane(); tab.addTab("Jay",new abc()); tab.addTab("RD",ram a); } class abc extends JPanel { public abc() { txt1=new …

Software Development java java-swing
Member Avatar for NormR1
0
125
Member Avatar for IT seeker

i makinh MCQs question as my mini project in windows form application i m facing few problem plzz solve that 1. to count the score of total correct question and show at the last in windows form 2. when i selct any option(radiobutton) then next question appears with same number …

Software Development
Member Avatar for RinkyGajera
0
120
Member Avatar for deb0and

Not sure what this error means "NameError: global name 'sessionid' is not defined" Any help would be greatly appreciated. Below is the code [CODE]import sys from socket import * import re import os from time import sleep print ("[*] BY THE POWER OF GRAYSKULL - I HAVE THE ROOTZ0R!\r\n" "[*] …

Software Development os-x python session
Member Avatar for deb0and
0
878
Member Avatar for Valiantangel

Hi can someone help in in understanding the following code esp the "?".I cant understand how the output 9:10:5 as obtained. Thank You. The code is as followed: [CODE]#include <iostream> using namespace std; int main() { short hour =9, minute =10, second =5; cout << (hour <10 ? "0":"" )<<hour<<":" …

Software Development c++
Member Avatar for Narue
0
168
Member Avatar for NvIs

Ok This is my first post on this forum, and would really appreciate some help on an assignment... I have a 2d array and I need to add up all the numbers within the rows and the columns of the array. I'm really not to familiar with arrays or for …

Software Development c++
Member Avatar for PCSO
0
4K
Member Avatar for Weliaz

Hey there DaniWeb! I have a bit of a problem! I am in need of a way to get the size of a remote file, without download the file itself (so that i can show download status in a status bar) is this even possible? Thank you a lot, Weliaz …

Software Development vb.net
Member Avatar for Weliaz
0
957
Member Avatar for Voldemort2

I need to parse a csv file, whose encoding format is in utf-16 format. Actually the csv file contains the list of directories to the file. for reading i used following code BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(str))); But the output i got is not in the correct format …

Software Development java
Member Avatar for NormR1
0
922
Member Avatar for tomtetlaw

Could someone please explain how DWordSwapAsm works without a return statement? I've ran the program with breakpoints and [ICODE]i[/ICODE] gets changed even though there's no return value in that function.. how does this work? NOTE: I don't want help with the assembly code, just the function itself. [CODE]template <typename T> …

Software Development assembly c++
Member Avatar for tomtetlaw
0
112
Member Avatar for azzaid

please anyone help me i take example from sphinx4-1.0beta6 but when i run it in netbeans this error appear run: Exception in thread "main" Property exception component:'dictionary' property:'fillerPath' - Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict edu.cmu.sphinx.util.props.InternalConfigurationException: Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict at edu.cmu.sphinx.util.props.ConfigurationManagerUtils.getResource(ConfigurationManagerUtils.java:483) at edu.cmu.sphinx.linguist.dictionary.FastDictionary.newProperties(FastDictionary.java:149) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) at edu.cmu.sphinx.linguist.language.ngram.SimpleNGramModel.newProperties(SimpleNGramModel.java:97) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) …

Software Development java java-netbeans open-source
0
104
Member Avatar for sandman64

I wrote a program that solves graphing programs. I am still very new to c++ and mt program is very very rough around the edges but my main problem is when the function returns the value to the main function it outputs random numbers in stead of the correct value. …

Software Development c++
Member Avatar for L7Sqr
0
184
Member Avatar for rahafrouz

hi! I want to start writing a project that recognizes speech and voice. first I want to know,have you ever seen a project like this,written in java or any other languages? if no I know it is not a simple project that it can be found by requesting in a …

Software Development audio java
Member Avatar for azzaid
0
205
Member Avatar for zidaine

why is it that when i pop a dictionary in variable b, variable a does the same? And When i print variable a, the value is [{'b':2}]. How can i retain the value of variable a? [CODE] a=[{'a':1,},{'b':2,}] b = a b.pop(0)[/CODE]

Software Development python
Member Avatar for TrustyTony
0
138
Member Avatar for Lyandor

Hey guys, I'm new to this forum so nice to meet you all :D I'm really bugged by a weird bug that prevents my dialog from showing up, however the buttons show up twice, one overlapping the other. I saw other threads that discusses about this but I'm afraid I …

Software Development api c++
Member Avatar for caut_baia
0
176
Member Avatar for Graphix

Hi, Recently I started working on a project (it's called 'fd') that needs to retrieve the current processes running. It is written in C using the WinAPI. I am running Windows XP SP3 and am using MinGW compiler with Code::Blocks. After much searching I found the PSAPI to provide the …

Software Development api c linked-list
Member Avatar for m4ster_r0shi
0
941
Member Avatar for andreson

The value of address is not insert in database varchar2 pno field. tried from.tostring() but not inserted but its prints through system out perfect as email adress. any idea or suggesstion how to insert it into database.. [CODE] import java.io.*; import java.util.Properties; import javax.mail.*; import java.sql.*; public static void insertm(int …

Software Development email java oracle
Member Avatar for andreson
0
202
Member Avatar for jodata26

What is the easy way to learn GUI Python, i mean where to choose pyGTK, pyQT , TkInter or what? Thanks

Software Development gui python tkinter
Member Avatar for SamarthWiz
0
386
Member Avatar for Archenemie

I feel like a total muppet for not being able to do what is likely a stupidly easy task. I have downloaded the MySQLdb.zip, unzipped it to my desktop and am trying to get it to work with my python 2.7 (its compliant). Can anyone give me a step by …

Software Development python
Member Avatar for griswolf
0
120
Member Avatar for kapojian

ist possible to have another if statement after the first if statement.. this is just an example [ICODE] private void button_click(object sender, eventargs e) try { if(age>5||age<=10) {massagebox.show("young");} else if(age>10||age<20); messagebox.show("example"); } catch(exception) messagebox.show("error"); //can i have another if statement here??? if(something ==eg) {messagebox.show("thanks"); } [/ICODE]

Software Development
Member Avatar for Momerath
0
108
Member Avatar for radiata

Hello, I'm doing a homework assignment from my Computer Science course and I'm having a bit of trouble. so far I have the code below and its producing errors, can anyone help? thanks! [CODE]#include <iostream> #include <string> using namespace std; int main() { char ans; int num; do { string …

Software Development c++
Member Avatar for WaltP
0
178
Member Avatar for shers

Hi, How do I run a form that has a progress bar on a separate thread from another form? Thanks

Software Development vb.net
Member Avatar for kvprajapati
0
322
Member Avatar for piethon

I am a beginner in learning Python and I am currently reading "Learning Python the Hard Way." In one of its exercises, there's a code that says: [CODE]def bear_room(): print "There is a bear here." print "The bear has a bunch of honey." print "The fat bear is in front …

Software Development python
Member Avatar for GreenDay2001
0
1K
Member Avatar for winecoding

In my current program, the input information is hard coded. For instance [CODE]final String titleFieldName = "title1";[/CODE] If I want to change title1 to title2, I have to modify the source code and click "run Java application" in Eclipse. How can I change the program to allow the user dynamically …

Software Development java
Member Avatar for stultuske
0
233
Member Avatar for Niner710

I am new to Python and am looking for something in Python that is equivalent to parsing files in Perl. I have a text file as follows. [CODE] Blah.txt vcc = 2.6, clock = 1.5 Mhz vcc = 2.7, clock = 1.6 Mhz vcc = 2.8, clock = 1.7 Mhz …

Software Development perl python
Member Avatar for TrustyTony
0
185
Member Avatar for Lolalola

Hi, sometimes my one of function work too long. How i can break my function, if this function work longer than 3 seconds? thanks

Software Development python
Member Avatar for TrustyTony
0
196
Member Avatar for djbhoco

This program is to design a gui for users to add any loan amount, term, and APR; the program then gives a monthly note amount in that field. I cannot figure out what I'm doing wrong. I also cannot get the reset button to work. Can anyone give me an …

Software Development gui java java-swing
Member Avatar for mKorbel
0
240
Member Avatar for sirlink99

I am going to make a calculator and I am having some Issues arranging the buttons. You should be able to see the layout when you run the code. Some clarification though there will be a blank spot under the "3" for a "+/-" button (switches between positive and negative). …

Software Development java java-swing
Member Avatar for Ezzaral
0
169
Member Avatar for mikedeomon

The code below works but does not loop through each name in the txt file (loops only when i just want to print their names from the text file) , it only returns the details of the last user in the list rather than returning individual user details one by …

Software Development api python
Member Avatar for woooee
0
198
Member Avatar for sirlink99

I am learning C++ and I learned that you can create your own types. I decided to try this in java. I am wondering if there is an easier way to make a bunch of variables private other then typing out private for each of the created variables. for example …

Software Development java
Member Avatar for sirlink99
0
119
Member Avatar for Austinjs0102

So work is slow and i am an intern and am generally installing lots of programs on computer that have been reformatted or possibly are missing software. I Recently came across a pre-built code which search the registry for already installed programs only one problem is that i cannot get …

Software Development display gui microsoft-windows
Member Avatar for nmaillet
0
353
Member Avatar for complete

changing a character in a C# string suppose I have created a string in C# and I want to change the last character to a blank. [code] private static string sOldMassiveOutput; public static string oldmassiveoutput { get { return sOldMassiveOutput.Trim(); } set { sOldMassiveOutput = value; } } oldmassiveoutput[oldmassiveoutput.Length - …

Software Development c#
Member Avatar for ddanbe
0
204
Member Avatar for gujinni

anybody know how to explain this??? set_difference(a.begin(), a.end(), b.begin(), b.end(), result.begin()); std::=is this algorithm??? how thus this code work??? vector<char>=how vectors work??? cassert=how thus this work??? back_inserter(setDifference)->i don't know how this code work???

Software Development algorithm c c# c++
Member Avatar for gujinni
0
270
Member Avatar for Jessurider

i've have developed a project for class students allocation for examination.........the instructions for the project is given in the form itself at the bottom......... i've also added a print option for printing the page that you sees........can anyone tell how to print all the pages...........

Software Development java
Member Avatar for stultuske
0
155
Member Avatar for zifina

I HAVE A PRINT BUTTON IN MAIN FORM. THERE ARE many child forms.when we click the print on the main form, it has to print the details in the form that was open previously (because,when we click the print button,the main form gets focus.So,the form to be printed is actually …

Software Development c#
Member Avatar for zifina
0
133
Member Avatar for jdstone550

Can anyone see why the function "option3" isn't calculating the values for pmt and totalRetirement? The program runs, but I get 0's for those values. If I remove the function and place the code directly into the case option, the calculations work. [CODE]#include <iostream> #include <string> #include <cmath> using namespace …

Software Development c++
Member Avatar for jdstone550
0
100
Member Avatar for arsalanghouri

hello all i am new over here and i have got a project to make sudoku in c++ but i am getting problem to write a code for finding solution for the soduko plz help

Software Development c++
Member Avatar for arsalanghouri
0
126
Member Avatar for gujinni

Anybody know how to remove the duplicate characters in turbo c++. the output is like this: enter string1:abc enter string2:bcd result:ad

Software Development c++
Member Avatar for theguitarist
0
266
Member Avatar for san-angelo

Hi there, I have joined this forum to ask lots of programming and hardware relevant questions. Well first one is this.... I am a C++ programmer. But I am trying to develop a program(.exe file) that will automatically run when I want to run it. Like I want to run …

Software Development c++
Member Avatar for Caligulaminus
0
114
Member Avatar for rhuffman8

I am still relatively new to Python and don't think I'm familiar/comfortable enough with my understanding of the datetime functions... I want to take just the current month from the datetime function so I can use the number to send the string of the month (ex, datetime would give me …

Software Development python
Member Avatar for griswolf
0
201
Member Avatar for zifina

hi all, i have forms with 2 or more tab pages in them. i would like to know how can we open or display "tabpage1", when we click a button "btn"in "tabpage2"... please help me..i need a reply soon.. thanks all..

Software Development c#
Member Avatar for zifina
0
94
Member Avatar for melfoy

Hey , i am new to data structure and specially Graph . And i was going through a problem for finding the best path [url]http://www.codechef.com/JULY11/problems/LOKBIL/[/url] And couldn't think something usable. SO , if u guys help that will be a good start of me on this site too. PS i …

Software Development c data-structure
Member Avatar for alwaysLearning0
0
236
Member Avatar for kagotsky

[B]I have problem when i Run my program .I can't see the results clearly it turns to fast to see, and it goes back to my program. Do you know how to solve this?please...[/B]

Software Development c++
Member Avatar for renish khunt
0
171

The End.