64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for depash

Hi all, I am designing a program to calculate accrued interest on a loan. the way to go about this is first, u generate a full repayment schedule of the loan using the principle and the duration. then u calculate the interest per month using interest reducing balance method (e.g. …

Member Avatar for depash
-1
2K
Member Avatar for sg552

Hello everyone, I have a working page in PHP. What this page do is student will keyin his/her ID and press Papar (Display in English) and th result will be shown in the same page in a lightbox. The problem is (well not really a problem) the page need to …

0
56
Member Avatar for mrkaran

i have a code to check lexeme is keyword or not: [CODE]void Is_Keyword_Or_Not() { char *keywords[]={"INCLUDE","VOID","MAIN","i","var","cin","cout","if", "then","else","and","or","not","loop","exit","when", "while","until"}; int j=0; flag=0; for (j=0;j<18;j++) //search for keyword & # of keywords = 18. { if (strcmpi(lexeme,keywords[j])==0) { temp.assign(lexeme,INCLUDE); flag=1; break; } } } [/CODE] i have defined macros like: INCLUDE 1 …

Member Avatar for mrkaran
0
88
Member Avatar for JamesCherrill

I have a problem involving Generics. Here's a simplified version: Suppose I have a generic method to add a new element to a (possibly empty) ArrayList, like this: [CODE]<T> void addNewTo(ArrayList<T> list)[/CODE] What I need to do is to determine the correct class for the ArrayList elements so as to …

Member Avatar for JamesCherrill
0
192
Member Avatar for hegde84
Member Avatar for chaithra85
0
161
Member Avatar for clement99

Hi guys, i'm trying to extract the data "Lady Gaga Fame Monster" from the html below using substr and find, but i wasn't able to retrieve the data. [code=html]<div class="album-name"><strong>Album</strong> > Lady Gaga Fame Monster</div>[/code] I'm tried to extract the whole string first, but i can only extract till <strong>Album</strong> …

Member Avatar for clement99
0
725
Member Avatar for GAME

Hello, I have the code in the snippet that takes a long time to display and image. Whats the best way, I can optimize the response speed? [code] private void _GetImage(string text) { try { string html; using (WebClient wc = new WebClient()) { //Set the game's title ID page …

Member Avatar for GAME
0
340
Member Avatar for cak

Hi...This is Chetana!!! My mini-project topic for T.E.I.T is 'Inventory Control System'. I need help for forms to be made for it in vb6.:confused::?: Please help me exactly what forms to be included in my project.:S Please help...

Member Avatar for abu taher
0
87
Member Avatar for jiraiya

Hi everyone, I'm having trouble inserting icons into a textpane and I'm not sure why. I'd like to set up a textpane and then be able to insert and display images in that textpane during runtime. As a test I've written the code below for a simple GUI with a …

Member Avatar for tong1
0
212
Member Avatar for amishraa

[B]Create a project that contains a Pet class. Each object will contain pet name, animal type, breed and color. The form should contain text boxes to enter the information for the pets. A button or menu item should display the pet information on a separate form. Hint: Use a ReadOnly …

Member Avatar for amishraa
0
297
Member Avatar for emmas4impact

Hello guys, I am working on a project that deals with a store. but here is my problem i am having problem inserting multiple record into the database instead my code is summing it up. Can anyone give me an idea on how to insert multiple record into a database. …

Member Avatar for emmas4impact
0
3K
Member Avatar for indr

hi i am trying to use setw with a string.. here is my code.. [CODE]string a="hello"; cout<<setw(10)<<a;[/CODE] i inserted string header and iomanip header files... now my output should be with a few number of blank spaces and then it should print hello.. but its not working for me... could …

Member Avatar for indr
0
444
Member Avatar for frogboy77

Hey there. Just beginning to learn c++ on my own(not easy). Please fogive my lack of knowledge. I have a list of large numbers(50 digits) that i copied. I want to split them into an integer array of size [100][50]. I dont want to have to go through and put …

Member Avatar for frogboy77
0
128
Member Avatar for nigelsponge

I am trying to figure out how to add up a series of text boxes which contain numbers that a user will input and have the total of those text boxes show up in a quantity text box on the next page. Not sure if i should use javascript or …

Member Avatar for scotttheath
0
208
Member Avatar for mrs.r

Hey can someone please tell me what kind of variables i should use when making a class mark program ? thanks :)

Member Avatar for mrs.r
0
147
Member Avatar for MARKAND911

I have written a code in row_validating event which works fine. now I want to clear this rows containing error in cells of datagridview. I tried this code. [CODE] private void grdvEnergy_RowValidating(object sender, DataGridViewCellCancelEventArgs e) { e.Cancel = true; datagridview1.Rows[e.RowIndex].ErrorText = "Error message"; } private void btnclear_Click(object sender, EventArgs e) …

Member Avatar for nick.crane
0
2K
Member Avatar for jwebb

Hello, I'm trying to create a program to calculate the factorial of variable int input. I am using xcode, and it's giving me an error saying "factorial was not declared in this scope" on the line within the else statement. I have found other programs on the internet, but I …

Member Avatar for jwebb
0
676
Member Avatar for dinkpwns

Hello everyone, I currently have an application that reads in an entire excel file then iterates through the records from the file and queries our database for a match. If a match is found the record is ignored if a match is not found the record gets added to the …

Member Avatar for dinkpwns
0
168
Member Avatar for SeanC

I'm creating a word processor similar to Microsoft Word (but much simpler). I'm having a problem with a dialog box. When a user presses the 'new document' button, it prompts the user to enter the file name, and when the user does so, he presses ok, and the file name …

Member Avatar for SeanC
0
153
Member Avatar for fladei

<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. --> * MediaWiki version: 1.16.0 beta3 * PHP version: 5.3.3 * MySQL version: 5.1.41 * URL: localhost <!-- Now, please report your error, or ask your support question below. (You can …

Member Avatar for fladei
0
178
Member Avatar for fladei

* MediaWiki version: 1.16.0 beta3 * PHP version: 5.3.3 * MySQL version: 5.1.41 Hello. I've been trying to develop a loader project in C#, but in order to upload a file, the user is supposed to be authenticated in the Wiki website. For now, all what I've got is to use "[[api.php?action=query&meta=userinfo]]", but …

Member Avatar for fladei
0
162
Member Avatar for LRNPHP

Hi everyone. I want to add a advanced search function to a demo site I'm doing but have no idea where to begin on this. I'm using a MySQL Db for all the site and PHP to pull data from DB. Any suggestions are welcome. Regards

Member Avatar for billmudry
0
205
Member Avatar for agen8k

suppose we know the name of textfields on a html page and we wish to write a java prog. to automatically login on website with our given predefined details. i mean sending an http request with values for login fields through a prog. and then handle the response.

Member Avatar for agen8k
0
175
Member Avatar for bufospro

Hi, I would like to learn about joomla ! Does anyone have a tutorial or know a site about this ? I have found tutorial in youtube but it does not help me. I am trying to make a site like that [URL="http://www.fe-odeiopatron.gr/"]http://www.fe-odeiopatron.gr/[/URL] but I don't know how can I …

Member Avatar for svilla
0
168
Member Avatar for SgtMe

Hi all. Before I say any more, I am a compete noob at JavaScript. I have been attempting to learn some though. I want to make some Windows 7/Vista sidebar gadgets, so, as a practise, I am making a very simple calender. It uses a CSS to draw up a …

Member Avatar for hielo
0
4K
Member Avatar for sana_moi

hellow; im working on visual studio c++ express ediion 2010 when i chose a win32 project i can include any dll as wont and it's work without a problem but when i chose clr application windows form and i include for exempl sql.h i had this error pleas help me …

Member Avatar for safe2010
0
245
Member Avatar for pdini

Hi all, I developed a GUI application using PyQt which comport a QGraphicsView. In this QGraphicsView I have a QGraphicsScene with a lot of items (more than 10'000): polygons, rectangles, texts, etc. How can I save it as an image like it appears on the screen (.png for example)? I …

Member Avatar for pdini
0
2K
Member Avatar for kasakit

hi guys i need youre help i have a problem. im retrieving a records (20000+)from my database, $result = mysql_query("SELECT * FROM banco order by counterindex asc"); but it only display 200+ how can i display all my record by page? any help and suggestion is greatly appreciated.

Member Avatar for kasakit
0
155
Member Avatar for plizz

I think that I misunderstood something about class definitions in c++... Why it is legal to define class in multiple files, like this: file Test.cpp: [CODE]#include <iostream> using namespace std; void testFunc(); class A { public: void printText(); } clA; void A::printText() { cout << "file: Test.cpp, class: A, method: …

Member Avatar for mike_2000_17
0
277
Member Avatar for new_programmer

List<InputStream> pdfs = streamOfPDFFiles; List<PdfReader> readers = new ArrayList<PdfReader>(); I saw many programmers using this syntax . I didnt get it? Can anyone help me to expalin this in detail ie. <InputStream> what does this mean? and can i implement this same idea with any other code which is simpler?

Member Avatar for vhoramoin
0
137
Member Avatar for hanvyj

I am trying to make a dll but I am coming up with the following error: \Debug\VideoCapture2.dll.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified. I set up my project according to [URL="http://msdn.microsoft.com/en-us/library/ms235636(VS.80).aspx"]msdn[/URL] using visual studio 2008. I looked for …

Member Avatar for hanvyj
0
604
Member Avatar for technopup

Hi, I'm looking for some help. I need to add the letter "a" to the id of an option. The content is dynamic but you will get the idea from below. Any help would really be great. Thanks e.g. [CODE] <script type="text/javascript"> function Toggle(id) { document.getElementById("a18").style.display = "none"; document.getElementById("a19").style.display = …

Member Avatar for technopup
0
95
Member Avatar for xirosen

Hi there... I have some questions on how to optimize copying data.. here is may code... Dim aUnicode() As Byte Dim g1 As Integer Dim g2 As Integer Dim fname As String Function Binary_copy(sourcef As String, destf As String) As Long Dim totalS, chunksize As Long Dim wrtn As Long, …

Member Avatar for AndreRet
0
147
Member Avatar for new SE

Hi, what should i use to make the data inserted is in all capital letter? here is insert statement: [CODE] string query = "INSERT into Categories values (' " + textbox5_value + " ', ' " + textbox6_value + " ', ' " + textbox7_value + " ' )";[/CODE] strToUpper() …

Member Avatar for new SE
0
101
Member Avatar for lanitooot

help guys. im having this error.. i don't know hat to do.. please help..thankss #Region "FillListView" Sub FillListview() lvList.Items.Clear() sqlQry = "SELECT * from book ORDER BY book_id ASC" Dim mycmd As New MySqlCommand(sqlQry, myConn) Dim dReader As MySqlDataReader = mycmd.ExecuteReader() <---- this is the error im getting it says …

Member Avatar for AndreRet
0
256
Member Avatar for AngelicOne

My form1 has a checkedlistbox that is being populated by datatable, then there's a button to open form2 that will add records in checkboxlist. Now when the form2 closes, checkedlistbox from form1 will refresh. How to do this?

Member Avatar for AngelicOne
0
10K
Member Avatar for new SE

how i can retrive the username from database based on the username and password only to make a welcome at the first page?

Member Avatar for new SE
0
128
Member Avatar for ingeva

I've been using a php script to send simple emails (no attachment). Suddenly I discovered that when making the body of the letter longer than 5323 bytes, it appeared to be sent but was not. I'm using direct SMTP, and no "PHPmailer" because it's just too complicated -- and I'm …

Member Avatar for ingeva
0
111
Member Avatar for praveenpvs

Hello every one I have referred DLL in my project. I have to handle the event from DLL in VB.net code. Can any one help me out in this regard? I guess we can do using WithEvents. Can you give me complete picture? Thanks a lot.

Member Avatar for praveenpvs
0
189
Member Avatar for selvis

I want to display large number of searched results in my jsp page. I'm using struts framework. I stored each record in to an object of a class and added to an arraylist and I displayed it with <logic:iterate . But I want to filter results from array list when …

0
57
Member Avatar for selvis

In order to run a report I found display tag is useful for sorting the fields and render the data. During implementing this, I found the following difficulties: In my JSP, the table header is defined in a separate div tag with different styles than the corresponding data in another …

0
60
Member Avatar for bettersaid

hello! i've been trying to create an automated task which it should: 1. open Print 2. choose Printer 3. change Paper Size ( i want to print my doc in all paper size) but i find my code too long and oh i dont know, and i want to simplify …

0
142
Member Avatar for pythonbegin

Hi all How can I create a csv file with header. I have a text file with several number of blocks staring from "//" and ending a block with "//". I have attached a sample file. I want to use first column of this text as a header of csv …

Member Avatar for pythonbegin
0
1K
Member Avatar for smdhas

m a newbie to aspx vb.net and need some help...i've got a login form with staff id adn date of birth loging in credentials. m using 3 drop down lists to capture day,month and year(m populating the day month and year in the page load event). below is my login …

Member Avatar for leahrose87
0
275
Member Avatar for comSysStudent

Hi all I'm having a bit of trouble wrapping my head around exactly what hiding a class method does, can somebody try giving it to me in plain English? I'm going by the [URL="http://download.oracle.com/javase/tutorial/java/IandI/override.html"]Sun Java Tutorial[/URL] but I find the example a bit vague when it comes to the hiding. …

Member Avatar for yasuodancez
0
189
Member Avatar for cac186

I'm working with a java application and trying to modify this code so that it no longer prompts the user with the Dialog box to save a txt file. The user already uses the Dialog box to choose a directory in which to save the file at an early point …

Member Avatar for cac186
0
612
Member Avatar for tjfitz68

Hello, I have been having a heck of a time using a Listbox with a BindingList object as the datasource. I have finally managed to get the ListBox to update when changes are made to existing items in the BindingList object. When removing items from the list I had to …

Member Avatar for tjfitz68
0
117
Member Avatar for ndeniche

Hello ladies and gentlemen I've been trying to find a workaround this issue, and maybe you can help me find a solution. I've got a signature footer bar in a html document. This footer bar must display in several websites, in several domains, so i've been looking for an include …

Member Avatar for ndeniche
0
97
Member Avatar for Grep

Hi guys, I have a several dozen .ini files from which I need to extract specific lines. The lines I'm pulling are repeated all throughout the code so I can't count on specific strings to pull these lines. My dilemma is that I want lines: 3, 4, 6, 47, 50, …

Member Avatar for Grep
0
164
Member Avatar for melbatista

Im using vb.net 2010 express (im new) im learning to develop apps that uses db. what is the best DMBS to use with vb.net 2010? can you gave an example SIMPLE code on how to connect to the database? thank you - i hope is not too much to ask?

Member Avatar for melbatista
0
153

The End.