199,114 Archived Topics
Remove Filter ![]() | |
![]() | Hi I recently create a `Simple JQuery` code with captions with some help from other Daniweb members: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/434987/havent-issue-with-seeing-alt-with-image-in-jquery I got a better understanding how it works. So I decide to add a `image count` with this code. The past few hours I been trying to modify this code, kinda play … ![]() |
Hello everybody, I'm a beginner in the world of game programming. I'm working on Pacman project in C/C++. I want to know if any such 2d game requires an IDE to compile or execute it succesfully? Or is it possible to write a program to run Pacman with graphics.h and … | |
Hello, I am trying to create a currency converter, but when I press 'convert' it get the error message: Index was outside the vounds of the array. Here is my code: Imports System.IO Imports System.Text.RegularExpressions Public Class Form1 Private Sub doCalculate() ' Need the scraping Dim Str As System.IO.Stream Dim … | |
Dim bill As integer=textbox14.text Module1.billno = bill Form18.txtbillno = Module1.billno Value of Type 'Integer' cannot be converted to System.Windows.Forms.Textbox | |
question is: Give 5 type checks that should be made for the following c++ statement: x=f(v[i]); NOTE: assume x, f,v and i are all declared and in scope. 1. compatibility check (compile time) 2. v[i] is a valid array element. (compile time) (i.e. (i is not a float or something)) … | |
i want validation form without alert message and to display all the empty blocks error messages at a time beside blocks so can any one help me...??? | |
Can anyone give me hint how to develop the suffix array part ? i know the concept, LCP array design but i am not gettinng how to implement in C ? can anyone please help. I know the uses, algo of suffix array as i have read a lot on … | |
I'm nearly complete in figuring out this program, but for some odd reason, my program will either output "segmentation fault" or a "floating point exception" when it attempts to evaluate the postfix expression. The objective of the program is to take in an infix expression, convert it to postfix, then … | |
I am given the amount of data and the time used. It asks for the time complexity. It is in a Big-O packet Below is the first problem given Algorithm A Data Time 1000 .003 2000 .012 4000 .048 8000 .192 Please explain how to get the time complexity. Thanks! | |
I have a html code as below through which I give image file as input <input name="photo_file" type="file" /> then anather php file to insert record into database code is as below <?php define('GW_UPLOADPATH', 'images/'); $picture=$_FILES['photo_file']; $target= GW_UPLOADPATH . $picture ; $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: … | |
I'm trying to add 'session ending warning' and 'session expired' pop-ups to a site that displays secure data. The session timeout is after an hour. The pop-ups are controlled by javascript using the code below, which checks the time left in the session every minute. BUT... the call to the … | |
hello. i am a new learner. i build some program that able to read .doc file and pass them to Cache database. i've done the passing part. but the problem is, how can i diffrentiate between paragraph and table content? for example, i have **Section A** as a title and … | |
Hi how to make it user post photos and videos on my website ,same link as facebook link. any body plz give me idea.and link ![]() | |
i'm using php 5.4.3, I'm wondering if it's possible to use function session_start(). my idea is to have a login page, then use the username in all pages of the site, the problem is that the $username is not visible in the second page... index.php <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta … | |
Hi,i have a program and i created into a jar file,but the problem is when i am going to remove the jar file into the directory where my java classes and pictures resides,when i click the jar file the picture of my buttons are gone.can you help me please how … | |
I had to make a program that calculates how much you gain or loose in a stock markect. I have everything worked out excpet how to use char. I've looked it up but i don't understand anything. Can you help explain it to me? // Project 6.4. Calculates how much … | |
i have a problem conversion from char to LPTSTR as parameter, could anyone help me,, for example char temp[10]="abcde"; how convert to LPTSTR from char above?? thanks | |
Same project as before but now I have diffrent Errors. fatal error C1075 and error C2450. //Project 7.4. Program determines what your weight would be on another planet.2.3. #include <iostream> #include <cmath> using namespace std; int EarthWeight ; int WeightOnPlanet, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto ; int … | |
#include <stdio.h> #include<conio.h> #include<alloc.h> struct data { int value; struct data *next; }; int main() { int s; struct data *m,*i; printf("enter the data: "); scanf("%d",&s); i=(struct data *)malloc(size of(struct data); i->value=s; i->next=m; m=i; printf("enter the 2nd data: "); scanf("%d",&s); i=(struct data *)malloc(size of (struct data); i->value=s; i->next=m; m=i; printf("\n … | |
Im trying to implement a program that will check the descriptions of two FA and check if they are equivalent. Im assuming (for simplicity) that each FA is in minimal form, the input alphabet is {a b} and each FA only has one finish state. Format for an FA is … | |
Hello, is it a good idea to include multi-users in my Android application? What are the benefits of having a multi-users over single-user? Is single-user the convention for mobile apps? Please I need ideas because I'm currently developing an Android application. But my adviser told me to have multi-users in … | |
I'm working with some old code and the users tell me that the original program's output was a single binary file containing multiple stuct data. The output I get is a binary file containing a single structure. The comment also indicates that this what is happening but I need to … | |
I want my combo box's value to be .Items[i]. Item is of type DataRowView. My combo boxes are binded by database. Value member of cmbx is IDplayer in database. Selected value is playersBindingSource - IDplayer. This is the error: Column 'IDplayer' is constrained to be unique. Value '2' is already … | |
When you create your own personal web page, in addition to his own web design capacity, you should also check out the 24 things you need to know who was ahead recast in order to make your website attractive, attract more people to see. Website design Creating a template uniform … | |
hi all i have a drop down list to lets user to select one option then, i want to post this option to another page and display information from my database based on this option how can i do this? hint: the values of the list is stored in my … | |
Ok let say i have the following xml file <Users> <User> <Name>David</Name> <Attempts> <Place>Paris</Paris <Date>3/29/2012</Date> <Duration>50 seconds</Duration> <Distance>100</Distance> </Attempts> <Attempts> <Place>New York</Paris <Date>7/28/2012</Date> <Duration>30 seconds</Duration> <Distance>100</Distance> </Attempts> <Attempts> <Place>Paris</Paris <Date>8/19/2012</Date> <Duration>70 seconds</Duration> <Distance>60</Distance> </Attempts> <Attempts> <Place>New York</Paris <Date>9/29/2012</Date> <Duration>60 seconds</Duration> <Distance>200</Distance> </Attempts> </User> <User> <Name>Lenny</Name> <Attempts> <Place>Paris</Paris <Date>9/29/2012</Date> <Duration>51 seconds</Duration> … | |
I've a DataGrid Control in my application and a button. When i click a button it should display the contents of the Logins table in the DataGrid. For this I've coded the following, but its giving me an error "Rowset is not bookmarkable.". I've searched a lot, many suggestions include … | |
Hi Guys, I'm quickl writing a little application which sends an email via SMTP and has the option to add a attachment. This is working fine however, When I went to send a email without attaching a file the Error Message I get is the following **"The Parameter 'fileName' cannot … | |
My previous folder tree was (with portable xampp): (for example working on D: drive root) /xampp/htdocs/application /xampp/htdocs/system /xampp/htdocs/themes /xampp/htdocs/index.php etc.. Now I am trying to shift into a structure which I can work with multiple projects so new tree: /xampp/htdocs /web_projects/project-name/codeigniter/application /web_projects/project-name/codeigniter/system /web_projects/project-name/htdocs/themes /web_projects/project-name/htdocs/index.php My htaccess file in htdocs: RewriteCond … | |
Hello again! :) How can i put a Captured Image by a Webcam in picture Box? I'm Using VB.Net 2008 I dont know what to do. Thanks in advance! | |
My Java is pretty rough. So far I've completed one class of Java all the way up to basic array functions. I've asked my Professor to explain it, but he talks with so much jargon. Could someone explain to me why this program spits out the "24" when I run … | |
Hello, I am setting up a website which downloads and stores music. I want on download link to check if user downloaded that music , that is I want to check if file downloading exists on his computer. how can it be done? | |
Hi frnds!!! Am new to ubuntu .. Am using netbeans7.1 .. I need to connect my java application with mysql server... I dont know how to configure netbeans for that.. I tried to configure mysql server in netbeans itself through (Right Click Databases-> select Register MYSQL Server-> select Admin Properties) … | |
Hello again, This time, I want to create a simple function where you choose a date with JSpinner, and next to it, I want a textfield where you can enter the time. I've already created a JSpinner with both date and time, but it kind of looks bad, but that's … | |
When I run the application my labels are al spaced out, however in the design they are fine. Do you have any ideas why? Also when I preview the jframe everything looks fine. Thank you | |
how can i play music in C# visual studio please give a simple example. | |
private ArrayList<Student> students; public void loadFromFile(String x){ try { FileReader reader = new FileReader(x); Scanner in = new Scanner(reader); int lineNumber = 1; while (in.hasNextLine()) { String name = in.nextLine(); int score = in.nextInt(); students.add (new Student(name, score)); lineNumber++; } in.close(); Hey Guys i am getting unknown errors when trying … | |
I am supposed to create an arraylist from an integer[] array, iterating the elements in the list in decending order ex: int[] array = {1,4,2,3,5}; goes into array list to become {5,4,3,2,1} how do i even being to do this (without first sorting the array and then putting it into … | |
hey frds, help me i don know the how to copy the content from one table to another(in access) using oledb,dataset.. for clear understanding i gve eg., there r 2 tables, the 1st table with the fields studentID,StudentName, Course,Year and 2nd table with the fields studentID,StudentName, Course,Year,marks,grade. here i want … | |
I have this in my index.php include ('php/config.php'); $connection = new db(); $connection->connect(); the class (in a file called config.php) looks like this: <?php //CONECTION CLASS class db { var $host="localhost"; var $username="root"; Var $password=""; var $database="training"; public function connect() { mysql_connect($this->host,$this->username,$this->password); mysql_select_db($this->database)or die(mysql_error()); $sql = "SHOW TABLES"; $result = … | |
I created a class that will handle the session_set_save_handler but after executing session_start i will get server error this is my code, <?php defined('protect')||(header("HTTP/1.0 404 Not Found")); require_once INCLUDES . '/query.php'; class MySQL_Session{ private $dbConnect = null; protected $savePath; protected $sessionName; private $sessionTable; private $sessionColumn; public function __construct() { $c … | |
I have to write a program that takes a word from the user and replaces it if it is in the text file with another word given by the user. Then takes that input and writes it to a new file. The only problem is, I have to do it … | |
I'm retarded and can't find this on the net. How do I pass data that i've stored in a variable via a textbox into a MessageBox? [CODE] MessageBox.Show("Name:", BName, MessageBoxButtons.OK, MessageBoxIcon.Information) [/CODE] When I run this, BName does not show the name. BName is a name from a textBox BName. | |
dear all, I am working on hashmap and treemap. At the starting of my program i have declared two map,m1 and temp,both are hashmap. At starting point both map contains same kay value pair. At some instance of program, i want to change the value in temp, remove some key … | |
#include<iostream> #include<iomanip> using namespace std; class circleType { public: void setRadius(double cRadius); double getRadius() ; double calcArea() ; double calcCir() ; void print() ; circleType (); circleType(double cRradius); private: double radius; }; void circleType::setRadius(double cRadius) { radius = cRadius; } void circleType::print() { cout << "The radius of the circle … | |
Everybody! First, i have a file iframe_page.php using file_get_contents to display content from another page. <?php $URL = "http://www.funnywow.com/index.php"; $domain = file_get_contents($URL); $domain = preg_replace('/<head>/i', "<head>\n<base href='$URL'>\n", $domain); echo $domain; ?> Next, i have a file index.php containing: <!DOCTYPE html> <html xmlns:fb="http://ogp.me/ns/fb#" lang="en"> <head> <script> function HideDiv() { var x=document.getElementById("myframe"); … | |
gud evening sir/maam , can i ask for a help regarding on how to change the mouse pointer using image in vb.net to look like its a mouse cursor ... i dont have any idea with this stuff cause we havent discuss this yet and i need it by tommorrow … | |
I need to write code that looks for files ending in .jpg in an uploads directory, and adds them as images to the page. I'm not too sure how to go about doing this. I've done the form that allows someone to choose a file to upload: <form method="post" action="image.php" … | |
hey, i want to do a question in which i am given n line segments and i want to find the number of intersection of them. Can anyone tell me the most efficient way i can do it ? I have got some links on google and also from books … |
The End.