199,124 Archived Topics
Remove Filter ![]() | |
[code] public class Customer { private String name; private String address; private double totalPurchase; private double invoiceAmount; public Customer(String name, String address) { this.name = name; this.address = address; totalPurchase = 0.0; invoiceAmount = 0.0; } public String getName() { return name; } public String getAddress() { return address; } … | |
hay please any body can give me the code how to implement [B]forums [/B]using java | |
Hello I am trying to make an VB program to open an excel workbook and just open it. I have two forms. the first is a crude password system that if completed switches to form2. That is fine but i have no idea how to then make this form have … | |
i don't know if it allowed to ask like this,, but this triangle make me confused(coz i'm new in C++) but,can u teach me how to make it?/explain how am i supposed 2 do? the triangle is like this: [code] 1 2 3 4 2 3 4 5 6 5 … | |
I think I'm missing something really minor here, but after reading over both the html & the perl several times, I'm not catching anything wrong. Why isn't this page giving the proper output? [code] <html> <head><title>Jackson Elementary School</title><basefont size=5></head> <body> Click here.<br /> <a href="http://localhost/cgi-bin/chap02/c02ex2.cgi" /><img src="jackson.gif"></a><br /><br /> <a … | |
I'm having problem with my program here. See, I have an array of char* as data member in Action class. With the help of getFirst() function, I'm returning the value of the first element in the array. But, when I tried to print out this value in the test.cpp, it … | |
Hey guys! I found this site today and was wondering if you guys could help me out here. My teacher assigned us this homework assignment today. I was working on my code and was pretty deep into it, so I didn't here him explaining how to do it. He's kind … | |
Hi I have been trying to do some simple graphics with Visual C# 2005. I want to create a dial or pointer that acts like an analog speed indicator in a car. My initial attempts produce multiple pointers. What I obviously want is just ONE pointer moving. I am drawing … | |
Customer: customerId, customerName Order: orderId,customerId,product, date, productDefinetion I want to display the order which is the latest order from the customer and I want to display all customer Name Example: customerName product productDefinetion John Video bla bla bla Maria ------ ----------- ![]() | |
Is there a simple way to send an email in C# without any extra DLLs? Any help on this would be appreciated. Thanks SiPex | |
Im currently doing a media player, ripper and burner and was wondering if anyone could help me with a few things. Im looking for - how to create a display to show track name, slider bar, track time etc. - how to create a playlist (can you use custom list … | |
This is a general discussion. [B]Now a days file sharing through torrents has become very popular. People are actively participating in sharing the illegal and copyrighted matrilas like movies, songs, games and other stuffs. [/B] [U][COLOR="red"]Even though knowing that their IP can be traced out from the trackers people are … | |
I want to output code{formated with color} to a .doc{or .odt} file or an html file for a report.... How can i do this? PS::tell me if i don't phrase the question well, so i can rephrase it! ![]() | |
I want to make game like Gunbound. This will be multiplayer game played via internet. Can someone help me to know how to go about creating such a kind of game. | |
hello friends i need help about the "Extension" part pls help me.. a menu driven c++ program using case/switch that gives the user the following options: A. Fahrenheit to Celsius Converter B. Celsius to Fahrenheit Converter C. Inches to Feet converter D. Feet to Inches Converter The program should work … ![]() | |
Hi friends, please help me to solve this. i need to read the elements from xml file.I am using sax api. My xml looks like this :-> <test> <test1>hello1</test1> <test2>hello2</test2> <test3>hello3</test3> </test> In my startElement(...){ elementName.equals("test"){ //I need to get all the elements inside the test element.ie test1,test2,test2.with out going … | |
Hey Guys, can you suggest any Open Source Application Server for SOA deployments. Also, wondering, if our needs are somewhat lightweight, is there some lightweight open source Application Server you could Suggest. | |
I've just started working with Perl. When I try and run a check or anything on a script at the MSDOS prompt, it tells me " 'perl' is not recognized as an internal or external command, operable program or batch file. The CGI files show the right icon beside them, … | |
Hello all, I have done with this code Output : Enter n = 5 2+4+6+8+10 = 30 I compile with Turbo C++, version 3 here is my code [code] #include <iostream.h> #include <conio.h> void main() { clrscr(); int n, sum=0; cout<<"Enter n= "; cin>>n; for (int i=1; i<=n; i++) { … | |
[code] #include<iostream.h> #include<conio.h> typedef class { int i; float b; public: obj() { cout<<"\n Is this constructor \n"; } void show() { cout<<"fkjhfg"; } }obj; void main() { clrscr(); obj o; o.show(); getch(); } [/code] In this code ,of Anonymous class object is calling the show function ,but its constructor … | |
Hi Friends, I'm having a kind of anoying problem, I have a ObjectDataSource with a Select with parameters, one of them receives its value from a DropDownList and the others from textboxes, this dropdownlist parameter seem to not working, and the textboxes are working fine... The gridview just dont show … | |
Okay, I need my output to be numbered. I know the index code works but idk how to use that. However, i also need to know how to do the if/else statement, so that if the output is "0", then they dont get an index, they just recieve "0" | |
Hi all, need some help. I've just built a (REALLY) simple hit counter to add to my website, and was forced to use ASP.NET. (but im not using visual studio at the moment). I created a class file (counter.cs), and placed it in the App_Code folder. It was my assumption … | |
hi , please , i have problem and i need help ......................... in calendar i want to get [U]name of day [/U] from it how ? if user select 21/9/2007 i want to get name of day "friday" to use it in anther funcation :( | |
I Have A Web Browser Project Made In .NET Using The Browser Control In The Visual Studio Express Edition But When I Click On A Link In The Browser Control It Opens Internet Explorer, Could Any One Tell Me How To Intercept Those Events So I Can Open The Link … | |
I am trying to use BeautifulSoup: soup = BeautifulSoup(page) td_tags = soup.findAll('td') i=0 for td in td_tags: i = i+1 print "td: ", td # re.search('[0-9]*\.[0-9]*', td) price = re.compile('[0-9]*\.[0-9]*').search(td) I am getting an error: price= re.compile('[0-9]*\.[0-9]*').search(td) TypeError: expected string or buffer | |
Could someone possibly post a brief explanation of the differences between member and nonmember operator overloading? ![]() | |
Hello All, I am trying to parse an ArrayList of Strings into an ArrayList of integers. Does anyone have any opinions on how this should be done? I can parse one element, but parsing the entire string where I am having problems. Any suggestions would be great. Thanks | |
Hi I have made a HTML Form with check boxes and text boxes for submitting data to the database table Problem is it does not capture the values in the text boxes array but captures the one on the check boxes but the values in the text boxes is blank … | |
hi every one in my vb.net program I need to keep track if the buttom had been clicked befor or not or how many times it had beed clicked. I cant find the property can u help me please. thanks in advanced | |
Good evening everyone. Im now going to do my final year project and its about creating mobile application for a university student.I would like to use the java platform to create the application. I need some advises and also the right tools to create the application. So programmers i really … | |
I cannot make my code loop.... Anyone please help! /* PRG420 Week 2 Individual Project Amanda Cornwell September 10, 2007 MortgageProgramCornwell.java This program will calculate and display the monthly mortgage payment amount, given the amount of the mortgage, term of the mortgage, and the intrest rate of the mortgage. Next, … | |
when we click on BOLD tab up of this texarea then [ b][ /b] tags are appeared inside the textbox..........How can I use this process in my text area...........help me giving the idea or any type of code | |
Hi, I'm having a problem using GCC 3.4.2, I'm getting 2 warnings at these lines: [code] int check_format(char array[]){ int i= 0; -------->while(array[i]!='\0'&&array[i]!='\n'){ --------->if( (!isdigit(array[i])) && (array[i]!=' ') && (array[i]!='-') && (count==9 && array[i]!='X') ) program.c:50: warning: subscript has type `char' program.c:53: warning: subscript has type `char' [/code] On GCC … | |
Can we fix the terminal(console) size according to data displayed? I am working in c++,and my O.S is kubuntu.Using c++ i can align the data displayed in cosole, but before i want to change the terminal to a particular size.otherwise it is not aligned the data. Any way to change … | |
hi!! I need to know I can connect to a port using vb6.0.more specifically to a port that can either control a motor or a port that cantake analog signals or digital signals.any resourcethat can help me solve this problem will be of great help. | |
Hello guys, I was wondering can any body tell me a web link to get me started on building a player using directshow to play video and audio using c#. or u can mail me an example code at "zee_ady_uaar@yahoo.com" , i'll be really grateful. thanks. | |
Hi, i want to get an xml file from a web application. what are the procedures to access the file. | |
I have an SSTab in my project. I want after I click a command button in Tab 1(now i am in tab1 of the ss tab) to be taken to tab2! Thank you Any help appreciated | |
Hi, i am doing a [B]payroll calculation[/B] using vb and access. In this, if a user clicks the search button, it should ask the emp_no and if it is present, it should display it. for this i need the codings. I tried some codings, but it doesn't works properly [B]Additional … | |
This is a lab I am working on. I think that I am on the last step. My problem/question is highlighted in bold. 1. Create a constructor that allows you to specify the 2 endpoints of the line being created. Leave the original constructor alone. Your program should have 2 … | |
Hi Everybody... I'm very new and this is my 1st time using VB Studio,I would like to create a forum using ASP.net. Please help and guide me.. Thank you in advance | |
Hi I am new to the forums and to Python! I am having trouble displaying a text menu in the following format 1: Name 2: Name 3: Name It displays it correctly but then it gives an error message: Below is the code with output and error message. #CreateMenu.py #Create … | |
Can anyone help me anything related to --- how to draw 3D objects like sphere, cone, arrow, ring etc. I am new to python but know the basic language. Thanx, Anjali | |
I want to assign a TCHAR char array to std::string in VC++ 2005, how should i do that? a simple assignment gives error i.e TCHAR buffer[MAX-1]; std::string data; //some operation for filling the buffer data = buffer; //This gives error Plz help me in doing this operation. | |
Hi I'm looking to write the contents of a text file to an array and view one line at a time in a listbox. When I say one line at a time I mean only view one line in the listbox and as It loops through the text file the … | |
Hey everyone. I need to write program that builds an object of Pizza class and then pass that object to Order class. here's my Pizza class: [code]class Pizza { public: void setCheeseToppings ( int ) ; void setPepperoniToppings ( int ) ; void setSize ( string ) ; void setType … | |
Hi All I am trying to connect mysql and VS 2003 but i am unable to do the connection, which makes me wonder if the are compatible. Can someone tell and also give me the code for connection. Thanks in advance. | |
Hello, I was interested in getting a forum going. Whats the best software, as far as ease of use and seo friendly. All comments and tips are appreciated! | |
I've been learning the .NET framework in vC++ for a while and I'm thinking of going to C#. I'd like to here the opinions of others who have experience with both. Thanks. ![]() |
The End.