199,114 Archived Topics
Remove Filter ![]() | |
I was reading a bit about the JDBC, i've made a lot of programs related to JDBC, but i've never been able to understand the concept of Class.forName(). Please explain it fully, i know the basics, as what are the strings passed, what is done and all. I wanna know … | |
Hy guys i was creating small page , with mobile phones . And i need little push . The problem is this : On main page i have small drop down menu which contain some values . And i want to take the value and display the appropriate stuff inside … | |
Hello everybody, I try to find out how to download any file from a URL that doesn't specify. For example: [url]http://translate.google.com/translate_tts?q=Daniweb[/url] ^^This URL directs to an .mp3 file, which is the spoken text by Google Translate. I have this code already, but it helps only when I use URL with … | |
![]() | Hey, I am having a problem figuring this out. I didn't use file I/O before this so be gentle at me :P. Here is my problem: I am writing to a file, an object Book. The constructor looks as follows: [CODE]public Book(float bookId, String bkName, String bkAuthor, int year, String … ![]() |
I was wondering how I could display more than 256 colors with the VGA color palette. correct me if I'm wrong, but the reason that you can't display more than 256 colors at once is because each byte in video memory corresponds to one pixel on the screen. But because … | |
Hey everyone, I have an Xml file in which I want to compare elements; [CODE] <Students> <Student id = "a"> <Name>*** </Name> <Age>17 </Age> </Student> </Students> <Students> <Student id = "b"> <Name>*** </Name> <Age>17</Age> </Student> </Students>[/CODE] if student "a" is of the same age as "b" I want to display … | |
hi all! i have a saimple applet which tries to insert a text from textfield init oa table named samp.here is my code [CODE] import java.sql.Connection; import java.sql.ResultSet; import java.sql.PreparedStatement; import java.sql.DriverManager; import java.awt.*; import java.applet.*; import java.sql.*; import java.io.*; import java.awt.event.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; public class Appletsamp extends … | |
hi:) i'm writing a windows form program that controls 4 stepper motors, using visual studio express 2010, c++ i'm using a for loop that has to cycle for up to 1200 times. it works well enough but it's kinda slow and, when it's connected to my hardware and given more … | |
Hi, im a student doing a project on attendance system.... i have problem where the text entered (username)from formA jTextField1 need to pass to FormB in order to the combo box in FormB shows(subject,course,time) that correspond to the username was entered in Forma....i have try it....but got error... Here is … | |
I am trying to read from a file and insert this to a database. But the error message is giving me trouble [QUOTE] Notice: Undefined offset: 1 in C:\xampp\htdocs\test\try2.php on line 15. This is the error message. On line 15 is: $userName = $tmp[1];[/QUOTE] my code is [CODE] <?php mysql_connect("localhost", … | |
good day for all i want to know how i can make linked tables in access with sql server 2008 i tried with odbc in access 2003 but i can not please help me i tried with Microsoft SQL Server Migration Assistant 2008 for Access but i can not | |
Hey, I want to add tabs to my php page, but I don't know JS.. I found many ready tabber scripts but I'm having 2 problems- the text on the tab's title is set somewhere in the JS and I can't find it, it makes them Tab 1, Tab 2, … | |
Dear Sir/Madam, I want to know two things here.. 1. Can we create object variable on Run time? 2. Can we store one object variable's data (Object) into another object variable? Please guide me sir/madam. Because, i have no idea in this regard. | |
[COLOR="Green"]Trying to take input from user, put it in array and do the sorting[/COLOR] The code is: [CODE] #include <stdio.h> #include <conio.h> #include <stdlib.h> class Sort { static int array[5]; static int index; static int i; public: void insert(int num) { array[index] = num; index++; } int sortarr(const void *x, … | |
Hello Experts, I am trying to extract data from XML file which is as follows [CODE] <lineage> <taxon scientificName="Homo" taxId="9605" rank="genus"/> <taxon scientificName="Homininae" taxId="207598" rank="subfamily" hidden="true"/> <taxon scientificName="Hominidae" taxId="9604" rank="family"/> <taxon scientificName="Hominoidea" taxId="314295" rank="superfamily" hidden="true"/> <taxon scientificName="Catarrhini" taxId="9526" rank="parvorder"/> <taxon scientificName="Simiiformes" taxId="314293" rank="infraorder" hidden="true"/> <taxon scientificName="Haplorrhini" taxId="376913" rank="suborder"/> <taxon scientificName="Primates" … | |
Hello Today I am trying to put an error message showing that the client has no stock..I think I have to use the clientidlist to show if the client id does not show up in the clientidList than show error message stating the client has no stock..but I am not … | |
dear all Friends i need to make one application so plz help me quickly as possible and i am very Thankfull if direct give me code or project file because i am no more knowledge of vb6 i have one application have one exe and many other files like graphics … | |
As many of you know, GOCR is a common Optical Character Recognition software that can be implemented into almost any programming language. You must convert the image you wish to convert into a PNM file and then proceed to call the executable OCR file. I cannot find any conversion methods … | |
Hey there, working on a program thats going to have a bunch of functions, but for now I am stuck on something that will be reused throughout the program alot: passing a string pointer to a function. It may seem redundant or arbitrary that I am passing it as a … | |
Hi , Any Help Plz.... Could any body tell me what's wrong | |
Need help in transforming xml to xsl. I am trying to create a timetable and am trying to transform the xml data that i have into an xsl data. [CODE]<Timetable> <Week> <Day DayID = "Monday"></Day> <Day DayID = "Tuesday"> <Session no = "1"> <Module type = "CMT111"> <ModuleName> CPM </ModuleName> … | |
Hello everyone, [B]I have a TextBox and a Button on my webpage. On Page Load I'm displaying the contents of a TextFile(with multiple lines)on the TextBox.Then I'm editing the TextBox.Then On ButtonClick ,I debug it and check the TextBox value.The value shown is:The value last edited on textbox appended with … | |
How to show the time and data in the user's timezone? I don't know it at all! Can anyone teach me? Thanks! | |
hi i have two table : Guest and Country.. which are linked by a country id foreign key in guest table .. now in my program i would like to do a data grid view showing all guests details .. how can i show the name of the country instead … | |
Hi, I have a situation where i am inserting to two tables from a web form but the first table needs to be inserted to so i can get the PK, then use the PK to insert into the second table. So what I would like to do is rollback … | |
Hi every one. I'm creating a website using jsp. One of the functionality required is to process online payment which will be made by credit cards (e.g visa card numbers). So how shall I go about? Thanks in advance. | |
So I got most of the code working, but what I am trying to do, is say someone post the following This is a great youtube video [url]http://www.youtube.com/watch?v=pkrM7x0_fcI&feature=channel[/url] what do you think. I want it to turn the youtube link to [url]http://www.youtube.com/v/pkrM7x0_fcI[/url] but keep the text that they typed so … | |
Hi everybody, I just want to develop a web application for sending sms using java/jsp. Normally i have seen people using either gsm modems or bluetooth or connecting mobile to pc and then send sms. I am planning to develop a web application in such a way that it sends … | |
Hello my problem is that I am not for sure my vector < vector < string > > addresses; is correct. What I am looking for is to read in from a file which looks like: name:dfsd@msn.com name:dfsd@msn.com name:dfsd@msn.com Once my code parses through the file, addresses should look like: … | |
I am new to assembly. I found this code here [url]http://www.daniweb.com/software-development/assembly/threads/117744[/url] What I am having trouble with are the following lines [CODE]L0_95: ; this segment prints ASCII code 0 - 95 mov si,6 ; refers to the string we declared at the beginning mov cx,4 ; I think this is … | |
Hello all, I'm working on a comment script to produce a string of XML to be used for one of my ajax applications. However, I cannot figure out how to produce the xml. Assume that the passing of the parent_id variable is working for now. Here's the code I'm using … | |
Hello, How can I calculate the normal vector giving a vertex on a 2D plane in OpenGL. ? All what I read was all about 3D and cross product of two vectors. the only thing that I have is that vertex and I want to construct a vector coming out … | |
hi, anyone know how to fix the inputs in a textbox must be a number ? | |
radixsort.c [CODE]/**************************************************************************************/ /* Radix Sort of integers numbers using polymorphic linked lists. */ /**************************************************************************************/ #include <stdio.h> #include "list.h" #include <stdlib.h> #include "numberinterface.h" #include <math.h> void static refill( int A[] , list Bins[] ) ; int static getdigit( int number, int position ) ; int main( int argc, char *argv[] ) … | |
Hey..i have no idea to solve this problem..could some one help me.... If i add in the min support, the result will all run away... i do not know why like this: The result will like this: 2 3:1 2 3 4:1 2 4 2 3:1 3 4 4: 1 … | |
I'm supposed to make a banking system that allows me to make transactions for individuals bank accounts. I'm also supposed to primarily use arrays and for loops and those kind of basic things... It's an intro to programming class. I'm having trouble getting my account class to work. I'm trying … | |
Hello, I have two very simple questions. 1. I want to use fgets(text, MAX_WORDS, stdin) to read in a string file, where my array is text[MAX_WORDS]. But is there a way to make stdin a pointer instead to a 2nd array which can be a buffer? 2.Whats the difference between … | |
Hiya, I'm pretty new to C++ (using bloodshed dev). I am trying to display the path of a projectile (tennis ball) on a graph. I can do all of the calculations and output to a text file at each point however I can't find anything on the internet to explain … | |
I've looked all over the internet for a suitable solution to my problem, and I just can't fine a simple and effective one; so I hope I can get some help here! First off I am programming a hotel booking system for my college computing project. This consists of a … | |
hi! i have some html code like this [CODE] The Chihuahua Desert <a href="index.php">Dirt</a> Fest is <a href="/index.php">coming <a/>up, next February 17-19. <a href="http://google.com">Three</a>[/CODE] i want to replace /index.php with [url]http://google.com[/url] and index.php with [url]http://google.com/[/url] and idea how can i do this | |
Ok so what i'm trying to do is grab some strings from a list box and put them in an array so i can list them in a message box each index of the array on a new line so it comes up like this you ordered : arrayindex1 arrayindex2 … | |
Hi, me Rahul Gandhi. I am a student have to submit project of 150 marks. I am pursuing my graduation from corrspondent college. Please help to make a project on VB. I don't know how to start and what should be the topic of the project. | |
Hello all, I have a php script but want to add some more features but I got stock. I hope somebody can help me cause I'm a beginner in php. The php script so far show all files in the root dir and subdirs in descending order of last modified … | |
This problem is about passing parameters between functions(define neighbour elements and acess these elements) Here is some HTML [CODE] <ul class="listing"> <li><a href="imgs/eli.jpg" id="1" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/eli_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/ggallin.jpg" id="2" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/ggallin_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/jontarata.jpg" id="3" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/jontarata_t.jpg" width="150" height="100" class="images" … | |
When I debug, it shows executing the routine, but the ddl's selected index is always zero, no matter which item I select. It didn't always do this. Earlier, it would work correctly for one dataSource, but not another (yes, I use a different data source, depending on who logs on). … | |
I need help ... again. I'm having so much problem in here, on how to multiply column 0 to column to which is. The column 0 is the quantity, and the column 2 is the price. I have a pizza hut Ordering system. Here is my problem. After i click … | |
Hello all, I have a problem with some AJAX code that I'm working on. There are three different parts to my problem. The goal of this code is to have a a link that says, "Show comments" to display the comments for a post from an admin underneath the update. … | |
OK, so I'm making a video game and I have a simple inventory code. This is the inventory class: [code] public class Inventory { static int slot[] = new int[17]; static boolean[] taken = new boolean[17]; static int item[] = new int[17]; static int count[] = new int[17]; public static … | |
I made myself a project which is to make a virtual inventory but I have been having difficulty with pickling the variable: inventory. Could someone please insert the strip of code in order to save the variable in a seperate file and make it able to import it. [CODE]import pickle … | |
![]() | Hi all, I've been stuck on this problem for a couple days and not really sure if there's a way to do it but... I'm trying to dynamically name arrays for a game. So if someone types in the console 2 people are playing I want two arrays to be … ![]() |
The End.