199,114 Archived Topics
Remove Filter ![]() | |
Hi Everyone hi was trying to call a different and Anonymous objects into my form but i can't reach to the right method tyo do that my matter here is falls under calling a tree view.... i mean any tree view !!! i was trying to handle this code but … | |
[CODE]/*manimbo_mp5*/ import java.io.*; public class manimbo_mp5{ public static void main (String[]args) throws IOException{ BufferedReader br=new BufferedReader (new InputStreamReader (System.in)); Integer x=8,y=1,heads=0,tails=0; String ht=""; while (x>0){ System.out.print ("Enter toss #" + y + " result: "); ht=br.readLine(); if (ht=="h"){ heads++; } else if (ht=="t"){ tails++; } x--; y++; System.out.println ("Tails: " … | |
Hello, I have to take a snapshot of my screen and send the image to a client using Datagrams. I think my problem is at the client part. The image is null, and I don't know why. Here is the server part. I tried to send 534 byte packets (bigger … | |
This is due in 2 days its supposed to be simple but i just cant get it. Write a program that will print out statistics for a user-specified number of coin tosses. First the user should be asked about the total number of coin tosses possible. For this project, the … | |
I'm am trying to send over socket a very big array - length about 1300000 .... and I use ObjectInputStream and ObjectOutputStream. The problem is when I read the input stream... I get this exception: java.io.StreamCorruptedException: invalid type code: FF at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at objectThread.run(objectThread.java:27) [CODE] //ois is the … | |
Hello. I'm wondering if I'm duplicating this class by doing the following. [CODE]SimpleClass *point; SimpleClass sc; sc.somevalue = something; point = new SimpleClass(sc);[/CODE] This post is quite tiny, I'm not being lazy, but I couldn't think of anything else needed for this question. Thanks :) | |
I have a program that I'm writing that connects to a database, calls a new form , and dynamicly creates controls (textbox, and label) for each item so that they can be edited. The problem I'm having, is I don't know how to pass these values back to the main … | |
Hi guys, I'm still quite new to programming and have an exam soon where we have to hand-write programs(no IDE). Never done this before, just you guys all give fantastic guidance, i wanted to see what you all thought. Any general advice would be appreciated! Theres some small things im … | |
Hello pals. We're having a project to make a Backup and Restore program in Python. As we think that making a GUI is of course very important, we started using Tkinter after initially trying wxPython which was kind of difficult given the time we had. Either way, we made a … | |
Hey, I've been working on a project for a while, and had some difficulties at the beginning with the d3dx9.h and lib files, then after some threading here I got the help I needed, or so I thought. It worked well until I decided to make a new project, using … | |
Hello I am rather new in visual c++ and I learned to code but I didn't find in any book how to ad an interface to my program. So please tell give me some references where from I could learn how to add a proper interface in visual c++. Thanks | |
Dear Programmers What are the possible alternative codes against following codes [CODE]If Len(PasswordTextBox.Text) > 0 And Len(PasswordTextBox.Text) > 0 Then MsgBox("ok", MsgBoxStyle.Information) else MsgBox("Enter User Name and Password", MsgBoxStyle.Information) End if [/CODE] | |
Write the definition of a function printGrade , which has a char parameter and returns nothing. The function prints on a line by itself the message string Grade: followed by the char parameter (printed as a character ) to standard output . Don't forget to put a new line character … | |
Hi friends, I have created the no.of div tags in my website applications. Now i want to change the class name of the tags. How should I? Below is some code which i want to change:- <test.aspx> [CODE] <tr> <td style="width:100%;"> <div class="roundedcornr_box_203203"> <div class="roundedcornr_top_203203"><div></div></div> <div class="roundedcornr_content_203203"> <iframe id="Graphframe" name="Graphframe" … ![]() | |
Hello. I have a program that reads from file, modifies its content and saves. But there's a problem - when i write only one block of data, two of them are been written! [CODE]class person { ... }; ... person User; fstream File; File.open("file.dtb", ios::in|ios::out|ios::binary); // Adding 1 record: File.seekp(number, … | |
[B]I want result as Not Available if value is null or 0000-00-00 or 1971-01-01[/B]Hi, this is a code , which I used for showing results from 3 tables. Lease_North is my main table. When I join with another 2 tables using Left, if there is not value exist in table … | |
hello, i m fresher in php. i m having problem getting following display in "multi level combo box" 1. 1.a 1.a.1 1.a.1.1 1.a.1.2 1.a.1.3 1.b can you please help me how it can be done ? thanks sadiya | |
please answer me.show why my code does not loop and it repeats question number 1. [CODE] #include <stdio.h> #include <stdlib.h> #include <time.h> /*prints the ASCII art for "FAIL"*/ void ascii_fail(void) { printf(" /%c__%c /%c %c\n", 92,92,92,92); printf(" /:/ _/_ /::%c %c ___ \n", 92,92); printf(" /:/ /%c__%c /:/%c:%c %c /%c__%c\n", … | |
i want to create an editor GUI in wxpython with all the menu bar options and other things.kindly let me know if something similar has already been done or not if yes please let me know some of the dummy example so i can get an idea how to start … | |
Hello guyz, Presently I am having a problem with printing in c#. I have a pre printed bill, and I need to print values into some specific points of that bill. Any suggestion ? | |
Hi guys, how to make a button the default action for a textBox specially when Enter button hited??? Thanks [EL-Prince] | |
hey everyone, i got a website that works with ajax, well simply what it does is that when you start typing customers name it shows the hint about what names you could be trying to spell. i want to change this so it wouldnt show the name sugestion but it … | |
can someone suggest a good [B]free[/B] online tutorial for c# thx:) | |
Hi. Assume there are contents in DB as follows. ------------------------ name favorites John cat Peter dog ------------------------- If as soon as I enter "John Peter" the following screen should display with no page movement. Input: John Peter Output: :The favorites: John cat Peter dog Is it possible to impliment? Give … | |
I am starting out in programming and have little knowledge of Java. I use linux and after a while got sick of using gedit and javac to learn. So I now use eclipse. I am trying to get input from a text file and when I write the code I … | |
![]() | Hello, I have done some research and keep getting results to hide the console window. What I would like to do is to hide the output of a command. For example, I have a segment that renews the PC's IP connection, so I get a long stream of the new … |
I need to OCR a image and get the text of it .. i wanted to do this in java but , i found out that its hard to implement it that way. so i am trying to do this in C++ .. is there any possibility to do this … | |
hi, please assume it is already connected to the access database( it is connected) since i could get all the data out and put them onto a JTable. What is wrong now ... is that i am trying to insert new data to the access db and i got [code] … | |
Hi This my first c programme.It asks 5 objective questions and displays the result at the end. [B]But when i compile it and run, it asks only for variables A,C and E .It doesn't ask for the inputs to question no. 2 and 4.It only displays these questions and skip … | |
Hi. I am planning to create a software for Customer Relationship Management (CRM). Somebody please suggest a robust development framework that is open source, easy to use, scalable, easy to make web based application. I have a lot of tables in my database. And speed is very important. I was … | |
Hi everyone, I'm new here and I'm new to C# program. I want to create a user name and passward verify windows application. I did some research, and finally get to connect to the database. Now I want to display the whole table which stores all the information. I know … | |
Hi i need the help of how to access the PHP files values from the External JavaScript. I have read we should keep Header("content-type: application/x-javascript"); this line in PHP. I have done everything, if any one can explain this with Example code and please explain how to use the value … | |
Hi, I am trying to Paginate Query Results. The values are passed through a form allowing users to search a database based on certain criteria they select. Now I got two problems though, 1) I can't get all the results from the database(as not all the criteria is working) ? … | |
this is the small game using mouse device, I write it in turbo C++, it is a example about using asembler in Turbo C++, but when I write it in Visual C++ 6.0, It haves many error, I think it is a big difficult. Could you help me solve this … | |
Hi Im writing an application that uses the Microsoft Tablet PC api's When im trying to set the FACTOID for an ink recogniser, im getting an OLE Error that i cant seem to find a plausable explanation for The code is this [code] vPicture := (Components[i] as TInkPicture); case vPicture.Tag … | |
hello everyone.... can you please give me a code on a registration form... what i mean is that how to write a code in which you are going to design like a registration form then if you are going to fill-in the info, it will be stored to a database... … | |
Hey, I'm making a math bot, and when you type in your equation it converts the numbers to doubles right away. Except, when doing any equation with a decimal, the decimal is ignored. Example 2 + 2 = 4 (No decimals, it works fine.) 2.2 + 2 = 24 (Decimal … | |
I am trying to search a file (I have searched the forums and have found some treads but they do not really help me to do what I want) directly using fseek and strcmp but its buggy and gives off by one errors and such. The reason I did not … | |
Hi, Is there a way to set stderr such that it does not print on screen rather on file. I have spawned a couple of threads and they are dumping all the error messages on the screen like a maniac and giving me a headache. Some help would be highly … | |
Hi, I am attempted to use .NET's SMTPClient to send e-mail. I get no error messages or exceptions, yet the e-mail does not get sent. I have set the SMTPClient.DeliveryMethod to PickupDirectoryFromIis because I was getting an error message of Mailbox unavailable before. Now I no longer get that error … | |
I am getting closed exception messages with my below jdbc connection to Oracle 9i from Tomcat 6 container. The database connection is used about once or twice a day. [b]java.sql.SQLException: Closed Statement[/b] and [b]java.sql.SQLException: Closed Statement: next[/b] [code] private Connection connection; public ArrayList<MoneyBean> getMoneyList() { ArrayList<MoneyBean> list = new ArrayList<MoneyBean>(); … | |
Hi. I have for a while wanted to know how to make games. Please could someone say what is a good [B]free[/B] programming language/software to use. i am not a begginer as i know quite a bit of vb.net, HTML, css and a small amount of other laguages like python, … | |
I am working on site [url]http://www.turnkey-solutions.net/[/url] is working on local system. Its also work on live server but I click on any link its give the error. I don't know how to encounter that error can some one help me out from this problem. [CODE]Server Error in '/' Application. Parser … | |
Hello, I am a new user. This is awesome community . Hope I will have right way.. Have a look at [url]http://eprothomalo.com[/url] How I can develop such website. Each there any opensource reference or any paid reference. Thanks in advance... | |
Hi guys I am trying to build a program which scans data from a text file, but I keep getting an error when trying to compile it. The code [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.Scanner; import java.io.*; class anything extends JFrame { public anything() { File stuff … | |
I want to save the page setup dialog setting because I want the user to choose the setting one time and this setting will be constant for the application I searched for this but I didn't find any thing or I want to set the page setup dialog setting by … | |
I'm trying to get on a professor's research project. He told me that at my level the best way to get involved is to help program this visual simulation thing for him. So I read through the first 11 chapters (Part 1 "the C# language") of Professional C# 3e by … | |
I have a symmetrical matrix [B]A[/B] 8 x 8. First I need to find matrix [B]B[/B] = [B]A[/B][sup]T[/sup]*[B]A[/B]; Next I need to inverse B and find [B]C[/B] = [B]B[/B][sup]-1[/sup]; Help please ! | |
I am coding a program that requires a dynamic 2-d matrix. it is a finite element analysis program using stiffness method to give you some context. Can someone suggest a good free library for matrix operations? Thanks! | |
I would like to print a Web page with javascript method window.print() without pages number and footer. it's possible ? |
The End.