132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for S2009

Hi All, I have created two forms in my Windows Application. One Form acts as a Form and the other form acts as a MODAL DIALOG BOX. The Form Dialog Box contains a button and One textBox. When this button is clicked the MODAL DIALOGBOX should be displayed. This dialog …

Software Development
Member Avatar for S2009
0
139
Member Avatar for mrayoub

hi, well this is my first post on this great forum, hope to be a good boy :) i m writing a programm that adds numbers from 0 to any numer entered by the user . for Example : - if the user enter 4, the sum will be 10 …

Software Development c
Member Avatar for ajay.krish123
0
167
Member Avatar for cebubinary

hi im new to java and im learning about how to add/remove panels from another panel... [COLOR="red"] This is my main frame[/COLOR] [code=java]import java.awt.*; import javax.swing.*; import java.awt.event.*; public class DynamicFrame extends JFrame{ private JButton jb = new JButton("Remove"); private JPanel jp = new JPanel(); public DynamicFrame(){ jp.add(jb); add(jp); setVisible(true); …

Software Development java java-swing
Member Avatar for cebubinary
0
299
Member Avatar for makymakaru

hello.. i need to create a simple web proxy where it can pass data and requests between a web client and a web server. thing is i'm very new to this kind of programming but i really want to learn. if i want to do this where do i start? …

Software Development c++ client-server web-server
Member Avatar for kvprajapati
0
265
Member Avatar for ermithun

I have written a sample test code as, [code=syntax] Class A { main () { A *a; B *ptr; B* A::func() const { [COLOR="Green"] B* ptr = new B; return B; [/COLOR] } } [/code] and [code=syntax] Class B { [COLOR="Green"] // some code accessing the func() in class A …

Software Development c++ operating-system
Member Avatar for ermithun
0
101
Member Avatar for scholar

Hi Friends, I am getting the following error with my code "Object reference not set to instance of the object" . My code goes as follows: [CODE] ... ... string[] isem= new string[125]; decimal[] perc = new decimal[125]; student s1=new student(); ... ... public void func() { isem = new …

Software Development
Member Avatar for S2009
0
261
Member Avatar for muhandis

I'm having some of trouble understanding exactly how an MFC GUI works. What is the resource file for and exactly how does it relate to the classes you create (e.g. the subclass of CDialog)? Specifically, I want to add some bitmap buttons (CBitmapButton) to my dialog, so I followed the …

Software Development c++ gui
Member Avatar for muhandis
0
231
Member Avatar for iantoya

Is making a program altering a registry of an OS? Thanks for the answers

Software Development visual-basic
Member Avatar for iantoya
0
147
Member Avatar for Abdo99

a function that take as input two linked lists of character and determines if the first is a sub list of the second. for example if the first list 'e'-->'l'-->'l'and the second is 'h'-->'e'-->'l'-->'l'-->'o' the function returns true

Software Development c linked-list
Member Avatar for Nick Evan
0
134
Member Avatar for plusplus

How do I set a filter for just music files?

Software Development vb.net
Member Avatar for ghimangi
0
259
Member Avatar for fernando82

Hi everyone! I have a problem related with dates.... i have some textbox where i put dates to send to a database... i have conditioned the input just for numbers and / (backslash), but how do i check that no one inserts a format that's not dd/mm/yyyy... if i put …

Software Development visual-basic
Member Avatar for kehar
0
159
Member Avatar for azjherben

I have done alot of stuff with Winsock, but it's all with sockets that can olni process one at a time. Can anyone tell me how to make a non-blocking socket? [send and recive]

Software Development c++
Member Avatar for Nick Evan
0
188
Member Avatar for Quan Chi2

Hi. I understand that its not nice to ask for a full program source. I dont think that making an autoclicker in VB would be such a long code. Mabye a few lines? If you won't make a full src can you please tell me what functions I would use? …

Software Development visual-basic
Member Avatar for autoclickinfo
0
201
Member Avatar for manoj_582033

Hi Friends I M Using vb6, i have a problem in this that when i execute my s/w so only, any single form becomes open at a time but i want that multiple forms must work together, Please Help Me.

Software Development visual-basic
Member Avatar for manoj_582033
0
113
Member Avatar for serkan sendur

let say my setup project deploys three executables and i create a new version of my software. in the next installation i want to detect which components are deployed with previous installation. what is the best way to do that?

Software Development
Member Avatar for kvprajapati
0
98
Member Avatar for anusha88

i need to install JfreeChart but I can't understand much of what the installation manual says. Which folder should you extract the Jfreechart files.How to change the classpath etc? I can't seem to understand.terribly stuck!!can anyone please help

Software Development java
Member Avatar for anusha88
0
425
Member Avatar for murid

if I want to send an animated GIF format picture, how do I save the picture in destination folder? I already using "System.Drawing.Imaging.ImageFormat.gif", but the GIF picture no longer animated, it become like JPEG format. another help please...

Software Development vb.net
Member Avatar for Teme64
0
189
Member Avatar for sharao

hi frnds [url]http://localhost/project[/url] using the above url iam running my project how to run when i type my project in uppercase like this url [url]http://localhost/PROJECT[/url]

Software Development java
Member Avatar for sharao
0
119
Member Avatar for tyserman5674

Hi Everyone, I need help with using isdigit in C. What I am trying to do is verify that the user input is numeric. In my program, as is, I get the error: line (21) : error C2061: syntax error : identifier 'isdigit'. If I remove the "if" from in …

Software Development c
Member Avatar for tyserman5674
0
145
Member Avatar for _dragonwolf_

My name is James. I am currently taking a c++ class and I have a professor that is less than desirable but is the only one that is teaching the class. I am in need of assistance with some code. At least getting it started anyway. Here is the assignment: …

Software Development c++
Member Avatar for jephthah
0
123
Member Avatar for Whilliam

hello.. its me again and Im having problems with files again..this time, its with link list.. I can't get my program to display the contents it reads from a file. Please help.. I want to solve this myself but I have no time, my exam will start in 1 hour..:( …

Software Development c file-system
Member Avatar for csurfer
0
171
Member Avatar for codedhands

Hi,Am writing an application which requires storing data to a map and saving it to a file.How do i save a STL map to a file and retrieve it without the application crashing?

Software Development c++
Member Avatar for siddhant3s
0
867
Member Avatar for joed13k1941

Anyone know how to accomplish this task on visual studio with C++? Write a program that reads a series of numbers (doubles) from the user, then prints the mean and the range. Notes: • You do not know ahead of time how many numbers will be in the list. • …

Software Development c++ visual-studio
Member Avatar for collegetextbook
0
304
Member Avatar for Whilliam

Hello.. im having a problem with my code.. when i save a file, then choose another variable and load the file, then try to display it, all that it display are garbage values.. i know the problem is either in function save_file or function load_file.. can anyone please help me.. …

Software Development c file-system
Member Avatar for csurfer
0
218
Member Avatar for Tamir09

Im trying to format my xslt form to a table that I have: Horsepower-Electric Values Revolutions Number of Disks blank num 1 num 2 num 3 rev1 hpe1 hpe2 hpe3 rev2 hpe4 hpe5 hpe6 rev3 hpe7 hpe8 hpe9 And so far, Ive gotten the xslt form to come out somewhat …

Software Development xml
Member Avatar for Tamir09
0
334
Member Avatar for serkan sendur
Member Avatar for Hiroshe

I'm trying to write my own function from scratch to add large numbers. This function takes the input of an unsigned long long array, with each number being 10 didgets long (the reason for the long long signed is becouse I might expand it) and adds it to the output …

Software Development c
Member Avatar for Hiroshe
0
202
Member Avatar for turbomen

May I ask you a question on Delphi? The following is my question: Write a program that asks for two numbers from the user. Add these numbers together and store them. Then output to the screen the equation with the correct answer. Eg please enter a number 28 please enter …

Software Development delphi pascal
Member Avatar for turbomen
0
177
Member Avatar for dcm882003

In this c program I have to be able to read from a file that can have up to 40 students. print the high, low, and average of quizzes, and students grade while quiz 1, 2, 3 are 50% and 3, 4 are the other 50%. I'm stuck ...........help please.. …

Software Development c
Member Avatar for dcm882003
0
104
Member Avatar for MrNoob

hello i coding a program that need to sum array according to its num like for example num[0] will only do that and num[1] sum[1]=num[0] +num[1]; sum[2]=num[0] +num[1] +num[2]; etc i got one idea first i will fill the num array with numbers then i go through after that with …

Software Development c
Member Avatar for MrNoob
0
89
Member Avatar for calef13

Hi, I'm writing a small application which reads and writes to some files. MY problem is that when I write to the file in my program, I get an error, %eax is set to -14. strerror(-14) returns unknown error, and I was told on irc that posix write() doesn't return …

Software Development assembly
Member Avatar for calef13
0
176
Member Avatar for serkan sendur

do you know how to work with activesync using c#? i want to know if any device is connected to cradle. thanks

Software Development api
Member Avatar for serkan sendur
0
86
Member Avatar for doublebond

Hi Guys, I want to read a huge file which contains address bits, data bits and instruction bits. Please let me know how to do this. Cheers, Bond

Software Development c++
Member Avatar for doublebond
0
459
Member Avatar for tdeck

I'm storing a bunch of data in nested collections like this: Dictionary<string, (holds tables) .....Dictionary<string, (holds columns) ..........Struct{ ...............string type (names the type of data in column) ...............List<string> values (values for column) ..........} .....> > Anyway I want to be able to display one of the individual tables (by column, …

Software Development
Member Avatar for sknake
0
104
Member Avatar for nam5a

I've created my own recursive file search. When the file is found it is printed that it is found, but the method searchForFile() does not terminate once the file is found, it continues to iterate and I believe this is when the nullPointerException is invoked. I've looked over this and …

Software Development java
Member Avatar for nam5a
0
149
Member Avatar for come_again

Hello everyone, I am a student working on interfacing a firewire camera with a linux machine. I am able to successfully compile my files (timer.cpp and test_timer.cpp) (they are called timers because i am testing the latency of the camera). Anyways, my problem is that I first type in: g++ …

Software Development c++
Member Avatar for come_again
0
2K
Member Avatar for dospy

i have GHostOne advanced remote host bot last version but i have some problems edditting it. when i try to compile game.cpp (edited by me) gives me a lot of errors that i cannot solv (compile.txt file) anyway...i cannot even compile the originat cpp file cuz he gives me a …

Software Development c++
Member Avatar for dospy
0
249
Member Avatar for johndoe444

Hi, I have this code: list = ['12 angry men', 'Rash &# xf4;mon'] [CODE]def func(list): ... for e in list: ... e = re.sub(' ?&# x([0-9a-f]*);',r'\x\1',e) ... print type(e) ... e = unicode(e,'iso-8859-1') ... print type(e) ... print e[/CODE] I get this output: [CODE] 12 angry men Rash\xf4mon[/CODE] whereas I …

Software Development python
Member Avatar for The_Kernel
0
168
Member Avatar for sgw

I ran the following simple program [B]10 minutes ago and it worked as expected[/B], i.e. it took input "monster" which contained spaces. [B]But few minutes later[/B] I copied the program exactly the same to save as a new program, and [B]it doesn't take the spaces in "monster" input any more[/B]--if …

Software Development c++
Member Avatar for tux4life
0
172
Member Avatar for adyopo

Ok, so my problem is this: I did a little java program to take the number of seconds from a text box and sleep a thread for that amount of seconds. Just to make it clear, here is the piece of code I used: [CODE=java]jTestare.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent …

Software Development java
Member Avatar for adyopo
0
130
Member Avatar for digital-ether

I've written an Object Cache in PHP. [url]http://code.google.com/p/php-object-cache/[/url] However, it requires PHP Sockets support which is not available on a lot of PHP builds. Coming to the conclusion that all hosting that support PHP should support C, I'm going to rewrite this in C. The PHP source is here: [url]http://code.google.com/p/php-object-cache/source/browse/trunk/socket.class.php[/url] …

Software Development c c# c++ json
Member Avatar for jephthah
0
171
Member Avatar for painless

Can any one justify the use of inner classes with example(if possible)

Software Development java
Member Avatar for BestJewSinceJC
0
101
Member Avatar for serkan sendur

i know how to get property values : [CODE]Context.Parameters["nameOfProperty"][/CODE] but i dont know how to set them from custom installer class. any ideas?

Software Development
Member Avatar for serkan sendur
0
112
Member Avatar for nyks.up

Create a text file on desktop as “text.txt”, content of file will be a single line as “FILE ORGANIZATION AND ACCESS METHODS”. Write a program to read from file only “ORGANIZATION” word and print it on screen. And i am doing that but it does not work . [code=c] #include …

Software Development c file-system
Member Avatar for nyks.up
0
88
Member Avatar for dfswart

I am usinh C# to create a Webservice. The applications that uses he Webservice does not have the capability of formating fonts, but uses it as it gets it. I would like to chnage the color of the data I send to the Webservice to something else in certain cases …

Software Development c c# c++
Member Avatar for serkan sendur
0
114
Member Avatar for xixpsychoxix

Hello all. I am attempting to write a small operating system, just for kicks (i'm a strange person...), only problem is, i can't seem to make the protected mode switch. I am targeting Intel 80386 and better using NASM to assemble the source. Here is that source: [code=assembly] bits 16 …

Software Development assembly operating-system
Member Avatar for xixpsychoxix
0
358
Member Avatar for a1eio

i've made a little animation using python and the pygame module, I'm just wondering if it's possible to turn that into a screensaver? is there a format i have to save it to? If anyone knows i would be grateful for the solution thanks, a1eio

Software Development python
Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for DoEds

[i][color=#33CCFF]/*Help me finished this code.I trying to make a program that will ask 2 choices. 1 is for converting dollars to peso and 2 is for converiting peso to dollars. Im trying my best but i dont seem to get the right code for it. Im just a beginner in …

Software Development c
Member Avatar for Tom Gunn
0
359
Member Avatar for lovley

Hey you guys, I am finishing my last two assignments in my class and I am having trouble because as you will see, the directions are not as they appear. My class is online so I don't have anyone I can rack my brain to or with and did I …

Software Development api java
Member Avatar for VernonDozier
0
246
Member Avatar for kostasxx

i cant understand why this happens i m making a simple implentation of sieve of eratosthenes algorithm but code doesnt run on gcc [code] // calculate primes from 1 to 100 #include <stdio.h> #include <math.h> int main() { unsigned long i,x[99],w; for ( i=1; i<100; i++ ) { x[i] = …

Software Development algorithm c
Member Avatar for kostasxx
0
94

The End.