199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Lordson60

i need help, for some reason i cannot remove items that i have added to my JPanels the welcome.remove will is causing a problem [CODE]// The "RunescapeCalc" class. import java.awt.*; import hsa.Console; import javax.swing.*; import java.awt.event.*; import sun.audio.*; import java.io.FileInputStream; import java.math.*; public class Game1 extends JFrame implements ActionListener { …

Member Avatar for Lordson60
0
266
Member Avatar for dfetter88

As you probably know, Shell sort is typically written with a base of insertion sort, as shown below: [code]for (ctr = numGaps - 1; ctr >= 0; ctr--) { k = gapSeq[ctr]; /* Insertion Sort Begins Here */ for (j = k; j < size; j++) { tmp = array[j]; …

Member Avatar for dfetter88
0
82
Member Avatar for Cap'nKirk

Hi, I have a dataGridView that has 2 columns called (style & type) and I want to have a click event that only fires on the (type) column. I can code it so it works on both but for my app that is a little untidy. I have searched a …

Member Avatar for Cap'nKirk
0
1K
Member Avatar for newsguy

Back in 1976, along with Stanford University professor Martin Hellman, Whit Diffie produced quite possibly the most important paper in the history of cryptography. That paper, New Directions in Cryptography, laid the groundwork for solving one of the fundamental problems of cryptography, that of key distribution. Now Diffie himself is …

Member Avatar for Agni
0
582
Member Avatar for evak77

I cannot seem to get the array to work and display the second and third loans, only the first one displays. Here is what I need to clarify the situation. I added the array to the program and it only works for the first loan. Can someone point me in …

Member Avatar for Agni
0
93
Member Avatar for sallecpt

the first image is what I have, the second image is what I want to achieve. below is my code. its basically displaying mysql data in columns. but I need to get rid of that huge gab. [CODE]<?php if (!function_exists("GetSQLValueString")) { require_once ($FolderFunctions.'getvaluestring.php'); } mysql_select_db($database_classi, $classi); $query_docategories = "SELECT catID, …

Member Avatar for sallecpt
0
107
Member Avatar for sallecpt

First of all, love the purple theme! If anyone could help me with this. I have read and tried numerous samples from other forums, but all is the same as what I have done. I am building a small classifieds site for my church. I wanted to display data in …

Member Avatar for sallecpt
0
176
Member Avatar for mrjoli021

Why am i getting this error: Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /Users/Joli/Sites/TestSite/index.php on line 47 [code] $conn = mysqli_connect("localhost","sql","password","db") or die("Query died: Connect"); $checkSql="select count(id) as eCount from address"; $result = mysqli_query($conn,$checkSql); $row = mysqli_fetch_assoc($result); if($row['eCount'] == 6){ $disable = 1; } [/code]

Member Avatar for ShawnCplus
0
107
Member Avatar for daedalus

Hey all, new guy here. There's a local site that I need to use very often. It was recently remade and frankly the style makes me burp up in to my mouth. I'm wondering if there is some way I can apply a self-made style to this page through whatever …

Member Avatar for scrappedcola
0
140
Member Avatar for egoche
Member Avatar for egoche
0
215
Member Avatar for bjeffries

is it possible to use PHP to update an RSS feed. I dont already have the RSS feed created, but my site is finished, well for now it is, and want to know if it is possible to do this. My site is scripted using PHP and and every time …

Member Avatar for bjeffries
0
200
Member Avatar for skypower

Hello there! I have an exercise that askes me to create a binary file .dat with a structure in it. I have to run it like this: a.out something.dat. Also I have to create a command prompt for the user (input). I am very confused since I don't have linux! …

Member Avatar for skypower
0
131
Member Avatar for tonymuilenburg

Hi All, I'm developing some simple C++ windows forms application games using visual studio.net 2008, and am looking for some ways to distribute the game to paying customers. I'm starting with Intel's appup distribution, but that's only just starting to take off. Any suggestions?

Member Avatar for tonymuilenburg
0
164
Member Avatar for CobRalf

Hello everybody! a few days ago, i read this post in the [URL="http://www.daniweb.com/forums/thread257510.html"]Advanced and Intermediate Projects[/URL]-Thread: [QUOTE]Create an operating system prototype/emulator in Python. You might research into various operating systems to get an idea for what to implement. Things you can implement: A login. A shell system. A explorer system …

Member Avatar for CobRalf
0
769
Member Avatar for Anigmalee

Since Visual Basic 2008 Express Edition have no Crystal Report template included. Is there Other way to show Report/Log data similiar way? Maybe by MS Excel? Or MS word? Any hint or Idea will be wellcome^^ many thanks.

Member Avatar for Anigmalee
0
122
Member Avatar for kram54

hi everybody .. i want to use post method but not working i dont send to data ... pls help me[code]//i want to send userID and roleID in database .. i use to this code ::: <?php echo "<table border='1'> <tr> <th><font color='white'><h3>User ID</font></th> <th><font color='white'><h3>User Name</font></th> <th><font color='white'>Roles</font></th> </tr>"; …

Member Avatar for kram54
0
113
Member Avatar for Checkerboz

Okay first of I want to apologize for the horrible title, I really couldn't come up with a decent title to be honest. Here's my problem, I am kind of new to all this but I'd like to try making (just for fun of course) a database. I have a …

Member Avatar for Checkerboz
0
291
Member Avatar for zizi

Hi, I have a string and set (I not really using a set, it cud be a arraylist or array of string) I want to have the following results: {A, B} If I have any character that does not contain in the in the set then just concat(concatenate)them to the …

Member Avatar for Ramy Mahrous
0
299
Member Avatar for moonL!ght

hi every one; i saw this question and im trying to solve it.\ baseically i have to matrix's which each element is afraction so i must declare a class that has in the privet to float members numerator and denomnator and in the public i have constructer function to inilize …

Member Avatar for moonL!ght
0
254
Member Avatar for umers56

i am trying to create a videogame but im having trouble moving a picture. what im trying to do is move a picture called mario left, right, down, up... im trying to use the arrow keys... i dont have much experience either. everytime i press the up key the picture …

Member Avatar for umers56
0
274
Member Avatar for hatzi8

I need an advice about the algorithm I have to use in order to find and return the shortest path in a graph like the one I uploaded. I'm lloking for the shortest path between two points, the lower left and the upper right. Thanks

Member Avatar for Sodabread
0
92
Member Avatar for gregarion

Hey guys , im having a problem writing into a file. Basically ,i have a program which read an input from one file , and then calls it to the function of another method. Here is how my program looks like. [CODE]using namespace std; class Team{ public : void Readfile() …

Member Avatar for gregarion
0
115
Member Avatar for albruno

Is anyone having success with applying CUDA or multi-GPU processing with python? if so, could someone share a simple sample?

Member Avatar for 0x69
0
139
Member Avatar for 234pramod

Hi, I want to receive data which a device which is sending on usb. How can I receive data.Will there be any C codes available for that? I am very new to device programming.All suggestion are welcome.?? I want how to interface it and get the data.I want to do …

Member Avatar for 234pramod
0
122
Member Avatar for Z_KiNGPiN

Hey, Umm, I'm New to this Forum ... and extremely New to ASP.Net ... have some insight into C# though I was trying to make a website on ASP .. now the problem is, when we access a website 'Index.html' is the first thing that is accessed, but what is …

Member Avatar for Z_KiNGPiN
0
149
Member Avatar for boiishuvo

Firstly I want to show you the code and it can run properly: You may copy each file and paste them into a C++ software and run it please. [B][U]Trader.h file[/U][/B] [code] const int NumSeller = 1; const int NumBuyer = 1; const int NumBids = 10; const int MinQuantity …

Member Avatar for abhimanipal
0
110
Member Avatar for kram54

hi my code is not working when to running .. it create to mysql files but ..not create to my table and it created to table 0 byte ... why ?[code]this is backup code :: <?php $backup=$_POST['text']; $host = 'localhost'; $user = 'root'; $pass = ''; $backupDir = 'c:\'; $backupFileName …

Member Avatar for kram54
0
95
Member Avatar for rutaba

i want to know tha is object oriented php is better or simple php? n which version of php is better yet easy to learn? how much is it different from normal structured php?

Member Avatar for Usernamex235
0
163
Member Avatar for whiteyoh

Hi All, I have 2 tables of data, 1 is countries and the other is provinces within those countries. My problem is that accents are showing up as special characters. eg. Trois Eveches is showing as Trois ?av?tmch?copys

Member Avatar for whiteyoh
0
65
Member Avatar for merse

I have a code including [CODE]#include <iostream> #include <iomanip> #include <fstream> using namespace std; [/CODE] And it works with MinGW under XP. I want to compile the same code under Suse linux, but compiler said that for example: atof(), error() functions are not defined. The problem solved if I include …

Member Avatar for Narue
0
680
Member Avatar for kakashi_sensi

hi all; i always find answers for my problems here at daniweb, but this is my first time i post a question, so have mercy on me :) i have a jsp page and a huge scriptlet inside of it, the page adds new users to the application, so i …

Member Avatar for kakashi_sensi
0
226
Member Avatar for kesh1000

hi everyone. im currently working on a project where my scenario is that a company hired me to make programe for their company. what i need in my programe is [ICODE]I. Add/Update customers II. Add/Update products III. Add/Update salesman IV. Make transactions: Many products are sold to customers by salesman …

Member Avatar for javaAddict
0
133
Member Avatar for freemanirl

Okay, so I've been looking at this for quite some time. I think I know what the problem is, but my C++ skills are sad a best due to stuff like Java, C# and VB. So, I'm trying to pull information from the registry, and I have no problem getting …

Member Avatar for freemanirl
0
203
Member Avatar for Isaaac

In my ToolstripMenu, there's an item called Info, when u push that Item, i want a new firefox/internetexplorer/... form opend. The link is [url]http://www.jiict.be[/url]. I can't use linklabels, but i can't figure out code to past in the clickevent... Any suggestions? (would like to use the menutoolstrip...) Greetings..

Member Avatar for Isaaac
0
137
Member Avatar for rajayuvaraja

HI I am learning multi-threaded programming. I have written the following code to synchronize access to a common array by two different threads. One thread to fill values in the array while the other one reads values from that array. The array is placed as member of a class and …

Member Avatar for Ancient Dragon
0
200
Member Avatar for alabandit

i'm stumped... i get strange results from string[10:] to get the last 10 characters from a string? the code supposed to rename a batch of file sequentially and the number of numbers needs to be consistent eg. 00001 - 99999 thanks for the help [CODE]import os x=0 for file in …

Member Avatar for alabandit
0
260
Member Avatar for geoNeo_

Hi all! Hope you well! I have an application, most of it done and all fanx to the good guys and daniweb! :) I am curently using the setup project in VS2008 to create an installer for the application. In my code on I have the following: public frmMain() { …

Member Avatar for geoNeo_
0
2K
Member Avatar for ismael ahm@d

Hello Everybody... From last three days i m posting my queries but no one take it seriously, please if u people dont mind than plz help me.... i m be very thankful in future. In my database i have 6 fields and through html form i requested only three of …

Member Avatar for ismael ahm@d
0
92
Member Avatar for smariano77

Hi, this it's my problem. I have a textBox and a label. In the textbox an email address should be written. Then, when you click the label a inline popUp appears (this one to be more specific:[URL="http://orangoo.com/labs/GreyBox/"] http://orangoo.com/labs/GreyBox/[/URL] ) The thing is that I have to send the email address …

Member Avatar for smariano77
0
162
Member Avatar for jamdownian

After the user inputs idnum and password. If thats correct the loginwindow is suppose to minimize and the mainwindow is suppose to come up. The main window comes up but the login window wont go away. :icon_evil [U]login window[/U] [ICODE]http://i41.tinypic.com/15ceblf.png[/ICODE] [U]main window[/U] [ICODE]http://i40.tinypic.com/121v2bk.png[/ICODE] [U]my problem[/U] [ICODE]http://i43.tinypic.com/4sjvy0.png[/ICODE] [CODE] if (userName_login_window.Equals("1") && …

Member Avatar for jamdownian
0
116
Member Avatar for Pleasant Day

Hi, I'm a beginner with html and javascript, so I try and edit other peoples free codes, Ive got some input boxes and I want to change the colour of them, they are the default white, I want them transparent, there is no code I can see that says its …

Member Avatar for Pleasant Day
0
413
Member Avatar for MJFiggs

I have just started Python recently and for some reason, I cannot import anything on my computer. I can do it on the computer at my school, but not my laptop. This is the message I received when I tried to import the program "cTurtle" [CODE]IDLE 2.6.1 >>> import cTurtle …

Member Avatar for ultimatebuster
0
166
Member Avatar for ankita1

We have created an MVC web application in asp.net 3.5, it runs absolutely fine locally but when we deploy it on godaddy hosting server (shared hosting), it shows an error which is related to trust level problem. We contacted godaddy support and they say, that we only support medium trust …

Member Avatar for dnanetwork
0
405
Member Avatar for ebiemami

when i make a setup file of my project and install it on a computer there is no uninstall file in my application folder , and I can only unistall it from ADD\REMOVE PROGRAMS , why can i add that?

Member Avatar for blindprogrammer
0
2K
Member Avatar for GlaDiuS89

Hi guys. So, i'm suppose to make a translator, here's my form: [URL=http://img213.imageshack.us/i/12081833.jpg/][IMG]http://img213.imageshack.us/img213/6067/12081833.jpg[/IMG][/URL] When i press the middle button i have to check every word from left memo (MEMO1) and insert the translated word in the memo on the right (MEMO2). So my middle button has the following code : …

Member Avatar for daviddoria
0
450
Member Avatar for saji.ka

Dear All, I am new to PHP. I would like to include video (Flash Videos) in the website using PHP. Can u please help by giving the code. Saji

Member Avatar for MalikAamir
0
827
Member Avatar for PDB1982

I am having some trouble drawing a circle that is constant when the program runs. right now I am able to create one of my clock hands (that is going counterclockwise), but I can't figure out how to draw the circle of the clock..any suggestions? [code] Option Strict On Imports …

Member Avatar for Luc001
0
181
Member Avatar for furqan219

Its working PERFECTLY In IE6 But in Chrome Back Button is not Working. Code for Back button [CODE]<td><a href="lims_New_North.php"><img name="lims_pages_r5_c2" src="images/lims_pages_r5_c2.jpg" width="74" height="23" border="0" id="lims_pages_r5_c2" alt="" /></a></td>[/CODE] There is no Issue with Pagination above Back link not work in Google chrome but work in IE6 code Pagination [CODE=php]<?php /* Place …

0
121
Member Avatar for Akatosh

I have read in a lot of books that for every "new" you must use a delete....But in some books I have been currently reading they don't bother deleting their pointer to a class. I have read it is required at cplusplus.com to delete a pointer to a class but …

Member Avatar for WilliamHenry
0
141
Member Avatar for bmbvm5

A small ferry company has just purchased a computer for its new automated ticketing system. The company director has asked you to design the new system to assign seats for each trip of the 50-seater ferry, which covers the route from Penang to Langkawi and back daily. The upper deck …

Member Avatar for bitthu
0
194

The End.