199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gunnarflax

Hi! I'm a java rookie and I'm trying to learn how to read and write to xml documents. I have a xml-file called tasklist which lies directly in the src directory, at the same level as the executing program but I get the following error: java.io.FileNotFoundException: tasklist.xml (Det går inte …

Member Avatar for gunnarflax
0
219
Member Avatar for Dewey1040

I'm trying to create a menu using ncurses, I found some useful code and help online, but the code has errors in it. And I can't figure out why I'm generating this error. On top of all this, theres no way I'll be able to use the information I've found …

Member Avatar for Dewey1040
0
116
Member Avatar for zenith_96

heya guys - new to posting here, but i have browsed the forums for help over this year so far. obvisoulsy im also new to python, only trying it since march. Im trying to write some code for a 'knock knock' program. It uses a txt file for the jokes, …

Member Avatar for zenith_96
0
202
Member Avatar for persianprez

Not really sure what a command line argument is, but here is an example question that I don't understand: "Write a program that gets 4 integers as command-line arguments, prints the values and their total." Can somebody show me how to do this? I have like 10 of these to …

Member Avatar for ultimatebuster
0
157
Member Avatar for Virangya

Hello.. i have this problem.. im doing some kind of late static binding. im really a new to this and don't know how to solve this problem. please help me to solve it... What i want to do is instead of using `static:: $arr[0].",".static:: $arr[1]` i want to iterate though …

Member Avatar for somedude3488
0
136
Member Avatar for codecx

I'm almost done making a 2D game (and yes I'm sorta a newb) and I still haven't figured out how to delete an entity. Instead, as a place holder, I set the texture path to "" and all the variables to 0. I am using a class and here is …

Member Avatar for codecx
0
155
Member Avatar for nufar

I would like to open the following link in a new window , can you pls. help me - [code=php]<?php $userfile= file_get_contents("out.txt"); $users = explode("\n",$userfile); foreach ($users as $user) { list($name, $cor) = explode(" ", $user); echo "<a href=\"http://db.yeastgenome.org/cgi-bin/locus.pl?locus=".$name."\">$name </a>"."<br/>"; } ?>[/code] thanks in advanced

Member Avatar for anduma
0
282
Member Avatar for jemz

hello can you help me how can i remove the flexgrid lines or to be invisible lines in my flexgrid and to put some background color in every rows..just like in I-Tunes software blue and white color of the grid rows...please help me hoping for your positive responds... thank you …

Member Avatar for jemz
0
251
Member Avatar for janpieterz

Hi guys, I've searched this forum and could not find any solution to it. The problem is this: I'm getting data from an external source every 10 seconds(approximately). I want to execute some script every 10 seconds but there can't be even the smallest delay. So if I would use …

Member Avatar for chrishea
0
143
Member Avatar for Encrypted

Hey everyone, I don't even know where to begin with this. I need to limit folder access to only those members who are allowed to access them. For example, I'm creating a folder /5/ within a folder called /orderreports/ for the order id 5. I need to check which user …

Member Avatar for Usernamex235
0
166
Member Avatar for basement24

ok here it is, I am basically teaching myself to program which is going so good so far.I am doing a client-server program which is just a basic chat and then i can move on from there and improve, probably use it in a game afterward.Now as I have never …

Member Avatar for basement24
0
89
Member Avatar for niemo

hi all, I'm trying to make a C++ application that visualizes the computer structure (drivers, folders and subfolders, ...) in a 3D tree. I want to access my hard disk to get its structure and use it. How can I do so?? Is there a look-up table or something that …

Member Avatar for Narue
0
216
Member Avatar for BastienP

Hello everyone, I'm currently working on an automated process which extract user info from AD with csvde, then do some treatments with perl scripts, convert the csv file into xls in order to do some modifications by a specific user in Excel, then convert the xls to csv, format it …

Member Avatar for BastienP
0
240
Member Avatar for Dr-Delta

Hi Please tell vb.net equivalent of following: [B]C# Syntax[/B] [code] public class AuthorList : Control { static AuthorList() { Post.Saved += delegate { _Html = null; }; } [/code] [B]I tried using C# to VB.NET code converter which gave me this:[/B] [code] Public Class AuthorList Inherits Control Shared Sub New() …

Member Avatar for Dr-Delta
0
143
Member Avatar for rudasi

Hi, I have a file.txt, I need to enter the data in string. Currently my code looks like this, [CODE]#!/usr/bin/perl open myfiles, "file.txt" or die "couldn't find file: $!"; while (<myfiles>){ $string .= $_; } print $string; close(myfiles);[/CODE] The output when I print the string is like hello.c work.c office.c …

Member Avatar for d5e5
0
116
Member Avatar for bghodsi

The following is the complete coding for moving data from sql to access, I get an error saying that Microsoft JET Database Engine missing (;) at the end of sql statement!!!! Could you tell me what I am doing wrong? Imports System.Data.OleDb Imports System.Data.SqlClient Public Class frmMain Inherits System.Windows.Forms.Form Private …

Member Avatar for bghodsi
0
161
Member Avatar for Buttacup

I've been doing research on how processes communicate for the past like 4 months and I still can not answer this very simple question, how do most present day applications communicate within their own framework? Which tends to get me asking another question, do application programmers still program using C++? …

Member Avatar for Buttacup
0
191
Member Avatar for Ja14

This is as much of a question about algorithm as it is about code. I’m training monkeys to input data into a keyboard in the form of a table. I have created a special keyboard with nothing on it but numbers 0 - 9, a period, tab key and a …

Member Avatar for Ja14
0
130
Member Avatar for vbx_wx
Member Avatar for Narue
0
180
Member Avatar for haribo83

I have a php page that displays records from a sql database. Each record is in a repeat region and has a submit form nect to it. The problem is if I submit one of the forms below the first in the list, the first form is validated and the …

Member Avatar for diafol
0
84
Member Avatar for f.damati

I am developing a web page which retrieve data from a seperate mysql server on the same network musql_connect('192.16.1.2:3306', 'root', '123'); but ana error shows Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '192.16.1.2' (13) in /var/www/html/index.php on line 3 the 2 servers are on 2 different virtual network …

Member Avatar for f.damati
0
163
Member Avatar for Stefano Mtangoo

Hi guys, I have been away Python for long now. I need to brush with small project that will be downloading images from give url. I give url and it crawls through all pages in give location and its subfolders and download image. Now two challenges: 1. Crawl through all …

Member Avatar for Tech B
0
199
Member Avatar for marcel1

Please, try to help with this. I use case statement but for 2 arguments. Down here is the idea of what i want to get: select x case x when x = 'AB' and y like 'CD%' then x= 'CD' when x = 'ZZ' and y like 'CC%' then x= …

Member Avatar for teezecrost
0
171
Member Avatar for Cap'nKirk

Hi, firstly, sorry about the title of this thread, I couldn't really think of one to explain what I am trying to get at. In my app I have an XML file that is loaded on formload and looped through to extract the required data into a listbox. That bit …

Member Avatar for Cap'nKirk
0
136
Member Avatar for fcuritiba

create download area with login Does anyone have any examples of how to create download area using jstl or jsp with mysql? hugs ..

Member Avatar for fcuritiba
0
123
Member Avatar for rb3rd

Good day! We have to push an input XML file (see format below) thru an XSLT to transform it to a regular XML which can be read by our 3rd party software. The problem is, the XSLT will only store 1 set of "Identifier" and its subsequent "Quantity" values. I …

Member Avatar for rb3rd
0
144
Member Avatar for RisTar

Simple HTML form is not working properly... attached is a simple HTML form. When i print the super global $_POST[] i don't get any information from the text fields. Im really frustrated... I can't find any problem with the code... HTML [CODE] <form method="POST" action="functions/process_payment.php" > <table id="creditCards"> <tr> <td><input …

Member Avatar for almostbob
0
216
Member Avatar for ssmg

Hi everyone, How do I make sure that user input is of integer data type. not char nor alphanumeric..? when the user inputs character string or alphanumerics it should output "Please enter an integer" Is there sopme wayh to do this? Thanks.

Member Avatar for hypernova
0
432
Member Avatar for macca21

Here's a question from my assignment, I need HELP! i'm after a basic structure of code that I can work from. pls try explain steps in code. THANX Create an application that utilizes your Order class to implement a simple Order tracking system. To do this your system must be …

Member Avatar for woooee
0
94
Member Avatar for 1337group

This is my first post I hope someone can help me! I am trying to build a drop down menu for a site I am working on and for some reason I can only get the drop down menu to work in IE. Please remember I am very new(hardcore noob) …

Member Avatar for 1337group
0
137
Member Avatar for G-nom

Hello In my program i have a matrix the code for which is [CODE] test = [ ["x" for x in range(5)] for y in range (5) ] for y in test: print " ".join(map(str,y))[/CODE] which prints something like: x x x x x x x x x x x …

Member Avatar for woooee
0
114
Member Avatar for faa77

Hi, im trying to find out the process name/id which caused a registry key change? Im using an example from codeproject as my basic template to build up from: [url]http://www.codeproject.com/KB/system/registrymonitor.aspx?msg=3475799#xx3475799xx[/url] I've also borrowed a class which helps getting the process owner (as you cant access handles of System processes?) from: …

Member Avatar for faa77
0
156
Member Avatar for roachae

I'm trying to get my items in my domainUpDown control to spin for a few seconds rather than just increment/decrement one item at a time and then stop randomly on any item, but not sure how to go about it. I have the Wrap property set to True so the …

Member Avatar for roachae
0
97
Member Avatar for judithSampathwa

hi there how can i make the datadrid view edit and read, i have a button called edit when the user clicks it the cells can be editable ,or else the datagrid view in read only mode how can i change the modes in code, programatically thaxxxxxxx

Member Avatar for judithSampathwa
0
174
Member Avatar for sdhawan

Hi, i am getting error Line 1: Incorrect syntax near 'Valuesstuntto'. and its an sql error.Can anyone help me with this thanks. [code] using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using GermanDict; using SimpleFrenchDict; using System.Web; namespace DicttoData { …

Member Avatar for sdhawan
0
347
Member Avatar for daniel88

Hi guys, Well, I am currently taking a C++ course focusing on learning about object-oriented design concepts, including polymorphism. The assignment I am currently working on involves the creation of a point-of-sale system. The details of the problem are quite involved and challenging (for me, at least!). I am determined …

Member Avatar for daniel88
0
163
Member Avatar for Isaaac

So I've got some lines in my richtextbox, but when i click btnSaveLog, it saves, but everything is on one line... I have to use a richtextbox to show all info. I've seen it does show the lines with Wordpad, but i'm saving it as a *.log file, so i'm …

Member Avatar for Isaaac
0
828
Member Avatar for noobday

I've been trying to use member functions from a class (prototypes define in counter.h) in my main file. The class implementation is in file counter.cpp and i am trying to compile countertest.cpp. The error message is : g++ countertest.cpp Undefined symbols: "counter::counter()", referenced from: _main in ccmTnGJX.o _main in ccmTnGJX.o …

Member Avatar for daviddoria
0
153
Member Avatar for PierlucSS

I'm currently developping an app that is going through all the files on a server and checking every single hrefs to check wether they are valid or not. Using a WebClient or a HttpWebRequest/HttpWebResponse is kinda overkilling the process because it downloads the whole page each time, which is useless, …

Member Avatar for Ketsuekiame
0
170
Member Avatar for mindbend

Hello everyone, Got a school project here. I need to explain the code I use in general, thats the moral of this school project. I thought to keep it simple(It actually doesn't matter if I wrote the code myself or that I got it from somewhere, as long as I …

Member Avatar for Stefano Mtangoo
0
167
Member Avatar for changeco

I have two php pages - home.php and player.php... home.php has a loop to show all the products EID has associated with it including TOTALPLAYS, PLAYCOUNT, USER, PASS, PRODUCT and PRODUCTPATH... player.php has a small script to find out if PLAYCOUNT > TOTALPLAYS as well as pulling in the PRODUCTPATH …

Member Avatar for changeco
0
125
Member Avatar for yongj

I know that the .txt file is being opened correctly, however, I don't know why the getline function is not storing the first line and outputting it correctly. [CODE]//Joseph Yong //CSC2430 //Homework 7 //Main File #include <iostream> #include <fstream> #include <string> #include <iomanip> #include "Customer.h" using namespace std; Customer cust; …

Member Avatar for Ketsuekiame
0
151
Member Avatar for leowasif

hi every one, i make a application in C# visual studio that store username and passwords or students now i want to make a login form in c#. it is window form based application (GUI) not Cmd base:- my main objective is that first my application check that whether username …

Member Avatar for leowasif
0
104
Member Avatar for ashvyas

i m designing a CRM for real Estate company. dis is d code i hve used to log d details of client :- <?php session_start(); if($_SESSION['Name']=='') { echo "<script>window.location='login.html';</script>"; } ?> <!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=utf-8" /> <title>CALL LOG DETAILS</title> …

Member Avatar for sourcebits
0
374
Member Avatar for Sandhya212

Hi, I have code as follows wherein I pass a 2D array to a function and want to receive this array with its contents tripled. [CODE]#include <iostream> #include <cstdio> using namespace std; int** test2 (int arr2[][4],int mul){ for (int i=0;i<2;i++){ for(int j=0;j<4;j++){ arr2[i][j]=arr2[i][j]*mul; } } return arr2;//sending back the address …

Member Avatar for Sandhya212
0
459
Member Avatar for Steven.T

Write a spell checking tool that will identify all misspelled word in a text file using a provided dictionary. The program will accept either one or two command line parameters. 1. The first command line parameter is the name of the text file that will be checked. 2. The optional …

Member Avatar for TrustyTony
0
1K
Member Avatar for Pityu

Hey. I have the next problem: I've created a joomla-like administrator page to a site I just have to make. You can add, edit and delete products and categories. Now, my problem is: No matter which product or category u try to edit (it is listed in a table with …

Member Avatar for sourcebits
0
109
Member Avatar for rukshilag

This is a table customization in a search form. I need the ticked checkbox values to be passed to the pdf.php in order for the table to be customized. but the table is not filled nor is it customised. [CODE]<?php //access incoming name, id or radio button values $cs = …

Member Avatar for Zagga
0
171
Member Avatar for schoenfelder.p

I'm trying to teach myself classes. I decided to create a class to represent a date. It's more for me to learn than to actually be useful. When I have the variables month, day, and year under private setting, the program will not compile (I am using Dev C++). When …

Member Avatar for Ketsuekiame
0
148
Member Avatar for steveh44

Hello, I'm new to XML and working on a searchable movie reader application which will read an XML file called MovieData.xml. The XML file contains the following nodes: Example, [code=text] <movie> <title>Silence of the Lambs</title> <disc>5</disc> <year>1991</year> <director>Unspecified</director> <cast>Unspecified</cast> <genre>Horror</genre> <riptype>DVDRip</riptype> <codecvideo>DIVX</codecvideo> <codecaudio>MP3</codecaudio> <imdbrating>8.7</imdbrating> <comments>Some Comments Here</comments> </movie> [/code] To …

Member Avatar for apegram
0
140

The End.