132,726 Archived Topics
Remove Filter ![]() | |
Hi all, I'm new to java applets. This is basically my first bigger applet. It works 100% fine when I run it in the applet viewer. As soon I start it in a web browser it stops working half way through. The code below is a short version of my … Software Development java java-swing web-browser | |
Hey guys, Just trying different little programs. I was looking though a book on Visual Basic .Net and came across a little password-protection program (A very simple one). Problem is, that this was written for VB6, not the 2008 version, so i did a little editing as shown below: [CODE] … Software Development vb.net visual-basic | |
/** * Simple math application using a scanner input * @version 1.00 2010/1/26 */ import java.util.*; import java.text.*; import java.io.*; public class mathopr { public static void main(String[] args) { double num1,answer1,answer2,answer3=0; String myname; String reply; char replyChar=; Scanner input = new Scanner(System.in); DecimalFormat df= new DecimalFormat("00.00"); while (replyChar=='y'){ System.out.println("Please … Software Development java | |
I think I have a good starting point on this, but I still need some help :) First I need to ask the user for the limits of integration and the error tolerance, (that's already done). So when I divide the trapezoid (when the end points are connected) in 2, … Software Development c++ | |
I have to give this in around 10 hours and i still have lots to do. Please report any bugs; Its a scientific calculator, also supports [B]sin, cos,tan and log [/B] Take care to [B]put the entire expression under brackets[/B] For example, a valid input will be:- (5+4*-3+sin(43+7)+cos(90/2)) I've attached … Software Development c++ | |
Hello i need some help with parsing a string as i'm very new to C and only started learning it a few days ago. I wish to parse the string "Jan 15 05:46:07 gateway kernel: IN=eth0 OUT= MAC=00:80:c7:c3:c7:be:08:00:03:23:2a:a8:08:00 SRC=80.232.253.76 DST=80.234.144.54 LEN=48 TOS=0x00 PREC=0x00 TTL=108 ID=43600 DF PROTO=TCP SPT=3329 DPT=135 WINDOW=16384 … Software Development c file-stream | |
i am trying to make a quiz using Visual c++ I am trying to make it so that each tab has a different question and when you press a button it goes to the next tab. Is there a way to do this? If not is there another way i … Software Development c++ | |
hi, i m facing a small prob in GUI, need to save my output to a particular folder. below this code showing the square of any integer in TextField named: "resultField". i've a button "save" that need to save the result from that TextField, suppose in my "c:\Repository " folder … | |
Hello I have created a multidimensional list in python I used the following code: [CODE] r =[(300, 4), (5, 6), (100, 2)][/CODE] I tried sorting it in ascending order using r.sort() and I get [(5, 6), (100, 2), (300, 4)] I want it to get sorted based on each on … Software Development python | |
[code] #include <iostream.h> #include <fstream.h> #include <math.h> void main () { cout<<"**********************welcom*******************"; float n,j,q,d,h,t,i,m,f,b,v; cout<<"\n num of eng = "; cin >> j; n=j ; q=0; d=0; h=0; t=0; v =0 ; for (i=1;i<=n;i++) { v = i; cout<<"\n\n ** Engineer ID "<<v; cout<< "\n\n insert Salary = "; cin>> … Software Development c++ | |
Hi there again, looks like I ran into trouble again. Well, programming doesn't look simple to me. What I want to know is how do I invoke an executable file from a c# application? Are the procedures same in both console applications and windows application? Software Development c# | |
Not sure if anyone has experiance with Active Reports In vb6, i used acive reports 2.0 and used a simple ado connector with dsn - user - pass to connect to a database and pull the data needed. Active reports 6 seems to be different and i am having problems … | |
help.. my program closes everytime i run the combination calculator.. Software Development c | |
I want to make a type to differentiate degrees and radians. I wanted something like this to produce a compiler error: [code] #include <iostream> typedef double Degree; typedef double Radian; void MyFunction(Radian angle); int main() { Degree foo = 3.0; return 0; } void MyFunction(Radian angle) { std::cout << "Success." … Software Development c++ | |
I'm fairley new to programming in general being a fresh IT graduate. Some software I am developing needs to be able to compress a folder in to a .zip file and later extract it while maintaining its file structure. I am able to do this but extracting the file takes … Software Development java | |
[CODE]import javax.swing.JOptionPane; public class test{ public static void main(String args[]){ String numT = JOptionPane.showInputDialog(null,"Please enter a value."); double num1 = Double.parseDouble(numT); System.out.println("Fahrenheite = "+num1+"\nCelcius = "+convertFtoC( num1 )); } public static double convertFtoC ( double num1 ){ return ((5/9)*(num1-32)); } }[/CODE] why the value return is zero? hrm... can anyone … Software Development java java-swing | |
Hi everyone I have one we application developed using java,servlet and jsp. i am running it using Apache tomcat server 5.5. When i am running it on my local machine, i am given path as [B][url]http://localhost:8080/student/[/url][/B] where as student is name of application. Now if i require run same application … | |
hello every body! i have very simple question, i google it alot but i didn't find the satisfactory answer my question is what is the reason that [B][I][U]int, float,char,double,boo[/U][/I][/B]l are of [B][I][U]4,4,1,8,1[/U][/I][/B] byte respectively in C++? are [B][I][U]arrays built in[/U][/I][/B]? if yes then kindly explain......thnx alot Software Development c++ | |
Does anyone know of a good tutorial on how to send data through a USB port? I've lately been trying to link my programming skills with my electronics skills. Thanks for your help. :) Software Development c++ | |
hi guyz i need ur help, i have this game with 5 files: 2 header files 3 cpp source files, we i compile it i get this error: error C2065: 'i' : undeclared identifier plz check the attachment, the files are there appreciate the answer :). Software Development c++ | |
hello! Im making a program that makes the numbers you input be divided into diffrent denominations which is in peso. example: i input: 1500 so the output will be BILL QTY 1000 1 500 1 my problem is, after it displays the output, I want the program to ask you … Software Development c | |
I'm fairley new to programming in general being a fresh IT graduate. Some software I am developing needs to be able to compress a folder in to a .zip file and later extract it while maintaining its file structure. I am able to do this but extracting the file takes … Software Development java | |
Okay, so C++ has no specific byte class, but what they do have is an unsigned char class to convert ints/doubles/floats to binary/bytes. In trying to convert some Java to C++, I am trying to keep some of the function signatures the same or close to the same, and in … Software Development c++ | |
I am trying to create a button that turns off a panel but when i debug it i get 'error C2064: term does not evaluate to a function taking 1 arguments' [CODE] private: System::Void go_MouseClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) { this->panel1->Visible(false); this->panel1->Enabled(false); }[/CODE] I would really appreciate some help. Thanks Software Development c++ | |
Hi! I am planning to create a system for my case study wherein i can Add tags from images and search for it by [B]"tags"[/B] such as [B]photobucket. [/B] For example i open an image to my system, and it's file name was [B]"WhiteHouse.jpg"[/B] and i added or[B] tagged[/B] it … | |
Hi, I have the following XML <ext-link xlink:href="http://....com">www....com</ext-link> in my xslt, when I have ... <ext-link xlink:href="{@xlink:href}"> .... When I ran it, it gave me error " namesapce error : namespace prefix xlink for href on ext-link is not defined. I tried to use "xlink\:href", it didn't work. How to … Software Development xml | |
Dear all, I would like to make a small script that does the following: I have a file that at some point there is a section: ... ... a heading is here .... 1 2 3 4 5 6 7 8 9 10 22 22 336 11252 12 25 3 … Software Development python | |
I tried below code... it's doesn't work as well... any got solution for this? Thanks. [CODE]using (OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\"" + fileName + "\";Extended Properties=Excel 8.0;"))[/CODE] | |
HI! can someone help me get the codes for this program.. Im still new to TC.. heres the criteria: 1. This program is for selling bread 2.There are 4 types of bread namely a b c d and each cost 1 2 3 4 respectively 3.each bread has a stock … Software Development c | |
So I'm working on this game, and I've been using "glaux.h" to load my textures, however I'm interrested in using JPEG's, so I found an example to do this on: [url]www.morrowland.com[/url], however, when I compile it (after fixing the errors), then I get this, on the linking state, any help … Software Development c++ | |
Hello folks, I have some doubt regarding the creation of header files and libraries using C. Suppose I am defining all the functionalities related to the Stack and I wan to create it as library, for eg. stack.C which will get me the object file, Stack.o in Linux OS and … Software Development c | |
I have to do my project in computing which requires extract data from excel to VB for further processes. I am a beginner. I know a little bit about VB and Pascal. Thank a lot | |
Hi guys, How to show certain files according the selected extension in openFileDialog() object??? Thanks [EL-Prince] Software Development | |
I have n!/((n-r)!r!) which I figured out how to make recursive: [CODE]int crn (int n, int r) { if (r==0||r==n) return 1; return (n-1)+(n-1,r-1); }[/CODE] how do I make it non-recursive? Software Development c++ | |
This is not seek for IDE thread but rather want just to know your beloved IDE. For Me, up to recently I used Eclipse but now I'm trying IntelliJ Idea community. Not very used to it but looks promising. What about you friend? | |
Hey, I'm new to programming in C++ So I just got done writing this and everything seems fine to me, but I got an errors. I've had many problems with compilers in the past, but I'm not sure if this is from the code or the compiler. If it helps … Software Development c++ | |
I have created a CustonControl (NOT a usercontrol) and defined a DependencyProperty as following: [CODE=vb] Public Shared ReadOnly HelpBrushProperty As DependencyProperty = DependencyProperty.Register("HelpBrush", GetType(String), GetType(ComboBox_with_helpBrush), New UIPropertyMetadata("Select..."), New ValidateValueCallback(AddressOf StringProp_Validate)) Public Property HelpBrush() As String Get Return DirectCast(GetValue(HelpBrushProperty), String) End Get Set(ByVal value As String) SetValue(HelpBrushProperty, value) RaiseEvent PropertyChanged(Me, New … Software Development vb.net | |
Hi , i am creating a consol application. In this, when ever an error comes, i neeed to pop up a message. So i used messagebxo.show. For this i have added [B][COLOR="Green"][COLOR="green"][COLOR="green"][COLOR="Red"]using System.Windows.Forms;[/COLOR][/COLOR][/COLOR][/COLOR][/B]. but i am geting the follwing error. I have made the output type for the application as … Software Development assembly | |
A lotto simulator with a twist, you pick the winning numbers and the computer buys the lotto tickets. Anyway, the computer at least generates the tickets and checks how many of them would match the winning numbers you selected. Let's assume you would be the state lotto commissioner and your … Software Development python | |
Hey all; I had a serious problem occur; after compiling and programming something in python for months, my computer crashed, and the 3 back ups I had of the program crashed within 24 hours after mine, so I lost ALL DATA. The only data I have is the exe program … Software Development python | |
Hello. I am not getting the right idea to the oracle table in the list box so can anyone please tell me how can i list the oracle sql plus table's column in the listbox. Thanks in Advance. Software Development oracle sql visual-basic | |
plz chk my code its giving error at line 45,49.also does it satisfies the requirement Problem Statement: Suppose we have a class named as Train it has two constructors, two methods, and a single attribute each of which described as follows:· One attribute:maxSpeed – an int value representing the maximum … Software Development c++ | |
hello please help me..can you give some idea on how to declare variables in local....and also how to declare variables in public...hoping for your positive responds Software Development visual-basic | |
Hi everyone, I am writing an[URL="http://www.8puzzle.com/8_puzzle_problem.html"] 8-puzzle Problem[/URL] Solving Program that utilizes the [URL="http://en.wikipedia.org/wiki/A*_search_algorithm"]A* (A Star) search algorithm[/URL]. I've come this far in completing the desired program, and somehow summed up to this: (entire source code posted below). But I can't compile it just yet due to this builder error: … | |
[INDENT][B][COLOR="Red"]URGENT[/COLOR][/B][/INDENT] Hi FRIENDS, Pls help me with this. I need to display a form/dialog with any grid which contains only checkboxes in the first column and data in the other two columns. And my goal is to retrieve ONLY the data from the columns where the checkboxes are checked. pls … Software Development sql visual-basic | |
I have a list box in my vb form. The list box is dynamically filled with components from my ms-access table. Now the user can select one, two or many options. For example: The list box has many softwares. 1. If user selects Windows XP and Office 2007 then those … Software Development sql visual-basic | |
i need to write a class for driver.cpp file [CODE] // Chapter 13, Programming Challenge 3 Driver // #include "Car.h" #include <iostream> #include <string> using namespace std; int main() { // Loop counter int count; string myMake="Porsche"; // Create a car object. Car porsche(2006, myMake); // Display the car that … Software Development c++ visual-studio | |
Everything compiles fine but it does not identify a straight. It will find straight flush though. A hand consists of 5 objects of the class CARDS which has 3 int variables(Value, Suit, Position). When I send a straight through it it goes all the way through to else and returns … Software Development c++ | |
Hello, I decided I want to make a game where you have to move a ball through a maze and make it to the end without hitting any walls, some of which are invisible!! The game is extremely far from completion, and will be until I learn how to overcome … Software Development python |
The End.