132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Dannyo329

I'm working with structures, but somehow it skips one of the user inputs for the pie's price: [CODE]#include <iostream> #include <windows.h> #include <string> #include <conio.h> using namespace std; const int ESC = 0x1b; struct pie{ string brand; float price; string flavour; }pies[5]; int main() { cout << "Structures."; cout << …

Software Development c++
Member Avatar for Bench
0
147
Member Avatar for dinklebaga

Hi All, I am researching writing a program in C that will allow me to control the read/write on a FDD and then to move onto HDD's. I have been given some code that will allow me to do this by one of my lecturers but uses the DOS.H library …

Software Development c
Member Avatar for dinklebaga
0
162
Member Avatar for bhob

write a java program that checks if parenthesis and brackets are balanced in an arithmetic expression. help me!! :(( i dunno how to solve that problem.. is it the same as the calculator java code? the concept, i mean.. :( help me guys..

Software Development java
Member Avatar for verruckt24
0
202
Member Avatar for Dajak

Hi, im working on a mouse recorder. My problem is that i cant get the mouse click to work, everything except for the mouse click works. I've tried with several tutorials around the web, but i get errors on the declarations because two of them are named mouse_event. Thanks, Dajak.

Software Development vb.net
Member Avatar for Dajak
0
70
Member Avatar for jaiprakash15

[COLOR="Red"]Dear friends, I am new To Vb.net World. I have to Create a XML file like as shown below. <Task> <TaskStatus ID="PS0002436" status="Start" /> <TaskStatus ID="PS0002435" status="Start" /> <TaskStatus ID="PS0002434" status="Start" /> <TaskStatus ID="PS0002432" status="Start" /> </Task> Is there any Code available for creating... i need to add the "Value" …

Software Development vb.net xml
Member Avatar for jaiprakash15
0
112
Member Avatar for FTProtocol

Well im trying to "sleep" or make the program twiddle its thumbs for 15 seconds before continueing but without pausing the main thread. So i thought maybe if i create a new thread and Sleep in that one that would help but no. So then i thought the timer object …

Software Development
Member Avatar for ddanbe
0
186
Member Avatar for FTProtocol

I need my program to "stop" as the timer is running and when the timer returns true i need it to continue what it was doing. Sleep: [code] void iUpdateStatus() { bComplete = true; //IDC_Status.Text = IDC_Status.Text + "\r\n" + DateTime.Now.ToString(); } bool sSleep() { System.Timers.Timer myTimer = new System.Timers.Timer(); …

Software Development adobe
Member Avatar for LizR
0
113
Member Avatar for tapon

Hellow everyone, please someone help me... I[COLOR="Red"] want to read data from a pdf file [/COLOR]but my coding does not work...

Software Development pdf
Member Avatar for LizR
0
128
Member Avatar for clutchkiller

Could anyone inform me of how I would call the screen saver on windows xp? Edit: Just did some research on MSDN and found the WM_SYSCOMMAND, and i see something about calling the screen saver in there, but i am confused on how to use it. Any help? Thanks guys

Software Development c++
Member Avatar for Freaky_Chris
0
186
Member Avatar for rangalo

Hi, I want to change the color of my button during runtime.. i am writing the following code inthe OnCtlColor of my dialog box [CODE]HBRUSH CPIVSyncDlg::OnCtlColor(CDC *pdc,CWnd *pwnd,UINT nCtlColor) { HBRUSH hbr = CDialog::OnCtlColor(pdc,pwnd,nCtlColor); switch(nCtlColor) { case CTLCOLOR_BTN: if(pwnd->GetDlgCtrlID() == IDC_STARTSTOP) pdc->SetBkColor(RGB(255,0,0)); return (HBRUSH)m_btbrush.GetSafeHandle(); case CTLCOLOR_DLG: pdc->SetBkColor(RGB(255,255,255)); pdc->SetBkMode(TRANSPARENT); return (HBRUSH)m_hbrush.GetSafeHandle(); …

Software Development c
Member Avatar for mitulgolakiya
0
1K
Member Avatar for drfarzad

i need a program than can be ask user : name , age , id , and salary then shows me the maximum salary and minimum salary and then sort salary from maximum to minimum . please complete these program for me [CODE] public string name;a public int age; public …

Software Development c c# c++
Member Avatar for Ramy Mahrous
0
360
Member Avatar for auzziez

Hi, I need to automate an Excel sheet. The requirement is that I need to read data from various CSV Files, maipulate them and place the results into specific cells in an Excel Sheet. This excel sheet is already prepared with lots of text. Only specific columns are left blank …

Software Development microsoft-office pascal
Member Avatar for dlhale
0
591
Member Avatar for amalinaishak

i need to enhance jawi converter application using syllable word, but i don't know how to start it. The previous version, the coding is not working for syllable,so i need to change some coding to make it done convert correctly.Here some of code that i have to enhance.

Software Development java
Member Avatar for quuba
0
154
Member Avatar for simonpaul

please i just got this visual basic 2008 installed on my system and i would have started work if not for the fact that i cant locate the tools on the toolbox, and what can i do without tools? plaease how can add the tools and get them working....

Software Development vb.net visual-basic
Member Avatar for jbrock31
0
146
Member Avatar for ryan311

help theres nothing happen everytime i search a record heres my code [ICODE]Dim a a = InputBox("Input Product Code :", "Find", "") If a = "" Then Exit Sub End If Set rs = New ADODB.Recordset rs.Open "Select * from Product where pcode='" & a & "'", cn, adOpenStatic, adLockPessimistic …

Software Development visual-basic
Member Avatar for ryan311
0
145
Member Avatar for ryan311

hi how can i change the backcolor of my label the SA is the name of the label heres my code [code] Private Sub Text1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case 97 SA_Click (0) Case 115 SA_Click (1) Case 100 SA_Click (2) Case 102 SA_Click (3) Case 103 SA_Click (4) …

Software Development visual-basic
Member Avatar for ryan311
0
79
Member Avatar for cppnewb

Hi. I'm new to the forums, and I have a quick question. I would like to add 14 days to the current system date in a program. Here is my code: char date[9]; _strdate(date); char time[9]; _strtime(time); cout << "The due date of your books is: " << date << …

Software Development c c# c++
Member Avatar for cppnewb
0
9K
Member Avatar for waldchr

HI For Christmas I got a book on game programming with allegro. I went through the process of setting up the files and ran, compiled, and linked the program only to find that depending on which compiler I used (Dev-C++ or VC++ 2008) it came up with different errors saying …

Software Development c++ windows-vista
Member Avatar for waldchr
0
100
Member Avatar for shouvik.d

Hi There, I have a third party EXE file (on which I have no control of any modification) which invokes a new CMD window in order to execute itself. In other words it a windows console application. Now it executes with some switches for runtime options [ICODE]<exe_name> /opt1 "param" /op2[/ICODE] …

Software Development shell-scripting
Member Avatar for Fest3er
0
574
Member Avatar for tomtetlaw

Can anyone recomend any c++ 3D engines that are similar to pygame?

Software Development c c# c++
Member Avatar for tomtetlaw
0
146
Member Avatar for cppnewb

Hi again. In one of my programs, I would like to put in a search type feature. I would like it, so if the user enters a book name, it returns the call number of the book. I would also like it ti display a message if the library doesn't …

Software Development c c# c++
Member Avatar for cam875
0
122
Member Avatar for RhinomanUK

Hi I'm having a problem reading in a file. I am using BCB6 Personal Edition under Win XP. The file is always read correctly up to the 4413th byte then the data is corrupted. I have modified the code from a fixed array size to use a vector so I …

Software Development c++ file-system ios
Member Avatar for RhinomanUK
0
180
Member Avatar for revenge2

hello there, well i just started python, and well came to grinding halt. Why doesnt this work when i enter this... [CODE]print "hello world" [/CODE] it gives me [CODE] IDLE 3.0 >>> print "hello world" SyntaxError: invalid syntax (<pyshell#0>, line 1) >>> [/CODE] can anyone help me? -cheers

Software Development python
Member Avatar for sneekula
0
126
Member Avatar for nitinnitin18

i was writing a code for the applet in the awt class. but i was confused as i couldnt find any function to fix the position of button or textbox in the applet. the only solution which i got was using layout manager. but then i also couldnt find the …

Software Development java
Member Avatar for BestJewSinceJC
0
119
Member Avatar for cppnewb

Hi Again. I have a password field in one of my programs. I would like to display the letters as a *. Does anyone have some code to achieve this?

Software Development c++
Member Avatar for cppnewb
0
102
Member Avatar for AKJo

Hello, My problem is the execution jumps over a lot of code. In my example it jumps from "if" to the last end;, without executing anycode inbetween. Why? I had no "if" before and the one line was executed before the procedure was ended. No error message is returned. All …

Software Development pascal
Member Avatar for Narue
0
150
Member Avatar for Dav 1

Hello, I'm making a customer data base for my friend. I need to open, edit and save a excel file in ole. So I know how to ope and edit but I don't know how to save it. I searched already half of a web and I found nothing so …

Software Development visual-basic
Member Avatar for Dav 1
0
120
Member Avatar for asif786

I am coding a program which will simulate a ballot box, where voting wil take place. The code generates a random number which is the voter number which is unique to each voter. This is output to the user before voting. I would like it to perform a check to …

Software Development asp.net vb.net
Member Avatar for Comatose
0
163
Member Avatar for DazzaE2008

Hi New Here, I am struggling with a project am doing in Visual Basic 2008 where I am intergrating a access 2000 database. I cant seem to use the VB2008 program to search one field from the database (House Numb er, Id like to search btw). Any help people...... Thanxs …

Software Development vb.net visual-basic
Member Avatar for DazzaE2008
0
185
Member Avatar for lacompsr

I want to make an appointment manager type thing in Delphi. In which I can add/edit/delete/make sure appointments dont clash. Its part of a larger program I am making in Delphi which is why I cant use anything else (apart from microsoft access via a DBGRID) and it is really …

Software Development delphi microsoft-access pascal
Member Avatar for delphiman
0
164
Member Avatar for madigital

Hi everyone! First post here. I've been programming for years but this xslt confuses the heck out of me. Can someone please tell me how to get this piece of code to work? It's a fragment reading in an rss feed and I'm trying to get it to only show …

Software Development html-css xml
Member Avatar for fpmurphy
0
217
Member Avatar for nikileshsa

[code=c] #include<stdio.h> # define A 10 const short LINE_SIZE = 255; main(){ char a[LINE_SIZE + 1] = " "; //Error here...why is this an error?? char b[A]=""; //no problem here printf("%d",sizeof(a)); printf("%s",a); } [/code]

Software Development c
Member Avatar for grumpier
0
187
Member Avatar for bulawa2002

Good day, Happy new year to guys. I Know that this is not the right forum for my question but I dont know which forum to post this. Pls accept my applogies in advance. I need to develop a software that can receive info from a GPS receiver thru a …

Software Development
Member Avatar for bulawa2002
0
82
Member Avatar for Ronen444

Hi ! Some (weird) problem i got : I have a header file, InputHandler.h, which has one Class called InputH, and inside i have public: and a Void named Hi(). When i try to include InputHandler.h in PRPT.cpp, i get an error, weird one; The error says that i should …

Software Development c c# c++
Member Avatar for Narue
0
278
Member Avatar for karang

Hi I am writing a code in VC++ char* style = "color:#4D4DFF;font-size:9pt;font-family:Arial;"; char* semicolonsplit = ""; semicolonsplit = strtok (style,";"); But in the last line I am getting an error " Access violation writing location 0x0041606d." Am I missing something. Regards Karan

Software Development c++
Member Avatar for Narue
0
115
Member Avatar for Richy321

Ok so im still learning C++, looking at some directx and i come across a _ before a var and was wondering what it means. for example: pDevice->SetVertexDeclaration( _vertexDeclaration ); or in a error macro: SHOWERROR( “CreateVertexBuffer failed.”, __FILE__, __LINE__ ); first one is probably the best example. thanks.

Software Development c++
Member Avatar for Salem
0
126
Member Avatar for scias23

help.. i dont know how to sort strings.. for example.. if i enter: [CODE]JOKER[/CODE] then the descending order of string must appear: [CODE]ROKJE[/CODE] i think of strcpy() ..but it i dont know what to place in the if().. here's my code.. [CODE] #include<iostream.h> #include<conio.h> #include<string.h> #include<stdio.h> void main() { clrscr(); …

Software Development c++
Member Avatar for scias23
0
2K
Member Avatar for emilio

I'm looking for a control in c# that looks like a panel but allows you to write header text on his border. i attached a picture to show you what i mean. does anyone knows this control ?

Software Development
Member Avatar for emilio
0
89
Member Avatar for kennycason

I've been working at this, ALL day... and stumped I have a class called LinkedList, which I am writing, Everything compiles, but at run time I get a segmentation default error. It occurs when I initialize a LinkedList object. I.e. LinkedList ll; // causes a seg def error at runtime …

Software Development c++
Member Avatar for kennycason
0
207
Member Avatar for sfrider0

Is there anyway to default the webbrowser control to IE with no add-ons?

Software Development
Member Avatar for LizR
0
69
Member Avatar for bharanidharanit

Hello sir, I would like to create exe files from VS2005 From my project, on button click it automatically wants to create new project (compiled as single exe) with a label(captioned as "Sample") and textbox and Button on a form. In that form it also wants to add coding for …

Software Development vb.net
Member Avatar for Alexpap
0
96
Member Avatar for Evil03

hi, I have Created a vb.net Application with MS ACCESS DATABASE, everything is working fine, But, There is a small problem . Everytime i ADD a new record it saves succesfully but i can only view that particular saved data only after restarting the application..Pls Help me ****************************************************** Imports System.Data …

Member Avatar for Alexpap
0
165
Member Avatar for Pranky2307

Hello everyone... Plz help...i want coding for saving password each time i log in. I do not want to type the password again and again. The form is connected to FTP server. I m not authorized to make changes in that but i can create a folder for the passwords …

Software Development vb.net
Member Avatar for Alexpap
0
126
Member Avatar for nymph

hi all! i want to delete a file/directory in java, the delete().depends on other programs which uses file name as string.but for me to delete the file,the name must be a File. that is what i have realized as when i use string it does not recognized some methods,like List …

Software Development file-system java
Member Avatar for stultuske
0
90
Member Avatar for death_oclock

I am having some trouble with the layout of my project. I'm using several APIs, including the WinAPI and DevIL. I had hoped to encapsulate each one in a separate header file, so that the main program would never have to know whats going on. The problem is, some functions …

Software Development c
Member Avatar for death_oclock
0
157
Member Avatar for protonix

I having trouble understanding what the routines are doing. Can some one point me in the right direction. I have enclosed the java files. This is part of an internet challenge to better myself.

Software Development java
Member Avatar for ~s.o.s~
0
270
Member Avatar for tom_jerry042

Hi [B]snprintf [/B]is working fine when i am not using [B]append [/B]function . But as soon as i use [B]append [/B]function [B]snprintf [/B]crashes . Please suggest why [B]snprintf [/B]is crashing after [B]append [/B]. What is special with [B]append [/B]function which is crashing this program Below is the program. #include<string> #include<iostream> …

Software Development c++
Member Avatar for iDeveloper
0
158
Member Avatar for "dam"

Dear All, Please Help me out in this matter. I'm developing a small project, in this i'm uploading my combo box with master data ( i.e. List of Equipment). What i'm doing is once the user complete entering data in form the data is saved. Now when i reload same …

Software Development visual-basic
Member Avatar for "dam"
0
359
Member Avatar for mrnutty

hi, I am curious, how can I read a int from a text file( ex. num.txt). but this text file contains numbers without spacing (ex.1212132132313... 23156897984969.. 583852935792...) The problem is that this file has no spaces between numbers and when i try to read it into an arry, the result …

Software Development c++
Member Avatar for VernonDozier
0
151
Member Avatar for kedakai

Can anyone help me with this?.... I got some sample programs to be studied but I don't really know how to remove its bug..I don't know if there really is..but I think there is...there was no error upon compiling but when I try to run it...there is... here is the …

Software Development java java-swing
Member Avatar for kedakai
0
167

The End.