199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mitch9654

Hi, I am trying to run an applet on a website, but when trying to access a file to write (reading works like a charm), do some wrapping: [CODE] try { FileOutputStream fos = new FileOutputStream("http://mitch9654.zymichost.com/songs.DAT"); OutputStreamWriter osw = new OutputStreamWriter(fos); BufferedWriter bw = new BufferedWriter(osw); } catch (FileNotFoundException e) …

Member Avatar for mitch9654
0
922
Member Avatar for The_Prince

Hello fellow coders! This is my first time and post on forum but hope to stay here seems like a good friendly place Anyway the following code is to count the number of digits on user input. This includes decimal numbers. So far the code does what it does 1. …

Member Avatar for NathanOliver
0
166
Member Avatar for circusfreak

Creating a program to read a text file full of words in alphabetical order. I then have to read it into a Linked List. The linked list should output total number of words, which I have managed to do. After this it needs to calculate the min and max depth …

Member Avatar for NormR1
0
139
Member Avatar for andydeans

Hi, I got some great help on the forum to create my total due query. However it produces it with just total due, how could i have it by month? each table has a DueDate column which i would like to show on the query along with the users FullName …

Member Avatar for andydeans
0
242
Member Avatar for andydeans

Hi guys, Need some help here. I have created an individual query for each product which works absolutely fine. However i want to be able to join it so i can display on my page who is due for a review. [CODE]SELECT clients.*, protection.* FROM (clients JOIN protection ON protection.clients_ClientID=clients.ClientID) …

Member Avatar for andydeans
0
112
Member Avatar for Duki

I have a datagrid showing my items - I want to modify a field in the database when the user clicks a button. So if row 3 is selected, I want to modify "SomeField" in Row3 to True. Is there an easy way to accomplish that?

Member Avatar for Duki
0
94
Member Avatar for GAME

Is there anyway, I can have my richtextbox display this character("•") with it showing the box like shape(when the richtextbox doesnt know how to read the character)?

Member Avatar for finito
0
87
Member Avatar for fpsasm

Hello, I am using strncpy to copy the first line of a multi-line buffer. I have successfully found the amount of characters to the end of the first line, and I have performed a strncpy to copy the first line of the buffer to a char *. However, some of …

Member Avatar for fpsasm
0
171
Member Avatar for keyroche

Hey, This is probably a newbie question, but that is somewhat what I am to PHP. I need to create a two column table within a while statement. [CODE] <?php $letter = $data['letter']; $getCats = mysql_query("SELECT * FROM categories WHERE catName LIKE '$letter%' ORDER BY catName"); while ($cat = mysql_fetch_array($getCats)) …

Member Avatar for diafol
0
196
Member Avatar for dansnyderECE

I want to represent 2^32 elements in a vector. In reality, I allocate about 500,000 elements and then everything else is there to be used by my program (for storage of data). So I have to have say.. elements: [0-999999] = 0 [100000-599999] = info [600000 +] = 0 <-really …

Member Avatar for dansnyderECE
0
166
Member Avatar for BLKelsey

Hello all, I'm still new at C++ and I'm almost through with this assignment. The thing I'm trying to do it have it repeat the hangmanMenu (which are switch statements) until this user chooses to exit, in which the program will exit. Can I get some ideas on how to …

Member Avatar for mrnutty
0
132
Member Avatar for mr_s70

Hello ppl, Do any of you have a sample branch prediction algorithm? I m trying to study deep into branch prediction and I need to see what things are being used in the code. Thanks in advance Sunny

Member Avatar for mr_s70
0
83
Member Avatar for Patplays852

Hello, I've made a Jeopardy game using VS2010 and I mistakenly made it as a .NET 4.0 project. I am wondering if there is any easy way to convert the project into a .NET 2.0 project so more people will be able to use the program. [URL="https://sourceforge.net/projects/ezjeopardy/"]https://sourceforge.net/projects/ezjeopardy/[/URL]

Member Avatar for rohan_tahil
0
244
Member Avatar for rain2shine

Hi, I need help bad, im trying to make an E-R diagram from the following: The City House Service (CHS) is an onoprofit service that advocates the development and inprovement of low-income housing. The CHS operates in a metropolitan area of approx. 2.2 million people in a mid-west city. The …

Member Avatar for tesuji
0
265
Member Avatar for m.a.u.

Greetings, I want to develop a program to check if my computer dowloads any file and after completion of the download it should inform me. Is there any .dll file method or any thing you can tell me to use or to follow. What should I do for this? Thanks

0
69
Member Avatar for jinfiesto

Thus far, installing and getting Python 2.6 running properly on x64 Windows 7 has managed to be a fat pain in the butt. Latest in my saga of silliness, is that the PyDoc server doesn't run properly. Initially, I was getting "pydoc is not recognized as an internal or blah …

Member Avatar for jinfiesto
0
192
Member Avatar for ryan461

I've got this exercise from a book that wants me to program two rolling dice, add the value of the dice to together and basically track each time a number is rolled. So ive got an array with 11 spots for the numbers 2 - 12. Whats not working in …

Member Avatar for ryan461
0
111
Member Avatar for moni94

Hi. I am programmer who works with c# and c++. These languages are really powerful but when it comes to controlling memory I can never do what I want to do. I want to know if there's a lower level languge (or a way to do this with c# or …

Member Avatar for Rashakil Fol
0
132
Member Avatar for santosh5471

I wrote an application in VB6. While testing I want it to run only when a pen drive with specific VOLUME SERIAL NUMBER is attached. Can any body help me in finding out the volume serial number attached to the system. Regards

Member Avatar for santosh5471
0
570
Member Avatar for Umar Ali

Hello Guys I need help with adding new row in a JTable. I have created the JTable using Netbeans IDE under Swing Controls. Then I removed all the columns, so that I would add them manually. Now, the function GetFlightInfo() returns an ArrayList with n numbers of rows with 6 …

Member Avatar for Umar Ali
0
170
Member Avatar for nertos

Hi, how can I hide a url from jquery/ajax code for example: [code] function func123() { $(document).ready(function(){ $.getJSON('[B]http://127.0.0.1/~nertos/file/my_web/file.php[/B]', function(res){ ...................... }); }); } [/code] Thx 4 help;)

Member Avatar for sergb
0
1K
Member Avatar for kelokely

I have a series of files similar to that 1A2B_A.txt, 1A2B_2C.txt, 1A2B_DF.txt, 1B23_D.txt, 1B23_B.txt, 1B23_25.txt, and many more I want to combine each three files starting with the same four code before the "_" Thanks in advance

Member Avatar for TrustyTony
0
95
Member Avatar for haxin

hi..., im having set of points... i need to form a cluster of those points.... i will get another set of points ... and i have to check whether those set of points lies in that cluster or not. please help me how to cluster points i have.... thanks in …

Member Avatar for kivanc
0
298
Member Avatar for sbedford

Hi I am trying to create a delphi program to autoinstall other multiple utilities such as adobe reader, winamp etc. I am firstly wondering how to execute an external exe file. and also, is there a way to pass mouse clicks through delphi to this external program? Thanks Sean Bedford

Member Avatar for david Booch
0
324
Member Avatar for mick3339

I am trying to implement an expert system in C. I have written each rule in the expert system as a function. However, I want my system to be more flexible and can process these rules from an external file specified at run time rather than hard-coded. This will provide …

Member Avatar for gusano79
0
720
Member Avatar for Duki

Hey Guys, I have a tabpage on my form, and I want to populate it according to which fields are set in a database. For example, I want tab#1 to list database fields of all items that have a particular field set to True. I want tab#2 to list the …

Member Avatar for Duki
0
221
Member Avatar for rickster11

I set the title of my master page so all of my content pages would have the same default title. However, I wanted a couple of the pages to have a unique title. Is there a good way to do this? I know I could get it if I removed …

Member Avatar for sergb
0
76
Member Avatar for xGrimReaperx

Hello, I have a homework to do and I am sitting on it already 7 days and I cannot find out how to make graphics like : using (Graphics g = this.CreateGraphics() g.FillEllipse(Brushes.DarkGray, new Rectangle(45, 65, 200, 100)); g.FillEllipse(Brushes.Silver, new Rectangle(45, 60, 200, 100)); appear after you insert password abc …

Member Avatar for nick.crane
0
1K
Member Avatar for AbhikGhosh

Hi I am using tomcat 5.5 and I am unable to connect to mysql server(Wamp2.0i). Here is my code: [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page import="java.sql.*"%> <%@ page import="java.io.*"%> <html> <head> <title>Connection with mysql database</title> </head> <body> <h1>Connection status</h1> <% String connectionURL = "jdbc:mysql://localhost:3306/names"; Connection …

Member Avatar for AbhikGhosh
0
166
Member Avatar for loveforfire33

Hi, i have got a popup box on a aspx page using JavaScript - what i would like to happen is after the user clicks the box for the browser to navigate to a different aspx page. i have tried using response.redirect and other methods - to no avail. i …

Member Avatar for loveforfire33
0
150
Member Avatar for baktha.thalapat

I have the java code to implemented jsp page, here how to view the pages 100 [code] <% PreparedStatement preparedStatement = null; PreparedStatement preparedStatements = null; ResultSet rs4 = null, rss = null, rst = null; java.sql.Timestamp timest; DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Connection conn = null; Timestamp timestamp; …

Member Avatar for peter_budo
0
176
Member Avatar for homeryansta

hello all! Anyone know how to count all the constraints in a given table? I'm new to stored procedure and need it to finish some work.

Member Avatar for homeryansta
0
133
Member Avatar for adams161

Hi, i got a jeditor pane working to display web links in my program. normal web pages display fine, and I got a hyperlink listener and that is working so they can click links. I use setPage("url as string");. what I'm noticing is if the page has pictures on it, …

Member Avatar for leiger
0
108
Member Avatar for tchiloh

i try to insert data in database, but i have a problem. example: [CODE]double price = 12,55; mySelectQuery = "INSERT INTO order (total)" + "VALUES (" + price+ ");";[/CODE] now price are 2 values because the ",". now C# see 12 and 55. so a get a error that a …

Member Avatar for Ketsuekiame
0
5K
Member Avatar for bubacke

hi all, ive got this problem, i think it is an interplay of ifstream and vector... the following code compiles and links without problem, but when i debug i get the message "expression: vector subscript out of range". i know that "out of range" means i am trying to access …

Member Avatar for bubacke
0
484
Member Avatar for rbhave

Hi, I am having problems with my C++ Programs on Sun Solaris server since I have upgraded my C++ compiler from Sun Forte Developer 7 compiler to Sun Studio 9 C++ complier 5.6. I have my own string class which I had issues but now compiles ok after puting option …

Member Avatar for psoma74
0
333
Member Avatar for dansnyderECE

I'm trying to copy a string into a character array to be used in .write(). Here is a bit of my code to show you what I mean: [CODE] //input_buffer is a string that is determined during runtime int length = 5; char * buffer = new char [input_buffer.size()]; buffer …

Member Avatar for dansnyderECE
0
104
Member Avatar for aint

I am working on the folowing code, which basically counts every letter in a given text. I want to store the numbers in letter names: A=1 B=3 and so on... I guess it stores the number underthe name 'letter', but not under the corresponding letter 'A'. It would be great …

Member Avatar for TrustyTony
0
107
Member Avatar for j-green.10

I want to make a loop that will keep asking for an input until 0 is entered into the input. How would I go about doing this

Member Avatar for jerry emmy
0
87
Member Avatar for VINOD_2553

Hi i just want create a project to school i card i do evry thing in my project but i have no idea to save photo of student on icard simply i want save image in data base or access imege on form to print icard please heme me how …

Member Avatar for santosh5471
0
154
Member Avatar for SalientAnimal

Hi Can anyone please tel me why my code is not updating my MySQL database? The code does not return any errors. It does how ever tell me that the update is successful, but there is no update. Pelase let me know should you require to view the code running …

Member Avatar for SalientAnimal
0
230
Member Avatar for remshadm

please tell me how i make a sql query for selecting data's from a table where that data repeated 4 times in that column

Member Avatar for rohinireddy
0
86
Member Avatar for ElegantElephant

Is it possible to obtain the next insert ID without actually executing a proper insert query? I am writing a file upload script but the name of the folder the file gets uploaded to depends on the next insert ID of a certain table. Would appreciate any help with this.

Member Avatar for loganphp
0
4K
Member Avatar for mrugeshm

Hi all, i want to transfer data one sql database to another database in same sql server. i try to insert into table2 select * from table1 , but this query useful for same database, but i want to use different database, in same sql server. help me here to …

Member Avatar for xuqi
0
178
Member Avatar for Tyrone.Wilson

I have a program in which I have used a .myFileType file. obviously windows does not recognise the file type and so I have to browse for the file in the application. how do I make it so that windows knows .myFiletype's native application and launch the application on double …

Member Avatar for NormR1
0
145
Member Avatar for Pic

Hello ppl, i want to know if mysql save some text special chars like the \n i have the nl2br() function to tranform \n in to html <br>, but for BOLD or UNDELINE text ? is there a special char saved in to mysql db ? and is posible to …

Member Avatar for pritaeas
0
150
Member Avatar for rojo821

my java programs are not running. actually they are running but the are invisible. I click on task manager and they show running. I actually click on the screen and you hear an error ding as if you are clicking on the window in a wrong spot. I have windows …

Member Avatar for stultuske
0
186
Member Avatar for bobgodwin

I have some code that I'd like to add numbers to. I'm using [iCODE]$count=o;[/iCODE] with[iCODE]++$count[/iCODE] to generate numbers. They start at "1". How do I get them to start at "0"?

Member Avatar for EvolutionFallen
0
110
Member Avatar for ibrahim72ro

I need to populate the bynarytree with data from a file, an .txt. How can i do it? i need emergency help. thx a lot #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> struct information { int CNP; char* nume; int varsta; }; struct bynarytreenode { information info; bynarytreenode *left, …

Member Avatar for daviddoria
0
180
Member Avatar for uttamsarnaik

Hi, I want to block Ctrl + Alt + Delete. I have blocked it now it is not showing task manager. but problem is that after clicking this combination windows shows window security window with shut down, task manager, lock computer etc options. I don't want this window to come …

Member Avatar for Ketsuekiame
0
141

The End.