199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Chowley

Hello. I cannot for the life of me figure this out. It was all running fine until i added another while loop for the directory part, same as the first one. Then i removed the loop and started getting this error. syntax error near unexpected token `fi' I have an …

Member Avatar for Chowley
0
540
Member Avatar for hanntaa

im using a JFileChooser to find a file from anywhere on the system and load it but i also need to be able to export the data within my program to an unknown location, how would i go about doing that?? is it simular to the JFileChooser? any help would …

Member Avatar for hanntaa
0
106
Member Avatar for serkan sendur

is there any vay to access iterator's index value without using another variable in the for loop?

Member Avatar for guest7
0
180
Member Avatar for zendet

lets say i had this int times cout<<"enter times you want to repeat"; cin>>times; ----> cout<<"Hello what age are you?"; cin>>age; <------- how would i get it to repeat this section of codes the same amount as the user inputs? but make it that if he input repeat by 5 …

Member Avatar for zendet
0
102
Member Avatar for joshjgordon

This is my first post here, but I have been using the forum for many months and up untill now has been able to answer all my problems without me actually asking anything. So thanks in advance for all the great work you guys do, you have been fantastic in …

Member Avatar for JasonHippy
0
144
Member Avatar for wdb07159

I am adding a usercontrol combo box to another usercontrol form and when I do this the program actually runs and goes to an initialise routine in a class and shows the error mentioned in subject. I have a collection of records and a new combo box and this is …

Member Avatar for wdb07159
0
303
Member Avatar for achiman

Hi please can anybody tell me if it is possible to write a code in php that will change the image being display on my website every second. In others I want three different images to display at my homepage but at intervals. Thanks

Member Avatar for achiman
0
104
Member Avatar for benkyma

I've got a database which is getting quite large and slow to query. I only really need the last month of entries for most situations so I'm looking to create structure-copies of two of my tables and then regularly move data from the 'live' two into the 'archive' two if …

Member Avatar for benkyma
0
75
Member Avatar for miguel1810

Hello DANIWEB! Haven't posted before... but find this site a good info resource... but I'm pulling my hair out with my php register code - don't know what I'm doing wrong... as the code i've written doesn't send on the site i'm working on... Here's the code [CODE]<?php if(!$_POST) exit; …

Member Avatar for shishtawitch
0
161
Member Avatar for Carrots

Hi, I would like to display an RSS feed from a website on my website, but I want to hand code a solution rather than use a widget. Basically this is a learning task I have set myself. My question is how can I load the RSS feeds into a …

Member Avatar for pritaeas
0
108
Member Avatar for Darth Vader

I am looking for how it is possible to calculate the difference in minutes for a date and time. This example will cover the problem. [B]20091118 18:15 20091125 01:35[/B] I know this is possible using Date functions and TimeSpan but trying to find examples but cant find an example of …

Member Avatar for Darth Vader
0
108
Member Avatar for shariqmsit

DRIEND FRIENDS, I am given a project "hospital administration database" Could you please guide me how to start and proceed. Thanks and Regards. Shariq

Member Avatar for smart77
0
83
Member Avatar for veledrom

Hi, I want to show the image as well as printing the id, name, time etc with it. How can I do it? First code prints all the data as it is without showing image. Second code shows image without other info. Thanks This code returns binary code of image. …

Member Avatar for programmersbook
0
221
Member Avatar for garyy

Hi, I'm getting the following errors in my php code. Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 18 Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 27 Any help much appreciated. Here is my PHP code: [code] <?php include("connect.php"); // How many adjacent pages should be shown on each …

Member Avatar for garyy
0
493
Member Avatar for ffs82defxp

Its not running [CODE]import math import os cls = os.system("cls") title = os.system("title Pythagorean Theorum Solver") def MainLoop(): cls print "Enter 3 coordinate plane points (x - y) format" print "" firstPair = input("--> ") SecondPair = input("--> ") MathPart() def MathPart(): '''structure of the formula: squareRoot of --> (x-y)^2 …

Member Avatar for vegaseat
0
143
Member Avatar for zhoufenglei

i have set "session.gc_maxlifetime = 10" in php.ini ,and is reboot apache service.but when i request the example pages after a minites ,the session is active still.the code is : [code] <? session_start(); echo $_SESSION['Login']; ?> <!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; …

Member Avatar for Da_Lawdog
0
114
Member Avatar for zendet

Hello, im doing a project and need some help. my project is have to make a program for 5 judges. at the start the first thing asked is how many competitors are there. then it asks the first judge what hes gives for the first competitior, then what the second …

Member Avatar for dkalita
0
81
Member Avatar for firefly91

When I include these 2 functions on a page I seem to get this error: [B]Warning: Cannot modify header information - headers already sent by (output started at /home/vmtgiqlm/public_html/fftest/encryption.php:43) in /home/vmtgiqlm/public_html/fftest/check_login.php on line 40[/B] I don't know why that would happen as these functions do not output any text. Anyway …

Member Avatar for firefly91
0
96
Member Avatar for hanntaa

Hey guys iv got this project to make an address book that has all kinds of functions and iv got them all working apart from one bit, it needs to be able to read a file when it opens as well as import other data from other files. The data …

Member Avatar for hanntaa
0
212
Member Avatar for palavi

Hi All, I am able to connect to the database from backend that is toad.But from the java application i can't . The error is from the line [CODE]Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@vrs1.india.mitey.com:1591:dapps");[/CODE] I am getting the following error: [CODE]Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7 at oracle.security.o3logon.C1.r(C1) at oracle.security.o3logon.C1.l(C1) at …

Member Avatar for palavi
0
256
Member Avatar for polegon

Script for register your web site to 3 SE: [CODE]<?php // The following code is required to properly run Web Human Emulator require("../../Templates/xweb_human_emulator.php"); // This script submit your site to 3 Search Engines // Google // MSN // Yahoo // for request more SE please write to humanemulator@gmail.com // ======================= …

Member Avatar for polegon
0
201
Member Avatar for prophetboy

Hi everyone I'm more than a little stuck and would appreciate a hint. I'm struggling to read files in a folder and then pass the variable to the following: </body> <OBJECT ID="MediaPlayer" width=320 height=310 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject"> <PARAM NAME="FileName" VALUE="video/RC Radio Controlled Model Airplane [from].wmv"> <PARAM NAME="AutoStart" Value="false"> <PARAM NAME="ShowControls" VALUE="true"> …

Member Avatar for johnvarenda
0
107
Member Avatar for laks_samy

Hi i am working in vb.net (vs 2005) i have designed my mdi form ribbon file (System.Windows.Forms.Ribbon.dll file ) its working fine but when i close my mdi form that time i got error error message Title "Windows32 Exception was unhandled" The system cannot find the file specified any one …

Member Avatar for laks_samy
0
83
Member Avatar for LisaJane

I have this program that is supposed to read part numbers from a text file. 101-110, 301-310, 501-510 and put them into a hash table. It will prompt for one of four algorithms to be used and then continue to load the part numbers. Everything seems to be working okay, …

Member Avatar for xaveri
0
5K
Member Avatar for Fire_Michel

i am making a program need 128 button when u click on button color of button change to red when you click it a gain it back to normal color is there a way to code one button and the other take the same function thank at all

Member Avatar for Fire_Michel
0
152
Member Avatar for love_dude1984

hi im trying to upload a file with the help of fileupload control. im using following code to save the file in to the database [code] upPic.SaveAs(Server.MapPath("Images/") + txtPrdId.Text.Trim() + ".jpg");//System.IO.Path.GetExtension(upPic.PostedFile.FileName)); [/code] the file gets saved perfectly..but when i try to display the same image somewher else, it shows a …

Member Avatar for Sals
0
133
Member Avatar for 21KristianN

Dear freinds i have a big problem!! i hope somebody can help me out.. The situation: I have a small application where i store customers and orders.. In my database i have a tabel called Customers and a tabel called Orders. These 2 dabases are joined on Customer ID - …

Member Avatar for 21KristianN
0
115
Member Avatar for m.a.u.

Hi all, We have a project about robotics, robotic arm. The robotic arm will be controlled by computer, and will send information at which position it is instantenously. According to the data that is sent from the robotic arm the simulation will happen. And I am responsible for computer part, …

Member Avatar for m.a.u.
0
102
Member Avatar for gitech

Hai Friends, Iam using swing application in my project with short cut keys to perform some action, it takes few seconds to process(retrieve data from server to client) ,when i press the shortcut key for three times means the action is performing thrice, i want to perform single action.is there …

Member Avatar for gangsta1903
0
92
Member Avatar for reza.adinata

Hallo all, I have a question for implementing Inheritance in C++. I think I miss the concept of inheritance C++ somehow, because the second class can not take the parameter from the first class.. I need to use a class Carbol and Carbol2. In Carbol2, I need to add a …

Member Avatar for programmersbook
0
121
Member Avatar for sam023

error_reporting(0) is used to hide error message..!! i want to hide server message but i what to show other error msg in place of server message..!! that can be possible..? Thanks,,!!

Member Avatar for network18
0
130
Member Avatar for manste

I am developing a software for a restaurant which is owned by my sister. I would like a functionality that will make her send all purchased items into a listbox,and afterwards which will calculate for the total plus VAT. Whereby, there will be another button which will print out a …

Member Avatar for manste
0
70
Member Avatar for blazted

I created a text box event handler to only allow my textbox to accept Numbers only. The Event handler works great and does not allow anything but numbers except when the form first loads and the character entered is non-numeric it then allows the first charcter to be entered can …

Member Avatar for Nick Evan
0
555
Member Avatar for nayal_dani

I am using two dropdown list and one GridView. I have taken two update panels. In first update panel i have placed second dropdownlist in which data is coming based on the value selected in the first dropdown list In second update panel i have placed gridview in which data …

Member Avatar for kvprajapati
0
701
Member Avatar for foxmulder

Hi! I am doing a C++-program which I have to use functions. The program is the following: Write a function that calculates the fuelconsumption, it takes two numbers, litres and kilometers, and gives the consumption in litre per 100 km. The functions must write on screen in main. Here is …

Member Avatar for Seten
0
140
Member Avatar for bejoy.baby

Hi i am trying to write a simple programme to allow the user to open and read data from a RS232 port on a medical equipment and save the data into text file. Iam not a techie. I am totally new to programming save a few projects in foxpro(lol.....yeah oldshool). …

Member Avatar for redback93
0
1K
Member Avatar for er.daljeetsingh

i have a datagridview with checkboxes in my window form and i want to sort my result with textbox without losting checkbox checked value. i place code in textbox_textchange() event. first i fill datatable with label click() [code] Private Sub Label8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label8.Click …

0
120
Member Avatar for Mattpd

Sorry, solved my own problem. [CODE] #include <time.h> time_t current = time(NULL); char date[11]; strftime (date, 11, "%m/%d/%Y", localtime (&current)); [/CODE]

0
71
Member Avatar for BrendaByrne

Hi, yes I'm a student with homework problems, but I am trying. I need to display various shapes in a picture box, and am trying to do so via a combobox that the user can select from. My problem is clearing a previous selection when a new selection is made. …

Member Avatar for BrendaByrne
0
114
Member Avatar for rel0aded911
Member Avatar for Ancient Dragon
0
81
Member Avatar for Valaraukar

Hi, I have created a generic linked list in which different objects can be added to a list as long as they inherit from my object class. My problem is this: I am able to add nodes and find nodes etc. but I can't figure out how to return an …

Member Avatar for GrubSchumi
0
134
Member Avatar for Xamas

I'm build a huge xml->mysql data importer ar parser from outer server. And I need a script example, what to do with big [CODE=PHP] $xml = simplexml_load_file('plane.xml'); if($xml) { for($lvl1=0; $lvl1<(count($xml->Trip)); $lvl1++) { for($lvl3=0; $lvl3<(count($xml->Trip[$lvl1]->Hotels->Hotel)); $lvl3++) { // Fill an array with the travel data $element['trip_id'] = (string)$xml->Trip[$lvl1]['id']; $element['description'] = …

Member Avatar for digital-ether
0
440
Member Avatar for nickora

has anyone installed wordpress on a joomla website and tried to integrate users? Im weighing up the pro's and cons of doing this to a couple of sites, I dont need the users to be integrated just yet, but it is something I think might come up in the future …

Member Avatar for digital-ether
0
152
Member Avatar for Darth Vader

Hi, I wonder what the way is to remove dublettes from a List. ? I have filled a List like this: [code] List<String^>^ List1 = gcnew List<String^>(); List1->Add("123"); List1->Add("124"); List1->Add("123"); [/code]

Member Avatar for Darth Vader
0
123
Member Avatar for murid

I try to create an forgot password application. in the application, in order to get user password, user must do some input. there is 4 input : Username, Name, Security Question, and Security Answer. [CODE]Try If TextBox8.Text <> "" Then kueri = "select Username, Pass, Nama, SecQue, SecAns from Account …

Member Avatar for Smith5646
0
111
Member Avatar for guest7

Hi, I have a 2 dimensional vector containing entries such as : 10X 01X 001 I merge two rows at a time and get a new row of elements. In other words, when i combine "10X" and "01X" i might get "001" but since "001" is already there i do …

Member Avatar for programmersbook
0
86
Member Avatar for lewashby

In the following program, I'M getting the following error message when I try to run it. [COLOR="Red"]TypeError: object.__new__() takes no parameters[/COLOR] [CODE] # Classy Critter # Demonstrates class attributes and static methods class Critter(object): """A virtual pet""" total = 0 def status(): print "\nThe total number of critters is", Critter.total …

Member Avatar for pythopian
0
551
Member Avatar for Longoro

Can someone help me with this please? I’m playing with a stat tracker, and with the code snippets below I’m trying to get the total result for each page stored in the database. The problem is that I get this warning when I run the script: [B]Warning: mysql_result() expects parameter …

Member Avatar for antonkejr
0
431
Member Avatar for "Alex"

For example Im trying to make the user input his name, last name, and salary and then make it display " First Name is" followed by what they put in as their first name "Last Name is" followed by what he put as his last name... and now im getting …

Member Avatar for Narue
0
133
Member Avatar for Stefano Mtangoo

I have afunction to retrieve data and it gives error. Please correct me! [CODE=php] public function getswachapter($book, $chapter){ //SELECT * FROM table1 INNER JOIN table2 ON table1.id=table2.id; //remember to sanitize inputs $sql = mysql_query("SELECT * FROM kiswahili WHERE Chapter = '{$chapter}' AND Book = '{$book}'")or die(mysql_error()); $limit = mysql_num_rows($sql); $query …

Member Avatar for Stefano Mtangoo
0
115

The End.