199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 : … | |
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 * … | |
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... | |
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"/> … | |
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 … | |
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 … | |
[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) { … | |
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. … | |
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 … | |
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, … | |
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 … | |
#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 … | |
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 … | |
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 … | |
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 … | |
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. | |
[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 … | |
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. | |
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 … | |
![]() | 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 … |
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 -- … | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
data compression in c++. this is a text compression eg: gggghhnnnmmmmm would give us: g4h2n3m4 thank you | |
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 … | |
I need asistance on how to handle registration forms with picture upload, rename, then preview and store the record in MYSQL database | |
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 … | |
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 … | |
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 => … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
how to create a login in vb.net 2005. the user name and password are stored in sql server 2005. Thanks | |
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 … |
The End.