132,728 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
hi everyone...i needed to find a code that opens a database directly....kindly assist. Regards, Software Development | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 … Software Development java java-swing session storage user-interface | |
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 | |
İ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 | |
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 | |
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 | |
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" … | |
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++ | |
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!!! | |
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 | |
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 … | |
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 | |
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++ | |
[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: … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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: … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
Hi,I want to know how canwe select a value from a datagrid and search for that value in another databse.Thanks Software Development | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
[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 | |
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 | |
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++ | |
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 | |
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 |
The End.