199,114 Archived Topics
Remove Filter ![]() | |
Hi, I am new. I did my my best to read the rules first so please pardon me if i missed any. My qestion is in regards to filling up a matrix diagonally: "Write a method that accepts a square matrix. Assume that the size of the matrix is declared … | |
Good Evening, I have a table that has a field with 15 entrys in it. I would like to output it from a query in a table that has 3 rows of 5. However, whenever I put a <tr> inside the loop, I get 15 rows. Any idea how I … | |
Hi, I'm having some problems with this bit of code. I need to randomly open some files that have numbers as their filenames. i came up with this snippet to be able to open them from numbers 0 to 99. The code should randomly pick a number and try to … | |
hi i had develop a simple program using vb.net with ms access it run with no error on my local but if i put it on a share network i face a problem throw out by the system stating the error below "request for the permission of type 'system.data.oledbpermission,system.data,version=2.0.0.0, culture=neutral,publickeytoken=b77a5c561934e089'failed." … | |
Hey, just a quick question about the following code: [CODE] <input name='name' type='text' class='form' value='<?php echo "" . (isset($_REQUEST['name'])) ? dataClean(ex_clean($_REQUEST['name'])) : FALSE . "";?>' size="40" rows='5' /> [/CODE] Now, if the user has errors in the form details and clicks submit, the page refreshes and it displays what errors … | |
hello I'm beginner on c#. I'm getting this error: System.NullReferenceException was unhandled and my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using GittiGidiyor; using GittiGidiyor.City; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { [B]CityService cityservice = ServiceProvider.getCityService();[/B] cityServiceResponse response = cityservice.getCities(1, 3, "", "tr"); if … | |
I have radiobuttonlist in which there is 3 items. I have checkboxlist in which there is 5 items. I have a button. I want to unselect all the selected check boxes in the list when the button is clicked. And I want to unselect the selected radiobutton in the radiobuttonlist. … | |
Can someone help me with my code? It compiles fine but when i run it it crashes after i input my lottery numbers. Im supposed to write a program that takes a input file with names and 6 numbers 1-50 and then the user is asked to input 6 random … | |
Ok, it's really weird. When I test the to see the two variables which will make up the email address <?php $carrier = $_POST['carrier']; $number1 = $_POST['number1']; $number2 = $_POST['number2']; $number3 = $_POST['number3']; $number = $number1.$number2.$number3; $pin = rand(1, 9).rand(0, 9).rand(0, 9); $code = $pin; if($carrier == 1){ $displaycarrier = … | |
What are the differences between Zend PHP Studio and Eclipse for PHP Developers? Why pay for Zend Studio when Eclipse is free? ![]() | |
hi, i have this script work in FireFox, simetimes in I.E and never in Chrome, i need your help!!!Please... thanks. [CODE]<!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=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript"> var Width=200; // height to resize large images to var … ![]() | |
Loading Page in Specific Div using AHAH - http://microformats.org/wiki/rest/ahah but unable to execute script Main.html <html> <head><title>Main Page</title></head> <script type="text/javascript" src=GetPage.js> </script> <body> <form method=get onsubmit="load('History.html','GetDiv'); return false;"> <input type="text" name="quota" value=""> </form> <div id="GetDiv"> </div> </body> </html> GetPage.js function ahah(url,target) { document.getElementById(target).innerHTML = 'loading data...'; if (window.XMLHttpRequest) { req … ![]() | |
![]() | I got the Segmentation fault error with the following code to concatenate two strings without using string library functions. [CODE] void string_concat() { int len1,len2,i,j; char inpt_str1[30],inpt_str2[30],concat_str[60]; /*Input string1 and calculate its length */ printf("\nEnter the String 1 : \n"); scanf("%s",inpt_str1); for(i=0;inpt_str1[i]!='\n';i++) { len1+=1; concat_str[i]=inpt_str1[i]; } /*Input string2 and calculate … ![]() |
I'm trying to mod a python script that reads the OS X Dock plist. I've never seen python code before this and I can't seem to figure out if I'm encountering a formatting error or a syntax error or both... Here is the original code snippet, which returns a formatted … | |
![]() | Hi I have a JavaScript function for swapping the values of rows in a table. I have a hidden field in each row to carry a record ID. As I switch the rows the function will update the hidden field but doesn't do it correctly if I switch a number … ![]() |
I have a situation whereby I need to copy the contents of an STL vector into a memory buffer provided by the system. One might think that given: [CODE]std::vector<ObjectType> source; // Initalized to hold the objects ObjectType* target = reinterpret_cast<ObjectType*>(buffer); // Points to system provided memory buffer[/CODE] someone could do … | |
How to import Xml file into a table in MS-ACCESS database using Visual Basic 6.0? Please Help Me..... | |
I am trying to create a file upload form on a website and am getting the error: Notice: Undefined index: My code is: [CODE=php] <?php session_start(); if (isset($_GET['submitted'])){ print_r($_FILES); $displayName = $_GET['displayName']; //file name is name of user who uploaded-date-time ie awestove-20100901-0800 $fileName = $_GET['username']."-".date('Ymd-Hi'); $origFileName = $_FILES['fileChooser']['name']; $ext = … | |
Hi, I have created an MS Access table to store Usernames and Passwords plus other information. I have just started to play around with ASP.NET and am trying to have a situation where a user is required to login to view an image gallery that is run in Flash. At … | |
Hello again. For the current lab, we're working with strings and pointers. I'm trying to keep this one simple and get one step working right before I move on to the next. However, if I have subsequent issues with this lab, I'll just use this same thread rather and make … | |
Hello, Can anybody please tell me how to get a free internet on Samsung L170 or any other samsung mobile. I am struggling from 3 weeks and can't find anything. Please Help.... Thanks................ | |
Ok I have developed some cf templates to do simple cruds to our database that is newly set up. Eventually at least one more person will be performing these data entry routines. We have an office network, but I thought we had an inhouse local server, which I think we … | |
Original Problem I have an existing 2D array that is already filled with data for a matrix. I also have a structure that has a pointer looking like this double ** pointer. That being said. Here's a miniature version of the problem [CODE]#include <stdio.h> int main (){ int stuff [2][2]; … | |
Ok I know I'll get heckled for this..lol but...It's been so long since I configured my ftp login info, I have lost my password. I use Dreamweaver, so is there a file that stores your password like MySQL does? MySQL has a text file or .ini file somewhere that stores … | |
Here is what I have to do. 1)Read integers from a file 2)If it cannot be opened, display an error message and exit the program. 3) Otherwise, read an integer from the file (there is guaranteed to be at least 1). 4) If that count is 0, display an error … | |
Hey there, this code was supposed to work out th GCD of 2 numbers added cout line in function and code seems to be running fine but it returns 4249024 instead of 29 this is probably a basic error on my part but can anyone tell me why? thanks for … | |
Hi! Sorry for my bad english. I have one video. I want to make page that will display this video (like youtube), but I don't know how. In youtube there is a original page with video (I think, made with 'header(Content:application/x-shockwave-flash objekt)'). I want to make that too. But I … | |
Hi, the problem i'm having is with the following code. When the user clicks the submit button with any errors it displays the section I've marked out. But it positions this at the very top of my form, pushing evverything down. Is there a way to get this error information … | |
Hi there: The code below lays out 3 divs, the 1st. div contains a slideshow, the 2nd. div is a container for the 3rd div which contains buttons to override the slideshow and replace it with a new image in the slidshow div. All the above scenario works perfectly. Where … | |
Hi, I'm trying to develop application with separation of UI/BL/DAL. I have read a lot of theories and I'm trying to develop a blue print for my application. I have no problem in UI thing. But I have problem with designing Data Access Layer. It will basically be a SQLite … | |
This is a keyword search script for one table only (pages). i need this search on 2 tables (pages and services) with one result set at the end to echo to the page. Can anyone help me? I have been trying to find a solution for 2 days - it … | |
i'm currently working on my thesis e-voting system. and i need to modify my search candidate and search voter form. the data from my database is already loaded in my listview when the system. what i want to do is while i am typing in the search text box, at … | |
Here's the problem... I want to create a table about the stack like this: [code] ((A+B)-C) Symbol Postfix Stack ( ( ( (( A A (( + A ((+ B AB ((+ ) AB+ ( - AB+ (- C AB+C (- ) AB+C- [/code] But i don't know how to … | |
Hi! I wrote a program on iteration of numbers means-- if n=10 ---n=10/2=5 5 is odd so 3(n)+1 upto getting 1. Here is program [CODE]#include<stdio.h> main() { int i,n,c=0; printf("n= "); scanf("%d",n); while(n!=1){ if(n%2==0){ n=n/2; } else{ n=3*n+1; } printf("%d\t",n); c++; printf("%d\n",c);/*printing no of iterations of n*/ } }[/CODE] I … | |
Hi everyone I have to write client/server client/client chat program for at least three machines(users) connected together to chat using java My questions are 1. Do i need to have a server installed ina one of the machines. 2. Do i have to run the server side onf the application … | |
Hey guys, I have two questions. I have a multithreaded server that is able to process requests from more than one client at a time. However, my server has a habit of shutting down after a while, despite that I have an infinite while loop to keep it accepting connections. … | |
Hi, Is there any scripts that would logout a user if they were already logged in with that username and password? many thanks | |
I have implemented a feature that works in firefox and opera, but doesn't work in IE -- it is the css opacity setting. I am overlaying translucent divs over a jpg image. Do I need to use javascript to fix this for IE ? [URL]http://listenlight.net/05[/URL] is the page I'm working … | |
You are to write a program that plays the game of “Guess the Number”. Your program is to randomly choose a three-digit number, allow the user to guess, provide feedback indicating if the users’ guess was too high or too low, and count the number of guesses the player makes. … | |
i need to start designing a hospital database ,where it includes the administration block,accounts,employeers,patients ,which software should i use | |
I need to select customer column my database and then insert this into a session so i can use it in the other pages of my site but nothing im doing seems to work, any ideas [CODE] <?php session_start(); include("Connections/database.php"); ?> <?php /** * Checks whether or not the given … | |
//i am writing a code that read from a file and store words in an character array but //in the wriiten by me,it is compiling but not extracting words in the array. [CODE]#include<iostream> #include<fstream> #include<string> #include<string.h> using namespace std; int main() { ifstream fin; char ch; int j=0; string line; … | |
Hai I am trying scrolling of images as like ([url]http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm[/url]). I do want to set border for the images with border property as "2px solid #000" and i do want gap between the images so that the horizontal gap value is 20px. I tried even with image border propoerty and … | |
I am trying to split up the registration form into two php pages. Is it possible for the second page to submit its form along with the $_post which contains the information from the first page? well the question should be.. is there a function in php which will bind … | |
I was using winsound module for the first time to use it on one of my small app,and it didn't even gave me a BEEP!. I imported winsound module first. [CODE] >>> import winsound >>> [/CODE] then [CODE]winsound.Beep(37,10)[/CODE]leads to nothing! Any kinda help is appreciated. | |
i have been building a web site of late but the login page has given me hectic coz it s giving me an error which i dont understand please help me with the correct codes am using dream weaver and wamp server. will highly appreciate. | |
I have recently redid an earlier version of my version of Pong. However, I am having a slight issue with it. Whenever the ball hits the opposing paddle and then hits the bottom, the ball travels along the bottom until the player paddle hits it. I have tried for days … | |
I have written the following Stored Procedure: [code] USE [BHPropertyInfo] GO /****** Object: StoredProcedure [dbo].[usp_UnitAvgByRM] Script Date: 08/26/2010 16:47:21 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================================= ALTER PROCEDURE [dbo].[usp_UnitAvgByRM] -- Add the parameters … | |
I have created a small app in VB.Net, Its was working well, I published it twice or thrice as well but now when I tried to publish it again I got following error, ________________________________________________________________________________________ Error 3 An error occurred while signing: Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: ISignedCode::Sign returned error: … |
The End.