199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abaddon2031

Ok i had this in another question i asked yesterday and now im posting it in its own thread. I have a code that is supose to read files that are sent to me daily and after they are read i need to have them moved from their origional folder …

0
124
Member Avatar for msagilliam1

Hello DaniWeb Family, A few years after obtaining my Master's in Business, I decided to completely change careers and go back to school for web design and development. I've recently completed a 2-year program where I studied VB, ASP.NET, C#, Java, SQL, Server 2008, Photoshop, and Dreamweaver among other courses. …

Member Avatar for msagilliam1
0
307
Member Avatar for hahahanz

Hello Im quite Confused right now. I am trying to insert a Node in between nodes and it is not being displayed. Please Help. #include <iostream> #include <conio.h> #include <cctype> using namespace std; struct Node { int DATA; Node * Next; }; Node * head = NULL; void Display(); void …

Member Avatar for hahahanz
0
248
Member Avatar for asif49

I'm trying to learn about ANNs. If anyone can tell me my understanding is correct that'd be fantastic. So if an ANN was to be used for an image classification task - white background with a black alphabetic character written on it. The inputs are each pixel. What I believe …

Member Avatar for Budy_1
0
191
Member Avatar for joshmac

I am tring to perform a calculation in my query. I've been working on it for hours, so I need another pair of eyes to see what I am missing. Everything in the query is working except for the g.courseFee part. The course fee is not being added to the …

Member Avatar for joshmac
0
211
Member Avatar for abaddon2031

Hello I am new to python coding and have a couple of things that I could really use some help on. I need to move some sor files from one folder to another and to add a date and time to the facts sheet that it produces if any one …

Member Avatar for abaddon2031
0
310
Member Avatar for zebnoon

Hello and Asslam o alekom! I have problem to install my VB6 Application on Windows 8.First there is erorr when i start to install my Application.Please solve this problem?

Member Avatar for IconKana
0
282
Member Avatar for dovlet.eminov
Member Avatar for burt.munn

I made 2 tables in PHP that I need side by side and they are end to end. How do I put them side by side? Thanks

Member Avatar for pritaeas
0
300
Member Avatar for stokie-rich

Hi guys i'm creating a new table in sql to allow users to register with my website, this is the sql code that I'm suing does this seem ok to you? CREATE DATABASE `dyscaculia` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; USE `dyscaculia`; CREATE TABLE IF NOT EXISTS `users` ( `Firstname` …

Member Avatar for parijatziw
0
374
Member Avatar for Richa_2

interface Interface1 { public int method1(); public int method2(); } public class Salary implements Interface1 { public static void main(String args[]) { int sa[]=Integer.parseInt(arg[0]); float pf,hra,da,tax,net; public int method1() { System.out.println("salary="+sa); try{ if(sa>250000) { pf=sa*5/100; hra=sa*10/100; da=sa*8/100; tax=sa*10/100; net=sa+tax; System.out.println("Net salary of an employee"+net); } } catch(Exception e) { System.out.println("I/O …

Member Avatar for Richa_2
0
301
Member Avatar for STVG

i'm found this piece of code on internet about how to load multi texture in opengl es 2.0: // // Book: OpenGL(R) ES 2.0 Programming Guide // Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner // ISBN-10: 0321502795 // ISBN-13: 9780321502797 // Publisher: Addison-Wesley Professional // URLs: http://safari.informit.com/9780321563835 // http://www.opengles-book.com // …

0
118
Member Avatar for Webville312

Dear all, I have a challenge here of understanding the page masks as used in this code; <? $access_level_map['loader'] = 1; $access_level_map['support'] = 3; $access_level_map['admin'] = 7; $access_level_map['superadmin'] = 15; define("LOAD_PAGE_MASK",1); define("SUPPORT_PAGE_MASK",2); define("ADMIN_PAGE_MASK",4); define("SUPER_ADMIN_PAGE_MASK",8); $pageMaskMap['add_employee.php'] = SUPPORT_PAGE_MASK; $pageMaskMap['awpdc.php'] = SUPPORT_PAGE_MASK; $pageMaskMap['awpdc_blocked.php'] = SUPPORT_PAGE_MASK; $pageMaskMap['awpdc_unblocked.php'] = SUPPORT_PAGE_MASK; ?> What I know …

Member Avatar for Webville312
0
173
Member Avatar for kgavhane12
Member Avatar for szurcsii
0
131
Member Avatar for danie93
Member Avatar for Mr

Till now I was expecting that there in no block level scope in Javascript. But after reading this article I came to know that block-scoped variables are introduced in javascript. Although this article <[Everything you need to know about Javascript variable scope](http://www.coolcoder.in/2014/03/everything-you-need-to-know-about.html) > has a very good explaination about the …

Member Avatar for evaipar
0
258
Member Avatar for rakchouh

Hi, I am writing the content of a long text file in pdf using PDFbox API in java but only half the page I am able to write please assit me with it asap here is my code: import java.io.IOException; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.edit.PDPageContentStream; import org.apache.pdfbox.pdmodel.font.PDType1Font; import org.apache.pdfbox.pdmodel.font.PDFont; …

0
115
Member Avatar for Szabi Zsoldos

Hey guys, I am having some difficulties regarding a select query logic. Then I have a table with products and it has a column -> submodel with all kind of data in it. ![3bcf9a8dac9e8218c88209198e26a7e5](/attachments/small/2/3bcf9a8dac9e8218c88209198e26a7e5.png "align-left") What I want to achieve is to **STRIP** (with REGEXP?) all the strings starting with …

Member Avatar for Szabi Zsoldos
0
738
Member Avatar for london-G

Hello, I am getting the error: "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:15" There is definetly something I am doing wrong but I cannot figure out what. Any help will be appreciated. The error in the output is poiinting to line 119; if(R[currentState][action] > -1){. I tried to change this but no …

Member Avatar for london-G
0
646
Member Avatar for timothy855

First of all, I want you all to know that I am illiterate when it comes to computer porgramming and all of the other aspects that make a computer work and function; I will not be using the correct terminology and I ask that you answer my question in lamence …

Member Avatar for brian.astley.12
0
311
Member Avatar for riahc3

Oldest question in the book. Google says: SELECT NOW()+ 0; And a bunch of other things like UNIX_TIMESTAMP() but doing a select on these, it only returns the seconds, not including the miliseconds. Basically, I need, from MySQL's side the milliseconds. How can I do this?

Member Avatar for riahc3
0
3K
Member Avatar for ziadkassam

I am developing an android application using java with SQLite. The following code make the error: String selectQuery = "SELECT * FROM User"; Cursor cursor = db.rawQuery(selectQuery, null); I checked my program and I found that the cursor make unfortunatly error. Please help from where is the error come??

Member Avatar for ziadkassam
0
352
Member Avatar for yazan.a.ali.5

1) write a C++ program that reads 50 integer numbers and prints the smallest three numbers.

Member Avatar for Schol-R-LEA
0
120
Member Avatar for d.sign

I need help regarding with the computation of what the user order it seems that the options doesn't have a value to be computed please help me how to put values in every options and one more thing is i need help with the codes for the checkbox for additional …

Member Avatar for stultuske
0
379
Member Avatar for Kumar_3

Hi, I am working on a project building a scanner based on Lex and Yacc. I have added "gettimeoftheday" function to display total scanning times, now i want to find a way to print the line numbers in the terminal.plz if anyone can help me in this.Here is my yacc …

0
104
Member Avatar for Praveen_10

#include <iostream> #include <cstdlib> using namespace std; // function prototype for add int add (int x, int y); int sub (int q, int r); int mul (int s, int t); int divi (int u, int v); int main () { int a,b; char ch; loop:cout<<"ENTER CHOICE OF OPERATION: + - …

Member Avatar for Praveen_10
0
273
Member Avatar for Piotr_1

I was trying to find an answer for my issue over the net, but it was hard to find any relevant information. I'm in the middle of my school project and I got stuck in a dead point! I have a form which looks like this: http://i60.tinypic.com/24zjfpl.jpg I don't know …

Member Avatar for Learner010
0
399
Member Avatar for kxjakkk

Python keeps getting stuck on this line because there is no attribute "numerator" (and I'm assuming it'd say it has no attribute for denominator either). third = Rational(25, 10) print ("third: 0/1".format(third.numerator(), third.denominator())) For my Rational class, I've got def gcd(a, b): if b == 0: return a else: return …

Member Avatar for Schol-R-LEA
0
631
Member Avatar for thanh.truong.1272

I was asked to create a program to find word frequencies, word length in a text file. I am able to use map to do the frequencies part but don't know how to sort the the output accordingly to the length of the words. The example output that I should …

Member Avatar for uonsin
0
565
Member Avatar for jhender4880

I have to take a 5 element array and use a function with pointers to make a new array that is one element bigger and shifted 1 place. I have it working so that it shifts one place but the function isn't making the array one element bigger. Any sugestions? …

Member Avatar for jhender4880
0
222
Member Avatar for stokie-rich

Hi Guys I dont know what I have done wrong I'm accessing phpmyadmin through xampp on windows 7, when i changed the password on root@local host it locked me out with this #1045 - Access denied for user 'root@localhost'@'localhost' (using password: YES) what do i need to do?

Member Avatar for Fernando_4
0
158
Member Avatar for showman13

I've got an odd question ( I think ) I have to do a header redirect to a remote server The page on the remote server is just ugly. no background no formatting, etc... The vendor that hosts it says that I can use CSS to dress it up a …

Member Avatar for diafol
0
212
Member Avatar for Taras20

Hi, I have problem going through database (im using microsoft access) tables with BindingNavigator. Basicly I want to have BindingNavigator which goues through database tables (not the table rows) in DataGridView. For example if i press next button on BindingNavigator, I want to see next table in the database. I …

Member Avatar for cgeier
0
267
Member Avatar for dawbin

What is the most efficient way to get the number of rows from a table? I'm able to do it with the following code, but looping through a recordset of one row seems inefficient. Is there a better way to do this? <?php $con=mysqli_connect("0000000000","0000000000","0000000000","0000000000"); $sql = 'SELECT count(*) AS t …

Member Avatar for iamthwee
0
232
Member Avatar for jonsan32

If anyone is able to help, I'd like to create a single-line text on my site that says "Happy birthday to Samantha" whenever it's her birthday, or whenever it's another kid in my program's birthday. Including the capacity for multiple birthdays on the same day (comma spaced), the date, and/or …

Member Avatar for jonsan32
0
1K
Member Avatar for Siberian

Hi, I didn't know where to place this thread :) Any recommendations for an IDE app to save snippets of code within the program, I looked online, and there are many options, too hard to pick ! :)

Member Avatar for Siberian
0
327
Member Avatar for alyssa.wilkins.77

Hello, I am trying to figure out the direction i would need to go in order to create the circuit in Digital Works. Right now I am stumped. I do have a working asynchronous counter that can go from 0-13. Can you help push me in the right direction?

Member Avatar for alyssa.wilkins.77
0
190
Member Avatar for Muni123

I am trying to add some text in to a page by using a textarea where text is entered the text gets saved in to a database after clicking on a add button on a page. However, I am unable to achieve this after trying. I have two tables matchreportcomments …

0
224
Member Avatar for jovstudios

Hi Guys, Can you Tell Me What is the wrong of my Code. This is my Code. I am Using DOM Extension! <?php require_once("dompdf/dompdf_config.inc.php"); $conexion = mysql_connect("localhost","root",""); mysql_select_db("evaluation",$conexion); $codeHTML=' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Download</title> <link href="css/style.css" rel="stylesheet"> </head> …

Member Avatar for chrishea
0
218
Member Avatar for Kent55

Hi, I am making a game in JS where a player has to move in a grid movement and the grid contains squares of different colours. Each colour should affect the player's speed. I am learning JS so I appreciate any help. I have the following code at the moment: …

Member Avatar for Dervish1
0
310
Member Avatar for Kent55

Hi, I need to make a game in JavaScript where a user moves an image (or anything) around a grid and if they hit a wall they lose a life and in each grid box there needs to be colours and different colours have different speed affects on the player. …

Member Avatar for Dervish1
0
240
Member Avatar for OMER.BHAR.4U

![03a3307938abcd3048193035d4129775](/attachments/large/4/03a3307938abcd3048193035d4129775.png "03a3307938abcd3048193035d4129775") Create a flowchart to calculate the accumulated points of a few students and determine the average of the grades points.

Member Avatar for iamthwee
0
134
Member Avatar for navi2582

I am trying to toggle between the two toolbars and couldn't do it with the code below. Not sure where the problem is.... Any ideas are very welcome!!! Here is the code: `Inline Code Example Here` import wx import wx.grid import wx.html import wx.aui from time import * import cStringIO …

0
177
Member Avatar for soundarya_1

Write a program that takes two input strings S1 and S2 and finds if S2 is a substring of S1 or not. If S2 is a substring of S1, the program should print the index at S1 at which there is a match. If S2 is not a substring of …

Member Avatar for cxzei
0
148
Member Avatar for stokie-rich

Hi Guys I've now sorted the sql query and the database is now sorted, but now I want to connect the PHP and sql database Config.php file //Mysql Connect | mysql_connect("host","username","password"); //Below example to connect in localhost $a=mysql_connect("localhost","root",""); //select your database $b=mysql_select_db("database_name",$a); I take it I need to specify the …

Member Avatar for stokie-rich
0
187
Member Avatar for haze man

Hi guys i have been making this solor system simulator in python. I have added four planets and now I am trying to make it look a little nicer. What i am have trouble with is setting the background colour to be black (to give more spacey feel). But what …

Member Avatar for vegaseat
0
912
Member Avatar for neha_8

I wrote this code to find if string s2 is a substring of string s1. However I'm getting time limit exceeded. How can I make my algorithm better? #include<stdio.h> int main() { char s1[20], s2[20]; scanf("%s %s", s1,s2); char *p, *q, *count; p=s1; q=s2; int i=21; do{ if(*p==*q) /* the …

Member Avatar for neha_8
0
194
Member Avatar for moketemelton

Imports DemoExcelFileHandling.DataSet1 Imports DemoExcelFileHandling.DataSet1TableAdapters Public Class ReadFromExcel Private dt As New dtMonthDataTable Private ta As New taMonth Private bs As New BindingSource Private Sub BindUI() dgvExcelData.AutoGenerateColumns = False colYear.DataPropertyName = "Year1" colMonth.DataPropertyName = "Month1" colFacility.DataPropertyName = "Facility" colProductCode.DataPropertyName = "ProductCode" colProductDesc.DataPropertyName = "ProductDesc" colUnit.DataPropertyName = "UnitOfIssue" colBegBalance.DataPropertyName = "Beginning_Balance" colQtyReceived.DataPropertyName …

Member Avatar for G_Waddell
0
215
Member Avatar for tran.duy.77
Member Avatar for N.Raghavendran

I've developed an application in vb 2010 and my back-end is sql server 2008. What are all the softwares i need to install in the client machine ?

Member Avatar for oussama_1
0
246

The End.