199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ello

Hey, wondered if someone could help me with how to go about doing the following: I have some code which generates bits of text randomly from a database. But I was wondering if there's a way for a user to download an individual file, which corresponds to the one they're …

Member Avatar for sDJh
0
111
Member Avatar for samarudge

So I'm trying to get 3 DIVs to line up as columns horizontally. I've got it to work in some browsers but not all. It's supposed to look like [IMG]http://www.cake-spoon.com/wp-content/uploads/2010/08/Screen-shot-2010-08-25-at-11.46.10.png[/IMG] However in some browsers it looks like [IMG]http://www.cake-spoon.com/wp-content/uploads/2010/08/Screen-shot-2010-08-25-at-11.46.30.png[/IMG] The code I'm using (Stripped of all the crap) is [code=html] <div …

Member Avatar for hielo
0
125
Member Avatar for cdunde1

I just started getting this error on my wordpress site when I try and access certain pages. I have checked the3 /custom_functions.php file and I see nothing that looks out of place. Any help would be appreciated. The site is [URL="http://www.whowillwinthe2012election.com"]whowillwinthe2012election.com[/URL] Warning: Cannot modify header information - headers already sent …

Member Avatar for cdunde1
0
194
Member Avatar for ihatestarch

I'm working on a project and it uses JavaScript and CSS. I don't know a thing about JavaScript and I know a little CSS. Here's the problem: I have a page that has a list of links on the left side and when you mouse over them, the contents appear …

Member Avatar for ihatestarch
0
118
Member Avatar for n1220

I am trying to insert text to image, assignment only allows me to use load, save, getpixel, and putpixel. Details about letters, numbers, punctuation is given in Imageproc code which basically are dictionaries. But I am getting this error after running: pix[10+index, 15] = letters[value] SystemError: new style getargs format …

Member Avatar for vegaseat
0
461
Member Avatar for tn2130

Hey everyone. Im new to java and having some problems. The main idea is to connect to a website and collect information off it and store it in an array. What I want the program to do is to search the website find a key word, and store what comes …

Member Avatar for NormR1
0
285
Member Avatar for BonaDrag

I want to display all e-mail addresses from my database in a TextBox. The reason I want to use a TextBox is that I want them in a single row, separated by "; " and that's not possible in a ListBox (right?) which I was using from the beginning. So …

Member Avatar for cgcgames
0
151
Member Avatar for slamdunk

I dont have much experience with javascript. Please provide javascript to create something like the image below: [url]http://www.coolmicroscope.com/java.jpg[/url] "data:text/html,<html>¶ <head> <script type='text/javascript'> function blinkIt() { if (!document.all) return; else { for(i=0;i<document.all.tags('blink').length;i++){ s=document.all.tags('blink')[i]; s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible'; } } } </script> <style> html, body { height: 100%; width: 100%; } body { margin : …

Member Avatar for peter_budo
0
175
Member Avatar for azfarhus

I am trying to read some data from a db but I am getting an error on oledbdatareader. here is my code. [CODE]OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\Power User\Desktop\Domains.accdb;Persist Security Info=False"); conn.Open(); OleDbCommand cmd = new OleDbCommand(); cmd.Connection = conn; //cmd.CommandText = "Select * from Domains"; cmd.CommandText = "Select * …

Member Avatar for PierlucSS
0
91
Member Avatar for jemz

hello, hi can you help me what method to use to count how many words in a sentence... hoping for your positive responds thank you in advance...

Member Avatar for jon.kiparsky
0
126
Member Avatar for miraj0072004

Hello friends , I am new to ant tasks.in this custom ant tasks I have tried to implement, there are two classes HelloWorld.java and CmdCompile.java. this is the build.xml I use, [CODE]<?xml version="1.0" ?> <project name="Antcompile" default="main" basedir="."> <!--<description>Builds, tests, and runs the project Antcompile.</description>--> <import file="nbproject/build-impl.xml"/> <taskdef name="hello" classname="just.inside.HelloWorld"/> …

Member Avatar for ~s.o.s~
0
379
Member Avatar for 0xCMD

Greetings There are many topics on this issue over the internet but None of them addresses this issue properly, so I couldn't find a solution to the problem. I installed: *Oracle Database 10g Express Edition* After the installation was done, I opened SQL Command Line and I used the command …

Member Avatar for tesuji
0
321
Member Avatar for effizy

Hello all, I am completely new to c++ and have no idea what am doing or should be doing but am ready to learn. My first problem is to write a code "to calculate average score of uncertain numbers of student and the output should be (number of students,total points …

Member Avatar for bleedi
0
114
Member Avatar for srinivasan106

[B]this program is to find maximum and minimum using divide and conquer technique[/B] [CODE=C]int min=32000,max=0; void maxi(int [],int,int),merge(int [],int,int,int,int); void main() { int a[30],n,i; printf("enter the limit\n"); scanf("%d",&n); printf("enter the aray elements\n"); for(i=0;i<n;i++) scanf("%d",&a[i]); maxi(a,0,n-1); printf("maximum is %d and minimum is %d\n",max,min); getch(); } void maxi(int a[],int first,int last) { …

Member Avatar for ananda2007
0
154
Member Avatar for sizzlefire

I currently have a program I have been working on that uses GeckoFX which is a webbrowser control for its backend. It works fine if I have it load a site such as google, however this specific site is crashing the browser no matter what and I cannot debug it. …

Member Avatar for sizzlefire
0
91
Member Avatar for sami.asanga

Hi, I was trying to develop a login script using OO php.But I found it is not directing to the menu page even with the correct login details ,instead it is redirect to the login page.Even it is not giving any error messages.Can anybody tell me whats wrong there..Im here …

Member Avatar for vibhaJ
0
314
Member Avatar for visualmonk

Hello, I am trying to use the mysql_real_escape_string() function, but I can't seem to use it without losing the content of the variable. When I use [code] $act="It's now or never" $act=mysql_real_escape_string($act);{ [/code] then attempt to insert the value of $act--it comes out null. I have established the database connection, …

Member Avatar for liamfriel
0
143
Member Avatar for hindu times

Hi there, I've been working over the past few weeks on these pages... - [url]http://www.rjt-online.com/photos.php[/url] - [url]http://www.rjt-online.com/video.php[/url] The issue I'm facing is with the Video page. As you can see, the iFrame that hold the videos themselves is working fine in IE, but when you look at it on other …

Member Avatar for hindu times
0
106
Member Avatar for sap.queue

#include<stdio.h> #include<stdlib.h> #include<ctype.h> #include<string.h> #include<math.h> #define TRUE 1 #define FALSE 0 int t=1; int place(int k,int n); int queen(int k,int n); int x[5];//index for column and value at that index is row number int place(int k,int n) { int j; for(j=1;j<k;j++) { if((x[j]==x[k])||(k-j)==abs(x[j]-x[k])) { //printf("hi\n"); t=0; return t; } else …

Member Avatar for ananda2007
0
147
Member Avatar for snehalata86

Hello, I am trying to make a report which provides drill down facility for each slice inside the pie chart.If the slice refers to USA then another report should be opened which will provide detailed information about orders placed in USA.But it is not working. I have created two reports.In …

Member Avatar for satheeshsv
0
368
Member Avatar for saanda

Hi! Please, I really need help with a problem. I need to read numbers (float type) from a file. Numbers are arranged in rows, I don't know how many in each row, there may be a large number of numbers (milions). How can I read each row of numbers, for …

Member Avatar for mtbs1826
0
20K
Member Avatar for winbatch

I am trying to write a variable argument function on SUN solaris. According to MSDN, the _vscprintf function that I'm using on windows should work on unix as ANSI is listed. [b]_vscprintf[/b]<stdio.h>ANSI, Win 98, Win Me, Win NT, Win 2000, Win XP [size=2]However, including stdio.h doesn't seem to help. Is …

Member Avatar for noormanman
0
601
Member Avatar for popinthecan

Ok, I came across this site :[url]http://www.pokebuddies.tk/[/url] and the images(pokemon) show how many times they have been clicked(their level) and You can only click it once every 24 hours per IP. How did they do that? I know they use PHP and MySQL.

Member Avatar for metalix
0
93
Member Avatar for RahulV

[B]--URGENT--[/B] I have created a database in Access 2007 ([COLOR="Red"][B]*.accdb[/B][/COLOR]) format but im not able to connect it to VB6.0 project to access the data. i know how to connect using Access 97 / 2000 ([B][COLOR="Red"]*.mdb[/COLOR][/B]) format but how to connect and use DML queries on a Access 2007 file …

Member Avatar for AndreRet
0
119
Member Avatar for luiso

I´m working in a very important project and I need to find out as fast as it´s possible how to do this. Please, anybody there send me something. I can´t buy the very expensive PDFRRasterizer lib from tallcomponent. Thanks.

Member Avatar for CloneXpert
0
4K
Member Avatar for freddyvorhees

Good day, my main goal is to create a bubble sort in assembly. You'll input n integer 0-9, (25 >= n > 0). Inputted in one line separated by spaces, then return carriage. So my question is how to accept integer stored in an array. Thank you. P.S. Can you …

Member Avatar for gacha23
0
245
Member Avatar for Ajantis

Hey people :) My final exam is now approaching and I am practicing hard. I've come accross this task which I have no clue how to solve. It is about solving a polynomial through a linked list - and I really don't know how to even start. Can somebody help …

Member Avatar for Rashakil Fol
0
186
Member Avatar for monstercameron

what are your thoughts and is it original? [CODE]using ratios to retrieve relevant pixel data (note would be good for greyscale) 255,255,255 ... 255+255+255=765 ... 765333 = 765 / 3 = 255 ... program know it means 255,255,255 123,245,32 ... 123+245+32=400 ... 400-3.25,1.63.12.5(<--- problem) |400-(3.25)-(1.63)-(12.5) = 400 / 3.25=123.08 -- …

Member Avatar for Rashakil Fol
0
326
Member Avatar for P00dle

Hi Daniweb. I'm using a file mask (eg '*.txt') to filter filenames in a program that I'm writing. It gets the file mask from an .xml settings file. Currently the mask is '*.xml', and the code I'm using to filter this is like this: [CODE]Pattern.matches(fileMask, fileName);[/CODE] The exception that is …

Member Avatar for P00dle
0
4K
Member Avatar for elanch

hi all! I need to make a form in Ms-Access as EXE file. So that the file can be runned without opening Ms-Access. I know that, it is possible in Vbasic but whether it is possible to do in Ms-Access. Thanks

Member Avatar for Petre
0
3K
Member Avatar for Krs13

Hi, I have a login screen where user enters their name and password. The username and password are stored in access. Then when the user opens forms i need their username to appear in the form. Can somebody give me code for that please. Thanks Krs

Member Avatar for Krs13
0
181
Member Avatar for ishlux

Hi all, I have an jsp code for registration page... i have used ms access for storing the data.......but after running, ,,,, its giving an error.... data source name not found,,,no default driver is found........how to overcome with this problem.........pls do reply........ Thanks in advance ishlux

Member Avatar for moied
0
190
Member Avatar for halofan91

Hello, new here, I am having trouble with a part of my C++ assignment I am doing for university. The assignment is about writing a structure for a bank account and then subsequently enter values for the account's number, balance, interest rate, term of holding and deposit/withdrawal amounts. The part …

Member Avatar for halofan91
0
162
Member Avatar for mns_2010

Here is a client code for socket programming: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <netdb.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> #include <arpa/inet.h> #define PORT "3490" // the port client will be connecting to #define MAXDATASIZE 100 // max number of bytes we can get …

Member Avatar for mns_2010
0
163
Member Avatar for geek1

data compression in c++. this is a text compression eg: gggghhnnnmmmmm would give us: g4h2n3m4 thank you

Member Avatar for Aranarth
0
91
Member Avatar for rmsagar

Hi, I have a file which contains lines in a unformatted way, from that file I would like to take the value of ID=xxxx which can be in the beginning of the line or at the end or in the middle sometimes inside the brackets and repeated multiple times in …

Member Avatar for rmsagar
0
99
Member Avatar for starmikky

I need asistance on how to handle registration forms with picture upload, rename, then preview and store the record in MYSQL database

Member Avatar for canterorist
0
103
Member Avatar for yapkm01

I am newbie to C++ and pretty confused about initialization of local variables for built-in and class types. Here's a snippet of the code: 1 #include <iostream> 2 using namespace std; 3 4 class A { 5 6 public : 7 A() : x(9) {}; 8 int x; 9 10 …

Member Avatar for arkoenig
0
1K
Member Avatar for alnerdy

Hi all, I am a total mathlab newbie and hence am having trouble with even the simplest of things. i have an m file which contains just the following 3 lines % test func function y = f1(x,c) y = x*x - c when i "run" this i get an …

Member Avatar for hero_hont
0
126
Member Avatar for bibiki

Can someone please explain why is the following code outputting some Chinese instead of breaking down the string passed in the function into an array. [CODE]<?php // define URL $url = "http://www.somewebsite.com:80/community/columns/trog/article.php?id=79&page=2"; // parse URL into associative array $data = parse_url($url); // print URL components foreach ($data as $k => …

Member Avatar for FlashCreations
0
106
Member Avatar for daneuchar

This was asked in a interview by Cognizant Technologies Print the name in center of the screen and then make the letter drop one by one out of the screen how to solve this ? ex. Every thing must be in the center of the screen Daniel then 'l' must …

Member Avatar for Ancient Dragon
0
99
Member Avatar for ceeandcee

I know how to limit the number of rows returned in a query: [code] $result = mysql_query("SELECT * FROM playerdb where CFHL_A = 'XMEN' OR CFHL_B = 'XMEN' order by field(pos,'LW','C','RW','D','G'), PTS0910 DESC LIMIT 0, 11") or die(mysql_error()); [/code] However, now I am looking to fix a table to 25 …

Member Avatar for MooGeek
0
149
Member Avatar for baudday

Hi, So I'm working on a shirt printing quoter for a client. Basically you fill out a few fields and it tells you how much it would cost to print your design on 24+ shirts. After you see your total, you can place your order by filling in contact info …

Member Avatar for ﻼim
0
174
Member Avatar for potato4610

 DetermineElapsedTime has only two parameters - both pointers to const MyTime.  DetermineElapsedTime must not modify the contents of either structure.  DetermineElapsedTime must not declare any pointers other than its two parameters.  DetermineElapsedTime must return a pointer to a MyTime structure containing the elapsed time.  Use …

Member Avatar for potato4610
0
174
Member Avatar for Ved_TheOne

Hello everybody, I am having problems in connecting dbf file using C# Actually, what i want to do is as follows: 1. on GO button, the code connects to dbf file saved in my local hdd ie at d:\dbase 2. the file name is billingsample.dbf of type IV 3. the …

Member Avatar for ckhong
0
1K
Member Avatar for jkaye

I'm trying to write this query, but I don't know how to go about it. Say you have a table with a bunch of listings, with multiple listings per company. You have a status field in the table that is either complete or active. What I want to do is …

Member Avatar for ﻼim
0
172
Member Avatar for lewashby

I'M new to SQL and I'M reading the book "Simply SQL". I'M running Ubuntu Linux and I downloaded MySQL Workbench. I also downloaded the source .sql files for the book. I need some help getting started. How do I get the files into Workbench so I can follow along with …

Member Avatar for tesuji
0
306
Member Avatar for KingJames603

On the payroll pointers program, I am struggling with a few things on the program. The data from the terminal uses malloc, for an employee node. Dynamic Memory Allocation is used in the program. For the name of each employee I can put in the First Name or First and …

Member Avatar for Ancient Dragon
0
293
Member Avatar for stm4

how to create a login in vb.net 2005. the user name and password are stored in sql server 2005. Thanks

Member Avatar for tonyfonseca
0
78
Member Avatar for marvolo1300

Hi i encountered a problem while compiler this [CODE] if (operation != '+' || '-' || '*' || '/' ) { cout << " Incorrect operation" <<endl ; system ("calculator.exe") ; } [/CODE] I am trying to use system() to launch calculator.exe. I have used this method before, here's the …

Member Avatar for Ancient Dragon
0
106

The End.