199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for raghu.8

hi I am creating travels project, in left part of my datagrid of my default page i placed all the products such as india tour ,world tour etc and if v click any product it will redirect to itennary page according to their ID's my problem is i inserted new …

Member Avatar for raghu.8
0
2K
Member Avatar for Venom Rush

Hi there I posted this problem in the php forum thinking the issue was something I had done wrong with my PHP but is now looking like a MySQL or possibly a technical computer error altogether: [url]http://www.daniweb.com/forums/thread108602.html[/url] Could someone please help me out.

Member Avatar for Venom Rush
0
75
Member Avatar for timhysniu

Hi guys, I am trying to find a solid optimization technique for my problem. I have two tables that grow quote large: [code] CREATE TABLE `mydb`.`xm_artist` ( `artist_id` int(10) unsigned NOT NULL auto_increment, `artist_name` varchar(255) NOT NULL, PRIMARY KEY (`artist_id`), UNIQUE KEY `index_artist_name` USING BTREE (`artist_name`), FULLTEXT KEY `fulltext_artist_name` (`artist_name`) …

Member Avatar for pritaeas
0
100
Member Avatar for dami06

Hi, I'm trying to upload a some files to a webpage im trying to crete but its giving me an error once i click the upload button it gives me this type of error [B]Uploading information to the system from a file Student data is being uploaded. DATABASE ERRORExecuting SQL …

Member Avatar for dami06
0
102
Member Avatar for tonylamb

Hi All, I seem to be getting an error with my code when running Intel C++ compiler via Visual Studio 2005. The error generated is "Expression:map/set iterator not dereferencable" I've given my code below in the hope that someone can spot the problem. [code=C++] set<stl_index>::iterator eit1, eit2=elmt_ids.begin(); bool non_consecutive(false); // …

Member Avatar for tonylamb
0
960
Member Avatar for niladri.user

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php echo"Your posted name is\t".$_POST['name']; echo"Your posted roll is\t".$_POST['roll']; ?> <?php $con=mysql_connect("localhost","root",""); if(!$con) { die("could not connect:".mysql_error($con)); } mysql_select_db("form",$con); [COLOR="Red"]mysql_query("insert into submit values('$_POST['name']','$_POST['roll']')");[/COLOR] echo"1 record added"; mysql_close($con); ?> </body> </html> error is …

Member Avatar for niladri.user
0
147
Member Avatar for KomodoM

Hi! I'm trying to program a monthly calendar.... but I can't get the weekdays for the nth day of the year right... my problem is written further down in the code... [CODE]from time import * class Calendar: '''Skapar en kalender för varje månad''' def __init__(self, year, month): self.year = year …

Member Avatar for KomodoM
0
117
Member Avatar for Darth Vader

Any ideas how this could be converted to a std::string(). So files8 will be converted to a std::string() [code] System::String ^ files8 = folderBrowserDialog1->SelectedPath->ToString(); [/code]

Member Avatar for vijayan121
0
112
Member Avatar for cranfss

(#143734) 915186754 SendMessage: sender 1, receiver 2, group 1000000000, type 24050, length 384, source 0 (#143781) 915248646 ReceiveMessage: receiver 1, sender 3, group 1000000000, type 24050, length 256, source 0 (#143658) 914941174 Collective: process 1, collective 11, group 1000000000, root 0, sent 0, received 0, duration 242440, source 0 (#143657) …

Member Avatar for vijayan121
0
137
Member Avatar for jetru

Hey, I'm working on a Paint program. I've never built a proper program before so I was wondering how I should go about structuring an actual piece of software. I'm trying to a make a simple paint application (like MS paint) using C++ and the SDL library. Right now, I'm …

Member Avatar for vijayan121
0
182
Member Avatar for Cyberpro60

Here is what I am trying to achieve: I have an access database with a table [GroupTable] with 3 fields [RecNo, Group, SubGroup] (Group & SubGroup use integers) I want, under program control, to populate a table adapter with a subset of all records eg I want to be able …

Member Avatar for hollystyles
0
224
Member Avatar for mark0420

can anyone help to create a program that is school-friendly. and can anyone plz make me a project just simple program that can make me famous in our school plz

Member Avatar for technogeek_42
0
188
Member Avatar for serkan sendur

hi fellas, I set timeout for some function but within that duration if something happens i want to quit timeout and execute the function. i dont mean i need clear interval. let say settimeout will call a function 1 minute later, but about 30 seconds after i noticed that something …

Member Avatar for DangerDev
0
108
Member Avatar for guest11

hi all, Please can anybody help me. I want to make installable of my project. I already make an exe of that project and try to make installabel through Package and Deployment tool from VB menu. When I click on Package and Deployment option it ask for selecting exe i …

Member Avatar for werks
0
78
Member Avatar for fskhan

Hello, Hi I Need To Flip The Bits In An Integer (not Toggle Them But To Actually Get A Mirror Image With Respect To Bit Positions). The Problem Is That I Am Taking An Input Data In Integer Form From A System But It Places The Msb At 0th Position …

Member Avatar for jephthah
0
3K
Member Avatar for htamayo

Hi, I'm trying to use a code that change the wallpaper automatically, but I obtain the next error: Line 18: Unexpected EOF while looking for matching `` ' Line 25: sintax error: Unexpected End of File I think the code line is: cnt=`wc -l "$temp_bg_list" | cut -f1 -d " …

Member Avatar for eggi
0
105
Member Avatar for ZenMartian

Ok, Folks.... Just trying to clean up some free php code I recently garnered :-) It came complete with a COMMENTS box, yet I really don't need it. Can anyone show me what needs to be deleted in order for the PHP form to continue working properly? I tried deleting …

Member Avatar for johnsquibb
0
195
Member Avatar for happyhappy

Hi, I'm trying to connect to a MS Access database on a server in PHP without having to use ODBC does anyone have any idea or know how. Please help? Thank you.

Member Avatar for happyhappy
0
113
Member Avatar for wollacott

A company pays its employees as managers (who recieve a fixed weekly salary), hourly workers (who recieve a fixed hourly wage for up to the first 40 hours they work and "time- and a half"-1.5 times their hourly wage-for overtime hours worked), commission workes (who recieve $250 plus 5.7% of …

Member Avatar for jephthah
0
133
Member Avatar for SaviourV

Sorry if this has been posted before, but I'm in a bit of a dilemma of sorts. Also, if this sounds rather unclear, let me know, and I'll explain things further with a few photos. Before I begin, I came across this thread, mentioned at [url]http://www.daniweb.com/forums/thread105907.html[/url] ...this had something to …

Member Avatar for SaviourV
0
238
Member Avatar for nandhinijp

hi, i want to add more details in one page.this is not server side details.just i am using only table to show these details.i want to divide these details in one or more pages in one page.Like page 1 2 3... in this place how to use paging.

Member Avatar for nandhinijp
0
83
Member Avatar for ebabes

I wish that when a user positions the mouse in a hyperlink, a set of sublinks will show up. It flips and flops as the user moves in and out the mouse towards it. How can I do this? Thanks. I really appreciate your reply.

Member Avatar for ebabes
0
97
Member Avatar for ebabes

I wish to display a MessageBox when a user had entered an invalid input in a textbox. How can I do this using C# as my script?

Member Avatar for ebabes
0
152
Member Avatar for Jaycii

I am trying to take my array of classes and add the values from one part of it together. I have everything ready but being able to add the parts of the array into a variable which I can use. Right now, I am using this to try and add …

Member Avatar for Jaycii
0
83
Member Avatar for Ankita B

hi, after i create a table using toad.im tryin to insert values thru sql but it says the given table does not exist.i cant find any commit button..what could be wrong???

Member Avatar for Jx_Man
0
154
Member Avatar for edchabz

I have a good idea what I am supposed to put but I can't seem to get it right. I have two different files, Server.java and Client.java. I want Client.java to call a method in Server.java. This is what I have figured out so far. public class Client{ public static …

Member Avatar for edchabz
0
153
Member Avatar for nurulshidanoni

How to cal the examid like i want to call 001 and count how many exam 001 clash with 002, 003, 004...? [code] // Filename : ConflictMatrix.cpp #include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; struct student { string studentid; vector <int> examcode; }; int main() { …

Member Avatar for nurulshidanoni
0
121
Member Avatar for gheibia

Hi, I'm quite new to Jsp. The web server is Tomcat 6 and I have a Jsp page that uses a servlet as following code shows. [ICODE]<form name='uploadSO' method='post' encType='multipart/form-data' action='UploadUnConfirmedSOServlet' > <table width .....[/ICODE] The Jsp page is located under a folder called "Shipper" under my application's root directory: …

Member Avatar for gheibia
0
223
Member Avatar for WhitePunk

i just wanna ask if it if possible to make columns n ms access and how... because i am making a personal data sheet thanks in advance more powers and God Bless You all

Member Avatar for MidiMagic
0
75
Member Avatar for flaco

am trying to make my forum work but it wont work I try to edit the config php but I get stuck any help guys I got the information but i just don't know were to put it [code=php]<?php /*======================================================================*\ || #################################################################### || || # vBulletin 3.6.8 Patch Level 2 …

Member Avatar for flaco
0
160
Member Avatar for atish00

Help me with the J loop itz suppose to terminate on hitting enter to pass on loop to the outer loop for incrementing row. I tried a[i][j]!=(char)13 but it failed. [code=c++]#include<iostream.h> #include<conio.h> void main() { clrscr(); int no=0,i=0,j,k,m,price[20]; char arr[20][50]; cout<<" ================================================================="<<endl; cout<<" Food on the run Restaurant "<<endl; cout<<" …

Member Avatar for atish00
0
87
Member Avatar for enigmaenigma

I am fairly new to python.I am currently using python scripting.My problem is,I have some txt files from which i need to extract only words(characters) and remove digits,new lines and special characters(like ----, []) and store it in a another txt file with a different name. Please help.

Member Avatar for enigmaenigma
0
84
Member Avatar for scm22ri

Hi Everyone, Can anyone analyze if this is the correct code for having words being "printed" onto your webpage without having to type them onto the page ? Thanks <%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> Protected Sub Page_Load(ByVal sender As Object, ByVal …

Member Avatar for scm22ri
0
136
Member Avatar for lerkei

does anyone know how to randomize a frame, the whole frame including the textbox and labels in it...i tried a code but didn't work. i copied the frame and assigned it as index (#)...and also the textbox and labels...

Member Avatar for angelheart
0
82
Member Avatar for atish00

How to make c++ fullscreen (sort of) in vista :- [URL="http://img167.imageshack.us/img167/4783/45870184ss2.jpg"]http://img167.imageshack.us/img167/4783/45870184ss2.jpg[/URL] Your screen should look like this :- [URL="http://img518.imageshack.us/img518/6136/sshot3td7.png"]http://img518.imageshack.us/img518/6136/sshot3td7.png[/URL]

Member Avatar for atish00
0
287
Member Avatar for nschessnerd

Hey, Im modifying a program i wrote in vb2005 [express] in vb 2008. My computer runs vista 64bit and ive had problems with 2008 where the program wouldnt run on a xp x86 computer. I ended up having to write that program in c++. Has anyone had that problem before …

Member Avatar for nschessnerd
0
53
Member Avatar for xceed

Hi guys look at this. [b][url]http://1.fabriconengineers.com/index.php[/url][/b] Look at the menu [url=http://img517.imageshack.us/my.php?image=beforenv8.jpg][img]http://img517.imageshack.us/img517/8615/beforenv8.th.jpg[/img][/url] [url=http://img248.imageshack.us/my.php?image=afterur5.jpg][img]http://img248.imageshack.us/img248/460/afterur5.th.jpg[/img][/url] after i add image in the menu it says = Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/fabricon/public_html/1/menu.php on line 97 How can i solve this??? Please help. Script Download Link. [code]http://rapidshare.com/files/90603607/yourownbux_base.zip.html[/code]

Member Avatar for fenixZ
0
1K
Member Avatar for daplayer321

Can someone please alter the following code to include pagination, iv been doing this for 2 days but cant get it right. <?php session_start(); if (isset($_SESSION['username']) == false){ header("Location:login.php"); exit(); } require "connect.php"; $sortby = $_GET['var']; $query = "select * from form ORDER by $sortby"; $result = mysql_query($query, $connection) or …

Member Avatar for Yproc
0
116
Member Avatar for JackieW

I am relatively new to asp, and need some help. I have a form that a drop down box is dynamically populated with TeamNames, and this works. I then pass this information, via a submit button (action=get) to another page that I want to show the Team Name, then list …

Member Avatar for SheSaidImaPregy
0
97
Member Avatar for dami06

Hi, I'm trying to create a separate usernames with the same login page using php and MySQL. I have tried adding different things to my login code for it to work but no progress. Basically i want to create something like this: A staff would be able to have a …

Member Avatar for fenixZ
0
176
Member Avatar for ankit_the_hawk

I am starting to develop a calculator in C++ which accepts the expression in the form: 2+3 or 2/3 ,etc. ( for the time being, only two operands and one operator) Once i get that done, I will begin the process of continuely expanding it :) The problem I am …

Member Avatar for TimeFractal
0
131
Member Avatar for wolih

Hi. I'm new user in ubuntu and I like very much the glade interface designer. I designed my first app and tryed to run it from python with this script: [CODE] #!/usr/bin/env python import sys import pygtk import gtk import gtk.glade class MainWindow: """ This is the main window """ …

Member Avatar for wolih
0
137
Member Avatar for Mr.Wobbles

i have this code to check and make sure that I wont be inserting duplicate records into my table. i take whatever is in the dr variable and if it is 0 then I go ahead, if not I don't do anything with the variables, I am using Excel, and …

Member Avatar for Mr.Wobbles
0
103
Member Avatar for smyhmsg

I want to call a perl script from inside another perl script, but everytime I run it, a cmd window pops up, even if I close all the I/O handles. Is there any way to avoid the cmd window to popup in perl? I want to avoid annoying windows to …

Member Avatar for KevinADC
0
102
Member Avatar for CBLACK10

I am working on an application that has a menu window with 2 buttons for menu options. I would like the application to function in the following way. When a menu option button is clicked, the menu window disappears and the window for the menu selection appears. When the close …

Member Avatar for new_2_java
0
113
Member Avatar for bob on whidbey

I've created a playing card descendent of TCustomControl and I want it to have rounded corners. The card is displayed in a Paint procedure where I determine the bitmap and then use a Canvas.Draw(0, 0, FCardBMP); This approach works well except - no rounded corners. Setting FCardBMP.Transparent := true; doesn't …

Member Avatar for Duoas
0
150
Member Avatar for fudawala

I need help in writing a C++ class definition called SIMPLEST_GRADES which will evaluate the students performance. It will take the three exams of four students and takes its average of those three exams. Can you tell me what I can do to fix this program or do I have …

Member Avatar for vmanes
0
89
Member Avatar for shreevidya

hi i am learning to work with mysql and c. i want to select a particular row from database which must be equal to a variable and the variable should be given by user.the program is in c where i use c api to connect sql database. how to join …

Member Avatar for gerard4143
0
98
Member Avatar for nirmalarasu

Hi, Iam look looking some standalone python package for both in windows and linux. In windows py2exe tool serving my purpose,is there any similar tool i can find in linux.? Though most of linux machine having python installation,but some customized linux machines are not having python.If some body suggest me …

Member Avatar for G-Do
0
2K
Member Avatar for new_2_java

Hi all, I am writing my first servlet, and facing some troubles. I have my servlet: [code] package com.example.servlet; // other imports... public class Hello extends HttpServlet{ public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{ res.setContentType("text/html"); PrintWriter out = res.getWriter(); String name = req.getParameter("name"); out.println("<HTML>"); out.println("<HEAD><TITLE>Hello, " + name …

Member Avatar for new_2_java
0
552

The End.