132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mitja Bonca

How to put an image (BitMap) into a statusBar? I was trying with: 1. [CODE]statusBar1.Text = Properties.Resources.MyPucture;[/CODE] 2. [CODE]Bitmap myPic = new Bitmap(Properties.Resources.MyPucture); MethodToShowStatusBarImage() { statusBar1.Text = myPic; }[/CODE] but it is not working. Any clues how to salve this issue? And besides, I have found a lot of example …

Software Development image
Member Avatar for Diamonddrake
0
480
Member Avatar for doolsta111

Hi Guys, I am having issues with reading from a list made up of lists. I dont want to paste my code as it is for an assignment, but here is the basic setup. i have a class person that has declared [CODE]list<char> name;[/CODE] push to the list; i have …

Software Development c++
Member Avatar for sblass92
0
117
Member Avatar for XAaronX

Hey, just joined, hi! :) Ok, well, I'll start of with, I'm fairly familiar with c++ i think... Well kind of. Theres a lot i don't know, but im familiar with classes and stuff. Hopefully that'll give you an idea. Anyway, my problem! I was working on a simple game …

Software Development c++
Member Avatar for mrnutty
0
170
Member Avatar for mimi89

i need to write a program as follows: Write a program that prompts the user to enter three positive integers representing the number of rows, the number of columns of a grid, and the number of mines hidden in the grid, the program then calls the following function: void Minesweeper(int …

Software Development c++
Member Avatar for Lerner
0
765
Member Avatar for jbl09

there's something wrong with my program, it runs but it goes on forever and it doesn't display the day of the week only the letter M and that's it this is my text file, but my program is not suppose to be restricted to this text file: Monday Tuesday Wednesday …

Software Development c++
Member Avatar for caut_baia
0
244
Member Avatar for tennis

In the following code, why x=new int; y=new int; are a must, if I comment out these two then I will have run-time error. I think I have int * x; and int* y; already shows that x and y are pointers point to int. There is no need to …

Software Development c++
Member Avatar for VernonDozier
0
126
Member Avatar for red999

So I finally finished writing a program to build a maze using disjoint set (I just learned it =P). Anyway as I was writing my program, I was under the impression that I could start from the end of the maze and I could climb up to the parent node …

Software Development c++ data-structure
Member Avatar for red999
0
105
Member Avatar for Olah92

Hi, I'm trying to write a program using enum to store data. The user needs to input the first two letters of a word and the program outputs the full word. Here is what I have, but for some reason I cannot get it to run (visual c++ express edition). …

Software Development c++ visual-basic
Member Avatar for Olah92
0
208
Member Avatar for mark88211

I have a homework problem that i am stuck on. I have to create a triangle (using classes) that a user inputs the height and width. It then translates 3 times and prints the coordinates each time it translates. This is what i have so far but am stuck. #include …

Software Development c c# c++
Member Avatar for mark88211
0
144
Member Avatar for ahmed.123

This is what i have done so far but i want the output like that square#1:not an increasing square square#2: increasing square square#3: not an increasing square please help Help with Code Tags C++ Syntax (Toggle Plain Text) [CODE]#include <iostream> #include <fstream> // Header to use input and output #include …

Software Development c++ file-stream
Member Avatar for VernonDozier
0
108
Member Avatar for Anigmalee

Hi, Im Newbie in VB, Need some help/advise here. 1)I dont know what different between Access Databass, SQL severdatabase, SQL server compact 3.5 in term in application? I just need a brief intruduction in when to use them(How to choose between them) 2)In My project, I use database to store …

Software Development microsoft-access vb.net
Member Avatar for Alexpap
0
166
Member Avatar for bibiki

hey there. I have been struggling with separating classes in java and figuring out what methods go in what classes. when i build my apps in one file, i do them right, but when i try to separate classes, i mess up. like for example: I have these two classes: …

Software Development java java-swing oop
Member Avatar for quuba
0
202
Member Avatar for progr

I am trying to make a program that determines whether a statement is true or false I have this so far:[CODE]public static void main(String[] args) { int w=2,x=3,y=4,z=5; boolean expression; expression = (w<=x)&&(z>=y); if(expression == true); System.out.println("true"); if(expression == false); System.out.println("false"); }[/CODE] ...but all it prints out is true and …

Software Development java
Member Avatar for progr
0
122
Member Avatar for giri.pankaj

This script uploads the pics in the specified directory into the specified album in picasa. The script requires gdata libraries installed. Check [I]code.google.com[/I]. I had written and tested the code in linux platform. Hasn't been tested in windows. Any suggestions to add more functionality, or add a UI or any …

Software Development api google-api python windows-api
Member Avatar for giri.pankaj
0
375
Member Avatar for TrustyTony

This function I did to improve calculator program by eliminating problems with Pythons problem of dividing integer with integer and giving integer division result.

Software Development python
Member Avatar for TrustyTony
0
405
Member Avatar for oXHutchXo

Sooo im doin this project for school and im super stuck on the keydown command, i dont know how to get it to work at all! my teacher is also has learned c# but forgot alot of it. so basically i want it so that if i press the up …

Software Development
Member Avatar for oXHutchXo
0
125
Member Avatar for dumb

HEy guys Have any one of u worked for an insurance company on java. I need to describe what u do in java for an insurance company. I need the description of the projects done for an insurance company in java. please make this quick,. This is emergency. Bye. thankx …

Software Development java
Member Avatar for peter_budo
0
139
Member Avatar for Kelba

Hello I'm a newbie to C# and I'm looking forward to learning it. I know the best way to learn something is to practice, but I can't think of anything to make. I'm most interested in developing applications that interact witht he web, but I have also had an idea …

Software Development c c# c++
Member Avatar for peter_budo
0
3K
Member Avatar for Protoroll

Okay so my loop is supposed to check if an item in the ArrayList has the MINIMUM_RATING value which is 1. It does that just fine, but the problem starts when there is more than one item with the MINIMUM_RATING value in it. I need it to stop at the …

Software Development java
Member Avatar for Protoroll
0
126
Member Avatar for ConCon

Can someone look at this and tell me why I'm getting an empty tar? [code] #!/bin/sh #### mysqldump --opt --user=[my username] --password=[my password] | tar cvz > backup.tar.gz #### echo | mutt -a backup.tar.gz -s \"Database Backup\" [my email] #### rm backup.tar.gz #### [/code] Thanks!

Software Development mysql shell-scripting
Member Avatar for ConCon
0
217
Member Avatar for philipB

I'm creating a program to Deal, Sort, Display and determine cards for a poker game. A word for word of my program is here... [QUOTE]Write a program that will operate on a deck of 52 cards. Your program will: 1. Deal them into four random hands of 5 cards each …

Software Development c++
Member Avatar for Lerner
0
1K
Member Avatar for compuspace

Hey! I created my first project on Google Code. Let me introduce myself. I'm Kevin, 18 years old. Next year I'll study computer science in Holland. I'm interested in computers ofcourse, and also in artificial intelligence and natural language processing and internet. So I created a new project. But I …

Software Development open-source python
Member Avatar for compuspace
0
77
Member Avatar for jagopy

I am looking for very beginner programming software for my 12 y/o grandson for his birthday. He wants to program his own video games eventually but needs to start with basics. Is this a good software for that? If not, any suggestions? I am not technically savvy wise, so please …

Software Development python
Member Avatar for jagopy
0
120
Member Avatar for nsutton

I need this code to ask if you finished the current quest, if your say YES you have, i must check your inventory to see if you have the necessary items to complete it. What will check if inventory contains flour and eggs in this case? Thanks, (code below) [CODE]#Tavern …

Software Development python
Member Avatar for snippsat
0
115
Member Avatar for AcidG3rm5

Hi all, I have created a UDP program, client and server. What i'm trying to do is, hash a string, save the hasded code and the message into a .txt file and send it over to the server. I have created the UDP program, MD5 hash codes and writing the …

Member Avatar for moutanna
0
3K
Member Avatar for DGXI

ive created an array list but every time i try and print the conents, instead of giving me a list it gives me the class name followed by @e41bc3 random numbers and letter. any ideas on how to print the contents? cheers

Software Development java
Member Avatar for moutanna
0
90
Member Avatar for jmartis

Hello, I'm doing an analog clock windows forms application in Visual C++, and for this I need to draw a few lines in a blank space inside the form. I've searched the Net but can't find a simple way to draw inside a form window. Any Ideas?

Software Development c++
Member Avatar for jmartis
0
151
Member Avatar for thuyson

i want to insert textbox's content into money column in sql.but i don't know how to do it. Please help me Thank u!

Software Development sql
Member Avatar for thuyson
0
798
Member Avatar for progr

i need a for loop to print out the numbers 1 2 4 8 16 32 64 128 256 512 any help?

Software Development java
Member Avatar for moutanna
0
103
Member Avatar for ceyesuma

Could someone look at my Statement stmt? is this error due to improper string creation? Thanks [code] [/code] [code] public String stmtCreateStudentTable = "CREATE TABLE student (" + "stu_uid CHAR(11)," + "stu_password CHAR(11)," + "stu_lname CHAR(20)," + "stu_mname CHAR(20)," + "stu_fname CHAR(20)," + "stu_gender CHAR(1)," + "stu_age INT(3)," + "stu_start_date …

Software Development apache java
Member Avatar for ceyesuma
0
120
Member Avatar for Olah92

Hi, I'm working on a c++ homework assignment and I cannot get it to work. Here is the assignment: Write a program that reads a student's name together with his or her test scores. The program shouuld then computer the average test score for each student and assign the appropriate …

Software Development c c# c++
Member Avatar for Ancient Dragon
0
236
Member Avatar for ashwini_rt

hii everyone1.. how can i update a text file i,e only one particular record in a file i'm using openGL with vc++ ... my sample code to write into a text file when a store button is clicked is over here..after every 8sec i have to update only x_quad and …

Software Development c++ opengl
Member Avatar for Ancient Dragon
0
236
Member Avatar for abaran01

I'd like to write a function in C that takes the current system date adds a user defined number of days and returns the new date. Im new to C so Id like any suggestions . Thanks in Advance.

Software Development c
Member Avatar for Ancient Dragon
0
235
Member Avatar for doomfrawen

Hello friends! I'm writing a program that is connected to a mdf database and i need to query the database, but I have tried several ways to do it but without success :( ! This is my code: [CODE] string Query = null; SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database1.mdf;Integrated Security=True;User …

Software Development listview open-source
Member Avatar for doomfrawen
0
2K
Member Avatar for zilvis89

Hello guys, I am a beginner in C# I would like to ask you, how to copy some lines from textbox (or rich textbox) I have all the source , i just now need to find out how to copy lines. Here is what i need: I get web source …

Software Development
Member Avatar for zilvis89
0
186
Member Avatar for crazzy_devil

i am soryy my english is very bad but ill try my best to explain.i need help with my c++ assignemnt urgently. i want to create a frame and fit in this histograph(attached) which i made with the help of the container, where the x-axsis is the number from like …

Software Development algorithm c++
0
161
Member Avatar for TrustyTony

I tried this super simple class example from net. (Yes I am a beginner in implementation of object oriented features in Python) UPDATE: Now from fresh start of IDLE it did not crash, but did not quit properly still. Hmm. TaskManager any (or dozen) python zombies hanging around?? No only …

Software Development python tkinter
Member Avatar for vegaseat
0
594
Member Avatar for FriQenstein

Hello all. I've a question regarding using fractions as exponents. Not quite sure how to start this in Java. For example, let's say someone gives you an equation from an excel sheet as follows: [B](AxB)^1/3[/B] I'm assuming this means multiplying A*B then raising it to the power of 1/3 ([I]one …

Software Development java
Member Avatar for FriQenstein
0
352
Member Avatar for GAME

Is there a easier way to do multiple send keys instead of just having to C/P? [code]SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}"); SendKeys.Send("{TAB}");[/code]

Software Development
Member Avatar for mbulow
0
110
Member Avatar for BobbieJean

Hi all, I had posted my code and updated it a few times in another thread and didn't get any response and since I have gotten some things figured out and had posted my long code a few times in the other thread, I thought I would put my last …

Software Development gui java java-swing
Member Avatar for BobbieJean
0
1K
Member Avatar for CipherPol9

hi i am developing a software for tecnichal assistance. i am using a acces database which consists in two tables assitance and cliente and i use inner join to connect t«the two tables. now i connot save data on the table i made the inner join. What code i have …

Software Development vb.net
Member Avatar for pritesh2010
0
88
Member Avatar for pore

Hello, I'm working at a 8 puzzle ([url]http://www.permadi.com/java/puzzle8/[/url]) i want to compare two arrays. after that I want to get a true or a false and then I want to implement a algorithm. my question is: why can I not use 2 different variables and display the interger values of …

Software Development algorithm java puzzle
Member Avatar for pore
0
118
Member Avatar for pankajagar2002

Hello frnds. i have little bit confusion on this topic, i try to find over the internet but not able to do this, could you please help me, i want to know that whether Calender.getInstance() method is threadsafe or not. Thanks in advance

Software Development java
Member Avatar for ~s.o.s~
0
1K
Member Avatar for rcmango

Hi for some reason my array prints out a bunch of 0's and other unwanted integer garbage. I can't see why because i originally assigned number to an array 1-31 using something like `array[]={1, 2,3...31}` something like that, and then i use a for or while loop in the code …

Software Development c++
Member Avatar for Sky Diploma
0
349
Member Avatar for mrs.lala

hello, im not understand concept of recursion function and the uses...have anybody explain to me... second how to write a recursive version of function to determine if an input is prime...

Software Development c++
Member Avatar for Sky Diploma
0
162
Member Avatar for tinchektinc

Hi everyone. First I would like to apologize if I didn't post this correctly, so please don't take it hard on me if I did. Here is my problem: I have to print out a system filled form, including text styles. For example (I have already solved the styling issue) …

Software Development c c# c++
Member Avatar for tinchektinc
0
3K
Member Avatar for jbl09

mainly i have problem with the loops it's suppose to be a program that reads in data from a text file (not necessarily this one, but something like it): Monday Tuesday Wednesday Thursday Friday Saturday Sunday 34252 85776 65746 93453 63534 34335 0 20444 73462 83575 23552 23753 23532 0 …

Software Development c++
Member Avatar for peter_budo
0
276
Member Avatar for pato wlmc

Well, a few weeks ago, i messed up my PC ( The windows part, Linux remains perfect ), not big deal, just formated, and seeing the bright side, i updated to Windows 7 ( i was on Windos vista). Everything is perfect.... or was until now. I used to "compile" …

Software Development c++ windows-vista
Member Avatar for pato wlmc
0
139
Member Avatar for VBNick

Is there a way to put a computer to sleep somehow other than clicking start, then sleep? I am using a shortcut to this right now: C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0 but it doesnt do the same thing as clicking "Sleep" in the start menu. I need a piece of C++ code, …

Software Development c++
Member Avatar for VBNick
0
1K
Member Avatar for ironstove

Hello, I am a non-cs student who has not really had any prior experience with C++ besides coding up a few simple programs on my own time. I am trying to implement the A* pathfinding algorithm and I have all of the logic figured out and written down in pseudo-code, …

Software Development algorithm c c# c++
Member Avatar for VernonDozier
0
216

The End.