132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nasnoma

My program basically asks the users for a value (s) then calculates and displays the First, Middle, Last, and Final. The users have a choice to enter the value either in integer, real or character. If the user enters it in real or character, it will be converted into integer …

Software Development c++
Member Avatar for nasnoma
0
521
Member Avatar for joe'g

hi am trying to code a program that uses a panel that has a functional calculator in it, and the calculator can be re-sized using a slider. here is my code please help me out import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; public class CalcInSlider extends JPanel{ JSlider slider; …

Software Development java java-swing
Member Avatar for NormR1
0
125
Member Avatar for Delower_sb

hi actually i am a GSM worker I have 9 year working experience. but i am new here and reading topic from 8 month. my hobby i want to make a small gsm program my question how can i make gsm program as JAU [B][URL="http://www.entsperren.net/JAU/JAU_Setup.exe"]Download JAU[/URL][/B] which software he used …

Software Development vb.net
Member Avatar for Delower_sb
0
110
Member Avatar for KhairilSyahrin

is there a way to take data from msflexgrid and put it into a ready made excel file(meaning some boxes in excel is already filled)? And it is put into some specific place in the Excel template. Data from MSFlexGrid-->Excel Template. Thank you.

Software Development visual-basic
Member Avatar for AndreRet
0
135
Member Avatar for adaniel058

I have tried to create a simple class where the program passes a name and telephone number to my class type and then prints it to the screen. It tells me I have undeclared identifiers, but I am constructing my program just like an example we did in class. Can …

Software Development c++ oop
Member Avatar for adaniel058
0
115
Member Avatar for joe'g

am trying to make a menu with a frame en its not working. and how can i introduce multiple panels in the same frame? here is my code. import java.awt.*; import javax.awt.event.*; import javax.swing.*; public class FrameMenu extends Jframe{ private final Color colorValues[]={Color.YELLOW,Color.RED,Color.BLUE,Color.GREEN}; private final Color colorValues2[]={Color.GRAY,Color.CYAN,Color.MAGENTA,Color.WHITE}; private RadioButtonMenuItem colorItems[];//color …

Software Development java java-swing
Member Avatar for Jayavardhan
0
111
Member Avatar for ermercado

hi, using the sample xml below: <hdr> <sect role="para" label="1234"> <legref>asdf</legref> <cite role="com">abc</cite> <cite role="rg">RTY 08</cite> <cite role="rg">SDF 05</cite> <othertag>some textdata here <cite role="rg">SXF 05</cite> </othertag> </sect> <sect role="para" label="2345"> <cite role="com">xyz</cite> <cite role="rg">WER 10</cite> <cite role="rg">TRS 10</cite> <cite role="rg">WER 10</cite> <legref>qwert</legref> </sect> </hdr> need to extract the label attribute …

Software Development xml
Member Avatar for ermercado
0
793
Member Avatar for mrnutty

Say you have a class Foo, and it contains some member variables. And in that class you have a const-correct function. Can you code some way in C++, that changes the private member variable, inside the const-correct function. For example : [code] class Foo{ int num; public: void doIt()const{ num …

Software Development c++
Member Avatar for Fbody
0
96
Member Avatar for abbasiftt

Please help in doing a very small project (mini project) in Java/SQL. Your quick response is highly appreciated. Thanks Muhammed Asif

Software Development java
Member Avatar for NormR1
0
105
Member Avatar for dupowdis

So basically I have this file that my program needs to open called "outfile.txt" and "fort.20.txt". In windows, I have the file located at the root of the C:\\ drive, and the program compiles perfectly. My program goes to the directory like this: [CODE] File textfile1 = new File("C:\\outfile.txt"); File …

Software Development java ubuntu
Member Avatar for dupowdis
0
129
Member Avatar for darkocean

Hello everybody, I use 7 modems in my application to listen serial ports. I must be check modem status because sometimes my modem hang up in OH status mean that OH lamp is lighting and the telephone line will not be closed, if I close and open the problem everything …

Software Development
Member Avatar for darkocean
0
122
Member Avatar for darkocean

Hello everybody, I am using Serial COM Simply in C# by Noah Coad [url]http://www.devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=320[/url] and I have available ports on my machine whichs COM1,COM2,COM6,COM7,COM8,COM9,COM10,COM11,COM12,COM13 and I use COM6,COM7,COM8,COM9,COM10,COM11,COM12 with ZyXEL Omni 56K modem, I use these 7 ports with 7 modems. There are clients for getting answer wtih this modems. …

Software Development c# client-server
Member Avatar for darkocean
0
2K
Member Avatar for pankajagar2002

Hello, i am using the digester to parse my xml into objects. I am getting the following error. could anyone pleaee help me to solve the problem . java.lang.IllegalArgumentException: No bean specified at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:874) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:460) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySetterRule.java:189) at org.apache.commons.digester.Digester.endElement(Digester.java:1332) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at …

Software Development apache java xml
Member Avatar for pankajagar2002
0
867
Member Avatar for har58

hi i hv one public class admins in one java file and i hv another public class login in another java file both files are in same folder login. i want to use admins class in login class. How can i do it,,? >> extending cannot be possible because both …

Software Development java
Member Avatar for Darryl.Burke
0
150
Member Avatar for Anocondo

Can anyone help me create functions for doing this 1) three bool methods onCircle (Point *), outofCircle (Point *), and inCircle (Point *) for a Circle object C (so C->onCircle (P) for a point P means the point P lies on the circle C (i.e. the distance of P to …

Software Development c++
Member Avatar for mike_2000_17
0
268
Member Avatar for XxPKMNxX

Ok, i have my code: [CODE] int seconds; clock_t clock(); seconds = clock()/CLOCKS_PER_SEC; if (seconds == 8){ FIVE.SetPositionX(-1); } //.... if ((AdventureGame.keypressed[DIK_F]) && (WOO.positionX == -10)){ //reset clock() here FIVE.SetPositionX(-5);} [/CODE] the clock starts when the program is run and after 8 secs, FIVE moves position. When i press F, …

Software Development c++ visual-studio
Member Avatar for XxPKMNxX
0
199
Member Avatar for ota1it1iuss

Iam new to programing, so be gentle!!!! I have to program the Fibonacci Sequence up tothe first 29 numbers. The output starts at 1 2 3 5, not 0 1 1 2. What am I doing wrong to not get the 0 1 output. Here is the code: [code=c++\] #include …

Software Development c c# c++
Member Avatar for shabnamapi
0
424
Member Avatar for AamirH

Hi, I am writing a C++ program to "find and replace" strings. Following is the code: [CODE=c] void pt::replace() { string str( textpath ); string searchString( "\" ); string replaceString( "\\" ); assert( searchString != replaceString ); string::size_type pos = 0; while ( (pos = str.find(searchString, pos)) != string::npos ) …

Software Development c++
Member Avatar for mike_2000_17
0
109
Member Avatar for hking

This is my assigment and i have no idea to do that. Somebody please help ! Write a program that reads from a file the number of candidates in a local election, then their last names and the number of votes received by each. Use dynamic memory allocation to store …

Software Development c++
Member Avatar for mike_2000_17
0
248
Member Avatar for ichigo_cool

Well I've been learning C++ on and off but I plan to stick with it and I'm going to try to program at least two hours a day everyday for the rest of summer and hopefully when school starts again if I can. How often do you guys program? (just …

Software Development api c++
Member Avatar for mike_2000_17
0
613
Member Avatar for TeBone

at a current project I was ask to provide a native access using Visual Basic and the Btrieve API. Since there isnt any actual sample at the website availabel ([url]www.pervasive.com[/url]) I thought posting it might help some of you. You can find sample code but almost all of them using …

Software Development api vb.net visual-basic
0
250
Member Avatar for aparnesh

I am using a Data Environment to create a data report. The code is working fine in one app, but after I copy-pasted it to another app, it's giving problem. Both apps are similar and have same references and in same sequence This works fine (in App # 1) [code] …

Software Development open-source visual-basic
Member Avatar for AndreRet
0
119
Member Avatar for tarungulati

Hi I am Tarun Gulati. I have lunch a new SMS Social Networking Site.I need some help every people.so please guide me.How can improve in my site feature.Please give me your suggestion. Thanks Tarun Gulati

Software Development visual-basic
Member Avatar for AndreRet
0
100
Member Avatar for joe'g

am trying to make a menu with a frame en its not working. and how can i introduce multiple panels in the same frame? here is my code. [CODE]import java.awt.*; import javax.awt.event.*; import javax.swing.*; public class FrameMenu extends Jframe{ private final Color colorValues[]={Color.YELLOW,Color.RED,Color.BLUE,Color.GREEN}; private final Color colorValues2[]={Color.GRAY,Color.CYAN,Color.MAGENTA,Color.WHITE}; private RadioButtonMenuItem colorItems[];//color …

Software Development java java-swing
Member Avatar for stephen84s
0
145
Member Avatar for virusisfound

hello, I am working on a project in that i have perform the save,delete update option now update is working. but when i search the data in my database the first entered data is not display. It save in the database properly but on the design form when i select …

Software Development database-design display
Member Avatar for nick.crane
0
139
Member Avatar for prashantharbola

hi, i am trying to use modem to dial phone,i am able to do it but after some time i get tones like dtmf tones on the receiver phone,i am using javax.comm package for serial communication,i think some additional AT commands other than "ATA " is to be used but …

Software Development java
Member Avatar for prashantharbola
0
212
Member Avatar for sivak

1 5 7 3 2 4 6 8 9 if i add the diagonal the sum is (1+2+9=12) one more diagonal (7+6=13) i dint include 2 because its already added...want the out put 12+13=25 can anyone tell me c# code for this plz

Software Development
Member Avatar for arunkumars
0
85
Member Avatar for lotrsimp12345

I have set the textbox to public so that another form can access it but when i run it in debug mode with the following line it gives me exception so it doesn't store correct directory. For example: If I enter D:\newfolder it gives me D:\\newfolder. Why does it add …

Software Development microsoft-access
Member Avatar for Geekitygeek
0
824
Member Avatar for MARKAND911

I have a panel in which I have many controls. I want to print this panel in window application. How can i do this. please send me code for it.

Software Development c#
Member Avatar for nick.crane
0
2K
Member Avatar for virusisfound

Hi, I was comparing the features visual Basic & visual studio at that time i found that in VB provide the facility of message box. But in VS we don’t have the facility of input box. The input box is really very helpful if we want to take some input …

Software Development visual-basic visual-studio
Member Avatar for virusisfound
0
709
Member Avatar for kerek2

I'm already build this program but get error...anyone can check for me?..tq [CODE] public class Clock { private int hour; private int minute; private int second; public Clock (int hour, int minute, int second) { this.hour = hour; this.minute = minute; this.second = second; } public Clock (Int hour, int …

Software Development java
Member Avatar for vee_liang
0
97
Member Avatar for har58

hi,i m getting the following excption,though i hv properly set the classpath ,,, i m able to rum other programs,,,, plz help,,, [CODE] Exception in thread "main" java.lang.NoClassDefFoundError: admins (wrong name: a dmins/admins) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14 1) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at …

Software Development java java-swing oracle
Member Avatar for stephen84s
0
1K
Member Avatar for vijaysrivatsa

Do the following for the user-entered number of students. Find the average marks for a student of his marks in 3 subjects. Print whether he passed or failed. A student will fail if his average is less than 50. Use for loop...can u help me writing this pgm.....thankss:-/

Software Development c
Member Avatar for Adak
0
137
Member Avatar for rolsen

Dear all, Another beginner seeks assistance with XSLT and XPATH ;-) This is my XML source: [CODE] <?xml version="1.0" encoding="UTF-8" ?> <report xsi:schemaLocation="http://www.callassoftware.com/namespace/pi4 pi4_results_schema.xsd" xmlns="http://www.callassoftware.com/namespace/pi4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <profile_info > </profile_info> <results> <hits rule_id="RUL1" severity="Error"> <hit type="Image" page="PAG1"> </hit> <hit type="Image" page="PAG2"> <imagestate image_id="IMG30" v_ppi="127.0" h_ppi="127.0"></imagestate> </hit> </hits> </results> </report> [/CODE] I …

Software Development xml
Member Avatar for rolsen
0
144
Member Avatar for manak chand

Hi everyone, can anyone tell me how to store record from datagrid to oracle database at run time. user have to enter one record in datagrid at run time and the record should be saved at button click in the oracle. manak chand :)

Software Development oracle vb.net
Member Avatar for kvprajapati
0
75
Member Avatar for Sharvesh

I have a speradsheet which should be converted into HTML page using perl script. It should be generic so that if I change anything in the excel sheet this should reflect in the HTML page. Please can anyone help me? Eagerly waiting for some one's reply

Software Development html-css perl
Member Avatar for syedmahtab
0
126
Member Avatar for P00dle

Would Java be able to .rename() a file while it is still being written, or will it detect that the file is in use? Also, is it possible to open a file for exclusive access in Java, and will this fail if the file is still being written? Thanks.

Software Development file-system java
Member Avatar for P00dle
0
112
Member Avatar for guptas

hi, i am new to OpenGL. Soon i have to do a college project on this platform so i decided to learn open GL. while working with glui i am facing some problems. i downloaded glui-2.36. I thought of starting with the example1 (code added at bottom of the post) …

Software Development open-source opengl vb.net
Member Avatar for Oxiegen
0
498
Member Avatar for arsenal_fan

Hi, this is not a homework or assignment. I am preparing for interviews. I just wanted to know how do I find out say the next 6 byte aligned address given any random address? Hope I am clear. Any code or explanation will be appreciated. Thanks.

Software Development c
Member Avatar for arsenal_fan
0
251
Member Avatar for ashwiniku

I have two ArrayLists that each contain a list of unique String objects.I am trying to count the number of words that are common between both lists, [B]E.G [/B] have one list that contains the words,("house", "cat", "broom", "car", "chair"), and 2nd list have ,("house", "cat") i want the output …

Software Development java
Member Avatar for jon.kiparsky
0
604
Member Avatar for ayeshakhan

i am using visual studio for making website using c# an error is occuring "There is already an open DataReader associated with this Command which must be closed" the code is public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Getregioncategory(); } public void Getregioncategory() …

Software Development visual-studio web-server
Member Avatar for ayeshakhan
0
144
Member Avatar for bob47910

If I created Tkinter window with some text that filled the whole window and now wanted to replace the window with a new text, is there a way to refresh the window? For Example: a= 100 win= Tk() win.geometry("500x300") while a > 0: if a%2 == 0: lbl = Label …

Software Development python tkinter
Member Avatar for TrustyTony
0
11K
Member Avatar for askreiyna

i want to know the advantages and disadvantages of single and multiple line comment in programming language in term of reliability, readability and writability. please help

Software Development c++
Member Avatar for askreiyna
0
79
Member Avatar for Stefano Mtangoo

Just a curious Question, Is there a way of putting Vpython in wxpython as we do in case of wx.MediaCtrl and other stuffs?

Software Development python
Member Avatar for isabel puchoc
0
433
Member Avatar for eftela

i want to use a scroll bar in my VB.net form but with the AUTOSCROLL = false... please provide me with a simple code... tnx in advance... eftela

Software Development vb.net
Member Avatar for eftela
0
1K
Member Avatar for pawan_sharma777

5. Write a program to automatically generate the telephone numbers. The requirements are as follows: Declare a character array to hold a 7-digit telephone number •Accept the telephone number as a string. The first four digits is the department code and the last three digits is the telephone number. (Example: …

Software Development c
Member Avatar for Ancient Dragon
0
213
Member Avatar for SHENGTON

Hello, good day. :) I got a problem here in displaying the items of array. In "Display Items", it should display the numbers that I inputted in the "Input Items". Is there lacking in my code? [b]Menu:[/b] [IMG]http://i168.photobucket.com/albums/u162/SHENGTON/menu.png[/IMG] [b]Input Items:[/b] [IMG]http://i168.photobucket.com/albums/u162/SHENGTON/input.png[/IMG] [b]Display Items:[/b] [IMG]http://i168.photobucket.com/albums/u162/SHENGTON/result.png[/IMG] Here's the code: [CODE=C]#include<stdio.h> #include<conio.h> int …

Software Development c display
Member Avatar for Ancient Dragon
0
328
Member Avatar for creative9k

I'm having a little trouble getting started on this HW assignment and would appreciate if anyone could clue me in where to begin logically. The program takes names from the user as input up to 200 names or they stop and stores them in an array then uses two arrays …

Software Development c++
Member Avatar for Andreas5
0
188
Member Avatar for poornimashobana

hi This is Poornima.L any one can u help me how to convert double to int ???? int int_var=(int)double_var; wen i give the above stmt i get floating point error:abnormal termination in my console screen help me out

Software Development c
Member Avatar for poornimashobana
0
72
Member Avatar for jemz

hello can you help me how i can catch the exception... I want to input integer for my array and i want to catch the exception if i will input a string this will display Invalid input how can i use this in try catch because i am confuse please …

Software Development java
Member Avatar for jemz
0
444

The End.