199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for LastMitch

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 …

Member Avatar for LastMitch
0
483
Member Avatar for Mounica Chirva

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 …

Member Avatar for myk45
0
481
Member Avatar for aidan.fowell.5

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 …

Member Avatar for SaintQJ
0
175
Member Avatar for Dili1234

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

Member Avatar for Dili1234
0
193
Member Avatar for bryangino20

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)) …

Member Avatar for mike_2000_17
0
502
Member Avatar for ratanji

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...???

Member Avatar for Taywin
0
152
Member Avatar for nitin1

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 …

Member Avatar for mrnutty
0
161
Member Avatar for zeppelyn

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 …

Member Avatar for Ancient Dragon
0
646
Member Avatar for gotto

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!

Member Avatar for gotto
0
397
Member Avatar for shilu2

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: …

Member Avatar for jacob.lemelincarrier
0
205
Member Avatar for roachae

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 …

Member Avatar for Taywin
0
370
Member Avatar for i.nikei

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 …

Member Avatar for NormR1
0
140
Member Avatar for vijayram

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

Member Avatar for diafol
0
118
Member Avatar for Stardemos

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 …

Member Avatar for Stardemos
0
468
Member Avatar for jemz

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 …

Member Avatar for jemz
0
415
Member Avatar for vicky30312

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 …

Member Avatar for vicky30312
0
266
Member Avatar for ilvanhellovan

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

Member Avatar for deceptikon
0
2K
Member Avatar for vicky30312

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 …

Member Avatar for vicky30312
0
454
Member Avatar for rithish

#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 …

Member Avatar for deceptikon
0
254
Member Avatar for noahjer

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 …

Member Avatar for deceptikon
0
114
Member Avatar for bettybarnes

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 …

Member Avatar for peter_budo
0
126
Member Avatar for rhowell

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 …

Member Avatar for poornamoksha
0
254
Member Avatar for Dino000

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 …

Member Avatar for Mike Askew
0
198
Member Avatar for seobts003

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 …

Member Avatar for WrightAlan
0
212
Member Avatar for toleen

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 …

Member Avatar for jetkingvinay
0
508
Member Avatar for israruval007

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> …

Member Avatar for ChrisHunter
0
262
Member Avatar for guru_iyer

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 …

Member Avatar for AndreRet
0
1K
Member Avatar for sundog1

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 …

Member Avatar for sundog1
0
199
Member Avatar for yahya.erturan

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 …

Member Avatar for cereal
0
2K
Member Avatar for paoi00

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!

Member Avatar for paoi00
0
338
Member Avatar for ibthevivin

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 …

Member Avatar for richard89AZ
0
255
Member Avatar for hajjo

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?

Member Avatar for hajjo
0
96
Member Avatar for javalover

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) …

Member Avatar for Ajinkya Jagtap
0
226
Member Avatar for Stjerne

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 …

Member Avatar for Ajinkya Jagtap
0
328
Member Avatar for london-G

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

Member Avatar for Ajinkya Jagtap
0
110
Member Avatar for panchdeo
Member Avatar for will.penfold.71

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 …

Member Avatar for jalpesh_007
0
161
Member Avatar for abdulhamid1
Member Avatar for jamesmadison43

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 …

Member Avatar for jalpesh_007
0
303
Member Avatar for mohana_61

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 …

Member Avatar for mohana_61
0
343
Member Avatar for websponge

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 = …

Member Avatar for broj1
0
162
Member Avatar for ZER09

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 …

Member Avatar for ZER09
0
202
Member Avatar for zeeters

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 …

Member Avatar for zeeters
0
3K
Member Avatar for hoosier23

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.

Member Avatar for Rakesh jack
0
547
Member Avatar for jalpesh_007

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 …

Member Avatar for jalpesh_007
0
751
Member Avatar for jimmy.teohmingsiong

#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 …

Member Avatar for np complete
0
475
Member Avatar for hoangdungksp

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"); …

0
109
Member Avatar for xtianpark

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 …

Member Avatar for TnTinMN
0
352
Member Avatar for TheHealer

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" …

Member Avatar for TheHealer
0
133
Member Avatar for nitin1

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 …

Member Avatar for rithish
0
95

The End.