132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
Is making a program altering a registry of an OS? Thanks for the answers Software Development visual-basic | |
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 | |
| |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
why cant i pass property as ref parameter? Software Development | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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++ | |
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 | |
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] … | |
Can any one justify the use of inner classes with example(if possible) Software Development java | |
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 | |
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 | |
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 … | |
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 | |
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 | |
[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 | |
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 … | |
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] = … |
The End.