199,113 Archived Topics
Remove Filter ![]() | |
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) … | |
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. … | |
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 … | |
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 … | |
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) … | |
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? | |
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)? | |
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 … | |
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)) … ![]() | |
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 … | |
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 … | |
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 | |
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] | |
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 … | |
![]() | 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 |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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;) | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
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. | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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"? | |
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, … | |
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 … |
The End.