132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jennifer84

I have a ZedGraphControl on my Form. When the form open there is a lot of code that will draw a graph. A few lines of this code is in the first codeview here. From what I can understand, I beleive this code will execute once when the Form opens: …

Software Development c++
Member Avatar for Radical Edward
0
141
Member Avatar for brk235

Hi friends..i have doubt about C++ programming. How to give names for the elemetns in an array of objects...

Software Development c++
Member Avatar for vijayan121
0
105
Member Avatar for joshmo

how can i check if my text file is empty??? i have tried something using eof but it doesnt seem to work or am just using it wrongly [code] if(infile.eof())//check if it is empty /*also tried this*/ if(infile.eof()==0) [/code]

Software Development c++
Member Avatar for Radical Edward
0
107
Member Avatar for murali5780

Hi all, I have an application wherein when I selected a particular option ( radio button) and when I close the appliction and restart it, the radio button which I have selected earlier should be made selected. Iam trying to acheive this for many days, but I couldn't able to. …

Software Development visual-basic
Member Avatar for selvaganapathy
0
114
Member Avatar for ae4jm

I'm trying to get this Evaluate macro to function properly. I'm not very familiar with programming macros, only for very basic tasks. The macro comes from the book "Excel by Example: A Microsoft® Excel Cookbook for Electronics Engineers" by Aubrey Kagan. The macro is suppose to evaluate, based on the …

Software Development legal visual-basic
Member Avatar for ae4jm
0
92
Member Avatar for timdog345

This is what I have, but I need to make a for loop instead of the initialize steep. PLEASE HELP [code] int main () { int numb[10];//1,2,4,8,16,32,64,128,256,512 int numb2[10]; int counter, counter2; /* numb[0]=1,numb[1]=2,numb[2]=4,numb[3]=8,numb[4]=16,numb[5]=32; numb[6]=64,numb[7]=128,numb[8]=256,numb[9]=512; numb2[0]=0,numb2[1]=1,numb2[2]=5,numb2[3]=3,numb2[4]=10,numb2[5]=5; numb2[6]=15,numb2[7]=7,numb2[8]=20,numb2[9]=9; */ for (int z=0; z<10; z++) cout<<numb[z]<<" "; cout<<endl<<endl; for (int x=0; x<10; …

Software Development c++
Member Avatar for timdog345
0
84
Member Avatar for purepecha

[code=cplusplus] //I got almos this program done, it gets the apropiate result skipping some steps. //How do i pass the "int diff" to the "printText function". diff is the largest elemt or the //more repetitive letter from a text file, where the alphabet was shifted by 12. //Also, The largest …

Software Development c++ open-source
Member Avatar for William Hemsworth
0
101
Member Avatar for Gagless

I want to recursively check if two strings are equal, not in size, but character by character. I am unallowed to use loops and the == operator. I tried to use two parallel arrays, but when testing my function I got undesired results. Here's what I came up with: [CODE]int …

Software Development c++
Member Avatar for William Hemsworth
0
1K
Member Avatar for omlac

How do i save and retrieve a file in a database, have used streams in vb6 but doesnt seem to work for me in c#. can someone please help

Software Development
Member Avatar for omlac
0
95
Member Avatar for CelestialDog

Hi guys, i'm in the process of learning Java and so far i'm really enjoying it. However i've hit a small problem. I have two seperate classes, one class creates the swing user interface and the other handles the connection to an irc server. Here is the User interface class: …

Member Avatar for CelestialDog
0
178
Member Avatar for grommet2481

Hey I know this is really simple, I'm studying my first course of C++. In my prac for the week it asks: "A TrainCar is a base class representing carriages for a train. It defines no attributes but has a public function called shape which accepts no arguments and returns …

Software Development c++
Member Avatar for Asat232
0
147
Member Avatar for Azurea

Hey, this time I'm back with a threading error! I need to write code that gets the address of a message sender while at the same time letting the user know that the pygame didn't freeze, so I started a thread to keep control of the screen while searching for …

Software Development python
Member Avatar for Azurea
0
110
Member Avatar for mayur sahay

hi.,.. i am working on aproject which codes a image into acompressed format and then sends it over a network an decodes it at the client side.. The coding technique i have to use is RADON TRANSFORM. now i f any one can help me with this problem please do …

Software Development image java
Member Avatar for mayur sahay
0
78
Member Avatar for mayur sahay

hi everyone In a image processing software i have to convert a matrix of pixel values 2D.into the image .can any one help me out with this..this part has been the most frustrating part of my project ...

Software Development java
Member Avatar for masijade
0
90
Member Avatar for alban08

i`m trying to make a program to calculate the product of this serie: 1/2 *1/3 *5/2 *5/6 *8/10 *16/13 *23/24..... the following program gets compiled without errors but when i execute it pops up a window: prog.exe has encountered a problem..etc... can anyone help me with this problem [code=cplusplus] #include<stdio.h> …

Software Development c
Member Avatar for alban08
0
114
Member Avatar for HimanshuP

I want you to develop a Refresh mechanism. The grids on various tabs does not refresh automatically when some data is changed due to changes on other pages. For example, if I add some data in detail section and attach a document of personal details the grid on the personal …

Software Development visual-basic
Member Avatar for veja24seven
0
129
Member Avatar for C_isoundu

Here is my problem, if you run the program(using piping), it should output the followings: [ICODE]========================= PHANTOM COMPANY INVOICE PRODUCT ID QUANTITY PRICE ($) COST ($) P010001 2 24.99 49.98 DVD-player5 1 58.95 58.95 P010002 20 8.85 177.00 ... TOTAL COST = $xxxxx.xx[/ICODE] my invoice is not the same as …

Software Development c++
Member Avatar for joshmo
0
107
Member Avatar for risa

How to close dialog box if it doesnt hav OK and CANCEL Button in windows programming.the dialog box is shown with DoModal which inturn calls onInitDialog().But how to close it ?does EndDialog hepls and how ?where to call EndDialog?

Software Development c++
Member Avatar for Anitaj
0
218
Member Avatar for zawpai

Hi, I get some problems when I run the following codes. #include<iostream.h> class Distance { protected: int feet; float inches; public: Distance() { feet = 0; inches = 0; } Distance(int ft, float in) { feet = ft; inches = in; } void get_dist() { cout << "\n Enter feet …

Software Development c++
Member Avatar for Nick Evan
0
321
Member Avatar for lifesuk

i am new to c++, currently working on an assignment, now i'm stuck in skipping the comment lines in the txt file. the txt file is something like this: #com1 A1 A2 A3 #com2 B1 B2 B3 ... what i need to do is to enter commands to display the …

Software Development c++
Member Avatar for Nick Evan
0
3K
Member Avatar for manutd4life

Hi am in prob. 4 me its now or never to pass. get a program to do. Convert binary to decimal octal to decimal binary to hexadecimal some1 can help me. i need some PRO so if interest post ur mail id and i'll mail u my paper if some1 …

Software Development pascal
Member Avatar for manutd4life
0
350
Member Avatar for sopheaktra_boun

excuse me, i want to know about the subform in vb.net what is best control to make subform in vb.net. in vb6 i used flexgrid control to make subform,but in vb.net i really find it hard to make subform in vb.net. thanks

Software Development vb.net
0
79
Member Avatar for geetajlo

Hi i want to back up my database. Can sme 1 know the code of backup ?

Software Development vb.net
Member Avatar for Jx_Man
0
87
Member Avatar for BlahHx2

Hey folks i need a little bit of help im not good with Vb as i am just learning so bare with me ^_^.. Ok well im making a program that will connect to my mysql database located on my other computer in a program called navicat im not sure …

Software Development vb.net
Member Avatar for Ole Raptor
0
152
Member Avatar for Black Magic

Hey, I am not stuck on this or anything just a bit confused about if this is the right way to go.. Well i was wondering on the river (five cards that go into the middle of the table) i am going to make them random and that is no …

Software Development c++
Member Avatar for Salem
0
101
Member Avatar for Kadence

I'm confused about the use of the dereference operator in the declaring of char arrays. I think I understand that the dereference operator is used to dereference memory addresses to their values, and also in an unrelated function in the declaration of pointers; and that arrays are like special pointers …

Software Development c++
Member Avatar for Salem
0
205
Member Avatar for k2k

I know I can do " sed 's/old/new/g' filename to make the change to standard output.... however, is there a way that it would save the change to the file instead of just showing to the screen? Another question on ed, i know i can search by using /target/ , …

Software Development shell-scripting
Member Avatar for Salem
0
164
Member Avatar for scorpionz

Hi This is Scorpionz... Is there anyone have any idea ...Regarding Work Flow System in Java Web Application.... Any Response Will be highly appreciated with great Thanks Regards ScorpionZ

Software Development java
Member Avatar for scorpionz
0
157
Member Avatar for sheady

[INDENT][/INDENT]I have created a Program that first searches and returns the contents of a file into a richedit then opens up the next file finds the matching record and displays that in the rich edit and then the same again with another file. [INDENT][/INDENT]My problem is that when i search …

Software Development file-system pascal
Member Avatar for afripino
0
276
Member Avatar for kimbostun

i want Use the 2 text files boynames.txt and girlnames.txt Prompt the user for boy or girl and then for a letter from the alphabet. Open either boynames.txt or girlnames.txt and read each line in – when the name starts with the letter that the user specified then write the …

Software Development java
Member Avatar for Compton11
0
177
Member Avatar for Sawamura

Hi again, I want to print whatever that is written in rtf. Please Help me Thank you very much :)

Software Development vb.net
Member Avatar for waynespangler
0
124
Member Avatar for NuGG

I have created a bat file to launch 3 browser windows with different URL's, to be run at system start up... [CODE] start iexplore http://www.domain.com/dyna.php?domain=ufbsound&tld=co.nr&pass=abcd&dir=ufbsound start iexplore http://www.domain.com/dyna.php?domain=ufblive&tld=co.nr&pass=abcd&dir=ufblive start iexplore http://www.domain.com/dyna.php?domain=ufbftp&tld=co.nr&pass=abcd&dir=ufbftp [/CODE] The URL's contain several "&" so the script opens the browser windows with the URL's up to the …

Software Development
Member Avatar for afripino
0
203
Member Avatar for lahom

hi Iam creating an application(vc++) which supposed to find the similarity between two programs written in c++ (at SYNTAX and SEMANTICS). in SYNTAX: i used the tokenize method and save it in strings...thats works but the question is here in the SEMANTICS: how can i trace the semantics in the …

Software Development c++
Member Avatar for Duoas
0
73
Member Avatar for TheWhite

Hi again. I'm trying to get Java to recognize the action of pressing both mouse buttons in the same time. I did some research and I found that Event.getModifiersEx() can help me do what I want, but I can't figure out how to implement it the correct way. Event.BUTTON1_DOWN_MASK is …

Software Development java
Member Avatar for Ezzaral
0
391
Member Avatar for lllllIllIlllI

Hi I have been working on a blackjack program and i have hit a brick wall as one of my Global assignments isn't working for some reason [code] import random class Cards(object): def __init__(self): global cards global player global comp global comp_tot global playert cards = {2:4,3:4,4:4,5:4,6:4,7:4,8:4,9:4,10:16,'ace':4} player = [] …

Software Development python
Member Avatar for lllllIllIlllI
0
181
Member Avatar for TheWhite

Hi again. I'm trying to recreate the digital timer in Minesweeper: Top right ----- [url]http://www.uberreview.com/wp-content/uploads/506x363-minesweeper.jpg[/url] 000 -> 002 -> ... -> 009 -> 010 -> etc... I couldn't think of an easier way to do it except to create an Icon for each number and match it to it's corresponding …

Software Development java
Member Avatar for TheWhite
0
100
Member Avatar for Talianika

Hi! Programing a program with the fibonacci numbers, but having some problems getting the program to work as it should. The problem is that the user which is using the program are going to type a "max value" of how far he wants to count the fibonacci numbers. So if …

Software Development c++
Member Avatar for wellibedamned
0
121
Member Avatar for shankhs

hey guys do u know any good on line tutorial of graphs? ya i know there are many but i want the one which has source code to play around...... PLUS a detail description.... Thanx

Software Development c++
Member Avatar for shankhs
0
102
Member Avatar for ABSOR

I just downloaded and installed ActivePython on my windows PC (XP). I can bring up the editor and can write very beginner lines of code in the editor and save and run the program. However, when I create any function the interpreter says there is an error, no matter how …

Software Development python
Member Avatar for ABSOR
0
94
Member Avatar for dangermini

Hey I'm just trying to develp some code for some coursework i've got to do. I am wondering is it easier for me to write the code for what I want to do and then integrate the PyQt GUI after I've written the code, or is it best practice to …

Software Development gui python
Member Avatar for dangermini
0
144
Member Avatar for saywell

Can anyone help me with a python script I'm writing to change a password in a batch file. I need to replace the old password with the new one. I can do this by getting the old password from the user by raw.input, but I'd really like to just replace …

Software Development python
Member Avatar for saywell
0
81
Member Avatar for a_iyer20

Hello, I have a requirement to fetch data from a database and store into another database. More explanation goes as follows: I have a web application deployed on an application server. The JDBC connection fetches data from a oracle database. Now I have a need to fetch data from a …

Member Avatar for jwenting
0
104
Member Avatar for NycNessyness

Currently having a problem with adding data so that if someone selects something like an add button, it keeps adding the data, like a person's name, age and grade. Then when they select Enter, all the data they added will display in a data file. The problem I'm having is …

Software Development java
Member Avatar for NycNessyness
0
159
Member Avatar for savinki

I want to split data in a string. The string will consist of several data. Before every element the length ofthe element will come. I want to exract data one by one. e.g. char * abc = "[length ]acsfdnhsjg[len]gvsdgdvheg[len]efgwetrge"; can someone help me!!!!!!!

Software Development c++
Member Avatar for Radical Edward
0
169
Member Avatar for mihal

Ok, so far i have 2 strings inputed from keyboars into stringA and stringB, defined as db now i need to count how many times is string B appearing in A and output that number. Max lenght of strings is 29. I think it should be done in 2 loop, …

Software Development assembly
Member Avatar for mihal
0
105
Member Avatar for wujianwei

javax.mail doesn't exit in jdk, right? how can i solve the problem?

Software Development java
Member Avatar for peter_budo
0
88
Member Avatar for venomlash

Like the title sez, does anyone know a good way to take an Image and convert it into a BufferedImage???

Software Development image java
Member Avatar for peter_budo
0
98
Member Avatar for riahc3

Hey :) How do I load data from a Access DB into a combobox?

Software Development vb.net
Member Avatar for riahc3
0
200
Member Avatar for suganzeni

Hi all I am working with VB.NET 2003 for mobile application. Here there is no likn label option. But i want to open a html link in my VB.NET form. Like may be on button click event or in form load event. If any idea help me Thanks and Regards …

Software Development vb.net
Member Avatar for aaroe
0
200
Member Avatar for jpd727

Hey all, When I write even a hello world script like below [CODE]#include <stdio.h> int main(void) { printf("Hello World!\n"); return 0; } [/CODE] the windows command line flickers when trying to execute it, instead of staying there and showing me ? Is there anyway to refresh or make this start …

Software Development c++
Member Avatar for Radical Edward
0
109

The End.