199,114 Archived Topics
Remove Filter ![]() | |
Hi please help to get rid of this error/warning... Please see the following code carefully.. Look at the errors first ------------------------------------------- Warning: Cannot modify header information - headers already sent by (output started at /home/compkcom/public_html/includes/config.php:1) in /home/compkcom/public_html/cmpanel/check_login.php on line 20 ------------------------------------------- here goes the php script --------------- [code=php]<?php session_start(); ?> … | |
I am writing an implementation of a DES encryption with a 64 bit plaintext, taken from the pixel information in a BMP file. So I want to skip the header which is 54 bytes, but I am not sure how to do this. This will not be a dynamic project, … | |
I have a problem... stuck a bit... I'm trying to get this confirmation link into the letter I'll send to my friends. I got the following code on the net but it just doesn't work. I have [B]Createuserwizard[/B] on my [B]create acount page[/B]. This code is placed into [B]CreateAccount.aspx.vb[/B] I … | |
i used bindingnavigator as usercontrol. Adds two button for Add,Delete. when i put this control on form, i cannot write into click event of bindingnavigator's buttons but i can write code into controls buttons pls help me for the same | |
hello everyone, im trying to make a theatre program and im at a dead end so im hoping for some help please. if someone can help see my problem clearer or post some sample code it will be much apperciated. the problem is i need to create a Seat class … | |
Im storing prices in pennies e.g 399 but i want it to be displayed e.g £3.99p how to do ? i used integers? | |
Hey, I'd like to write an application (in java, ofc) that would be able to connect to an LDAP server, with authentication, using sessions. Are there any libraries I could use to do so out there? Open source ones would be best, and the rule KISS is a priority ^.- | |
hello guys, i'm new to VB, n i have been given a project (data extraction ) for my final year project, n i'm quite confuse. Can anyone, tell me how to extract data from one source? for eg: from .txt file. Thank u so much for your time. | |
I am need a little guidance here as to how I am to go about using a static method to read data from a text file. I know how to use a static method to write data to a text file, now I am wondering how to use a static … | |
I have a simple calculator written using javascript and html. I would like to make it such that when a link to the calculator is clicked, a pop up window with this calculator appears rather than referring a user to anew page. Thanks | |
Although it sounds pretty simple, i haven't found a proper answer for this issue. I want to know how can i call a perl script and pass a variable to it. For example, lets say "Parse.pl" is a parsing script of some sort and i want to call it from … | |
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Java Sun's site is down right now so I can't check but I'm guessing this is an old method since according to Eclipse, the method doesn't exist anymore. So my question is, are there any other ways to do the same thing? | |
I need urgent help please!!!! This is my problem: I want to connect to a Access database with VB.Net. Here is my imports: [code] Imports System.IO Imports System Imports System.Data Imports System.Data.OleDb Imports System.Collections Imports System.ComponentModel [/code] Here is my connection string: [code] Public pDB As New OleDbConnection("Jet OLEDB:Global Partial … | |
Hello all, I have been tasked with figuring out a way to automate a form letter process that currently is done mostly by hand with a lot of copy/paste. We have letters that need to get sent out based on our internal system. Someone now looks up the items in … | |
Nobody is going to interact with you by way of email - first of all it doesn't help anyone else who has a similar problem and searches the site, and secondly we're not going to get 'tied' to helping you in that way or bothered with 100,000,000 questions in our … | |
I have a listbox in my program and a command button. When the user selects an item form the listbox and clicks the command button, a message box is shown which asks the user to confirm selection and has yes and no options to enable this. If the user clicks … | |
Hello everyone! if someone knows any source code (PHP or whatever) for creating an online dictionary, I would appreciate a lot if he would share it with me. But this is Database Design section right? :D so, I want to create an online dictionary service, and lets say I have … | |
I cant seem to find anything wrong with this code. However, I get an error message from my catch block everytime. [code=vb.net] Imports System Imports System.net.mail Imports system.web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.HtmlControls Imports System.IO Partial Class contact2 Inherits System.Web.UI.Page Protected Sub submit_Click(ByVal sender As Object, ByVal e As … | |
Why is this array not printing in 2D? [ICODE]#include <iostream> #include <iomanip> using namespace std; const int COLS = 5; const int ROWS = 5; void showArray(int [][COLS], int); void arrayDef(int [][COLS], int); void totalCol(int [][COLS], int); void totalRow(int [][COLS], int); void totalDiag(int [][COLS], int); void inputAmt(int [][COLS], int, int, … | |
Okay... public void reverse() { Object temp = new Object[INITIAL_CAPACITY]; for(int i = 0; i < size; ++i) { for(int j = size; j > 0; --j) { temp = data[i]; data[i] = data[j]; data[j] = temp; } } } this code does not reverse anything...I'm losing my mind here. … | |
Hi frnds... i have been successfully uploaded videos to uploads folder through db... now i need to play that videos ....plz provide code for this one....presently ineed mediaplayer format... i got the video path....after i dont know how do that...is there any script to run videos.... plz help me asap... | |
Hi, I m trying to open a file in read mode , my program is below ... #!/usr/bin/python print "------" file = open("C:\Lakhan\Pytonpro\file.txt", "r") print file file.close() but it shows following error ------ Traceback (innermost last): File "C:\Program Files\Python\Pythonwin\pywin\framework\scriptutils.py", line 165, in RunScript exec f in __main__.__dict__ File "C:\Documents and … | |
Hi, I have a textarea with 2 information in (bmw, mercedes). When i click on bmw, it will be transfered into other texarea. How can i do it? Thanks | |
Hi, I have WAMP installed on XP. I put everything under wamp/www folder to be run PHP. I want to use D:\ drive as well to run PHP along with wamp/www. Thanks | |
Hey all, I'm curious to know if there's a tkFileDialog that allows a person to browse for a folder, and in the pop-up "Browse for Folder" window, also have the option to "Make a new folder". I need to have this functionality, but when I use askdirectory() there is only … ![]() | |
I'm new and I don't want to waste anyone's time, but I searched and found nothing on this. I am to write a simple CRC-16 routine. My compiler (microsoft) will not accept a char[] as an operand when I try to execute the xor. char msg[5] = {'A','B','C'}; int generator … | |
i need to create a palindrome program. in our computer lab, this program works but here at home, it doesn't. help.. [CODE=c++] #include<iostream.h> #include<conio.h> #include<string.h> #include<stdio.h> int main() { clrscr(); char word[20],rev[20],chr; cout<<"This porgram checks if the word is a PALINDROME word.\n"; do { cout<<"\nEnter word: "; cin>>word; for(int i=0,j=strlen(word)-1;i<=j,j>=0;i++,j--) … ![]() | |
I've never programed in C++, and I have just started to learn C++, but I already get a little bit to complicated homeassignement. Is there anyone willing to help me - let's say solve me this excercise. I would appreciate any help with this and if there is anyone willing … ![]() | |
Hi, im reding a book where the way it draw poligons are like that: [CODE] glBegin (GL_TRIANGLES); glVertex3f (0.0f, 0.0f, 0.0f); glVertex3f (0.0f, 1.0f, 0.0f); glVertex3f (1.0f, 1.0f, 0.0f); glEnd(); glBegin (GL_QUADS); glVertex3f (0.05f, -0.05f, 0.0f); glVertex3f (0.95f, -0.05f, 0.0f); glVertex3f (0.95f, -0.95f, 0.0f); glVertex3f (0.05f, -0.95f, 0.0f); glEnd(); [/CODE] … | |
Hello. I'd like someone to help me figure this out. I have a small database: Country, State, City. Three tables. [B]I have to check that none of the names repeat themselves. Meaning, no two USA's, no two Brazil's, etc. [/B] My professor also gave us the following requirement: [B]You can't … | |
i have a program that has to connect to a remote db ( SQL or Access). i have found a way to connect to the sql db but i dont know how to do the exact same thing with the Access db.... Anyone can help? | |
I have serached on the internet,I found the links but none of them provide me the solutions. One of the sites from that I refer- [url]http://sappidireddy.wordpress.com/2008/03/...in-aspnet-ajax/[/url] [COLOR="Green"] Code-Behind Page[/COLOR] [code] public partial class _Default : System.Web.UI.Page { [System.Web.Services.WebMethod] public static int AddTwoNumbers(Int32 a) { int addtion = a + a; … | |
Hello everyone, this is my first post here and I am hopeful that people here will help me out of the problem am facing. Coming to the problem, I am developing a software which is used to keep various information of a student at one place, this data is fed … | |
Hello, I was hoping that someone might be able to help me with this program: [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.text.*; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.FileNotFoundException; public class CustomerInfo extends JFrame implements ActionListener { //construct components JTextPane textPane = new JTextPane(); //initialize data in … | |
hi, i want to create application for like 1> real estate & Property or 2> landlord and property ... there is any opensource code to create a this type of application?? or demo links.. | |
Hi, Could someone please tell me how to get all the tables in one program/file so that i can run them as one. Please very important..thank you | |
Hi, I am looking for a source code formatting tool that can format jsps and can be integrated with eclipse 3.3.x. Does not matter if it is a freeware or shareware. Have searched all over the web but have not found one that fulfills the purpose so far. There is … | |
I'm working on this program for my C++ class. It works fine but I'm not quite happy with it. Basicly this accepts a string, pulls each character out and converts it to the COA equivalent. It reads the entire string including spaces, but I can't seem to get it to … | |
Hey whats up guys? I was using thenewboston tutorials on youtube and I am stuck. I was trying to connect to my database that i made. [code] <?php //opens connection to mysql server $dbc=mysql_connect('localhost','kybo13','****'); if(!$dbc) { die('Not connected: ' . mysql_error()); } //select database $db_selected=mysql_select_db("kybo13_game",$dbc); if(!$db_selsected) { die("Cant connect: " … | |
Hi guys. I was wondering if you could help me with this problem. I am trying to pass a dynamic array to a function for finding the length [code] int length(char ** t, int i) { int count = -1; do count++; while (t[i][count] != '\0'); return count; }[/code] The … | |
'lo there folks, MinGW's giving me 1 error I can't get rid of: [code] eventhandler.h|9|error: `element' has not been declared| eventhandler.h|9|error: ISO C++ forbids declaration of `elem' with no type| [/code] All code mentioned and I think needed: eventhandler.h [code=cpp] #ifndef EVENTHANDLERH #define EVENTHANDLERH #include "element.h" enum events {onClick, onHover}; … | |
I've aquired some webspace and all I want to do is install phpbb but do not have the slightest clue where to start. Even a point in the right direction will help. Any input is very much appreciate. Can you tell me how to install and setup a phpbb forums … | |
so say I have something like this: [code=cpp] #include<iostream> class A{ public: void setErrorMessage(char*); } void A::setErrorMessage(char* errMessage){ // code here to set B::errMsg } class B{ public: A someObject[3]; char* errMsg; } int main(int argc,char** argv){ B something; B another; something.someObject[2].setErrorMessage("BIG ERRAR!"); another.someObject[0].setErrorMessage("everything's okay!"); cout<< something.errMsg<< endl; cout<< another.errMsg<< … | |
Hi I have been working on a project that requires me to be able to search a file for all occurrences of a string and store the entire line that contains a single occurrence of that string a an array of characters. For example: Search: web File: Time James [U]Web[/U]ster … | |
Hi, I am working on a script whereby if you are not my friend where by i need to restrict people who are not my friends to view my profile. for example If I am the logged in user and i am trying to view someone else who is not … | |
Here's my predicament. I Have managed to send and retrieve some HTTP requests using the GET method successfully using the following code: [code=php] function send_to_host($host,$method,$path='/',$data='',$useragent=0){ // Supply a default method of GET if the one passed was empty if (empty($method)) { $method = 'GET'; } $method = strtoupper($method); $fp = … | |
[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> <title></title> <script type="text/javascript"> function doSomething() { alert("works"); } window.onload = function() { var btn = document.createElement("input"); btn.type = "button"; btn.value = "click"; btn.onclick = "doSomething();"; document.body.appendChild(btn); } </script> </head> <body> </body> </html>[/CODE] What is the problem? | |
Hi, I'm trying to create a database that stores shoes. Each shoe must have more than one size so I have created a table "mens_boot_test" with a field "size". In the size field I have an integer which holds the delimited values 1,2,3,4,5,6,7,8,9. I'm then trying to retrieve these values … | |
![]() | Hello. I have been assigned a programming task which is to be completed using assembly language for motorolla 68k (os9). I will attach the assignment brief to the email and a copy of the source code in a txt file. I have to adapt the code so that it does … ![]() |
Im new to this forum and the programming language that im currently using is java. And i think i might need some help, advice here, and hope this is the correct place for me to post my question. If certain question i ask are not supposed to be posted here, … |
The End.