199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Translucentbill

I want to create a game with allegro using text-based RPG elements. I would like to describe the setting through text and give the option to input a command but at the same time display graphics above the text area. Example: *3 sprites, warrior, mage, archer* (text description) Hello, (name …

Member Avatar for SgtMe
0
109
Member Avatar for pbcomput

Hi, I want to open user's uploaded .doc,.docx,.txt or .pdf as html (open in browser) I can open pdf without doing any extra coding. but i can't open other formates. I want to open files when user click on the link "Show File" at that time file will be open …

Member Avatar for lavanyac
0
851
Member Avatar for khushhappy

Hi,Pagination Problem : It shows the pages i.e 1,2,3 as number of records, but further records are not shown when clicked on page 2 further 3 and soo on.. [B]Database Connectivity:[/B] [CODE]$query = "SELECT * FROM photos ORDER BY id DESC limit 1,2"; $result = mysql_query($query) or die(mysql_error()); while($row = …

Member Avatar for diafol
0
131
Member Avatar for morteza_ipo

Hi everybody! Please help me very fast!!!! I am programming with php in linux platform. When I create a file (example index.php) , that is UTF8 as default. Now I want to set cookie or session , but I cannot! I get an error about sending headers! Please help me …

Member Avatar for diafol
0
134
Member Avatar for AmerJamil

Question is : Get two strings from user. Join first string with the second string with a space. Store in another string and display it. Example: Enter first string: Hello Enter second string: World Hello World (built in function for string concatenation is not allowed) im newbie in c++ and …

Member Avatar for AmerJamil
0
196
Member Avatar for fenerista

How can I add a clickable url in a JTextPane like this [url]http://www.google.com[/url] or If I ask other way, how can I make the links in JTextPane clickable ? When the user click or double click this link the default browser will open the link that is clicked. I have …

Member Avatar for fenerista
0
3K
Member Avatar for abelingaw

I would like my login form to display a message when the user logging in pressed the CAPSLOCK key when he is entering data in the password textbox. I tried using this code on Keypress Event [CODE] If KeyAscii >= 65 And KeyAscii <= 90 Then txtPass.Locked = True Msgbox …

Member Avatar for AndreRet
0
97
Member Avatar for thegrovesy

Hi, I now have the back end of a music library application and I am now working on the GUI side. I would like to display all the albums (Album cover art, Title and Artist) in a scrollable area, and would like some advice on how to do this: Firstly …

Member Avatar for amol.narkhede
0
143
Member Avatar for gunbuster363

What is java and the whole bunch of things. I only know how to use eclipse to write java project, probably java 1.4. Can someone give me a picture about the whole bunch of java things such as jsp servlet spring struts hibernate J2EE glassfish J2EE 5 J2EE 6 EJB …

Member Avatar for stultuske
0
113
Member Avatar for PM312

Hi I want to display content of text boxes in its tool tip how it can be done. Thanks

Member Avatar for AndreRet
0
146
Member Avatar for kiroyzki

Hi i have a E71 TVB china phone, my problem is that it won't allow me to access WAP i used my network providers GPRS/GSM data but the phone itself won't accept the codes. what do i do to get my phone to access it WAP feature? BTW: my network …

Member Avatar for kiroyzki
0
90
Member Avatar for elcliff

Hilan International Bank decided to have a salary plan for its employees. In the new Policy, bonus is based on the fact that one is a senior staff or junior staff. You have been called in as a programmer to develop a software to meet this policy’s requirement: (a.) Create …

Member Avatar for masijade
0
761
Member Avatar for phobos666

Hi everyone, I need to write a bunch of x,y coordinates to a txt file one below the other using C(only). I'm able to do so but all the coordinate values occur one next to the other. Here's my code: [code] FILE *file1 = fopen ( "/cygdrive/d/newfile1.txt", "w" ); printf("The …

Member Avatar for saad749
0
154
Member Avatar for tryphy

HI, I have a form that has more than one checkbox. I need to store the checkbox value in mysql. I am using php code.I am not sure of the code of storing the checkbox value to the database. Your help will be much appreciated. Thanks Tryphy

Member Avatar for vivekdizzal
0
5K
Member Avatar for dan1992

I have a code for adding information on the site post page [CODE]<?php if (isset($_POST['photo'])) {$photo = $_POST['photo']; if ($photo == ''){unset($photo);}} if (isset($_POST['id_photo'])) {$id_photo = $_POST['id_photo']; if ($id_photo == ''){unset($id_photo);}} $cat = $_GET['cat'];?> <script type="text/javascript"> function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } </script> <script src='style/jquery.js' type="text/javascript"></script> <script src='style/documentation.js' …

Member Avatar for madCoder
0
98
Member Avatar for x2fair

i have a combo box which contains one table on mySql database and I want to make it more good that when I input a leter all the data that starts on that letter will appear.Example when I type letter "A" all data that starts with letter "A" appears..plz help …

Member Avatar for x2fair
0
103
Member Avatar for bill13

can anyone help me with the above problem? i need the code in C language. the problem is: Store random numbers into two-dimensional array of 6 * 6 and interchange first 3 rows with last three rows thanks you in advance.

Member Avatar for Mohtadeen
0
281
Member Avatar for pawan_sharma777

I make a small project on student but i don't know about file handling for database; can any one tell me the simple way to connect my project to SQL database;

Member Avatar for pawan_sharma777
0
457
Member Avatar for Electricfan

I have made a php page that allows someone to send out an email to one of our representative with a sample text that they approve wind power. It's just a form that when submitted it sends out to whomever they checked and also sends me an email saying that …

Member Avatar for Electricfan
0
233
Member Avatar for lbmanikandan

Hi, I am using asp.net with SQL2008 facing a concurrent user issue, if 2 users launches the application and clicks save then it is allowing to save the record twice. I need to avoid saving duplicate record. How can i acheive this? 1 thing i thought of taking Modifiedat value …

Member Avatar for kvprajapati
0
233
Member Avatar for lf.gene

Hi all, by using form and post method in my program. It seems like my values of calendar are not able to insert into my database. I'm using jquery's datepicker and php to code. Please advice. Thanks

Member Avatar for lf.gene
0
853
Member Avatar for Binary

I recently started working with PHP, and MySQL. And I have come with a little problem, I have tried a couple of things to solve it and they are not working. Well, basically I am trying to put a link on a page, but that page requires me to pass …

Member Avatar for almostbob
0
22K
Member Avatar for praveen_dusari

hi all, i am new to asp and i have a problem in editing the data...here is the code can someone please help... [ICODE]protected void Page_Load(object sender, EventArgs e) { if (Session["admin"] == null) { Response.Redirect("Default.aspx?msg=1"); } if (Request.QueryString["id"] != null) { SqlConnection conn = new SqlConnection(); conn.ConnectionString = helper.ConnectionString; …

Member Avatar for kvprajapati
0
177
Member Avatar for RenanLazarotto

Hi! I've been searching for a while, but it seems that I can't find an easy way to get the current user profile folder. I've tried "%userprofile%" environment variable, but it didn't worked (or I'm doing something wrong). How can I do it? I want to add the value to …

Member Avatar for kvprajapati
0
1K
Member Avatar for MooGeek

Hi guys! Im kinda new here and lately I'm developing a[B] PHP MySQL Module Generator[/B] that will help us to easily manipulate the database. since I want to make thing fast and I know lots of you agree with me that doing data manipulation stuffs like MySQL is boring so …

Member Avatar for MooGeek
0
282
Member Avatar for Yuichi

Hi all, I am new to ffmpeg and I tried using api-example.c to decode wma files. However when I run the program, it gave me an error saying "frame_len overflow". Does anyone know how to fix this error? Here is my code: [CODE]extern "C" { #include <avcodec.h> #include "../libavcodec/avcodec.h" #include …

0
151
Member Avatar for jlovesfishiee

Hi, I know that the get() method returns the element at the specified position in the list, so does that mean that for this particular sentence of code: [CODE] HtmlInput inputMsgKey = (HtmlInput) getSendNotificationForm.getElementsByAttribute("input", "name", "msgKey").get(0);[/CODE] get(0); will return the "input" element? Thanks.

Member Avatar for jlovesfishiee
0
80
Member Avatar for jfortiv

Hello, I'm developing an org chart for my company and I want to spend some effort to make it interactive. I'm utilizing the Google Visualization API Org Chart tool and writing JavaScript to extend the basic functionality provided by that framework. This is the general plan that I've devised so …

Member Avatar for jfortiv
0
115
Member Avatar for Thisisnotanid

Hi everyone, I'm new to Daniweb and programming in general. I wrote a program to implement Euler's sieve, and it seems to work for small primes. But, it incorrectly lists certain numbers as primes for larger ranges. For example, for n = 400, it lists 391 as prime. I've gone …

Member Avatar for Thisisnotanid
0
142
Member Avatar for hashim11

i really need help... i dont know where the problem... the line error on that part>>`class reserveform extends JFrame implements {` import java.awt.Dimens; import java.awt.*; import javax.swing.*; import java.util.List; import java.util.LinkedList; import java.util.Iterator; import java.util.ListIterator; import java.util.Collections; import java.awt.event.*; class reserveform extends JFrame implements { // operation interface JPanel operation; …

Member Avatar for quuba
0
146
Member Avatar for Lando_

Using Borland 4.5, yea its old but this is what my teacher prefers. Problems States: Markup Write a program that asks the user to enter and item's wholesale cost and its markup percentage. It should then display the item's retail price. For Example If an item's wholesale cost is 5.00 …

Member Avatar for jember
0
2K
Member Avatar for Tcll

KK so I have 2 py files... 1 being the main, and the other, the plugin I have a list var in the main, that I'd like to append data to from the plugin how do I do it?? the data to append: (from plugin) ' ('template', '*.tmp') ' the …

Member Avatar for Tcll
0
617
Member Avatar for BaSk

Okay, so I have button that onclick it displays a div. Inside of this div I have a cfform and a cfdiv. [CODE]<div id="test" style="display:none;"> <cfform> <cfinput name="tinput1" type="text"> </cfform> <cfdiv bind="url:tests.cfm?InputText={tinput1}" ID="theDiv"/> </div>[/CODE] This works but it works only if I click off of the input, is there a …

Member Avatar for arrgh
0
89
Member Avatar for pro_learner

I'm programming with c & C++.Usually i'm programming in Codeblocks IDE.Sometimes i'm using Fedora(Linux) too.Plz can anybody tell me is there any difference between those two programming environments?

Member Avatar for pro_learner
0
236
Member Avatar for dolphinaura

Is there a way to fetch my latest tweet in plain-text form using javascript? I was going to use fsockopen(), but my host does not have that enabled.

Member Avatar for dolphinaura
0
113
Member Avatar for mca.narender

Hi, I am converting one query from SQLServer to oracle i get some error related to Exists clause. what i need to do. Date related change i tried in oracle. all subquery return row and i got error on first line. Thanks in advance [B]This is the SQL Server Code:[/B] …

Member Avatar for br_astronut
0
150
Member Avatar for Martje
Member Avatar for UsSy
0
129
Member Avatar for vedro-compota

Hi thete )Tell me please - am I right - if [B]fillnumb[/B]=0 then after executing this code - [CODE] switch (fillnumb) { case 0: [B] fillnumb[/B] = 1; break; case 1: [B]fillnumb[/B] = 2; break; }[/CODE] [B]fillnumb [/B]will be =2 ;

Member Avatar for vedro-compota
0
131
Member Avatar for nilofer
Member Avatar for whatsername97

so, i'm very new here, and very new to vb.net. i mean, i absolutely suck at it! anyway, i'm trying to create a 'digital diary' application. i need to be able to click a 'save' button to save the data (in this case the diary entry) into a database, and …

Member Avatar for Mike Askew
0
108
Member Avatar for didi00

Hi everyone! I have a task that needs to be made in C in Linux. I use Kubuntu. This is the task: Process (coordinator) creates 5 working process (pool of processes). The working processes are waiting to be awakened by the coordinator, perform a job and wait again. The coordinator …

Member Avatar for didi00
0
147
Member Avatar for Martje
Member Avatar for Martje
0
161
Member Avatar for dottomm

Hello and Thanks in advance to anyone who can help me with this noob php query. I am trying to create a "share this record" tool in which a User can send another User a link to a record by displaying all the users in the User Table with a …

Member Avatar for dottomm
0
164
Member Avatar for computerbear

Hello, Class assignment, I get partway there, but borders do not show up. We have text files we turn into XML and css by inserting some prefixes and namespaces, etc. Each listing under an agent should be in its own box with a border. I just get long paragraphs after …

Member Avatar for computerbear
0
167
Member Avatar for anraevlus18

Hi, I have an array file_list which contains absolute/relative paths of files. I want to remove duplicate elements and elements whose filenames(not the path) are same. How can i do this using grep and hash? Is it possible to do this with one single grep? [CODE] my @file_list= qw(aaa ddd …

Member Avatar for d5e5
0
264
Member Avatar for kitsan
Member Avatar for Narue
0
136
Member Avatar for sharifyboy7

I have been working on a program that requires me to use bubble,insertion, and selection sort. My program runs without any compiler errors. I have printed out the total number of comparisons but I am having trouble trying to print out the array values for bubble,insertion, and selection sort. I …

Member Avatar for Fbody
0
252
Member Avatar for iWarrior

I'm having a bit of a problem with coordinates and mapping PictureBoxes. Here's the situation: I've got a PictureBox holding an image of a football pitch. The aim is to record the shot positions on this pitch. So whenever the mouse is clicked on the pitch, I am recording the …

Member Avatar for Unhnd_Exception
0
655
Member Avatar for tones1986

hey all, I am working on some simple perl code to do the following: 1) Passed a device IP, the script should attempt to log into each device. If a timeout or any other error occurs, ignore the device and continue to attempt log ins to the other devices in …

Member Avatar for d5e5
0
271
Member Avatar for ofir0803

Hi, i have this string: [CODE]$link = "http://www.first-link.comhttp://www.second-link.comhttp://www.third-link.com"[/CODE] i want to exract it to an array like this: [CODE]array[0] = http://www.first-link.com array[1] = http://www.second-link.com array[2] = http://www.third-link.com[/CODE] i wrote: [CODE]print_r (explode("href",$link));[/CODE] but now all the string is in array[0] only. i keep getting [CODE]Array ( [0] => http://www.first-link.com ) Array …

Member Avatar for diafol
0
133

The End.