199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for niks1234

hi, Am new to Daniweb. Name is Nik. Am currently doing a project in Python to create a visualization tool for OSSEC HIDS. I created the GUI using Boa Constructor which works with wx.python. But now i am stuck as to how to retrieve data from OSSEC and show them …

Member Avatar for niks1234
0
109
Member Avatar for cproud21

I am new to programming and was thrown into an online java course before I took the prerequisite course. I love programming so far, but am lost in java and would appreciate any help that anyone has. I have the following programming challenge to complete. As well as creating a …

Member Avatar for stephen84s
0
216
Member Avatar for hirts_gal

i currently working on web based ftp system where this system will upload and retrieve file from ftp server in red hat linux 9.0. here is the php cording for the upload file:- 1.upload.html [code=php] <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form action="upload.php" method="post" enctype="multipart/form-data" name="form1" …

Member Avatar for hirts_gal
0
2K
Member Avatar for roxys

Hello, I was wondering if someone could help me a bit here. Im trying to desing an electronic university students enrollement system. The system requirements are as follows: 1.Students can enroll themself for 1 or more courses. And a course can be taken from 1 or more students. 2. There …

Member Avatar for timothybard
0
140
Member Avatar for OnIIcE

Hello! I’ve started a project that allows users to edited wav files (flange, distortion) and but them in a sequence and make a loop. I want to be able to visualize the actual sound wave of the file (like if you dropped a sound file in Audacity (and then in …

Member Avatar for skatamatic
0
222
Member Avatar for sagecelt

Opera and Firefox both run the following function perfectly as expected but IE7 opens a new whole page window and complains about ActiveX, requiring an acceptance by the user before the 'Close Window' button will work. Any suggestions gratefully accepted. [code=javascript] function popup(mylink, windowname, w, h) { if (! window.focus)return …

Member Avatar for essential
0
127
Member Avatar for bmead

Howdy, I'm a total newbie to scripting and I can't figure out the proper syntax to shell script a for loop for the following scenario: I have a directory of symbolic links to backup log files. I want to loop through the dir to cat the last 21 lines of …

Member Avatar for bmead
0
107
Member Avatar for PRob99

Ok, I am having trouble getting this loop to continue. It just asks once and that's it. Here is my code: // ---------------------------------------------------------- // ExamScores.java (Application) // // Author: // Entered by: -- -- // Classes: ExamScores (list all the class files related to this problem) // Date: September 22, …

Member Avatar for kingvjack
0
165
Member Avatar for choc.ohloic

I have an ER model which i need to convert into a relational database design. Can someone please let me know if i am on the right track? Also how do i represent a foriegn Key, do i use italics, and for prinary key underline? I have attached the ER …

Member Avatar for timothybard
0
184
Member Avatar for TDN169

Does anyone know how to extract the nth character from a string- nice simple code like: charfromstring(mystring, 33) to extract the 33rd character of mystring obviously this is wrong- what is the correct way to do it. Even better, how could I split a string at the nth character eg. …

Member Avatar for TDN169
0
1K
Member Avatar for Mumo

can anyone show me how to go about this. I've been trying to use a log to base 2 in c. the code atually works but it requires me to type in a char after typing the number i'm getting the log of [code=c] #include<stdio.h> #include<limits.h> #include<math.h> void main() { …

Member Avatar for ArkM
0
98
Member Avatar for webzz

I'm using Delphi 2007 and I need to pick and display a character from a unicode font in the range U+1500 to U+15FF I tried: label1.caption := widechar($1513); but it can't be that simple. I have googled unicode, delphi, chr, widechar etc and researched for days and I still can't …

Member Avatar for ExplainThat
0
667
Member Avatar for Dalli

Hi guys, i need some help with a too complaicated query for my little brain. I have the following query: [CODE]$query = " (SELECT pic, text, main, gr, min(nr) AS nr FROM info WHERE (gr>0) AND (stl LIKE '$stl') AND ((quantity >= 0 and utg!='J') or (quantity > 0 and …

Member Avatar for Dalli
0
101
Member Avatar for masterjiraya

[B]filename:[/B] [COLOR="Red"]main.cpp[/COLOR] [CODE=cplusplus] #include <iostream> using namespace std; int main(); using namespace std; #include "BinaryTree.h" int main() { BinaryTree<int> tree[8]; tree[1].makeTree(1, tree[0], tree[0]); tree[3].makeTree(3, tree[0], tree[0]); tree[2].makeTree(2, tree[1], tree[3]); tree[5].makeTree(5, tree[0], tree[0]); tree[4].makeTree(4, tree[2], tree[5]); tree[7].makeTree(7, tree[0], tree[0]); tree[6].makeTree(6, tree[4], tree[7]); cout << "Preorder: "; tree[6].preorder(); cout << "\n"; cout …

Member Avatar for masterjiraya
0
151
Member Avatar for SoulMazer

I started programming in Python as a hobby a few weeks ago, and I have run into a little problem. I am currently making a script to give me a sort of Vocabulary Test. It is kind of hard to explain so I will just show you the code. [code=python] …

Member Avatar for Dunganb
0
2K
Member Avatar for mus1010

please somebody can help me out to get Pascal's Triangle by using loops ( probably with nested loop ) !! Pleeeeeeeeeeeease

Member Avatar for LizR
0
336
Member Avatar for Avaleriona

Write a program that inputs a line of text and uses stack object to print the line reversed. I found this C question in: [url]http://abhaygoel.wordpress.com/c-dac-ent[/url]... I have difficulty to solve it, anyone can help!

Member Avatar for Narue
0
173
Member Avatar for intelli

i have to write a simple java program write an application that determines the value of coins in a jar and prints the total in dollars and cents. Read integer values that represent the number of quarters, dimes, nickels and pennies so i did it i don't know where to …

Member Avatar for intelli
0
2K
Member Avatar for ravikiran032

i would like to how a host name is stored and it's structure in dns (domain name service) along with ipaddress.by which name a normal client computer is given it's hostname in the dns. here the client availing particular host name does not pay for it. in my computer i …

Member Avatar for ravikiran032
0
127
Member Avatar for Agni

Hi, The same code as my previous post, but because of this list thing, i'm not able to run specific commands for different options. Here i have 2 options under the 'Names' Menu, 'rajat','prasun', now when the user selects either of them i should be able to know which one …

Member Avatar for Agni
0
99
Member Avatar for mkirtani

Hi, I am trying to develop a battery order form. Here is the problem. User has to enter the "Current Stock". There is a "Allowed Stock" for each row. What I want to accomplish is when a user puts in the "Current Stock", I want the "Request Stock" to appear …

Member Avatar for essential
0
113
Member Avatar for kux

Compile this code with MSVC2005 [CODE] unsigned short x = 20; unsigned short y = 20; for ( unsigned long i = 0; i < x * y ; i++ ) { cout<<i<<endl; } [/CODE] and u get warning C4018: '<' : signed/unsigned mismatch why? i mean, it all runs …

Member Avatar for kux
0
133
Member Avatar for ansari.wajid

Hi I am using below code to play flv files using scrubber.swf in the browser but its giving compatibility issue. While it is working fine on internet explorer, its not working on firefox. Any help will be greatly appreciated. Its very urgent. Thanks [CODE]<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="336" height="297" bgcolor="#FFFFFF"> <param …

Member Avatar for kavin123
0
253
Member Avatar for ninwa

Howdy. I am very new to C# so I please forgive my ignorance. I was reading about jagged arrays and multidimensional arrays. I am trying to understand why the following code will work as I would expect it to. [code=c#]int[][] intJaggedArray = new int[5][]; intJaggedArray[0] = new int[5]; Console.WriteLine(intJaggedArray[0].Length); [/code] …

Member Avatar for LizR
0
128
Member Avatar for shamila08

Hello, dear all, here is my algorithm. i'm trying to reverse the array but its not function and not loop. [code=cplusplus] #include <iostream> using namespace std; void initial(int *v, int N) { int i; for(i=1; i<=N; i++) v[i] = i; } void write (int *v, int N) { for (int …

Member Avatar for Nick Evan
0
160
Member Avatar for cutedipti

what dose the error " Null pointer assignment" means and what causes this error?:idea:

Member Avatar for Ancient Dragon
0
68
Member Avatar for dodo_ind

Hi all I'm using a 'STRING' variable to store the entire contents of a file. Is there any possibility of buffer overflow if the content of the file is large? (eg: say size of the file is 30MB). Thanks in advance

Member Avatar for Alex Edwards
0
202
Member Avatar for sarithak

Hi frnds.. in my project i used ttf font ...now i uploading project through FTP... but total project is working fine..but,the font is not working when uploading the project into ftp...whats the problem? that font also included in my FTP.. plz help me asap..i am struggling from last 10 days.... …

Member Avatar for rshay
0
107
Member Avatar for Hinche4

Hi guys, I'm new to this but I have no idea what is wrong with my code and I'm going insane trying to figure it out and its due very soon! I would appreciate any help you can give me! Here's my code: [code=cplusplus] #include <iostream> #include <iomanip> #define ROWS …

Member Avatar for ArkM
0
311
Member Avatar for knightsg

I'm having a problem with an XSL script, using perl's XML::XSLT library. The code I'm dealing with is below: The XML: [code=xml]<eprint><eprint_status>archive</eprint_status><eprintid>3</eprintid><userid>5</userid><datestamp>2004-06-04</datestamp><type>journalp</type><abstract>Issues about young people&#x2019;s use of public and community spaces are now commonly raised in many countries. As urban space becomes more intensely used and the patterns of use …

Member Avatar for knightsg
0
118
Member Avatar for defychaos

Hi friends :P I'm needing some help on an assignment. I'm really not sure about all the argument-passing and structure references I have been assigned for my C++ class. Any help is greatly appreciated. I'll continue to work on it in the meantime, but I cannot get it to compile …

Member Avatar for skatamatic
0
120
Member Avatar for laxviji143

Hi, Can anybody help me plz... I m getting the value of a dropdownlist created dynamically..... and i want to convert that value into a business object in a web application... Im using this code in the windows application and its working fine ...But in the web application its showing …

Member Avatar for laxviji143
0
80
Member Avatar for Ugene

Any 1 whom have done excel with asp help me pls.. i currently have these codes i need to plot a zig zag graph out,i have the graph setting out then now i have to read the data from a excel file ..i don't know how to set the range …

Member Avatar for Ugene
0
144
Member Avatar for amt_muk

Hello Friendz, Suppose I have a program like [code] // A.cpp int main() { if(some_condition) return 1; return 0; } [/code] Now from another program I want to run the above program, like [code] //B.cpp int main() { ... ... system("A"); ... ... return 0; } [/code] Here how can …

Member Avatar for Duoas
0
373
Member Avatar for vadan

Hi I want to create an array as shown in the class below everything is working fine, but at the end of execution of the program, there is a memory fault Please help me in finding out the problem [code=cplusplus] class a { int i; int arr[]; public: a(); ~a(); …

Member Avatar for vadan
0
138
Member Avatar for wiz83

hi you please tell me how to call javascript files from c++ code?i know this(iam not 100% sure) that you first call html files,then from ther you call javascript files.

Member Avatar for ~s.o.s~
0
143
Member Avatar for Trekker182

I'm taking the time from an accessor function and if it's from 0-9, so it displays correctly the hour time position, I have the following statements in my main body: [CODE] if (clock1.getHour() == 00) cout<<"The hour of clock1 is 00"<<endl; else if (clock1.getHour() == 01) cout<<"The hour of clock1 …

Member Avatar for VernonDozier
0
4K
Member Avatar for ocbphoto

Hi guys, Once again here i am asking for your wise knowledge, i am having porblems with deleting a record. I can update the record but when i am trying to delete it i cant it it does nothing here is my code [code] <?php require_once('Connections/hello.php'); ?> <?php if (!isset($_SESSION)) …

Member Avatar for ocbphoto
0
149
Member Avatar for tanha

Hi. I am using netBeans 6.1 on windows XP, and when I create a java class and I create a frame inside that class? why I can not see the design of that class? I mean why I can not see the frame and also the control like buttons, text, …

Member Avatar for tanha
0
118
Member Avatar for JackDurden

How do I use a pointer with a 2-dim array? I am converting string to char array. char x[25][100]; const char* A= x; A= x.c_str();

Member Avatar for Ancient Dragon
0
105
Member Avatar for predator78

Hey guys, I been working on a small project I found on another forum. It's supposed to decode scrambled word from a word list in 30 sec or less. Well I'm pretty noobish so my method might not be all that great, but I'm giving it a go and learning …

Member Avatar for predator78
0
164
Member Avatar for heshan

Apache Axis2/Java, is a popular open source Web service engine. It currently supports xposing services written in Java, Javascript and Ruby as Web services. This [URL="http://wso2.org/library/articles/deploying-python-service-axis2"]article[/URL] discusses the Python data Binding that enable exposing Web services written in Python.

Member Avatar for peter_budo
0
107
Member Avatar for EddySR

Hi, I've got a major headache with a SQL Union statement. Basically I'm running a SQL Union statement in ASP that is not returning the first few unions. But if I run the SQL in enterprise manager it runs fine. I can't find anything on the web that even remotely …

Member Avatar for EddySR
0
273
Member Avatar for rast1979

Hello I am trying to use the find command to search for the last files modifyed under certain directory Example: #find /tmp -mtime -1 find all the files modifyed from 1 hour ago The question is: Somebody knows hou can I do the same but using minutes or seconds instead …

Member Avatar for rast1979
0
133
Member Avatar for TheNational22

I would like to take a file that is comma delimited, read it, and in the first column, change every 7 into a 4. I think there are a few ways to skin this cat, looking for the best way, Any ideas? A brief view of what the file looks …

Member Avatar for sneekula
0
84
Member Avatar for Gresakl

I'm working on a bit of homework and I don't need someone to do it for me but to help out with this portion. The rest of it is pretty easy to manage since I already have it mostly done but right now I can't figure out how to get …

Member Avatar for JeoSaurus
0
119
Member Avatar for tedobg

Hey guys.I am not sure that what I want to do is possible but if it is can someone help me out... Well I want towrite a program which waits for input for a curtain amount of time and if no input is received it continues its execution.I will be …

Member Avatar for tedobg
0
269
Member Avatar for neclark2

Hi, As the title suggests, I am completely clueless when it comes to shell scripts. However, I am in a position where I need to write one so I thought would ask for some help. What I need to do is dump every database in my instance of mysql into …

Member Avatar for JeoSaurus
0
157
Member Avatar for degamer106

Hi, In on of the lecture notes that was given to me by my prof, I was told that setting the ResizeRedraw value to true would allow whatever I drew on the form to be, well, resized. However, it does not seem to work. Here is my code: [CODE]using System; …

Member Avatar for LizR
0
204
Member Avatar for W@n

Hi, i am facing a problem with reading of duplicate element in an array. I was told to ignore the duplicate element in a text file and continue read in data from the text file at the same time store the data in an object array and diaplay it. However, …

Member Avatar for BestJewSinceJC
0
698

The End.