199,114 Archived Topics
Remove Filter ![]() | |
Hi Everyone, I need some help. So I am given this code and I have to make the functions for revArray, *reveElement, and evenOdd. So far I have figured out how to reverse the Array and print it. But I'm having some trouble sorting the array. I'm supposed to put … | |
hi, i have a simple two file webapp where i pass two strings to a jsp page for processing. however when i run the app, i get 'resource not found error'. cant figure out what's the problem... some help will be much appreciated.. i got two files. index.jsp which launches … | |
Hello, some help here.. I have a gridview, at my home page, binded to a dataset. On the first column is a hyperlink, on which, if click it will go to another, page, Viewer Page, and passes the data to display on the other page pls advise, preferably in c#.. … | |
hello friends, i am trying to use microsoft office document imaging library in my c# application to add OCR functionality to my application.However when i tried to run the following piece of code the compiler threw an error " Retrieving the COM class factory for component with CLSID {56F963EC-6EFC-4A6B-9A1E-5BFE545C89D0} failed … | |
If any one willing to help me design a os i'll probaly find them here. i'm trying to create a simple but effective system if you want to help please email me at <snip> your help will be deeply appreceated (spelling) Thanks Brodie | |
Hello... Im a newb to both C programming and DaniWeb .. the prob is tht i try to compile this program in TurboC3 #include <stdio.h> #include<Conio.h> main() { printf( "hello" ); getch(); } when i press " alt+F9 " it says " Warning:: program should return a value" and no … | |
hello How do I ensure that the same number does not appear more than once in my random number creator? Eg of output currently: [QUOTE] array = {30, 2, 12, 9, 2}; // has repeats [/QUOTE] Eg of what I am trying to do: [QUOTE] array = {30, 2, 12, … | |
dear all am getting insert error, confirming my connectionstring is working properly and am working on vs2005 <appSettings> <add key="ConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|\data.mdb"/> </appSettings> =============== [code=csharp] using System; using System.Data; using System.Data.OleDb; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial … | |
I save the css file which contains : [code=css]table { border:thick; border-style:outset }[/code] But i just want to use it on one/two table, not all. ie: [code=html]<body> <!-- table with css --> <table> <tr><td>Name</td></tr> </table> <!-- table without css --> <table> <tr><td>Class</td></tr> </table> </body>[/code] How could i do that ?:?: | |
I'm working on a simple program to analyse some data and I'm having trouble making multiple passes over my file. I've been trying to do something along the lines of for(n=0;n<Nmax;n++){ while (! inFile.eof() ){ crap done here; }; }; however it won't do more than one pass over the … | |
hello! m new to java.i want to create an application that accepts length x width from combo box.there are 100 values.i want to draw a rectangle whose size will change for each value in a combo box depending on its length and width. which method should i use? can any … | |
Hello, I am just starting to do few web application and I have 2 questions to ask..Does anyone know how to count the number of files inside a folder? I am currently creating an application where I can upload images to my website. Whatever the image name is, it has … | |
This is part of the code to a login form. The only file is index.php. The code continues but it what you get after you have successfully logged in. It doesn't matter what I put the the login form, when I hit the "log in" button, if just reloads the … | |
Hi, I have a table in which there is a field for mobile no. Currently the data in the field has been entered with a dash(-) after the code. eg- MobileNo (this is the field name) ------------------------------------- 1. 6016-2880537 2. 6012-3137200 so there is about 400 records in the table … | |
Hey everybody. I'm writing a program that simulates rolling two dice and adds them up, eventually printing out the number of times each possibility (2 - 12) was rolled. The number of times the two dice are rolled is specified by the user. The code I've got so far compiles, … | |
Hey its me again i dunno this string stuff gonna drive me insane really been doing since yesterday exercises on string did half of them but i have this program which should remove chars that i specify and when i test with putchar it does remove them but The string … | |
Ok, I have a program I'm trying to get to work, but I'm struggling to get right. I suspect its when it reads the data from the .txt file. I have to get the average of column 1 and the average of column 2, and get the highest of column … | |
Hello everyone, I am trying to write a program that gives you 3 options: 1 for encryption 2 for decryption 3 Exits the program If option 1, my program will ask for a password, an input file name and an output file name. My program will then read the file … | |
Hello team, We are working on speaker indicator, which is supposed to indicate the level of volume received from VLC player. I have worked on microphone, in microphone we can able to get the input buffer and according to that we are able to display the level of volume. I … | |
This what I have from my last assignment on creating a bank account. This is what i have to add for the next assignment and I'm lost. Can someone please help me do this!! Assignment: 1. Create 3 subclasses that inherit from the bank account class created in homework 3. … | |
I've been trying to figure this out for a few days, and my teacher can't really answer my question, as he is just as stumped as I am. Python is supposed to be pass by reference, but I keep getting pass by value when it comes to returning a bool … | |
I have recently developed one website. After uploading this website to the server, I have received a few security exception on errors on some of my pages. I contacted my hosting provider on this and they have told that "it seems that your website is requiring asp.net full trust environment. … | |
Hello, I want to know how i can build a program that reads what is in a parenthesis and print it using cout, but remember that i have to use this inserted a if method. Here is a sample of syntax: [code]test (test of output)[/code] Remember that this syntax is … | |
I am given several coordinates on a 2D plane. These points represent the centers of circles of a constant specified radius. I've been working on a program that outputs all of the coordinates of the circles that collide. This is simple to do if I simply create a distance matrix … | |
Hello, I'm learning C++ and i want to know how i can develop a program that reads a file like a database, but the program don't know how many lines or columns the file have, and the file is like this: [CODE]"Name Test" "1901" "email@test.com" "John Google" "6673" "john@test.com"[/CODE] And … | |
I'm wondering if there's a way to open standard I/O as a stream, so I can write and read character by character. Something like [code] handle = open(stdio) [/code] Any ideas? | |
I'm trying to display a certain amount of words on one page from a database entry. For ex., on my main page I want to display the first 50 words of a story then a link will lead you to the rest of the story. I kind of know what … ![]() | |
i got this script,in one of the very old artciles in sitepoint. everything is ok!except that PNG and BMP images are not resized. giving this errors [code=php] Warning: imagecreatefromwbmp() [function.imagecreatefromwbmp]: 'thumb/tb_128448486.bmp' is not a valid WBMP file in C:\wamp\www\wallsnap.php on line 97 Warning: imagewbmp(): supplied argument is not a valid … | |
Hello, I have my own website where I make programs and put them up on my web page, it has info on the programs ext.. I also allow other people to put up they just have to e-mail me with a specified template. But I want to make this easier … ![]() | |
hie i want the user to inset the email id in correct format. so i thought of using a masked text box. there are some predefined masks but none for email. plz help | |
I'm trying to make a menu in my c++ console program where a user can hit the up and down arrow keys and this will scroll through the menu options. I got this snippet of code that I could modify to make it do what I want, but its not … | |
Hello There, Can anyone help me figure out how to get Winsock and the Windows SDK working with Netbeans? I am using the latest version of both the SDK(6.1) and Netbeans (6.5). I have downloaded the SDK but I don't know how to get the libraries to link to Netbeans. … | |
Hi I'm novice in ubuntu , i'm using NetBeans IDE for j2me programming but i have a praoblem : emulator do not work !!! when i'll run program dose not work and this message is displayed : [CODE]java.lang.UnsatisfiedLinkError: /home/mahdi/netbeans-6.7/mobility8/WTK2.5.2/bin/sublime.so: /home/mahdi/netbeans-6.7/mobility8/WTK2.5.2/bin/sublime.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) … | |
Hi friends.. I am going to do the project in different languages...Anybody explain me how to do that...any procedure...any softwares...atleast how can i start the project... Thanks in advance..... Advance Happy Rakhi TO All ![]() | |
update.php [CODE] <?php session_start(); if (!isset($_SESSION['user'])) { die ("Access Denied"); } if ($_POST['submit']=='Update Information') { $name_box = $_REQUEST['name_box']; while (list ($key_check,$val_check) = @each ($name_box)) { $value_check .= $val_check.","; } $all_value_check = substr($value_check, 0, -1); } ?> <?php include 'dbc.php'; $user = $_SESSION['user']; $query = "SELECT * FROM student WHERE user_email … ![]() | |
so, I have a program that uses a keyboard hook, but starts it in another thread so that it can continue executing. The problem is, the only way I have to stop the mouse hook right now is to just kill the thread using TerminateThread(). However, this does not enable … | |
![]() | Hi, I'm having problems with aligning my header.html - I'm using a frameset with 2 rows, one for the header and one for the main area of the page. The problem is that I'm trying to use vertical-align to move my links in the Header page to the bottom of … |
Hi, I'm compiling C# code to memory and running it from there, now what I want to do is pause, resume, stop that same code running in the memory. I'm using this currently to run the code: [CODE] private void compileRunToolStripMenuItem_Click(object sender, EventArgs e) { Thread runCode = new Thread(new … | |
i need to access the detailed search result page using curl, but for some reason i am not able to do so... Please help! The site is [url]www.justdial.com[/url] and i am searching for a* ... on the very first page there is a listing from banglore... i want to be … ![]() | |
Hi I have a vector which contains a number of objects. Inside these objects are 2 attributes. the X and the Y coordinates. How Can I sort them from top to bottom 1st then left to right? e.g 0,0 1,0 0,5, 3,1 2,5 the output would be 0,0 0,5 1,0 … | |
Hey guys, maybe I am just worn out today, but can somebody look at my IF loop (the first one for selcting 1-3) and see where I am going wrong? Everything else seems to be pretty good I think, but this is aggravating me to no end. Thanks [code=c] #include … | |
Hi! :)))) I have to use sql connection to take queries from user by using textbox structure .How can I provide this .I don't find it anywhere . especially how can I connect sql and textbox structure together I do not know anything about this subject. I know c and … | |
Hi. I have a kind of old script for polls that I heavily modified it during years. The main code still there. Today i realize that is using register_globals On (tested new changes in a local xampp installation). Is there any good information regarding register_globals On|Off around to share? I … | |
A Sports Management Application is required to process the results of sports competitions (e.g. Asian Youth Games). You are assigned to develop a simple Java program to demonstrate the functions provided by the system. A sample of the result of a sports competition shown in Figure 1 below: Country Gold … | |
Say I have a point A at (1,3) and a point B at (2,1) and point B has an angle of 45 degrees. I need a formula that will tell me which direction (right or left) B should turn so it points at A the fastest. --(my attempt)-- I originally … | |
Hi all, I hope you are well. I am in the process of building a small Java application that reads data in from a unicode text file (.txt) and processes it into a jTextArea. The trouble I am having is that the unicode file contains some Greek characters, most of … | |
help plz....hi i wud like to know how to count each row of a datagrid and display the answer in a textbox. thks | |
hey all. this is (if i remember correctly) my first post, i have done alot of reading on this forum though and have found the info invaluable. my program is a calculater that calculates the amount of sheets of plasterboard and bags of plaster needed for a wall, firstly: have … | |
which is the best php editor for linux ubunto? i m using komodo right now but it is very slow. pls suggest something? | |
This is the snippit im having a problem with. I've tried playing with the preferred size of both the JList and the JScrollPane with no luck/mixed results. I want to be able to size it to exactly 1 size so it never changes. [CODE=JAVA] import java.awt.BorderLayout; import javax.swing.DefaultListModel; import javax.swing.JFrame; … |
The End.