199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hbk_star2006

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(); ?> …

Member Avatar for mschroeder
0
124
Member Avatar for weasel7711

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, …

Member Avatar for nucleon
0
312
Member Avatar for kdee

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 …

Member Avatar for kdee
0
142
Member Avatar for Naik Dhiren

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

Member Avatar for Ramy Mahrous
0
92
Member Avatar for Superstar288

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 …

Member Avatar for Ezzaral
0
148
Member Avatar for jbennet

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?

Member Avatar for BestJewSinceJC
0
99
Member Avatar for mashimaro

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 ^.-

Member Avatar for mashimaro
0
138
Member Avatar for sweet cLassy

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.

Member Avatar for sweet cLassy
0
84
Member Avatar for jdbarry

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 …

Member Avatar for BestJewSinceJC
0
176
Member Avatar for sureronald

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

Member Avatar for bryansmith123
0
145
Member Avatar for yair7190

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 …

Member Avatar for bryansmith123
0
322
Member Avatar for BestJewSinceJC

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?

Member Avatar for BestJewSinceJC
0
112
Member Avatar for madelein

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 …

Member Avatar for Abhay Joshi
0
585
Member Avatar for rapture

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 …

Member Avatar for rapture
0
111
Member Avatar for rapture

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 …

Member Avatar for rapture
0
99
Member Avatar for asif786

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 …

Member Avatar for bcasp
0
944
Member Avatar for piqoni

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 …

Member Avatar for piqoni
0
85
Member Avatar for ricksvoid

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 …

Member Avatar for Jamie Shedley
0
138
Member Avatar for cproud21

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, …

Member Avatar for Clockowl
0
94
Member Avatar for milhouse79

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. …

Member Avatar for stultuske
0
82
Member Avatar for ahmksssv

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...

Member Avatar for ahmksssv
0
93
Member Avatar for lakhan.p

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 …

Member Avatar for lakhan.p
0
202
Member Avatar for veledrom

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

Member Avatar for veledrom
0
100
Member Avatar for veledrom

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

Member Avatar for veledrom
0
91
Member Avatar for mccraig

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 …

Member Avatar for leegeorg07
0
1K
Member Avatar for dcawley

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 …

Member Avatar for Nick Evan
0
190
Member Avatar for scias23

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--) …

Member Avatar for jencas
0
285
Member Avatar for viki0077

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 …

Member Avatar for jencas
0
110
Member Avatar for Icebone1000

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] …

Member Avatar for Nick Evan
0
131
Member Avatar for papuccino1

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 …

Member Avatar for sknake
0
182
Member Avatar for Alexpap

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?

Member Avatar for martonx
0
98
Member Avatar for sonia sardana

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; …

Member Avatar for DangerDev
0
140
Member Avatar for sid.coco

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 …

Member Avatar for sid.coco
0
123
Member Avatar for dbwalters

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 …

Member Avatar for hrdzdier
0
828
Member Avatar for Aamit

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..

Member Avatar for chrishea
0
108
Member Avatar for dami06

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

Member Avatar for debasisdas
0
60
Member Avatar for vvab

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 …

Member Avatar for vvab
0
163
Member Avatar for LCR

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 …

Member Avatar for LCR
0
78
Member Avatar for gangsta gama

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: " …

Member Avatar for gangsta gama
0
138
Member Avatar for blerina12

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 …

Member Avatar for blerina12
0
325
Member Avatar for Clockowl

'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}; …

Member Avatar for Clockowl
0
101
Member Avatar for jonojo

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 …

Member Avatar for Andrieux
0
210
Member Avatar for winrawr

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<< …

Member Avatar for winrawr
0
167
Member Avatar for waldchr

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 …

Member Avatar for waldchr
0
99
Member Avatar for oskido2010

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 …

Member Avatar for oskido2010
0
133
Member Avatar for humbug

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 = …

Member Avatar for hielo
0
167
Member Avatar for serkan sendur

[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?

Member Avatar for hielo
0
183
Member Avatar for Roybut

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 …

Member Avatar for Roybut
0
88
Member Avatar for OzY360

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 …

Member Avatar for OzY360
0
193
Member Avatar for ppp83

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, …

Member Avatar for danielernesto
0
139

The End.