199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for samehsenosi

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 …

Member Avatar for sknake
0
114
Member Avatar for aladar04

[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: " …

Member Avatar for aladar04
0
104
Member Avatar for Clawsy

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 …

Member Avatar for Clawsy
0
3K
Member Avatar for Justin12345

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 …

Member Avatar for aladar04
0
504
Member Avatar for Clawsy

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 …

Member Avatar for Clawsy
0
1K
Member Avatar for Excizted

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 :)

Member Avatar for mrnutty
0
96
Member Avatar for atrusmre

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 …

Member Avatar for thikkamsantosh
0
98
Member Avatar for beforetheyknew

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 …

Member Avatar for Phaelax
0
118
Member Avatar for Ash_Pokemaster

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 …

Member Avatar for Ash_Pokemaster
0
2K
Member Avatar for ShadowScripter

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 …

Member Avatar for Excizted
0
934
Member Avatar for eduard77

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

Member Avatar for Excizted
0
163
Member Avatar for tqmd1

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]

Member Avatar for Stevoni
0
101
Member Avatar for shock1

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 …

Member Avatar for Narue
0
340
Member Avatar for shridharmaster

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" …

Member Avatar for GreenDay2001
0
116
Member Avatar for overpower8

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, …

Member Avatar for overpower8
0
108
Member Avatar for ayesha789

[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 …

Member Avatar for JRM
0
119
Member Avatar for sadiyadhansay

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

Member Avatar for sadiyadhansay
0
225
Member Avatar for blue3hree

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", …

Member Avatar for zalezog
0
227
Member Avatar for punter999

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 …

Member Avatar for vegaseat
0
127
Member Avatar for babaidebnath

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 ?

Member Avatar for MxDev
0
135
Member Avatar for MxDev

Hi guys, how to make a button the default action for a textBox specially when Enter button hited??? Thanks [EL-Prince]

Member Avatar for MxDev
0
73
Member Avatar for gedas

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 …

Member Avatar for gedas
0
65
Member Avatar for yup790
Member Avatar for MxDev
0
104
Member Avatar for buranda

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 …

Member Avatar for as.bhanuprakash
0
88
Member Avatar for scarface9477

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 …

Member Avatar for scarface9477
0
2K
Member Avatar for randomkid73

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 …

Member Avatar for marco93
0
111
Member Avatar for localp

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 …

Member Avatar for localp
0
38
Member Avatar for k2k

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] …

Member Avatar for javaAddict
0
131
Member Avatar for sunshine24

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 …

Member Avatar for sunshine24
0
163
Member Avatar for Jayakrishnan_gk

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 …

Member Avatar for Jayakrishnan_gk
0
73
Member Avatar for Emmaliu

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 …

Member Avatar for kanchanraaj
0
1K
Member Avatar for SJai

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 …

Member Avatar for FlashCreations
0
1K
Member Avatar for SunnySideUp

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) ? …

Member Avatar for FlashCreations
0
126
Member Avatar for nguyen duy khoi

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 …

Member Avatar for ankurnit
0
221
Member Avatar for instinctfx

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 …

0
74
Member Avatar for bords

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... …

Member Avatar for avirag
0
122
Member Avatar for NargalaX

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 …

Member Avatar for NargalaX
0
287
Member Avatar for ShortYute

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 …

Member Avatar for WaltP
0
129
Member Avatar for johndoe444

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 …

Member Avatar for WaltP
0
79
Member Avatar for drspock

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 …

Member Avatar for GajananPund
0
92
Member Avatar for chicago1985

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>(); …

Member Avatar for javaAddict
0
84
Member Avatar for yup790

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, …

Member Avatar for Wards
0
154
Member Avatar for farooq82

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 …

Member Avatar for farooq82
0
92
Member Avatar for amisopno

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...

Member Avatar for hemgoyal_1990
0
119
Member Avatar for redZERO

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 …

Member Avatar for javalearn
0
587
Member Avatar for compovet

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 …

Member Avatar for compovet
0
221
Member Avatar for Chopinson

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 …

Member Avatar for Chopinson
0
134
Member Avatar for finalist

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 !

Member Avatar for finalist
0
1K
Member Avatar for timtianchen

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!

Member Avatar for timtianchen
0
80
Member Avatar for beppeilbuono

I would like to print a Web page with javascript method window.print() without pages number and footer. it's possible ?

Member Avatar for jokohu
0
214

The End.