132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shwetha_cs26

jt = new JTabbedPane(JTabbedPane.TOP); jt.setTabPlacement(JTabbedPane.TOP); //panel1 jp.setPreferredSize(new Dimension (50,50)); jp.setLayout(new BorderLayout()); jp.setBackground(Color.BLACK); jp.setPreferredSize(new Dimension(60,50)); jp4 = new JPanel(); j = new JButton("Draw The Graph"); j.addActionListener(this); jp4.setBorder(BorderFactory.createRaisedBevelBorder()); jp4.setPreferredSize(new Dimension(180,40)); jp4.add(j); jp.add(jp4,BorderLayout.EAST); String[] a = {"select "}; lab = new JLabel("x parameters"); lab.setLocation(700,700); jp4.add(lab); jcb= new JComboBox(a); jp4.add(jcb); lab1 = new JLabel("Y …

Software Development java java-swing
Member Avatar for javaAddict
0
110
Member Avatar for mharter

Hello, I am trying to write a login script for a windows network that gets the groups that a member is part of from active directory in order to determine what drives to map. I am attempting to use Tim Golden's active_directory module to do this however when I try …

Software Development python
Member Avatar for ldk
0
95
Member Avatar for QuantNeeds

Hello, I am working on two separate programs because I was trying one differently. I got my other program’s issue solved but now I would like to complete this one. But I am little lost on the error because the data it is complaining about is part of the class. …

Software Development c++
Member Avatar for QuantNeeds
0
2K
Member Avatar for mrboolf

Hi all. I'm trying to write a "simple" program for a word game (something somewhat similar to Scrabble) and I got stopped by the task I tought to be easy enough to start with. I have a text file (Italiano.list) wich is a collection of italian words listed alphabetically as …

Software Development c++
Member Avatar for mrboolf
0
595
Member Avatar for abacian1983

Hello I want to make pairs between random number and non random numbers. so that random number will come twice to its corresponding value. I think it is better to see the output so it will give the idea. Like the first column have the numbers from 1 to 25 …

Software Development c++
Member Avatar for Nick Evan
0
234
Member Avatar for QuantNeeds

Hello, I have 3 major problems: 1) I am not sure if I am doing my static test method correctly. 2) I am not sure if the wagering class is actually checking the bankBalance and the wager 3) I have the following error, which I am not sure how to …

Software Development c++
Member Avatar for QuantNeeds
0
305
Member Avatar for CheesyBeefy

Hey everyone, I'm new to the forums here, and also new to C++ and hoping to get some help. In my code, I want a random number to be displayed but in between two numbers. (ex. with my code, it generates a huge random number in the thousands, I only …

Software Development c++
Member Avatar for VernonDozier
0
138
Member Avatar for integer*09

Hi all, I have done a word search within a text file and managed to find it on a particular line, but i dont know what to do so as to get the word/number directly after the searched word. e.g content with the text file sdakodjskfjsdkfjasook sample1. : ihavemakeit sdofjsdfjasfjsdkf …

Software Development c++
Member Avatar for integer*09
0
340
Member Avatar for singal.mayank

hello.. I m designing a STATISTICAL SUMMARIZER in C.. This software will create the summary of a text file submitted by the user.. The first step is to separate line in the text file.. I hav almost completed this step.. but there are some limitations.. Suppose if text file hav …

Software Development c c# c++
Member Avatar for singal.mayank
0
164
Member Avatar for FTProtocol

[CODE] GetWindowText(hwContact, szContact, 256); strcpy(&szContact[strlen(szContact)], " - Conversation"); FindWindow(NULL, szContact); break; [/CODE] once its found the window of szContact, how can i bring that window to the front

Software Development c++
Member Avatar for FTProtocol
0
109
Member Avatar for n00b3

Hooked Procedure Early Return In/External Trigger Hello, I've hooked into an application succesfully using WH_CALLWNDPROCRET or WH_CALLWNDPROC both give the same issue detailed below. In the hooked callback function I trigger my code by waiting for a spceific window message. Once the hooked callback function receives this message, my code …

Software Development c++ gui
Member Avatar for n00b3
0
129
Member Avatar for cyrinius

Hey guys, new to the forums, and was hoping to get a bit of help on some C++. I am looking for a few professionals who know a lot on the code, and have a little patience. When you just started to learn how to code, what did you do …

Software Development c++
Member Avatar for AceofSpades19
0
163
Member Avatar for veledrom

Hi, I have created a project in VB6. How can make it SETUP / INSTALL kit? I have added some refferences and components as well. Thanks

Software Development visual-basic
Member Avatar for veledrom
0
125
Member Avatar for fddrummer06

I have a code for a doubly linked list, and I need to print it in reverse. I can't seem to figure out what I'm doing wrong, or maybe I just don't fully understand what I'm doing. The part that I'm questioning is in the printList function. The while statement …

Software Development c linked-list
Member Avatar for Ancient Dragon
0
123
Member Avatar for lahom

hi i have an application made of several dialogs each has its own exit button my question: whan i press the exit button ... iwant to exit the whole application (not exit the present dialog and return to the Previous one ) how can i do that .....please help me …

Software Development c++
Member Avatar for Ancient Dragon
0
766
Member Avatar for marcosjp

Hello! I'm studying Python and wrote a very simple class to work with bidimensional arrays - just as an exercise. Before writing te class I played around with functions and they worked fine. When I tried to do the same using a class, things became strange... Okay, I wrote this …

Software Development python
Member Avatar for marcosjp
0
315
Member Avatar for manzoor

I have two programs both do the same thing but both when run gave totally different results. I am sure there is a lesson to learn from this and that will teach you a fundamental difference between the ‘if’ and the ‘while’. Can anyone explain to me why both the …

Software Development c++
Member Avatar for VernonDozier
0
91
Member Avatar for wowimbored

I'm just learning python and i'm trying to make a game where someone puts in 3 numbers and the program picks one of them at random [ICODE]import random print "Enter 3 numbers and i'll choose 1 at random" a = 0 b = 0 c = 0 nmlist = [a, …

Software Development python
Member Avatar for wowimbored
0
81
Member Avatar for VernonDozier

I am using Windows XP SP II and Visual Studio 2008. I've created a little program that I'd like to run when the computer boots. Here is the code: [code=cplusplus] // dummy1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <fstream> #include <string> …

Software Development c++ visual-studio
Member Avatar for VernonDozier
0
251
Member Avatar for Phadraig

I would be very grateful for any advice on this. The business I work for want all their paper data stored in Access 2000, and to be accessible through a small network - server, 3/4 PCs running XP. The main question is: Is there any reason not to use VB6 …

Software Development vb.net visual-basic
Member Avatar for Phadraig
0
117
Member Avatar for Waseemn

Hello All, OK I am not sure if any of you here are also coming from the C++ forum, but I finished my C++ class, got an A, thanks to all your help, and now I am onto Java. I am still a beginner in both Java and C++ and …

Software Development java
Member Avatar for Alex Edwards
0
183
Member Avatar for adarshcu

Can we initialize an array of objects to unique values without using constructors.... can anyone provide me a program to demonstrate this if it is possible?

Software Development c++
Member Avatar for writem
0
119
Member Avatar for thorneko

1st off, I'm new to JAVA/NETBEANS, and my experience lies mainly in C and the Sparc assembly language. The above problem is one I've solved in C (input a string of hex characters and then convert it to a binary array for the purposes of bit manipulation, namely for debug …

Software Development assembly gui java java-netbeans
Member Avatar for Ezzaral
0
1K
Member Avatar for bugger

hi all, i've searched everywhere on the net but i couldn't find. anyone can help me for this? I have an exam on monday. q1 : with pic16F877 and assembly codes, maze solving robot's program and circuit q2 : with pic16F877 and microcontroller, bicycle's speed program and circuit thank you …

Software Development assembly
Member Avatar for Colin Mac
0
81
Member Avatar for Alex Edwards

I know this is a really sad question to ask, but please tell me... how and when should I ever use extern? I recall an example that Narue showed me but even if I read through the definition from MSDN.com as well as other sources, I still can't quite understand …

Software Development c++
Member Avatar for Alex Edwards
0
5K
Member Avatar for s7plc

Ok, I would like to use a regular expression that I create dynamically to search and replace words in a file. For instance: import re fl = re.compile('abc|def|ghi') ts = 'xyz abc mno def' n = fl.search(ts) print n How would I find all matches in the string? So far, …

Software Development python
Member Avatar for sneekula
0
6K
Member Avatar for vender hak

Please help me ! I read a book . I had new project . Following the instruction that : File->new->projects->C++ templates. The book require " Managed C++ application" templates. I use Visual Studio.NET 2003 professional . So I can't find that templates . But the book don't say use what …

Software Development c++ visual-studio
Member Avatar for vender hak
0
92
Member Avatar for sjshiva04

Hi, my name is Sivakumar working in a Company at Bangalore as senior software engineer. I'd like to work some freelancing software works related to (Dotnet/ASP Projects) from home.Please suggest any firm that provides projects(software Development) to work from home or any site that i can get freelancing work to …

Software Development vb.net
Member Avatar for tuse
0
118
Member Avatar for jonc

Hi, I am in the process of making an application to query Quake 3 servers, but I am starting with querying the master server as I'd like to get the server list down so I can then start to query them individually. I've read through a number of threads on …

Software Development visual-basic
Member Avatar for DaKasper
0
476
Member Avatar for jen_

here it goes.. example prog. output: Input a number/s, (-) to stop: 5+6-7+8-9+1-2[B]-1[/B] -the user will input numbers, if he/she inputs a (-) number that will be the time that the program will stop. -the operations between the numbers should be + and - (alternate). how will i do the …

Software Development c++
Member Avatar for pradhan.nc
0
90
Member Avatar for mike issa

i have a header file and one of the function prototypes is [CODE]extern "C" LONGBOOL _stdcall LT360LIB_CmdValue(LONGINT Handle, LONGINT CmdID, char * ParamValue);[/CODE] and there is an example of using this code [CODE]z=LT360LIB_CmdValue(0, lt_Goto_CCW, "5.5");[/CODE] when i try this code it compile and builds correctly but when i run the …

Software Development c++
Member Avatar for mike issa
0
344
Member Avatar for brainne

i'm new to vb.net and i cant figure out how to solve this problem any help would be greatly appreciated how can i show data into list view if the data is located in different tables. here few of my code, Public strConn As String = "C:\*********.mdb" Public cn As …

Software Development dataset open-source vb.net visual-basic
Member Avatar for brainne
0
85
Member Avatar for m_sam6

hi i m new to java programming and i want to make a voice chat which access a sql server db and extract ip 's of all clients that every one log in by ip (on LAN) and the problem face me now is to broadcast voice to all these …

Software Development audio java socket-programming
Member Avatar for m_sam6
0
125
Member Avatar for Gold dragon

I am making a Black jack game and i am trying to make it so that when my label which shows my current randomized valued which is "2,11" if this label = 10 then i would like it to randomize so that my picture box displays one of 3 randomized …

Software Development vb.net
Member Avatar for Gold dragon
0
83
Member Avatar for emilio

is it possible to pass custom eventargs in mouse click or double click eventhandler ? when i tried , it gave me an error about no overload method for double click in the designer.

Software Development
Member Avatar for yilmazhuseyin
0
106
Member Avatar for garblund

I have Visual C++ 2008 Express Edition and I am just trying a sample program to see what happens when it is run. I just don't know what to do to compile it. All the examples I have seen so far don't help. Some show going to "Build" on top …

Software Development c++ visual-basic
Member Avatar for mike issa
0
168
Member Avatar for redZERO

Hi, I want to build my own simple 2D RPG in Java. Whilst I am new to Java, I do understand the fundamentals of OO programming, and I am quick to learn, as long as someone isn't too impatient. I just wonder if there is anybody who can check my …

Software Development java
Member Avatar for redZERO
0
111
Member Avatar for saurabh92

Hey, I'm pretty new to Java and I was hoping someone could help me out. I wanted to know how to store the information that a loop shows. I've been asked to create a project which adds up the squares of the numbers from a to c, and this is …

Software Development java
Member Avatar for saurabh92
0
129
Member Avatar for Phoenix10010

Hello, I'm working on a C++ application that executes binary files, so I'm using NASM to create them. Example: [CODE] org 0 ; I don't know this value yet start: jmp start [/CODE] Since I will execute that code later, I don't know the start address (ORG) at this time. …

Software Development assembly
Member Avatar for sDJh
0
145
Member Avatar for Agni

Hi, I have 2 modules, grepforapp.py and myApp.py. Basically i'm trying to make a 'search' utility. myApp makes the UI with one textbox for taking input, start button and a list box which displays the file names where the pattern was found. grepforApp walks through the dir tree and searches …

Software Development app-store python
Member Avatar for woooee
0
197
Member Avatar for k2k

first of all, what can i do to make my command works like the "ls, cp, mv" ? I always do vi myScript.sh and then chmod +x myScript.sh and I have to execute it like ./myScript.sh ,,, simply typing $myScript at the command promp will not work. Second question for …

Software Development shell-scripting
Member Avatar for k2k
0
142
Member Avatar for Jawaid

Hi everyone, Will appreciate if someone could advise me on how to do this: In an Excel workbook I have a few sheets. [B]I'm trying to write a macro which looks for a named sheet and if it is there do the required action and if it is not there …

Software Development visual-basic
Member Avatar for Paul Friedman
0
126
Member Avatar for Vega_Knight

hi all, i try to make array here but i didn't know how to make it? please help me.. best regards..

Software Development pascal
Member Avatar for Clive29
0
135
Member Avatar for jbimontes

i randomized the numbers ranging 1-20, it generates 2 numbers for label1 and label2 after clicking the command1 button. i created a textbox and another command button for checking if ever the to labels are [B]ADDED[/B], the answer in the textbox should match the right answer.. it will be activated …

Software Development visual-basic
Member Avatar for selvaganapathy
0
135
Member Avatar for prasu

Please Check the code and reply what is wrong in the update code Try block is executed successfully........but it is not being updated. Public Class Form3 Dim cn As New Odbc.OdbcConnection("Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=attend_ap; User=root;Password=;") Dim cmd, cmd2 As Odbc.OdbcCommand Dim adp, adp2 As Odbc.OdbcDataAdapter Dim ds, ds2 As New …

Software Development dataset vb.net windows-server
Member Avatar for prasu
0
158
Member Avatar for acs_andrade

Hi everyone, I'm new in this forum and I've been tried to learn a little about programing in Pascal language. I have to do a school project program for a video rental shop developed in Pascal and I would like to know if someone could send me a entire code …

Software Development pascal video
Member Avatar for Clive29
0
87
Member Avatar for Loony064

Hey guys I'm pretty close to finishing this payroll program, but i've run in to yet some more problems and i can't figure out how to fix them. So, i have various forms representing different tables of my database (Access - the database is connected to my vb application as …

Software Development visual-basic
Member Avatar for Loony064
0
123
Member Avatar for manzoor

how do you find the minimum and maximum number from a given set of numbers without sorting them ? i have the code but the it isnt working properly [CODE]#include<iostream> #include<conio.h> using namespace std; int main() { const int SZ = 7; double sales[SZ]; int x; double lowest = 0; …

Software Development c++
Member Avatar for manzoor
0
99
Member Avatar for dmanw100

I was wondering if anyone could recommend a powerful library for communicating with USB jump drives? My attempts to locate a solution on Google have not provided much in terms of usefulness. I would simply like to read and write to the drive, perhaps even find the size of the …

Software Development c++
Member Avatar for dmanw100
0
167
Member Avatar for rraj.be

I am a beginner programmer an i started a project to build a mp3 player of my own. This is my first project in big level. Any kind of guidance or help will be greatly useful to me. If any one have some idea's please help me.

Software Development c
Member Avatar for marco93
0
294

The End.