199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cesione

I just started leaning c programming, and i have been doing alright, but now am stuck with a problem, I do not know how to read information from a file in c. the file contains info like; 123456789123456789123456789123456789...and so on. i have to read the file in, and then group …

Member Avatar for Ancient Dragon
0
173
Member Avatar for skiabox

I am reading murach's book about jsp and servlets. He uses netbeans(I am using intellij idea) and I am at a point when he uses the META-INF folder that netbeans creates to save a context.xml file there that contains a Resource tag with information about a connection pool. The problem …

Member Avatar for skiabox
0
290
Member Avatar for Majestics

Oracle accept dates in '00-JAN-0000' format, is there any way i can change it to '00-01-0000'.

Member Avatar for debasisdas
0
162
Member Avatar for ana_1234

Hey, Does anyone know how to cpy from one file and redirect to another. I know I have to use the ofstream but I'm stuck. [CODE] while (!in1.eof()) // while not end of input file { in1.getline(current, 100); // read a character from input file out1.in }[/CODE] I'm stuck. I …

Member Avatar for Narue
0
346
Member Avatar for jkon

There must be a better way… Hello all, I am now designing a new data structure and I faced this problem that I am going to describe making me think that maybe I should redesign it. Maybe the solution is in front of my eyes, and please if you have …

Member Avatar for diafol
0
147
Member Avatar for pissman

Hello, I was working on my Server - Client comunicating programm for moonth or more, when a tricky issue had met me. I works so: Server does certain commands if client types certain commnads, and I need need the Client to do certain commands if Server types certain commands. I …

Member Avatar for pissman
0
308
Member Avatar for sirlink99

I have this key listener in my application, and it wont work. This is my first key listener in an application, however I have done a mouse listener in one before. Anyway here is my code: [CODE] import java.awt.Graphics; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.*; public class DropGame extends JPanel …

Member Avatar for sirlink99
0
521
Member Avatar for programmer12

Hi i just created a website for my church and the IE 9 is displaying it wrong.. Can some1 plz take a look at it and get back with me on why its doing that? [URL="http://www.lgm70.org"]www.lgm70.org[/URL] When i looked at it in IE 8 it shows everything that I created …

Member Avatar for programmer12
0
137
Member Avatar for tunde011

Hello, I have a js script that produces a calendar and will like to move previous and next. When page loads it checks if month, year is already defined or else use the current month, year. and when the previous button is clicked calculate the previous month and change the …

Member Avatar for Airshow
0
325
Member Avatar for georges-louis

dear all, I'm trying to find out how to pass a parameter to a predefined parameter in a dataset. I've found everywhere a solution if you build the sqldata adapter and the dataset in the code. Then you can pass the parameter like: da.SelectCommand.Parameters.Add("@param1", SqlDbType.Char).Value = param1_variable (as example) But …

Member Avatar for georges-louis
0
190
Member Avatar for Fatooma

Me too I have a problem with deep copy help me.. this is my code i am using visual studio 2008 [CODE]#include<iostream> #include<string> using namespace std; class Street { private: int stretNumber; string name; int numberHouses ; int *ListHouses ; public : Street(); Street(int, string, int); //Street(const Street & otherStreet); …

Member Avatar for mike_2000_17
0
151
Member Avatar for airerdem

Hi, I have following code but it is very slow during sorting. [CODE]list<double> fitness; for(i=0;i<250;i++) { fitness.push_back(Random Number); } fitness.sort();[/CODE] Is there any other method about list sorting ? Thanks in advance ico

Member Avatar for mike_2000_17
0
139
Member Avatar for AndreRet

I have followed every step in the My Sql forum posted - [URL="http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html."]http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html.[/URL] I have no problem in saving the picture file to MySql. The problem arises in retrieving the picture. I am using code as follow: - [CODE]Private Sub DataLoadPicture() On Error GoTo ErrFailed Dim cnPhoto As New ADODB.Connection …

Member Avatar for GTA_doum
0
322
Member Avatar for digital_ice7

i want to return a string array so i can use it in my main function. how do i do this? [CODE]#include <iostream> #include <string> using namespace std; string test() { string a[5] = {"Hello","World","How","Are","You"}; return a; } int main() { string b[5]; b=test(); for(int i=0;i<5;i++) cout << b[i] << …

Member Avatar for digital_ice7
0
601
Member Avatar for wizzwig

hello, i have an educational compiler construction project that does not have to be hectic but a simple one using java to construct the compiler. It has to compile some of the set of java language, libraries, objects, and controls. it also requires all facets of a standalone compiler (parser …

Member Avatar for JamesCherrill
0
209
Member Avatar for rmch77

"Good Day.. Its my very first database project and I am really excited about it, trying to make for myself… I am an insurance manager and also learning access through free resources like training videos on youtube etc.. kindly help me on my problem Two Tables, tblContributionRegister & tblAgentDetails. tblContributionRegister …

Member Avatar for chuckc
0
170
Member Avatar for vamshidhar66

Hi Frns, Am new to PHP, can anybody please tell me how to include a calendar in a form... Thanks in adv..

Member Avatar for vamshidhar66
0
59
Member Avatar for simply_viks

hello, i am having an array having 16 values char index[16]={1,2,3,4,5,6,7,8,9,10,12,13,14,15,16}. my question is i want to store the first,4th,8th and 12th value in arrar A (ie A[0]=1,A[2]=5,A[3]=9,A[4]=13). the 2nd,6th,10th and 14th in array B. the 3rd,7th,11th,15 in array C. the 4th 8th, 12th 16th in array D please help. …

Member Avatar for simply_viks
0
96
Member Avatar for gaurav_13191

Hi all, I have a minor confusion regarding the variable accessed Consider: [CODE] int a=5; //global variable void increment(int a) { ++a; } [/CODE] If I call increment() in main(), which a will be incremented (a passed as a parameter to the function or the global a ?) Also specify …

Member Avatar for gaurav_13191
0
79
Member Avatar for EngSara

Hello, I am trying to make a page which has some pictures and the user can view more pictures by clicking an arrow to scroll horizontally. So, how I can do the horizontal scrolling?. Thanks,

Member Avatar for aspproject
0
109
Member Avatar for dwinn

Hello, I was wondering if somebody could help me... I have created a user login page for my website in VB.Net and ASP.Net. At the moment, a user logs in with a username and password that has been hardcoded in to my script. I now need to take it further …

Member Avatar for dwinn
0
152
Member Avatar for jaskiratj

in my project i have made 2 master pages....now the problem is when i try to apply a new sitemap on the second master page...it does not configure according to the new urls...i mean the new sitemap does not gets binded up...in my treeview...it shows the list according to the …

Member Avatar for aspproject
0
81
Member Avatar for sherinpoulose

I am using visual studio 2008 to develop the web application. but I am not using the login controls in asp.net for logging in of users.I created my own new user registration aspx page and login page.i have my own sql database.logged in user details are now successfully entered into …

Member Avatar for aspproject
0
135
Member Avatar for suvisoya

hi can anyone help to my problem .i had a normal form in asp.net 2008 and when i redirect the same page data wants to maintain in same contorl and i need to maintain selected tree node too so please help how to maintain data after redirect same page thanks

Member Avatar for aspproject
0
88
Member Avatar for Arjun_Sarankulu

I have an application in which user will put the query in text box and will get the output in gridview and i need to keep track that which user has run which query. for that i will be taking query from textbox and store in one variable I need …

Member Avatar for Majestics
0
132
Member Avatar for aldm

Hi, I'm working on one php project without using framework and I want to form nice urls without tons of get parameters and ? and & characters. I know this could be solved in zend using controllers and actions and I'm looking for somerhing simillar. On my site, I have …

Member Avatar for aldm
0
264
Member Avatar for Dorar

[B]I want to learn by myself any one of web development languages. i dont have an idea about which is best to learn PHP or HTML or CSS or do i need to study each one in order to use each one for some purposes.. what is the difference between …

Member Avatar for twiss
0
2K
Member Avatar for jrotunda85

For my new code that I'm developing, I have a text box where a user will type in a date as follows: [B]MM/DD/YYYY (e.g. 05/19/2011)[/B] This date then needs to be converted and inserted into a date/time field on a mySQL database. I've been trying to play around with this …

Member Avatar for divyakrishnan
0
1K
Member Avatar for nisrin

im creating a website that deals with the monthly reminders (extracted from Oracle) for my members for a school project. Should I create a login page using JSP or servlets? I am unfamiliar in both the languages. Will I need to establish my connection for each page if I use …

Member Avatar for javaAddict
0
1K
Member Avatar for swilliamrobert

Hi, I want to destroy session when user close the browser tab or window in PHP. Please give me sample code. Thanks in advance. William

Member Avatar for divyakrishnan
0
214
Member Avatar for lianpiau

I'm making a datagridview, inside datagridview got many columns. 1 of column name is Finished(checkbox). When load form, the system will detect Finished is Checked and display color. But when I click column header to sort, it will not display color. So how I set color command in column header …

Member Avatar for lianpiau
0
163
Member Avatar for PHIPH
Member Avatar for rpv_sen

Hi Friends i have some problem in update my dynamic text box value for particular id alone, i want to update only the 2 column fields into my database, i have used the below code. i am not able update the fields into my DB. Please help me to solve …

Member Avatar for rpv_sen
0
3K
Member Avatar for Ssnowlin

I am not sure I am under the write forum but here is my problem: I have a pretty simple program written that works just have a lot of repeated code and am not sure how to condense it in this situation. The program reads in table names from the …

Member Avatar for Ssnowlin
0
173
Member Avatar for newcuser

Hello. I am working on a little Java project and have gotten a little stuck. May I have a little help please? First the original class and then the test class code here. Thanks!! [CODE]public class PhoneBookEntry { private String name; private String number; PhoneBookEntry(String string, String string2 ){ } …

Member Avatar for stultuske
0
440
Member Avatar for rowly

Hello Guys, we just created a website using sharepoint 2010 and we implemented a booking system inside this website. we used a bamboo calender plus webpart as a booking system. now getting to the problem. there is a link inside this webpart where we click to enter new item(equipment booking). …

Member Avatar for Airshow
0
219
Member Avatar for manish250

hi all i have start working on java rmi currently.i using this tutorial to write my first java rmi program. [url]http://www.javacoffeebreak.com/articles/javarmi/javarmi.html[/url] i started the rmiregistry.then i compile server file and generate the stub file using rmic.Now when i am running the server using java command it is giving following exception …

Member Avatar for ~s.o.s~
0
262
Member Avatar for mirkuh

Hi, instead of writing this [CODE] SomeFunction<Class>::Bind<&Class::MemberFunction>(this); [/CODE] I want to provide an easier way to call "SomeFunction". I have one solution using a macro like this: [CODE] GET_EXAMPLE(Class, &Class::MemberFunction, this); //... #define GET_EXAMPLE(ClassName, MemberFunctionPointer, InstancePointer) \ (SomeFunction<ClassName>::Bind<MemberFunctionPointer>(InstancePointer)) [/CODE] But in order to avoid the use of this macro I'd …

Member Avatar for mirkuh
0
441
Member Avatar for grabit

Hi Folks I have a problem that really has me stumped If you can please have a look at [http://oldbusman.co.nz/productDetails.cfm?ID=9](http://oldbusman.co.nz/productDetails.cfm?ID=9) the "add to Cart' table has an up/down arrow to adjust the quantity being ordere, and this has a function in the page to stop it going any lower than …

Member Avatar for Airshow
0
269
Member Avatar for akhal

Hej I got this problem while trying to build project in VS2010: [b][b][code] fft_test.obj : error LNK2005: "void __cdecl fft(int,double (*)[2],double (*)[2])" (?fft@@YAXHPAY01N0@Z) already defined [b]1>in fft.obj 1>fft_test.obj : error LNK2005: "void __cdecl fft_rec(int,int,int,double (*)[2],double (*)[2],double (*)[2])" (?fft_rec@@YAXHHHPAY01N00@Z) already defined in fft.obj 1>fft_test.obj : error LNK2005: "void __cdecl ifft(int,double (*)[2],double …

Member Avatar for akhal
0
298
Member Avatar for tlox

I would like to know which software/technologies can be used to develop an electronic telephone directory. What database software and application software would you suggest? I just want to create a simple application which could be opened with HTML Help Workshop 1.4. It should not be an online application, however …

Member Avatar for Adak
0
383
Member Avatar for geekme

I work on ubuntu 10.10.Please suggest me a php editor or IDE that I can use so that it highlights my syntactical and other errors.I currently use gedit which does not helps much with detecting typing errors. Regards.

Member Avatar for iyngaran
0
153
Member Avatar for kerek2

Hi Alls, Really need your help. I'm trying to list all text file in Application Startup path folder in combobox but cannot...can anyone help?.....In Application Startup Path folder i got more than 3 .txt file. So i want to list out in combobox...please help me..thank you

Member Avatar for codeorder
0
2K
Member Avatar for CeeGee

Create a class named Game that contains a string with the name of the Game and an integer that holds the maximum number of players. Include properties with get and set accessors for each field. Also, include a ToString () Game method that overrides the Object class’s ToString () method …

Member Avatar for kvprajapati
0
182
Member Avatar for moshe12007

hello all i have problem : [CODE] string sssql = "SELECT *FROM BooksCatalog WHERE BookID = '" + TB[2].Text + "'"; ds =DBC.Read(sssql); // class that read from sql foreach (DataRow row in ds.Tables[0].Rows) { row["BorrowState"] = "good"; // that not write that in my database here its the problem …

Member Avatar for kvprajapati
0
112
Member Avatar for uselessninja

hi people.......i've already had my mysql table displayed in html......how can i update the table (a specific row or a the whole table maybe) ...by clicking the HTML table? .... btw i already a update feature im my document (1 text field and 1 button) but i want to update …

Member Avatar for uselessninja
0
77
Member Avatar for sid78669

Hi All, This is the first time I'm using Java to connect to my online MySQL database that is hosted by a separate web host. Following is the code in use: (I've removed the server url, username and pass for obvious reasons. They all work when I use them in …

Member Avatar for sid78669
0
641
Member Avatar for sirlink99

Hello. I am trying to make a program that has a menu. When you click play , it should (for now) output the text "In Game". It does that. However, it prints the text on a new JFrame. I would like it to print it on the same frame. How …

Member Avatar for sirlink99
0
132
Member Avatar for Slyvr

I just started teaching myself some basic things with this, but the simplest shit like strings seems impossible. Does anyone know any good sources, tutorials, or anything that might help me more? As an example...I wrote this code to tell when a control button was pressed: [CODE]//ProcessKeys int key; string …

Member Avatar for Slyvr
0
228
Member Avatar for uchendu korie

I am a final year computer science student and i was confronted with this topic: Design, development and implementation of an efficient Bandwidth management system. i code with Vb.net and microsoft SQL 2008 as my database engine. honestly i've not written such application before, so i need a guide how …

Member Avatar for codeorder
0
171

The End.