132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for adity

I have a JTable as a leaf node of a Jtree. But though I can select each row in the table I cannot select each cell element. Please HELP! Adity

Software Development java java-swing
Member Avatar for javaAddict
0
88
Member Avatar for Xinnie

Hello, what I want to ask is, (with c#) how is it possible to write the command for such a problem: I have this form, and on doubleclick it opens a query and i have written the codes for preventing it to pop a window again if its already open …

Software Development
Member Avatar for finito
0
79
Member Avatar for lsy

previously i design my form, but recently when i try to open the form, the form control show empty... but when i build and run the application, i can see the form with all the controls. pls help.

Software Development
Member Avatar for finito
0
153
Member Avatar for programming2010

hi everyone...i needed to find a code that opens a database directly....kindly assist. Regards,

Software Development
Member Avatar for programming2010
0
89
Member Avatar for JaimeSharp

I am in a bit of trouble with this code it is due tomorrow need pointers the menu is displaying correctly but when i enter a number it locks up have i declared the switch statement wrong or is my menu declared incorrectly also in regards to case 4 it …

Software Development c++
Member Avatar for JaimeSharp
0
124
Member Avatar for BlackNinja

I am making a windows from using c# and am stumped as to how to count a button click. Any pointers or information would be appreciated.

Software Development
Member Avatar for bbman
0
92
Member Avatar for MaxVK

Hi. I have a wxRichtextCtrl (although plain text is fine if I can find a way to do this), and I would like to return the last word typed while the user carries on. You know that way MS Word and OpenOffice etc, highlight a wrongly spelled word as soon …

Software Development python
Member Avatar for MaxVK
0
166
Member Avatar for kbalamuk

I am using VB6.0 to develop an application where the user must enter data in 5x5 table. How do I create such a table during runtime?

Software Development visual-basic
Member Avatar for debasisdas
0
121
Member Avatar for spartanace

This is my overloaded Jpanel i want to pass the event of the buttons, so that i can change the text in the jLabel in my main class listed below. [CODE]import java.util.Scanner; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class Keypad extends JPanel{ private JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12; public Keypad() { setLayout(new …

Software Development java java-swing
Member Avatar for javaAddict
0
3K
Member Avatar for SHARKASI

I'VE A PROJECT AND I'M JUST START LEARNING JAVA SO I NEED HELP . HOW SHOULD I START WITH THIS PROJECT ............????? Design and code a Java application to store and manage the rates of some currencies of interest and to perform conversions between them. The application should have a …

Member Avatar for stultuske
0
174
Member Avatar for domingo

hi i am trying to make an if function to check the picturebox background but it is not working. i tried .equal or image.fromfile but nothing is working. can anyone help me pls? [CODE] if (pbxap.BackgroundImage.Equals("..\\..\\Images\\tbl9.jpg")) { //display error MessageBox.Show("No records found on this table"); } [/CODE]

Software Development image
Member Avatar for domingo
0
111
Member Avatar for fenerista

İs it possible now to use a system call in module programming ? after I "make" the module below I am getting warnings like that no errors WARNING: "sys_getcwd" [/home....mod/mod01/mod01.ko] undefined! [code] /* * hello-5.c - Demonstrates command line argument passing to a module. */ #include <linux/module.h> #include <linux/moduleparam.h> #include …

Software Development c linux-kernel
Member Avatar for fenerista
0
203
Member Avatar for reza.adinata

Hi all, I am trying to make a simple TCP server application, where the client should send some numbers, and the server will show it in a text box. So far this is what I come with, but it show an error of cannot accessing a disposed object. Would appreciate …

Software Development client-server
Member Avatar for reza.adinata
0
387
Member Avatar for Memo..~

hi everyone.. I have this assignment that I should sort whatever I enter in ascending order of the variable a .. I want to know what is wrong with this Thank you all in advance.. [CODE]public void addRecord() { Scanner abc=new Scanner(System.in); System.out.println("Enter the file number "); int a=abc.nextInt(); System.out.println("Enter …

Software Development java linked-list
Member Avatar for s_sridhar
0
111
Member Avatar for dbphydb

Hi, The below code extracts the branch number and the test environment to deploy that particular branches build on from a txt file (branch_dest.txt). Then it parses HTML pages to reach a webpage which contains some checkboxes. I want to check the "Select/Deselect All" checkbox and then click the "Deploy" …

Software Development html-css python
Member Avatar for Tech B
0
2K
Member Avatar for leesho

i have this code here which inputs the numbers and then adds them. is there a cheats way i can change it so that it inputs the numbers then puts them into ascending order. [CODE]#include <iostream.h> void getNumber(int &, int); void sum( int, int &); void output(int[ ], int, int); …

Software Development c++
Member Avatar for s_sridhar
0
107
Member Avatar for sajithdil

hey guys i want to know is it possible to take a 3ds max 3d model and show it in a java file?? if so could i have some pointers in the right direction?? thanks a lot its much appreciated!!!

Software Development image java
Member Avatar for sajithdil
0
269
Member Avatar for alakaboom1

So, I'm not sure if this is possible, but I'm in a situation where I need to do such or something similar. I'm designing a multi-level game, where the game goes on to level 2 once the player comes into contact with the door at the end of level 1. …

Software Development python
Member Avatar for TrustyTony
0
137
Member Avatar for UNOWN

Hey guys, I am needing to detect when the last item in a listbox is selected. I first tried comparing the listbox.items.count with the listbox.selectedIndex, but unfortunately, whenever i load the items from a file to the listbox, there are 1 or two extra items at the end that are …

Software Development c c# c++
Member Avatar for UNOWN
0
916
Member Avatar for Rajnesh

Can someone demostrate with a tutorial thru which the Operating System could be developed in C#, i have no idea in System programming in C#. Also tell if the same could be done in other langauges such as Java or J#...If someone already have a coded tutorial for OS in …

Software Development c# first-post operating-system
Member Avatar for kvprajapati
0
929
Member Avatar for yongj

I have NEVER had this experience before while coding my past assignments. For some reason, I keep getting this error that says [CODE]error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup[/CODE]. I looked it up on google and people have been saying it's because I should've created a windows …

Software Development c++
Member Avatar for yongj
0
98
Member Avatar for leesho

[CODE]#include<iostream.h> #include<iomanip.h> using namespace std; float number1, number2, number3; void readThreeNumbers(number1, number2, number3); void sortThreeNumbers(number1, number2, number3); void displayNumbers(number1, number2, number3); int main () { readThreeNumbers(number1, number2, number3); sortThreeNumbers(number1, number2, number3); displayNumbers(number1, number2, number3); } void readThreeNumbers(number1, number2, number3) { cout << "Please enter three floating-point numbers, space between them: …

Software Development c++ ios
Member Avatar for leesho
0
184
Member Avatar for mitch9654

My custom button thing isn't clickable. I don't know why! (obviously :P) I DO have an action listener This make a button that looks like a cross. The input is: [code] "name", g, 0, 0, 100, 100 [/code] It looks like this: [url]http://mitch9654.zymichost.com/Java/index.html[/url] [code]package Buttons; import java.awt.*; /** * * …

Software Development java
Member Avatar for mitch9654
0
132
Member Avatar for tonymuilenburg

Hi All, I'm building a C# game that will handle drag and drop of images and labels in a visual studio form, but when I drag around a component, the form takes big performance hit. For example, I have some images moving around on the form (pictureboxes) and these stop …

Software Development gaming pc-peripheral visual-studio
Member Avatar for tonymuilenburg
0
169
Member Avatar for cabsjonel

Hello folks Can you give an example on how to use an active x control i read lots of books about it , but i did'nt understand what it means folks pls try to help me thank you very much :icon_smile: May God bless u now and forever

Software Development visual-basic
Member Avatar for vb5prgrmr
0
89
Member Avatar for DeadSoul

Hello friends i have spend a week to make a notepad.But i have one error in it i dont know where i am wrong . i am not able to add JFileChooser in my notepad i have JFileChooser in my code but its not working properly that's why i have …

Software Development java java-swing window-manager
Member Avatar for leiger
0
164
Member Avatar for memo1

pleas help [CODE]public double getInvoiceAmuont(int q,double pric){ System.out.println("ente the quantity and the peice" ); q=in.nextInt(); pric=in.nextDouble(); if (q<0) return 0; if (pric<0) return 0; return q*pric; }[/CODE] is this answer correct for this question : {{ -Provide a method named getInvoiceAmuont that calculates the invoice amount (i.e., multiplies the quantity …

Software Development java
Member Avatar for leiger
0
78
Member Avatar for rowley4

I have a problem with strncpy. I need to change the first parameter to char for it to compile. I am not sure how I should do it. In C# I can just [CODE]int v1 = 123456; string v2 = ""; v2 = v1.ToString(); // in C# this turns the …

Software Development c++
Member Avatar for daviddoria
0
136
Member Avatar for Cerberus

Sorry if this has been asked before. I have a jframe with a textcomponent in it and a menu with an exit option. When you select the exit option a funciton is called that checks whether a change has been made to the document and the user can select to …

Software Development java
Member Avatar for leiger
0
618
Member Avatar for daviddoria

I've seen a few posts on here talking about "databases" as if they were just files and using fstream to manipulate the file pointer, etc. I'm familiar with SQL, so it would be nice to simply be able to execute sql command (as can be done from vb.net) such as: …

Software Development c++ sql vb.net
Member Avatar for tesuji
0
235
Member Avatar for mitchems

Hi all, I was wondering if any of you have had any experience with Catalyst and Moose. I am starting a project that I think would use both. I plan to use mod_perl or fast_cgi with Catalyst as the framework and Mason as the template language (I have used Mason …

Software Development mysql perl
0
107
Member Avatar for sdhawan

how can i Add to dropdown list duing runtime in visual studio.Suppose i have 4 list items in drop down and one of the option is to add a new item.What i want to do is when i select that option(create new) i should be able to add the fifth …

Software Development visual-studio
Member Avatar for sdhawan
0
113
Member Avatar for z3r0acidk

Hey all, I need help with this. I have a .txt file, called "littlefile.txt", inside that .txt there is text of course and my java program is supposed to read that text (as a String), and find a word like ... "hello", ... that's ok, but the java program must …

Software Development java
Member Avatar for z3r0acidk
0
152
Member Avatar for dimios

Hello there, I am trying to figure out the advantages of C++ STL containers over C. Correct me if I am wrong. a)in C++ containers classes are standardized. C doesn't have any standardized libraries for data structures beyond the native array type. b)each of these containers in C++ has member …

Software Development c c# c++
Member Avatar for NathanOliver
0
218
Member Avatar for Tech B

I'm revisiting an old IR tracking project, and want to use it in a blender game. I would like to know if anyone could help optimize the parsing algorithm or tell me an easier way to track multiple points with code. "im" is an instance of an image I captured …

Software Development algorithm python webcam
Member Avatar for TrustyTony
0
234
Member Avatar for lsmurfl

Ok if anyone knows how to do python programming please help, this is my last assignment and i cant figure out how i should start this here are the directions... You are to write a Python program that randomly generates birthdays – considering only the month and day. For example, …

Software Development data-structure python
Member Avatar for griswolf
0
256
Member Avatar for Ap0ca1ypse

Evening, I have built a program with full SQL functionality (from pulling to adding etc). I am using stored proceedures for the SQL queries. I seem to have a problem when adding / updating a SQL VARCHAR column when the item being added / updated has a space (ie 'Add …

Software Development sql
Member Avatar for Ap0ca1ypse
0
177
Member Avatar for eng hassan

i want the charcter i display in the grid to move upwards when i press 'w' & downwards when i press's' & right when in press'd' & left when i press 'a',,,,i have written a code that doesnt work can anyone help me to find out what is the wrong …

Software Development c++
Member Avatar for eng hassan
0
116
Member Avatar for sdhawan

Hi,I want to know how canwe select a value from a datagrid and search for that value in another databse.Thanks

Software Development
Member Avatar for nick.crane
0
101
Member Avatar for Ryan61343

I am writing a program for connect four I have all the code written and all works fine i was wondering however if anyone could offer any advice on a function to determine if a player has 4 or more in a row cause i just cant seem to think …

Software Development algorithm c++
Member Avatar for Ryan61343
0
92
Member Avatar for maheshrmishra

is it possible to open and work in two files from same or different location simultaneously. How it is possible? Please suggest Thanks / Regards Mahesh

Software Development perl
Member Avatar for mitchems
0
103
Member Avatar for Talguy

I have two questions one is kind of a newbie question and the other one is a little more advanced. I have been coding C++ off and on for the past couple of years as a hobby and a little for my EE classes. I usually in my class reference …

Software Development c++ gui multithreading queue
Member Avatar for Aranarth
0
116
Member Avatar for zachattack05

I have a timer that runs a SQL query every 30 seconds to retrieve updated information. Unfortunately every time the query runs the vertical scroll bar resets to the top most part of the form. I tried [CODE=c#] int scrollPosition = this.VerticalScroll.Value; [/CODE] at the beginning of the timer code …

Software Development
Member Avatar for zachattack05
0
4K
Member Avatar for waleed-707

Hi all, I declared a vector of pointers in a header file named "bug.h" [CODE]#ifndef BUG_H #define BUG_H #include <vector> #include "board.h" #include "prey.h" class Bug: public Prey{ public: Bug(Board& boa); Bug(int x,int y,Board& boa); void breed(Board& boa); int getx(); int gety(); }; typedef Bug* Bugpt; std::vector <Bugpt> Bugarr(6); void …

Software Development c++ visual-studio
Member Avatar for waleed-707
0
4K
Member Avatar for Peacer

This code is for a friend's WinMo application, but the problem is when he calls a method it resets all of the array's values to 0, but it isn't the code within the method that does it but the act of calling the method. double[] enPosX = { 0, 0, …

Software Development
Member Avatar for nick.crane
0
186
Member Avatar for MrBlack

[CODE] int i=5; i.ToString(); [/CODE] AND [CODE] int i=5; Object obj=i; obj.ToString(); [/CODE] I see this code in a c# book but i didnt understand this code, i got the meaning of boxing that mean Boxing allows value types to be implicitly treated like objects, plz explain those 2 code …

Software Development
Member Avatar for MrBlack
0
149
Member Avatar for navaidstech

I don't recall ever having trouble using a similar procedure in the past but for some reason this one is giving me tons of trouble. Everytime it gets executed, it fires "Object doesn't support this property or method" error and I just can't understand why. Here is the snippet [CODE]SelectedEntry …

Software Development sql visual-basic
Member Avatar for navaidstech
0
1K
Member Avatar for chrisdod

i am just learning C++ again after about 5 years of not learning it so i decided to use Visual C++ but learning is a bit hard at the moment, understanding everything and llearning to use everything anyway i need help or need to know why this code won't work …

Software Development c++
Member Avatar for Ancient Dragon
0
113
Member Avatar for sdhawan

hi guys i am trying to fill datagrid from database.I using the following code.Can anyone tell me what am i doing wrong. [code] public Form1() { InitializeComponent(); richTextBox1.Text = "Word: I \nDefinition:"; richTextBox3.Text = "Word: I \nDefinition:"; label2.Text = "Hindi"; dateTimePicker1.Visible = false; SqlDataAdapter dtadp = new SqlDataAdapter(); DataTable dtbl …

Software Development dataset
Member Avatar for sdhawan
0
94
Member Avatar for hondros

I have created a program, and wanted some critique on it. There is a website that I go to in order to download roms, and I do not like clicking a ton of links and waiting 15 seconds to download it, so I created a program to fetch it for …

Software Development python
Member Avatar for hondros
0
130

The End.