132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fanan

Hi there, i faced a problem in datagridviewcomboboxcell i want to bind different data in comboboxcell at every row according to value of cell at the same row i search the web but all examples depend on the data of the datasource previosly added and didn't depend on the row

Software Development
Member Avatar for fanan
0
94
Member Avatar for warlord902

I have a kind of doubt, suppose I have a class like this: [CODE] public class AA{ public static createUser(String a, int b){ User usr=new User(a,b); BB.storeUser(usr); } } [/CODE] Now, if multiple threads call this createUser() method of this class at the same time, will it cause any kind …

Software Development java
Member Avatar for warlord902
0
190
Member Avatar for BleepyE

Im using MIPS and im looking to display the numbers between two other numbers. For example; $t1 = 5 $t2 = 9 Display = 56789 Ive only just started learning the language so im still struggling to get used to it. Thanks

Software Development assembly
Member Avatar for BleepyE
0
144
Member Avatar for wallet123

HI im a student and our professor asked us to convert a number into word: example: input= "1" output="one" i need to have numbers from 1-10,001 so my program will end up very long if i only use if else statement i know that there are other methods other than …

Software Development java
Member Avatar for wallet123
0
714
Member Avatar for poojavb

Hello Friends, I need to retrive a part of the value present in combobox. Suppose the ComboBox stores the Time values in it. eg. 00:00 00:30 01:00 01:30 Then how can I retrive only the hours value or the first two values separately from the Combo Box. Is there any …

Software Development vb.net
Member Avatar for poojavb
0
73
Member Avatar for _neo_

Hi folk. Can I use join() method in implementation of run(), like this: [CODE] public class MyThread extends Thread { @Override public void run() { int timeout = 30000; // here is some heavy work join(timeout); } } [/CODE] Is above thread terminated after timeout milliseconds if task takes longer …

Software Development java
Member Avatar for _neo_
0
296
Member Avatar for Whilliam

I'm making a calculator program but I'm stuck somewhere. I'm still new to J2ME. So guys, please take it easy on me. :). I've been trying to find the error for 4 hours now. I think the problem is, x won't retain the value.. anyway, here's the full code. [code="java"] …

Software Development java
Member Avatar for NormR1
0
147
Member Avatar for dennysimon

Hi all when I run commend : "C:\LJava\project\KTest2>java -cp .;org.freixas.jcalendar;.\build components.KTest2" my code runs well I then made a jar file with the command "C:\LJava\project\KTest2>jar -cf KTest2.jar .\build\components\*.class" my MANIFEST.MF 's content is : Manifest-Version: 1.0 Created-By: 1.7.0 (Oracle Corporation) Main-Class: components.KTest2 but when I run command "C:\LJava\project\KTest2>java -jar KTest2.jar" …

Software Development java oracle
Member Avatar for dennysimon
0
183
Member Avatar for mohamed moamen

I want to create a JFrame and add panel to it ,the problem in drawing line in this panel [ICODE] package panel; import java.awt.Graphics; import javax.swing.JFrame; import javax.swing.JPanel; public class Main { public static void main(String[] args) { JFrame window = new JFrame(); window.setSize(200, 200); window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); Graphics g =null ; …

Software Development java java-swing
Member Avatar for mohamed moamen
0
1K
Member Avatar for Petee.bill

Hi Guys, Can anyone help me redo this, so it'll be a list comprehension instead? def parseAnnotation(annotation): ExonStartAndStop = [] d = annotation.split(',') for i in d: removeparenteses = i[1:-1] numbers = removeparenteses.split('..') ExonStartAndStop.append((int(numbers[0]),int(numbers[1]))) return ExonStartAndStop example usage: print parseAnnotation('(1834..2736)') ---> [(1834, 2736))

Software Development python
Member Avatar for Gribouillis
0
150
Member Avatar for jaimin4829
Member Avatar for naz1234

Hi, do you know why my output does not working properly.. Actually my output should looping,but it straightly ending the program.. [CODE]#include<conio.h> #include<stdio.h> int main () { int choice = 0 ; while ((choice>=1)&&(choice<=5)) { printf ("\nPlease Choose No 1 , 2 , 3 , 4 , 5\n"); printf ("Enter …

Software Development c
Member Avatar for naz1234
0
154
Member Avatar for M.Waqas Aslam

Hello ! i m developing a application i want that my notification form will pop up just like messengers , anti virus , and other applications forms pop from right bottom of the screen what can i do for it , i m using this code for it [CODE] Me.Location …

Software Development vb.net
Member Avatar for phoenix911
0
688
Member Avatar for avinash_545

Hi everyone. I am currently working on a small project, where I have to interface an ERP (OpenERP) with another system (SugarCRM). For that, I am going to make use of the middle-ware Mule ESB, and to retrieve the ERP data, I will make use of a Java EE 6 …

Software Development ide java java-netbeans queue user-interface
Member Avatar for avinash_545
0
175
Member Avatar for amf101

hi, am doing my thesis entitled Automatic Exam Scheduling System. this works when button "GENERATE" is click. that would initialize the automatic assigning of proctors and rooms to classid.....plz help...i can't filter the conflicts of proctors and rooms since it is automated...early tnx...ur response will be greatly appreciated..tnx so much:)

Software Development vb.net
Member Avatar for amf101
0
201
Member Avatar for naz1234

Hello do you know why my output not looping ? Even I already use "do" to make this code for looping.. [CODE]#include <stdio.h> #include <conio.h> int main () { int hari; double duit; do { printf ("Mari rent kerete..."); printf ("\nkalau 1 hari = 100"); printf ("\nkalau 2-4 hari = …

Software Development c
Member Avatar for DJSAN10
0
136
Member Avatar for guccimane

Hey guys, I am trying to learn single linked lists and at first I was having some trouble but now my code works perfectly. At first my program would crash, and when I tried to debug it, it would always crash where ever I had a 'delete' operator within the …

Software Development c++
Member Avatar for subith86
0
1K
Member Avatar for thanatos1

Hey guys, I'm making a little pokemon game in java and i've come across a problem. The basic algorithm i use for movement is as follows: - if the player has pressed a particular key set the speed(float) accordingly (if key stroke was up, X speed should drop (since i'm …

Software Development algorithm java
Member Avatar for JamesCherrill
0
187
Member Avatar for silvercats

I downloaded NASM and NASM-IDE.Is there any specific good IDE? I am going to need windows debug as book says.But there is no debug in windows 7. Where can I download? Any alternatives? DO you think learning assembly will be useful in 2012?

Software Development assembly ide
Member Avatar for AceStryker
0
190
Member Avatar for capton

Please i want to end a program in a function outside function main. also want to end executing a function of type void without allowing it to end but don't know how. please help me out.

Software Development c++
Member Avatar for AceStryker
0
2K
Member Avatar for Karlwakim

Hi everybody, Is pascal still used in big apps ? Is it true that skype is written in pascal ? What is it most used for ? Thanks.

Software Development pascal
Member Avatar for AceStryker
0
100
Member Avatar for hasbibulukumba

[CODE]Program arrprog; Uses crt; const max=20; add='Add Student File'; edit='Edit Student File'; del='Delete Student File'; vi='View All Student File'; Type Tdata = record id:string; nm:string; jr:string; sm:string; End; Var data:array [1..max] of Tdata; i,ls:integer; Pil:char; Procedure menu; Begin Writeln('Student Data'); Writeln('----------------'); Writeln; Writeln('1. ',add); Writeln('2. ',edit); Writeln('3. ',del); Writeln('4. ',vi); …

Software Development pascal
Member Avatar for AceStryker
0
349
Member Avatar for ng5

hey guys i was wondering if anybody knew how to open an array into visual basic. I have it saving as a text file correctly but i have no idea on how to open it up to use it again. what i have so far is [CODE] Private Sub Hour1ToolStripMenuItem_Click(ByVal …

Software Development vb.net visual-basic
Member Avatar for codeorder
0
2K
Member Avatar for lxXTaCoXxl

I'm trying to get some developer tools for my Macintosh Mini running on Power PC. It's OS is Mac OS X Leopard. I've tried getting Xcode but I can't find any downloads for it that don't require the developer programs at Apple's website. If anyone has any ideas or any …

Software Development apple c++ developer-tools os-x visual-studio
Member Avatar for mrnutty
0
125
Member Avatar for xcarbonx

Hello, I am reading a simple CSV text file into an array and trying to make a table that looks like: Col 1 Col 2 Col 3 Total Row 1 …….. …….. ……… …….. Row2 …….. …….. ……… …….. Total …….. …….. ……… …….. The problem is I cannot figure …

Software Development vb.net
Member Avatar for Reverend Jim
0
176
Member Avatar for kenth21v

I am experiencing a similar problem everytime I stay too long in coding. here is the problem: When I EDIT a code, or move a position of a button or textbox or anything, or any other changes is done, and i debug it, the changes I made won't appear. (the …

Software Development vb.net visual-studio
Member Avatar for codeorder
0
315
Member Avatar for VIPER5646

hi I have successfuly created an access database with vb.net accept it is not password protected. Can someone help me to password protect this DB. Here is the code I use. Thank you [CODE] Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click Try Dim cat As New ADOX.Catalog …

Software Development microsoft-access vb.net
Member Avatar for VIPER5646
0
510
Member Avatar for Hawk123

I followed the suggestion from [ICODE]http://www.daniweb.com/software-development/vbnet/threads/388317[/ICODE] this thread. however i face a bit of a problem in my case i have a combobox at row(i).cells(0) the code seems to take the last new rows where there's not record and shows error the debug error msg is [ICODE]A first chance exception …

Software Development vb.net
Member Avatar for ChrisPadgham
0
175
Member Avatar for AlexTrott

Hello, I'm hoping you guys can help. I have a double linked list, and i am trying to add a bubble sort to it,I am really new to java, I've been able to do a bubble sort with great easy whilst using binary trees, but now i'm using a double …

Software Development java linked-list programming-construct
Member Avatar for JamesCherrill
0
389
Member Avatar for JavaPrograms

Alright, so basically I have this program going, it reads the text file perfectly, I also have some arrays created. Now I need it to store each team's rebounds, assists, and points separately. From there I need to get the mean, median, mode for each section (which will be completed …

Software Development java
Member Avatar for JamesCherrill
0
180
Member Avatar for boris90

Hi, this is my first post here, and I really need some help with my homework. I'm a newbie to Java programming, and I have this assignment: [I]Write an application which reads data from a file about certain items (one row - one item, stored are the integer valued code, …

Software Development file-system gui java
Member Avatar for DavidKroukamp
0
279
Member Avatar for gfp91

hi all i am trying to make a pause in a 2d game on C++ im going to use a message box with answers yes and no..yes to continue and no for main menue. how do i make unsighned short w = the answer to textbox? ps i tried using …

Software Development c++ windows-api
Member Avatar for MandrewP
0
132
Member Avatar for newbyc++

[CODE]#include "Sorts.h" Sorts::Sorts(void) { } Sorts::~Sorts(void) { } void Sorts::insert() { ofstream myfile; myfile.open ("InsertSorted.txt"); starttime=(long)time(NULL); int A[ELEMENTS]={5,2,4,6,1,3}; insertsort(A,ELEMENTS); cout<<endl<<"Sorted list "<<endl; for(x=0;x<ELEMENTS;x++) { cout<<A[x]; } endtime=(long)time(NULL); totalseconds=endtime-starttime; minutes=totalseconds/60; seconds=totalseconds%60; cout<<"\nStart time: "<<starttime; cout<<"\nEnd Time: "<<endtime; cout<<"\nElapsed Time: "<<minutes<<" min, "<<seconds<<" seconds"<<endl;"\n\n"; } void Sorts::insertsort(int A[],int length) { for(int j=1;j<length;j++) …

Software Development c++
Member Avatar for daviddoria
0
119
Member Avatar for biogig

guys I've been trying to write this lab for my comp sci class for three days now. i've got to the point where it compiles but when I try to run it a table pops up that's says there's an error somewhere in the program that causes it to abort. …

Software Development c++ oop ui-ux
Member Avatar for daviddoria
0
204
Member Avatar for kbtiger88

[CODE]#include <iostream> #include <ctime> #include <cstdlib> #include <string> using namespace std; int getCardPoints(int value, int & aceValue) { if ((value >= 2) && (value <= 10)) { return (value); } else if (value == 1) { aceValue = 10; // 11 -1 return 1; // Already contain 1 for the …

Software Development c++
Member Avatar for daviddoria
0
534
Member Avatar for DarkPyros

im wrote a program to determine weather a triangle is scalene, isosceles or equilateral based on the given side lengths...its not working properly..i.e its giving isoceles when i enter data for an equilateral...etc etc... i fugured it was my logic in writing the program that was missing something....could anyone tell …

Software Development c mathematics
Member Avatar for WaltP
0
205
Member Avatar for Dman01

Hello I already posted this on [URL="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=306688"]opengl.org[/URL], but nobody seems to have a solution. Basically I set up Opengl and when I want to draw 3D or say I want to use the z-axis by translating in this dimension, it doesn't have any effect. What I can do, is moving …

Software Development c++ opengl
Member Avatar for daviddoria
0
318
Member Avatar for sbrohee

Hi everyone, I just finished to implement my first "serious" C++ program on my laptop. When I compile it (on my laptop and some other machine), it is working without the least problem. [CODE]g++ -g -pthread -std=c++0x compute_gsea_thread_global_map_opt_results.cpp -o compute_gsea.out[/CODE] When I try to compile it on one of the …

Software Development c++
Member Avatar for daviddoria
0
473
Member Avatar for superjj

hi I'm using visual c# express. I have 2 forms. form1 and SettingsForm. In form 1 there is a buttons for opening the SettingsForm. sending data from form1 to the settingsform is easy. I use a methode. But that don't work vice versa. because I made the SettingsForm into form1. …

Software Development
Member Avatar for Philippe.Lahaie
0
301
Member Avatar for eng_mary

Hi everybody I'm trying to write such a code: [CODE] import pps.PPSFrame; public class X extends PPSFrame{ ..... } [/CODE] Of course there's no such pps package in java. Where can i find it ? or at least PPSFrame.class ? Regards,

Software Development gui java
Member Avatar for eng_mary
0
242
Member Avatar for CountryBumpkin

I am fairly new to java and I have a program that I really need to get working. I need to pass 'alarmId' from class A to class B. I am not too sure how to go about this, any help would be greatly appreciated. [CODE] public void onStart() { …

Software Development java
Member Avatar for Philippe.Lahaie
0
522
Member Avatar for Talli

Hello everyone, I am passionate about programming have started learning C++ and finished studying one book about it. I am done with the basics like pointers, arrays, variables, objects etc. What I need now is some way to go on from here and learn how professional programs are made and …

Software Development c c# c++ web-design
Member Avatar for Talli
0
477
Member Avatar for Cronicle8

Good morning, I'm having some difficulties fixing a problem, I need to allow permissions for a user to change the wallpaper but i can't seem to get it to work, i hope you can help me. :) Here's the code : [CODE] Dim RespostaMess As MsgBoxResult = MsgBox("Tem a certeza …

Software Development vb.net
Member Avatar for Cronicle8
0
119
Member Avatar for BilalAKhan

Hi, I have written a program which reads the text from the text file cleans it for some specific letters or phrases and then saves it in another text file. I am having a problem in rewriting the processed or cleaned data (after it has removed some phrases and characters)onto …

Software Development file-stream file-system vb.net
Member Avatar for codeorder
0
1K
Member Avatar for swagen

I wanted to delete data from my original text file "PHONE.txt" while my temp text file is "newPHONE.txt"..but after i do deletion the text only remove at temp file but not in original file..any kind soul can help me? Thanks! [CODE] else if(userInput == "Delete"||userInput == "delete") { string line; …

Software Development c++ file-system
Member Avatar for thines01
0
168
Member Avatar for srinidelite

[CODE]int a[10][20][30][40]; int *p[/CODE] How to access an element of a using p? .... PLs provide the actual code for the solution

Software Development c
Member Avatar for Moschops
0
79
Member Avatar for Dorayaki

Hello, Currently I'm developing simple chat client. I want to know how to pass data from one form to another form but at the same form. For Example I have two Form which is Form1 and Form2. Form1 can generate Form2 many times but which different Form2 just the Form2.text …

Software Development
Member Avatar for Dorayaki
0
184
Member Avatar for rotten69

Hi all there, I was reading a book on Java and came across this piece of code. Now, I am not sure how line 13 works especially, these symbols after the equal signs "passed=%d; failed=%d%n" . How do the symbols affect the output of the variables(passed & failed)? so let's …

Software Development java
Member Avatar for JamesCherrill
0
324
Member Avatar for Labdabeta

I have a function that takes a reference to an interface class as a parameter. I have created a derived class from the interface class, but when I try to call the function with an instance of my derived class as an argument I get a compiler error saying "error: …

Software Development c++ oop
Member Avatar for Labdabeta
0
147
Member Avatar for neh555

I create one web application in vb.net then tell me can i run this web application on another computer where visual-studio not installed. please reply as soon as possible.....

Software Development vb.net visual-studio
Member Avatar for Pgmer
0
248

The End.