132,726 Archived Topics
Remove Filter ![]() | |
Hello all, I am making one application in which I need to enter the start and stop time in textbox. I have used masked text box. I want to check that Stop time should be greater than Start time and also the time entered should be in valid time format … Software Development | |
I have a problem outputting the contents of a text file. Whenever I try to display the contents of a file a "null" word is printed at the end of the output. Any help would be deeply appreciated. [code] import java.io.*; import java.lang.*; public class prog1 { public static void … Software Development java | |
Good Day , I have 2 windows forms (form_source and form_target) with listviews (lstviewSource and lstviewTarget) respectively. When the items from the "listviewSource" is selected it needs to be displayed on "lstviewTarget".I am cloning the items from the listview in "form_source" but it is not displaying on the listview on … Software Development listview | |
I'm re-posting this because I forgot to put code tags around the code. I'm trying to make a form with a thermometer painted on it. I want the thermometer to go up each second. I tried the code below and it sorta works, but not really. It does the For... … Software Development vb.net | |
I'm trying to do addition of matrices using pointers. But, in 3x3 matrix, only the first row of the matrix gets added, while the rest are zero. Please help me correct this. Thank You! My code is as follows :: [CODE] #include<stdio.h> #include<conio.h> int a[10][10],b[10][10],c[10][10]={0}; int i=0,j=0,k=0; int r1,c1,r2,c2; void … Software Development c mathematics matrix-multiplication | |
I have made an application with MS Access 2003 as my database. I made its setup and installed in a pc which MS Office 2007 installed in it. I am getting an error of "Microsoft.Oledb.Jet.4.0 resource not found". And my setup is not working. What to do now? Software Development microsoft-access microsoft-office | |
Here is my Prob- we have a main router from which we use a distributor or hub for internet connection distribution, ever computer connected automatically obtains IP address of format say - 180.50.50.xxx to access net connection. if any connected computer has different IP format than the given one, it … | |
hi ! please tell me how to navigate from 1st record to last record and also from last to first record of database using JDBC , Servlet and jsp. please help me by sending full source code for that. thanks :) Software Development java | |
please give me full coding for searching data from textbox and display it in gridview. | |
Hello, I am doing a side project to teach myself some c# and I am having some issues with Accessing Controls on a User control from a form and hope someone can help. I made a user control (UCCities) with a TabControl through the designer. This will show up on … Software Development | |
hi i guess the title pretty much states the question but i will give the senario to be more clear. i have a mousemove() event which i add in my program programmatically and i need a way for raising that event (again) programmatically too. raiseEvent control_mousemove() doesn't work as it … Software Development vb.net | |
Hello, i'm very new to programming in genera. Python is the first language I'm learning. So, I was instructed to make a program that ask the user for loan payment, insurance, gas, oil, tires, and maintenance. The program will calculate the monthly cost and annual cost. here is what i … Software Development python | |
Hello everybody, I'm a Borland C++ 5.02 user, a pretty old package, but very good for the kind of applications I'm used to write. My problem is that I had to reinstall it on a new machine after the old one is dead, but after the installation I'm not able … Software Development c++ | |
pl help me I want Single File Database: Develop a student record management program, which uses single file as its database. It is not supposed to create additional files at any part of the project and should never rewrite total content. Software Development java | |
I know it's one of those programming languages thought of as an easy thing to learn (or so it seems like it). My problem is not with the difficulty of learning the language, rather the outdated guides and the problems with Python 3.2. So I looked into a book called … Software Development python | |
Hello, I have a forth order equation aX^4+bX^3+cX^2+dX+e=0 How to solve the equation? I have looked at the follwing thread on a forum but I can not understand the assignment of the variables. [url]http://www.cplusplus.com/forum/general/8129/[/url] Any ideas? Software Development c++ | |
Hi,I'm a beginner to Java. Can anyone help me? I want to know how a textField to be displayed above a image(like acting as the background of that textField). | |
Consider this code: main() { void postinc(); postinc(); postinc(); postinc(); } void postinc() { static int count=1; printf("%d", count); count++; } What will be the output? Make me clear of this static concept......... What happens to the variable count? I know that it actually retains its value between funcion calls. … Software Development c | |
is this good practise or even possible as i'm not on my comp. [CODE] class C3dshape { private: int mLength; int mWidth; int mDepth; public: int getlength(); int getwidth(); int getdepth(); void setvalues(); }; int C3dshape::getlength() return mLength; int C3dshape::getwidth() return mWidth; int C3dshape::getdepth() return mDepth; void C3dshape::setvalues() { length … Software Development c++ | |
Hi, I am writing a program that is to behave as a web server. Both the client and the server code are on my laptop. Ideally, I should be able to type in 127.0.0.1: PORT/index.html in Firefox and the server code should reply appropriately. So far my browser and the … Software Development c client-server http-protocol web-browser web-server | |
Hello, good morning guys! I got a problem here with my submenus of Stack and Queue link list. When I try to add an item, it won't display and pop the items when I try to select the display and pop functions. Same as well with Queue. Can anyone help … | |
Hello, I have a class that pulls account numbers from valid_accounts.txt and is supposed to take each number and put it into an array. In my driver program, I should be able to call the method of the class that pulls the information and populate it into my array created … Software Development file-system java | |
Hello, I made a class and now I want to store instances of those classes in an array. I looked it up and found it was as easy as: [CODE]className arrayName[x][/CODE] When I tried that I got this error: [B]error: no matching function for call to 'archerTower::archerTower()'| [/B] My class: … Software Development c++ | |
Write an application to simulate the rolling of two eight-sided dice (eight-sided dice are used in various role-playing games). The application should use an object from the class Random to roll the first die and then again to roll the second. Each die can have the values of 1 to … Software Development java | |
hi guys, I've been working on this program and I am kind of lost. Please help me point out what i am doing wrong. this is the description of the program. You are to code a plane reservation application, which allows the user to keep track of seat reservations. Seat … Software Development c++ | |
Good day everyone! I have a program that I need to modify so that it reads a list of valid charge account numbers from a file. Currently the list is in an array in the program. I am also attaching the text file(valid_accounts.txt) that it needs to read from. [CODE] … Software Development java ![]() | |
hey... hi there .. i m currently using NetBeans for creating A simple desktop application in java,,,, so in the registration page.. i m getting some errors my code is import java.sql.*; import java.lang.*; /* * register1.java * * Created on September 7, 2010, 10:59 AM */ /** * * … Software Development java java-netbeans java-swing ![]() | |
Has anyone tried this? My general dilemma is having to open and maintain multiple connections across multiple forms. I have an MDI application and I would prefer to store the connection in the parent form and just have the child forms use that connection if it needs it. This normally … Software Development open-source | |
I've got a vb.net 2005 form that calls a stored proc to load a combobox with eligible sales reps. There are approximately 40k sales reps available...I know that's a lot, but that's what I'm dealing with. I'm trying to figure out why it's taking this form 15 seconds to load. … | |
Hi, I am in dire need of help. I have tried every way I could think up and I cant get it I need a diamond that looks like perfect rhombus with an a border: (im trying to get this site to make my shape to come out right but … Software Development c++ | |
So I have a program scenario for a postman who carries out an experiment: 1. He has mailboxes numbered 1-150 all of which are 'closed' 2. Starting with mailbox 2, he 'opens' all even-numbered mailboxes, leaving all others 'closed' 3. Next, beginning with mailbox 3,goes on to 'open' every third … Software Development c++ | |
For those that want to directly execute a .class file in a command prompt window. Here is a way: Create the following batch file. Use the Windows Explorer Tools to add a commandline for the .class file: C:\BatchFiles\ExecClass.bat "%1" Give it a name like: Execute class file The batch file … Software Development file-system java | |
Hi, I am writing code for a webserver and am trying to send a html file called index.html over a TCP socket. How would I do this? At the moment I am trying to read the contents of the file and then send them over the connection. However, the page … | |
hey guys.i have one realy big big problem.. My programming teacher gave my a task to get these functions to work, but i dont know python program so good.. thats why maybe someone of you could help me, and make these 3 functions to work .:).. please!! these lines are … Software Development python | |
im going to try and explain this as easy as possible, this is something i have never done with .net before there is a login form at [url]http://www.ritani.com/salespersons/login[/url] it uses the post method to login. i have a web browser control in vb.net that I want to have automatically log … Software Development first-post vb.net web-browser | |
I seem to be stuck in an endless loop here and was wondering if someone could help? I am writing this method to a linked list class. There are strings of words in a file that is read into the linked list. It needs to read the last string in … Software Development c++ linked-list | |
For the past 12 years I've lived in mortal, cowering, abject fear of one particular feature of the Visual Studio 6 C/C++ IDE, and that is the 'Find' feature on the 'Edit' menu where you can fill in the textbox to find a symbol in your file, and then click … Software Development c++ ide visual-studio | |
Hey, I'm trying to setup a combobox so a color selected will change the background. I know I can name each color and direct it to the color by using - private void button1_Click(object sender, EventArgs e) { string strColor = comboBox1.Text; Graphics g = this.CreateGraphics(); switch (strColor) { { … Software Development | |
I need help with this. At the end of the semester, students often wish to know what grade they need on the final exam to get an A in the course. Write a program that prompts for the user’s grades on exam 1, exam 2, and the homework and from … Software Development python | |
can someone tell me how to get the [U][B]icon[/B][/U] of a webpage. i can get the icon of a webpage and set it as an image but i want to take it and set it as the icon for my application. here is the code to get the icon and … | |
hi all ! i have installed eclipse through internet on my PC (OS : ubuntu) but there is no any option in eclipse to create web application using java. Please help. It's very urgent. Thanks! :) | |
I have many header files for stacks such as pushStack, popStack, destroyStack, etc eg //stacksADT.h file #include "P3-06.h" /* Stack ADT Definitions */ #include "P3-07.h" /* Create Stack */ #include "P3-08.h" /* Push Stack */ #include "P3-09.h" /* Pop Stack */ #include "P3-10.h" /* Retrieve Stack Top */ #include "P3-11.h" … Software Development c | |
Hi guys, I am starting my project and thought You pple could give a hand.I want to develop a stand-alone [I]real property management system[/I]in Java (netbeans platform)...I have some problems in [B]design and content of the system[/B].I would greatly appreciate any assistance on the same ..no of databases(mysql),forms and such..(design) … Software Development java java-netbeans | |
Hi, Im trying to do a screen-flashing application, that flashes the screen according to the music(which will be frequencies, such as healing frequencies, etc...). I already made the player and know how will I make the screen flash, but I need to make the screen flash super fast according to … | |
The following assignment would work [CODE]float a=3;[/CODE] But the following won't :[CODE] Float a=3;[/CODE] Shouldn't 3 be automatically promoted to float (as widening conversions don't require an explicit cast) and then Boxed to Float type ? Is it because of a rule I read in Khalid Mogul's Java book ? … Software Development java | |
[B]Code:[/B] [CODE]class statistic{ double * store; int noOfData; public: statistic(double* s,int sz); statistic(const statistic &); ~statistic(); double average() const; int size() const; const double* data() const; }; statistic::statistic (double * s , int sz):noOfData(sz){ store=new double[noOfData]; for (int i=0;i<noOfData;i++) store[i]=s[i]; } [/CODE] Definition and test code of the class.. Can … Software Development c++ | |
How can i identify the error whether it is compile error or runtime error ? Software Development c |
The End.