132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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 … | |
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++ | |
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++ | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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# | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 |
The End.