64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for addicted

Hey, I just want to start using mfc to create windows objects, i have never tried coding using the mfc and opening the tutorial page on microsoft's msdn is the slowest thing that can happen around here. so i will like someone to quickly give me a hint on how …

Member Avatar for Ancient Dragon
0
103
Member Avatar for Alv45525

hello guys, i really need help....i have a transaction table in ms access N i want to retrieve last 10 transaction from the table from my vb form...how am i suppose to do it???i used the folloing code but it is displaying all transactions of a specific account number. N …

Member Avatar for Alv45525
0
131
Member Avatar for joshmo

hey..would anyone help me with my code. the program is supposed to get telephone starting and ending times from a file from the user then outputs the total duration and calculates the cost. my program does all this but it is giving me a problem in finding the total cost …

Member Avatar for joshmo
0
81
Member Avatar for pdwivedi

I want to open a text file in a c program which is on desktop.How can I print the texts written in the file on screen.Please help [B]Regards Prashant[/B]

Member Avatar for WaltP
0
125
Member Avatar for eranga262154

Hi all, I want to find the end of file in a CFile. What I've do up to now is, find the length of the file in bytes. Then do the required process with the number of bytes. Here is the code, [CODE=C++] int length = 0 ; CString str …

Member Avatar for eranga262154
0
564
Member Avatar for inflex

Hello I am a newbie in java so now i just write codes with dialogs and JOptionPane .. like this so it's easy codes. So i want to write a program like this; Application will use only Dialog Boxes. Frames are not allowed to use. Application should ask eight questions …

Member Avatar for peter_budo
0
142
Member Avatar for handsome_94

[CODE]void hexad(int i) { int j=0; int x=0; int chii=0; while(x<8) { second2[x]=' '; second1[x]=' '; x++; } switch(codesum) { case 744 : while(i<12 && temp[i]!='\0') { second2[j]=temp[i]; i++; j++; } strcpy(second1,"CE "); break; case 410 : while(i<12 && temp[i]!='\0') { second2[j]=temp[i]; i++; j++; } chii=second2[0]; switch(chii) { 'A' : …

Member Avatar for handsome_94
0
130
Member Avatar for pacman326@gmail

Hey guys, I am trying to take chars from a file, and place them into 2 different dynamically allocated arrays. An example of the file would be name:John Doe&id:1448&phone:98765 One array stores name, id, and phone, and another should store each value. I have gone ahead and taken the string …

Member Avatar for pacman326@gmail
0
242
Member Avatar for rogenie

Why does the code below stop executing after displaying all the numbers stored in an array? [CODE]//this will let the user enter 10 values and //store them into an array. After that //sort it out and cout the largest and the smallest number entered #include <iostream> using namespace std; int …

Member Avatar for rogenie
0
124
Member Avatar for phalaris_trip

I think I've been up too long at this stage.. I think this is a really stupid question: How do I declare all my objects from main() ? I have an object 'sun' of the class 'CPlanet' and within that class there is an instance of the class 'CAnimation'. But …

Member Avatar for phalaris_trip
0
120
Member Avatar for stan yost

All of a sudden I'm getting this error message in vb 5.0: Run- time error '3027' Can't Update Database or object is read-only. Can anyone help me with this? Thanks

Member Avatar for stan yost
0
194
Member Avatar for Alv45525

i am new to VB.Net. I have an assignment to submit next week that is on the 5 november 2007, and am having some problem in creating my program. Can you please help? i want to limit my MDI to open only one specific form at a time. like for …

Member Avatar for Alv45525
0
255
Member Avatar for LanierWexford

I am trying to learn Python by converting my C++ homework to Python. Below I am converting a Cobol file of employees to a comma delimited file. from: 00001JAMES ADAMSON 010104000014550324201021500067500040010011593 to: ID#,Last,First,Territory#,Office#,Salary,SSN,Department#,JobClass 00001,ADAMSON,JAMES,01,01,40000.00,145503242,01,02 I want to use EOF as my while loop control but I am getting a syntax …

Member Avatar for vegaseat
0
207
Member Avatar for cutekola

...kindly help me with this..........my code doesn't work.... ...create a program that will ask questions and at the end of the session it will display the total number of correct answers and the equivalent grade.... ...thanks..... import javax.swing.JOptionPane; public class questions { public static void main(String[] args) { int score=0; …

Member Avatar for peter_budo
0
150
Member Avatar for asilter

[code] unsigned long nBolum = 0L; unsigned long nKalan = 0L; unsigned long ulA = 0L; unsigned long ulB = 0L; ... printf("ulA=%u\n",ulA); printf("ulB=%u\n",ulB); nBolum = (unsigned long) ulA/ulB; nKalan = (unsigned long) ulA%ulB; printf("nBolum = %u\n",nBolum); printf("nKalan = %u\n",nKalan); printf("HVFE.c exiting\n"); exit(1); [/code] it prints : [code] ulA=2607503366 ulB=16777215 …

Member Avatar for asilter
0
3K
Member Avatar for tracethepath

i have made a menu driven program for selection sort, bubble sort and insertion sort.. the first two are working correctly but despite writing the correct code (according to me, i have checked my code many times) the insertion sort is not giving the desired output.. here's my piece of …

Member Avatar for tracethepath
0
86
Member Avatar for thejunkie

Hi, I'm terribly new at java, i created a program for a poster availability system and there are 8 errors that I have no idea how to resolve. The program is meant only to run at the command prompt. The errors are: C:\Project\Enrol.java:46: cannot find symbol symbol : method getID() …

Member Avatar for parthiban
0
175
Member Avatar for amylaney

• Create a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week. The application should then print out the name of …

Member Avatar for ukankissthis
0
112
Member Avatar for M_K_Higa

Greetings, I've posted this question in other news groups (msdn and a few others) without any response.:sad: I hope I don't get into any trouble for posting this question here, but I reach out for your help.:confused: I have an excel file stored in a data base table as an …

Member Avatar for M_K_Higa
0
988
Member Avatar for schismaticus

Hoping someone can shed some light on this one, using MSSQL 2000, I have a query like this; Select T.TransactionRecordClass, T.ClassDetail from [remoteserver].otherdb.dbo.Data T where T.TransactionRecordClass like '10000002%' which will return around 10000 records in under 1 second. My issue is that I need to make this part of a …

Member Avatar for schismaticus
0
103
Member Avatar for shuey79

I have a Generic List that I populated in one class, I want to return this List to the main form. Is this possible? In other words I want to pass a Generic List from one class to another, how would I do this?

Member Avatar for iamthwee
0
64
Member Avatar for kuoz

Hi, I am very new to Python, I know how to write a basic program, but i know nothing about drawing graphs. I need to write a program to test a random number generator by putting dots on a coordinate graph. Can someone tell me how to make a coordinate …

Member Avatar for vegaseat
0
83
Member Avatar for Chris147

Hi All. I've got a small App (VB.Net) that adds Files and Folders to a List and then uses a Do.. ..While Loop to copy each item in the list to a new Directory (not unlike a backup program). I thought it would be good to add a ProgressBar to …

Member Avatar for Triss
0
95
Member Avatar for Shubhra

Hi All, I am new to jsp. I need to know how to execute certain code on a button click(submit). my form has a text box and a submit button. Onclicking it, it has to execute a SQL query and then forward the control to another jsp page. Where to …

Member Avatar for Shubhra
0
157
Member Avatar for hawisme000

hello anybody know how can i make a search button?? im having a problem on the syntax or coding i need, i mean, for example if i put a word on a textbox(txtUN), then i click on the cmdbutton(cmdSearch) it will retrieve all info about the data that is been …

Member Avatar for hawisme000
0
106
Member Avatar for CoolFool

Hello EVeryone... I really need some help with this problem... A certain CS professor gives 100 - point quiz graded on scale 90 - 100:A 80 - 89:B 70- 79: C , 60 - 60:D <60 :F I need to write a program that eccepts an exam score as input …

Member Avatar for woooee
0
166
Member Avatar for bleonard989

I am trying to use fairly simple C++ code to complete this problem: The user will input a number of the Fibonacci series, and through a function called whichfib(), the program will then output the number using long double data type. I have gotten the code to work until the …

Member Avatar for bleonard989
0
114
Member Avatar for speterson

In my Java class, we have to randomly create basketball teams and random scores, then average the scores for each team, and average the scores for each game. I am not sure how to average the score for each game, meaning adding scores vertically in a vector versus adding scores …

Member Avatar for Ezzaral
0
2K
Member Avatar for preetham.saroja

why am i not able to pass two values between pages in first page for submit_btn.click() [COLOR=#0000ff]Dim[/COLOR] url [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String [/COLOR]url = [COLOR=#800000]"Project.aspx?" [/COLOR]url &= [COLOR=#800000]"id="[/COLOR] & id_txt.Text & [COLOR=#800000]"" [/COLOR]url &= [COLOR=#800000]"age="[/COLOR] & age_txt.Text & [COLOR=#800000]"" [/COLOR]Response.Redirect(url) ---------------------------- In second page called Project.aspx: sub page_load() txtid.Text = [COLOR=#800000]"id:"[/COLOR] & …

Member Avatar for preetham.saroja
0
168
Member Avatar for doraima29

Is there a shorter way to include multiple email addresses as text in ASP. I'm trying to call txtEmail from HTML file, then the strTo is a variable of txtMail. How would I do it? Is it possible to include multiple email addresses when I type in as: Constr strTo …

Member Avatar for SheSaidImaPregy
0
101
Member Avatar for minbor

Hello, I am again asking for help. Is it possible to get the text from the elent ID into another place in the page. For example, is it possible using asp to get page title from <p id='title'> in the code below? <HTML> <HEAD> <TITLE> nothing </TITLE> </HEAD> <BODY> <p …

Member Avatar for SheSaidImaPregy
0
101
Member Avatar for minbor

Hello, I am new at programming and would like to know is it possible to pass a chunk of html code (more than one line, a whole table, for example) as an asp variable? I have looked through a lot of tutorials and could not find a clear answer. Thank …

Member Avatar for SheSaidImaPregy
0
112
Member Avatar for chizy2

case 'q' : case 'Q' : cout << "Computing your totals" << endl; break; default : cout << "Invalid choice!"; } } /* This is where it should break out of but it is not */ // while (choice != 'Q' || choice != 'q'); - this is what I …

Member Avatar for chizy2
0
143
Member Avatar for zandiago

Good day folks. I have a simple question anout structs. Say for example i have the following: [CODE] struct foodmenu { char letter; string food; double cost; }; [/CODE] We just started a look at struct and it's really not too clear. So with regards to my example above...how does …

Member Avatar for zandiago
0
158
Member Avatar for Etniespr101

Whats going on is an address book. There is a search function in the program that takes in a string for the phone number. The file is read and if the string exist, it file is reread and the characters infront of it are sent to output.... basically showing who …

Member Avatar for zandiago
0
111
Member Avatar for FallenPaladin

Hi, I am currently studying programing, and have become some what stumped with Visual studio 2003. I have written a number of application using the console, however currently i am trying to clear of text that has already been written to the console.....but can not find any command or code …

Member Avatar for FallenPaladin
0
147
Member Avatar for rowly

hello guyz iv got problem with [COLOR=#0000ff]void[/COLOR] pointers i cant work [COLOR=#0000ff]this[/COLOR] out ! i[COLOR=#800000]'m trying to read from a binary file using a struct and pass this struct arrays to class object and push them to stack and display them on screen while poping them out ! [/COLOR]but the …

Member Avatar for summu
0
159
Member Avatar for ceyesuma

Credit card(parent)Debitcard(child). At the file menu if you choose "credit"+"new Account" the parent works fine. At the file menu if you choose "debit"+"new Account" the child does not work. I am haveing trouble creating a new object which is the debit class which uses its super (credit class) Can any …

Member Avatar for ceyesuma
0
160
Member Avatar for dilip_singh3

How many tables we can create in a single MS Access database ? I m going for a multiuser project . I dont know how many tables I will have to make.

Member Avatar for QVeen72
0
145
Member Avatar for plusplus

Here is my code, it works when I leave away the line in bold, I can't figure out what's wrong with my line in bold, I've been checking my database so many times already, can you help me [QUOTE]With gridMieter .Cols = 5 .TextMatrix(0, 0) = "Frist_id" .TextMatrix(0, 1) = …

Member Avatar for QVeen72
0
102
Member Avatar for Duki

I have a class called Person. I also have a class called Truck, inherited from class Vehicle. I want to overload the iostream operators for all three classes so that I can do statements such as: Person a ; Vehicle b ; Truck c ; cin >> a ; cin …

Member Avatar for John A
0
93
Member Avatar for scottb2

Everything I read says that the academic edition should have "edit and continue" but when I try to enable it with the following instructions right from the HELP, [INDENT]To access the Edit and Continue page, click the Tools menu and select Options. In the Options dialog box, expand the Debugging …

Member Avatar for scottb2
0
96
Member Avatar for catdieselpow

All functions compile except the max function where i am trying to get it to find the maximum number in the matrix. The error message says overloaded function with no contextual type information Please tell me why. [code] #include <iomanip> #include <iostream> using namespace std; const int ROW = 3; …

Member Avatar for WaltP
0
209
Member Avatar for HLA91

Hi all I am a noob to C++ and I want to make a program that copies a file from wherever previously specified to the location of where the program is running from, I looked on google but I cant find anything I can understand can somebody please point me …

Member Avatar for John A
0
202
Member Avatar for babyfrostie

need help with the GUI of my program... i want it to be like this: [URL=http://img256.imageshack.us/my.php?image=faceeq9.jpg][IMG]http://img256.imageshack.us/img256/8919/faceeq9.th.jpg[/IMG][/URL] but this is what it shows.. hehe [URL=http://img440.imageshack.us/my.php?image=caym9.jpg][IMG]http://img440.imageshack.us/img440/8486/caym9.th.jpg[/IMG][/URL] im having a hard time with the GridLayout coz i think ie. GridLayout 3,4 doesnt appear to be 3,4.. thankss... [CODE]import java.awt.*; import java.awt.event.*; public class …

Member Avatar for babyfrostie
0
313
Member Avatar for majestic0110

Hi all, Just wondering if you could help me out here. bought a copy of c++ for dummies today and the first program in the book converts fahrenheit to celsius. Now I have some C and Java experience (I am a recent graduate of a software design degree) but have …

Member Avatar for iamthwee
0
208
Member Avatar for Jesi523

I am writing a program where I need to capitalize the first letter of each word in a text file. Example of information in the text file would be: this is the first line this is the second line this is the third line I have written a code that …

Member Avatar for iamthwee
0
184
Member Avatar for uonsin

hi, i just want to get some opinions on a queues homework project. i haven't written any code yet, but just want to know if it is possible to create an array[16] items and then that each item has an array[1][3], i have to work independently with each item of …

Member Avatar for Ezzaral
0
75
Member Avatar for bujoldea

my intro to comp science teacher gave me an assignment to: 1) enter two different dates with the use of stucts 2) use a swap function to arrange each date in order from earliest to latest 3) use functions to calculate the number of days between the two dates 4) …

Member Avatar for bujoldea
0
93
Member Avatar for zandiago

Good day. My infile contains the following: [CODE] TFFTFFTFFTFFTFTFTFTFFF A33 TFFTFFTFFFFFTFTFTFFFFT Z27 TFFTFFTFFTFFTFTFTFTFFT X12 TFTT FTFFTFFFT FTFTFFF H44 TFFTFFTFFTFFFFTFTFFTFF Q19 FFFFFFFFFFFFTFTFTFFFFF D72 TFFTFFTFFTFF FFFFFTFFF W32 FFFTFFTFFTFFTFTFTFFTTT Y09 TFFTFFTFFTFFTFFTTFFTTT S44 TFFTFFTFFTFFTFTFTFTFFF G11 FFTFFTFFTFFTFTFTTFTFFF J21 TFFTFFFFFTFFTFTFTFTFTT K61 TFFTFFTFFTFFTFTFTFTFT M03 TFFTFFTFFFFFTFTFTFTFFT P24 TFFTFFTFFTFFTFTFTFFFFT N54 FTFFTFFTFT TFF FTFTFFF F33 TFFTFFTFFTFFTFTFTFTFFF Z21 TFFTFFFTTFTTFFTFTFTFTF V39 TFFFTTFTTFTTFTFTFTTFFF …

Member Avatar for zandiago
0
3K

The End.