43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Mr.BunyRabit

This must be the Most Irritating Bug or what ever it is, EVER!!!! Im using Netbeans 6.9.1 and i have a main form, with a JMenuBar (dropdown bar) in that form. Now i have allot of items in that bar. But netbeans chooses some random time to remove 1 to …

Software Development java
Member Avatar for Mr.BunyRabit
0
135
Member Avatar for aminit

Hello ALL: In my form there is a textbox and label ,I want when I input a text when I'm inputting the first letter in the label value must be 1 if I input 2 letters in the label value it must be 2 ...etc... Any idea????

Software Development
Member Avatar for niru21
0
222
Member Avatar for pwolf

i have been working on this course work i got my hands on to learn python, and i have just been working on an exercise, i was wondering if i perhaps cheated though? The exercise says the following; write a function that takes a list of real numbers and returns …

Software Development python
Member Avatar for pwolf
0
293
Member Avatar for bilal_fazlani

I saw the adobe pdf viewer control in vs2010 toolbox somewhere. and I thought it can be very useful. So I tried to add it. [url]http://img155.imageshack.us/img155/3349/choosetoolboxitems.jpg[/url] as I expected things are never simple for me, when I try to drag it to the form. there'a an error. [url]http://img214.imageshack.us/img214/8042/errorrp.jpg[/url] any idea …

Software Development adobe pdf vb.net visual-studio
Member Avatar for bilal_fazlani
0
2K
Member Avatar for Blahthing

I was making an item for a game im modding, but it cant seem to read the variable and perform its function. Yeah, it recompiles fine, but dosent work ingame The functions that dont work ingame, are -Printing A Chat Message To An Entity -Setting Variable Timesshot to 0 -Damaging …

Software Development java
Member Avatar for Blahthing
0
147
Member Avatar for ng5

I'm writing a program in visual basic 2010 express and i have a combo box. in that combo box there are 3 selections 20 25 and 30. at first i had a percent sign in front of each but i wanted to take it out... so i took out the …

Software Development vb.net visual-basic
Member Avatar for ng5
0
347
Member Avatar for skiabox

I am reading the book Head First Java. Reading the chapter 'networking and threads' I tried to run a project in my Eclipse IDE that consists of a chat server and chat clients. The problem is that I am getting no feedback in the clients text area and debugging seems …

Software Development client-server ide java java-swing
Member Avatar for skiabox
0
354
Member Avatar for mehnihma

Can someone help me with this? I have proble with Array Lists , As you can see in the ouput I get same values but I need to put in different values , what am I doing wrong? Thanks in advance and Happy New Year! [CODE] import java.util.*; public class …

Software Development java
Member Avatar for mehnihma
0
643
Member Avatar for smurfy

Hii , Data reader reads table rows into the 2d array. The array fills with the last row of the table. How many loops are there?. Why :?: [CODE] Input Table : ----------------------- id red green blue 1101 12 11 13 1102 12 12 14 1103 13 14 13 ------------------------ …

Software Development c++
Member Avatar for smurfy
0
116
Member Avatar for chris99

I'm having trouble with an application in Tkinter. The program displays a button that has a picture on it and that button takes you to a website about that picture, but that is not where the issue lies. There is another module that I have found on an internet tutorial …

Software Development python tkinter
Member Avatar for chris99
0
2K
Member Avatar for Karlwakim

Hi everybody, I am new c++ and a few days ago I downloaded Qt for gui developing, I found some videos about it but I need something more advanced. Videos from basic to advanced ?? If i watch all of [URL="http://www.youtube.com/playlist?list=PL2D1942A4688E9D63&feature=plcp"]these[/URL] , will it be enough to make professional apps …

Software Development c++ gui qt visual-basic
Member Avatar for Karlwakim
0
229
Member Avatar for smurfy

Hi all, I just try to input integer typed table rows into 2D integer array. I've tried the code below but it outputs me only last row :( [CODE] Input Table : ----------------------- id red green blue 1101 12 11 13 1102 12 12 14 1103 13 14 13 ------------------------ …

Software Development c++
Member Avatar for thines01
0
157
Member Avatar for manhthaodn

Below is my code to convert from decimal to binary: [CODE]#include "stdafx.h" typedef struct tamNode { int Into; struct tamNode *Next; }Node; typedef struct { Node *Head; Node *Tail; }List; void createList(List &l) { l.Head = NULL; l.Tail = NULL; } Node* createNode(int x) { Node *p; p = new …

Software Development c++
Member Avatar for WaltP
0
394
Member Avatar for JavaPrograms

My task is to: Pick 10 of my favourite NBA or NHL players from 2 top teams and display the player name, team name, points, rebounds, and assists for each of them. I then have to store this information as a table in a .txt file (This part is completed). …

Software Development file-system java
Member Avatar for David Kroukamp
0
427
Member Avatar for aashishsatya

Hi, I'm a student and I've been using Turbo C++ (v4.5) for over a year now (that's what they teach us at school). I just attempted to try writing a simple code in Microsoft Visual C++ 2010 Express. I've even had a few successful runs, but when I look into …

Software Development c++
Member Avatar for thines01
0
194
Member Avatar for WolfShield

Python was my first programming language and I have been programming for about 5 years now. I LOVE Python, but there is one thing I haven't got myself to believe yet. In the Zen of Python one of the entries is: "There should be one, and preferably only one, obvious …

Software Development python
Member Avatar for WolfShield
0
245
Member Avatar for Hawkpath

Hello DaniWeb, its been a long time! Anyway, I'm trying to put classes and functions inside .h files and define them in respective .cpp files. Whenever I try this, I get a weird error that I think has something to do with my constructor: obj\Debug\main.o||In function `_static_initialization_and_destruction_0': | main.cpp|33|undefined reference …

Software Development c++ ide
Member Avatar for Hawkpath
0
8K
Member Avatar for khizer03

in a form i have a listbox which has many items and one button,when we execute the project and while execution when i click a items from the listbox it will display the clicked item on the button but the problem i have is how to display the same clicked …

Software Development gui vb.net
Member Avatar for codeorder
2
270
Member Avatar for KingAudio

Well, I just started programming in C++, this is my 3rd day and I finally built my first basic program. Just a basic calculator that takes two numbers and either multiplies, divides, adds, or subtract them. I do not know how to make a menu in C++ and I'm just …

Software Development c++
Member Avatar for eckoro
0
145
Member Avatar for tcl76

hi, i would like to parse an input file (input.txt) into output file (output.txt) which i'll into excel. appreciate any advice on how to parse the input.txt into output.txt. thanks johnny

Software Development file-system python
Member Avatar for tcl76
0
224
Member Avatar for gourav1

[CODE]PrintWriter file= new PrintWriter(new FileWriter("league1.txt",true)); file.print(value1); file.print(','); file.print(value2); file.print(','); file.print(value3); file.print(','); file.close();[/CODE] i m using this code to write in a file.. i m using this in servlet.value1, value2,value3 are Strings. and i wana to write it in file named "league1.txt". i have made this file in WEBPAGES folder in …

Software Development file-system java
Member Avatar for gourav1
0
270
Member Avatar for anand01

[CODE] Set<Integer> set = new HashSet<Integer>(); Integer i1 = 45; Integer i2 = 46; set.add(i1); set.add(i1); set.add(i2); System.out.print(set.size() + " "); set.remove(i2); System.out.print(set.size() + " "); i1 = 47; System.out.print(set.toString()); set.remove(i1); System.out.print(set.size() + " "); [/CODE] The result of this code is 2,1,1 but my expectation is 2,1,0 Could any …

Software Development java
Member Avatar for anand01
0
117
Member Avatar for scheppy

I have a extremely small problem, I think its my own fault, but i just cant seem to find what it is. I'm making a program with a gui, and in the gui there is a main menu with 2 JButtons. When I click on a JButton the JPanel/JFrame is …

Software Development gui java java-swing
Member Avatar for scheppy
0
167
Member Avatar for KillerOfDN

Hey guys/girls... I am looking to constantly check to see if a variables value has changed. An example below might be simular ' If the value of this variable ever changes - perform some action Dim str As String = "" However, using a timer seems inefficient as I have …

Software Development vb.net
Member Avatar for elbakai
0
11K
Member Avatar for fredfletcher

Hello, I've searched far and wide for an answer to a question that I have, but did not find anything that could help me achieve what I would like to do. I have a delimited text file (CSV) with fields that resemble these below that repeats/resemble 18 times (I only …

Software Development perl
Member Avatar for fredfletcher
0
129
Member Avatar for galhajaj

Hi :) i am having a hard time understanding the concept of event & delegate. i think i understand that one object start an event and some other objects can react while the event start. but why is that different from the observer design pattern? or how is it different …

Software Development
Member Avatar for thines01
0
146
Member Avatar for dennysimon

hello all my part of code give me message to recompile with -Xlint:unchecked How to fix this code so the message gone thank you denny [CODE] if(file.exists()) { FileRead fr=new FileRead(); String astring=fr.Read(filePath); System.out.println(astring); /* delimiter */ String delimiter = ","; /* given string will be split by the argument …

Software Development java
Member Avatar for dennysimon
0
2K
Member Avatar for baby_c

hi friends.! need little help. I couldn't find the way to check a stack is empty before pop up a element. when my program is running its give a error. please help me guys.. thank you in advance....

Software Development c#
Member Avatar for thines01
0
4K
Member Avatar for bangor_boy

Please help before i go mad, i need to use the update in the main class to access the list in the footballadmin and then display each in a list box but i cant get it to work. [CODE]Imports Football Public Class FootballAdmin Private fTeam As List(Of FootballTeams) Public Sub …

Software Development vb.net
Member Avatar for bangor_boy
0
195
Member Avatar for Kanoisa

Hi all, This is quite a specific question with a relatively large amount of explaining so ill try to make it really short to try save peoples time. In a nutshell what i have is a large csv file and im trying to search a particular entry (line in the …

Software Development c++ file-system
Member Avatar for Kanoisa
0
1K
Member Avatar for shandoosheri

Hi all and happy new year I need to detect whe the mouse leftclick is being held while moving the mouse upward so how can i do that Thank you

Software Development pc-peripheral
Member Avatar for shandoosheri
0
140
Member Avatar for thejoker011

hello everyone... i need some good open source Graphs and Charts gui(2d and 3d) for java. Please suggest me some.

Software Development gui java open-source
Member Avatar for peter_budo
0
303
Member Avatar for akingcool

I am trying to design a file reader with some sort of GUI so I decided to use JOptionPane. I am a complete noob trying to learn java. So far, I have managed to make my program produce a pop up for the file location, and also an error message …

Software Development gui java user-interface
Member Avatar for mKorbel
0
3K
Member Avatar for Vasthor

Ok, here I come with a some sort of big analysis with pointer, array, vector, iterator and address of memory... using this input: [CODE] // hakim makan nasi // ayam yang basi // sambil tengok // hafiz yang tergelak // gelak [/CODE] with this code: [CODE] #include <cstring> #include <iostream> …

Software Development c++
Member Avatar for Narue
0
223
Member Avatar for Sophiron

I have a VB.net application that gets data off our server with ODBC and populates and saves a Word Document. When I try to deploy it to another computer it will get the data just fine and populate the first document, but it will crash before saving it. I've installed …

Software Development microsoft-access vb.net
Member Avatar for Sophiron
0
129
Member Avatar for srm2010

I have an Mdiform which with help of menustrip opens Form1. From this form(Form1) I open another form i.e Form2.which I want also to be a part of my mdiform I created property of mdiform and mapped it in my form2 when it loads.but still it does not become a …

Software Development vb.net
Member Avatar for Pgmer
0
203
Member Avatar for galhajaj

Hi :) i am creating a game in C# the game contain a lot of windows and views i heard about mvvm & mvc design pattern but when i search for them i get only things that relative to asp & wpf... and those are (if i dont get it …

Software Development software-architecture web-design
Member Avatar for surajrai
0
294
Member Avatar for gourav1

hey! i have made a List object as follows: List error = new LinkedList(); and then as per my requirements, i have added strings in it. like error.add(); like this. so, now at some time, i want this list to be empty, so i was doing error=null; which is giving …

Software Development java
Member Avatar for gourav1
0
140
Member Avatar for Mr.BunyRabit

Hey there, is there a way to convert a string to a tree path? i can convert a path to a string, but not the other way around... [CODE]jTree1.getSelectionPath().toString()[/CODE] thats the only way i know.. nooo idea how to convert it back??

Software Development java java-netbeans
Member Avatar for Mr.BunyRabit
0
881
Member Avatar for Mr.BunyRabit

Hey there. I have a program that uses access, and everytime i go to install it for some one i have to keep my fingures crossed and hope they have office installed on their pc. Is there a way to run my program without buying microsoft office? (using access database) …

Software Development java microsoft-access microsoft-office
Member Avatar for Mr.BunyRabit
0
804
Member Avatar for shann1718

hello guys im a newbie started studying vb.net 2010 on last week of december 2011. in my first form i have a datagrid havng access 2003 as db. on my second form i have textboxes. now what i need to do is when i clicked a specific row of my …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
124
Member Avatar for tcl76

hi, attached is my sample file. i want to extract all lines starting from -- num until before -- Advanced. appreciate if anyone can show me. thanks johnny

Software Development python
Member Avatar for tcl76
0
636
Member Avatar for pwolf

well this is the first time i am trying to make a module, i saved the .py file into a new directory called MyModules and tried to import it in IDLE, but it returned the following error; Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import polymod …

Software Development python
Member Avatar for pwolf
0
580
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 and coded in Vb.net. I have my database in Sql Server 2005.I have a Database table say Table1 in My Database named Test. Now i want to export the data in Table1 to a MS-Excel(.xls) file on the click of a button. An excel …

Software Development sql vb.net
Member Avatar for Pgmer
0
1K
Member Avatar for scheppy

Im trying to make a simple program.It just has a couple JButtons and JTextFields, but its looks kinda odd, and I was wondering how to change their size. Thanks In advance Scheppy

Software Development java
Member Avatar for scheppy
0
82
Member Avatar for walid86

i am curious to know if any one else has used this software... EasyByte RTF to HTML [url]http://www.easybyte.com/products/rtf2html.html[/url] i have tried sending them an email, but yet to receive a reply. I even bought the software as i really need a RTF to HTML dll component; it said wait 24 …

Software Development
Member Avatar for walid86
0
179
Member Avatar for scheppy

[CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; /* *Created by ************ *on Dec 28 *to calculate the area of multiple shapes */ public class AreaCalculator extends JFrame implements ActionListener { static JTextField triwidth, trihieght, recwidth, reclength, cirradius; static Container contentPane; static JPanel infoPane; static double circlearea; static JLabel circleanswer; public …

Software Development java java-swing
Member Avatar for scheppy
0
250
Member Avatar for triumphost

I have an idea for a program but I don't know if its possible. I want to write a program that can read commands from a file.. For example, I've seen bots that can parse and read javascript for games and execute whatever is in the .java file.. How can …

Software Development c c# c++
Member Avatar for triumphost
0
179
Member Avatar for sanket044

Private Sub Button_Click() Handles Button1.Click, Button2.Click, Button3.Click MsgBox() End Sub

Software Development vb.net
Member Avatar for Reverend Jim
0
122
Member Avatar for sanket044

Private Sub Button_Click() Handles Button1.Click, Button2.Click, Button3.Click [INDENT]MsgBox()[/INDENT] End Sub Can anyone say me how can we print that which button is clicked?????

Software Development vb.net
Member Avatar for Reverend Jim
0
754

The End.