199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tarunfuture

Hello Friends How can i update the textbox values with new values when i have already values in textbox in php

Member Avatar for tarunfuture
0
149
Member Avatar for Hawk123

i want my order id to be autoincremented and stored in textbox and when i hit click, it gets stored in datagridview, so i can save my order in bulk from datagridview again. my code have some issue [CODE] 'i put this on formload (order page) Dim order As String …

Member Avatar for M.Waqas Aslam
0
428
Member Avatar for JukesK

bit of a coding dilemma here.. If i have a php page (list.php) that works on its own when browsed to or put in Iframe, why would it not work correctly when the contents are either <?php include("list.php") or the code put directly into the index.php page The iframe version …

Member Avatar for JukesK
0
154
Member Avatar for cl2020

I have a palindrome set up in the system, and running fine. However, when I type "never odd or even" or "A Man, A Plan, A Canal, Panama", it didn't run properly as if these words in quotation marks are considered palindromes. Where is the loophole on my code re: …

Member Avatar for youjean
0
337
Member Avatar for pwolf

Is there something wrong with this code i wrote? i get the feeling i made a mistake and cant quite recall what, its quite frustrating. The function is supposed to determine the dimensions of a matrix and if it is, or is not, a valid matrix ( for example, if …

Member Avatar for pwolf
0
214
Member Avatar for jbutardo

Hi, I have this code that will import the excel sheet to the datatable then inserts it in the database, but I have this problem. I have set the HDR to yes so that the first row will be considered as its header, but the problem now is that if …

Member Avatar for jbutardo
0
942
Member Avatar for jbutardo

Hi, I'm having a little trouble about message box, Since the website has been deployed in the IIS, the msgbox won't work anymore, Now I need a new alternative to create a message box that could also have a validation, something like if msgbox("do you want to save this?", msgbox.yesno) …

Member Avatar for jbutardo
0
332
Member Avatar for jbutardo

Hi! I just have this program that validates if the selected file is an excel file, and I want this to have a separate function for validation so I can use that function to other program, can you please give me an example on how to do this function.. Thanks

Member Avatar for jbutardo
0
287
Member Avatar for pwolf

I have the task of writing a function to determine the outcome of a game of tictactoe, i at first thought use a couple of for loops but that proved pointless, and then the only way i could think of was to write an if...elif...else statement for each row, column …

Member Avatar for woooee
0
310
Member Avatar for nickliutw

I'm writing a program that compare two objects'distance. I already implements the comparable class to my distance. I also override the compareTo() method. So far it does not give me a compiler error, but I have a logic error. I have been try to search where my error occur, but …

Member Avatar for nickliutw
0
5K
Member Avatar for vigneshkbv

Hi All, I Got a issue when i restore the tag property value in datagrid. In my form having two text box and a button called add. i can able to add text box value into datagrid using bindsource class. PFB [CODE] EmpList se= new EmpList(textBox1.Text, textBox2.Text); bindingSource1.Add(new EmpDetail(se.one, se.Two)); …

Member Avatar for vigneshkbv
0
276
Member Avatar for reynaud0000

Hi guys i need a little help fast i have a calculator and its giving me some problems This calculator reads from a text file the result shows in the terminal but its giving me some troubles For one only the + operator works I cant use the overflow function …

0
146
Member Avatar for ttback

I spent about 4 hours trying to make PMD being able to validate my Java code but XPath proved to be very painful to work with when developing fairly original custom rules. My rule requires me to apply them only to methods without 'get' as part of their name. In …

0
295
Member Avatar for DonnieT2

Hello all! I'm currently enrolled in an Algorithms course at my local university and have a question over an assignment. Here is the assignment: Assignment 1 1. Give a big-Oh notation, in terms of n and m, of the running time of the following procedures, including your explanations: a. Procedure1(n) …

Member Avatar for DonnieT2
0
342
Member Avatar for mrabrar09

Hello friends I'm working asp.net application on windows server 2003.I have upgrade the application from .net 1.1 to .net 2.0 first I'm getting few warnings and every thing is working fine but last few days site getting crash due to the exception mention below.I'm not good at server related things …

Member Avatar for mrabrar09
0
587
Member Avatar for sharathg.satya

I saw this example while i am searching about vectors.. [CODE] vector<double> student_marks; // no size specified: vector contains // no elements int num_students; cout << "Number of students: " << flush; cin >> num_students; student_marks.resize (num_students); for (vector<double>::size_type i = 0; i < num_students; i++) { cout << "Enter …

Member Avatar for sharathg.satya
0
118
Member Avatar for Tcll

hey... I can't seem to find any tutorials that only use PyOGL... can anyone help out?? also... I found an early thread asking the same Q, where vegaseat mislead someone about OGL back in 2008... :P I just thought I'd point out OGL development is actually thriving, but it's code-base …

Member Avatar for Tcll
0
1K
Member Avatar for reynaud0000

Hi this my first post here XD Its like this i have the code writen but it gives me this error Segmentation fault (core dumped) Can anyone tell me why? [code] MAX_BUFFER equ 10240 ; Constante que sera' usada como tamanho maximo de cada linha lida do teclado (10kb) FICH_ABERTURA …

Member Avatar for Ancient Dragon
0
290
Member Avatar for jonnyboy12

Hello all. I have a question with no code because i'm a beginner at mfc and find it very confusing. I can see that there is a message loop in mfc. From what i understand it is like an event in windows form applications. In my mfc application i want …

Member Avatar for Ancient Dragon
0
218
Member Avatar for Kaderith

I hope someone can help me.. I'm taking a course in programming with java and I have an assignment which is just killing me. I've been visiting the Blackboard page for the class and looking at other questions asked for help from other students in the class having similar issues, …

Member Avatar for sreearun
0
3K
Member Avatar for Sinnocence

I was wondering if anyone could tell me how to save a html page to a website's filemanager labeled as .html so that it would be searchable. Like a wiki. for example: print "<html>" print "<title>python</title>" print "<body>" print """<h1> I would Like to save this page as http://www.mysite.com/python.html</h1>""" print …

Member Avatar for Sinnocence
0
374
Member Avatar for mt1

Hi all, I've recently started developing a WPF application with Kinect, and I'm looking for a menu system. I came across this: [url]http://www.codeproject.com/Articles/197132/Simple-WPF-Page-Transitions[/url] Which I have edited slightly but it's not quite what I want. The problem is that if I have a button on UserControl1 which when pressed triggers …

Member Avatar for lxXTaCoXxl
0
138
Member Avatar for azlanaziz

Hi i'm unable to do multiple update (using Ms Acess because of restrictions). I try to do through ADO method (also because of restriction , x ODBC). The operation will break when reaching the script to update on the second page. Can you guys point where did i went wrong? …

Member Avatar for azlanaziz
0
271
Member Avatar for gennesis

I Could not understand what is happening on my code. When i try to send an email to another email address it keeps on sending on my gmail account. eg. From:xxx@gmail.com to: [email]yyy@yahoo.com[/email] The email which supposed to be sent on [email]yyy@yahoo.com[/email], instead it send to [email]xxx@gmail.com[/email]. here is my …

Member Avatar for gennesis
0
189
Member Avatar for Mouche

Hello. I wrote a program to convert decimal fraction values into binary fractions. I seem to be running into some floating point accuracy problems. After multiplying a floating point number by 2 over and over, eventually the number becomes corrupted. Since I'm multiplying so many times, I think the error …

Member Avatar for Mouche
0
244
Member Avatar for jcarbillon
Member Avatar for jcarbillon
0
102
Member Avatar for ihatehippies

I've been working with python's SocketServer.ThreadingTCPServer a bit and I'm having some difficulty making a publicly available server. Everything works fine when I set the server address as 'localhost' [CODE=python]self.server = SocketServer.ThreadingTCPServer(('localhost', constants.cmdport), Handler)[/CODE] As long as the both the server and client are on the same computer and both …

Member Avatar for ihatehippies
0
7K
Member Avatar for tap3ah

I'm trying to write a bash script that converts html file into latex file by processing each line with sed. I'm stuck with following issue: I need to replace [ICODE]<a name="[I]something[/I]">[/ICODE] with [ICODE]\index{[I]something_else[/I]}[/ICODE]. I have an associative array with key-value pairs like this: [ICODE]"[I]something[/I]" => "[I]something_else[/I]"[/ICODE]. However, there are 2 …

Member Avatar for tap3ah
0
194
Member Avatar for rizzi143

HI ALL, well i am writing a program for quick sort but with some changes. The following code sorts the integers but i need it to show the sorting process in each steps.i.e. for example: Initial List: 5 -> 9 -> 2 -> 9 -> 7 -> null Level 0: …

Member Avatar for hfx642
0
236
Member Avatar for triumphost

The below code is what I have.. It's a custom type I made called Points that stores co-ordinates on the screen.. The problem is in the PointsArray Struct. When I declare one like so: [CODE] PointArray P; Point A(10, 5); for (int I = 0; I < 5; I++) { …

Member Avatar for triumphost
0
291
Member Avatar for RASHIDDDDD

hooow thiiis programm can be done by the method of SUB-PROCEDURE???? [CODE]Public Function fact(a As Integer) Dim i As Integer Dim f As Integer f = 1 For i = 1 To a f = f * i Next fact = f End Function Private Sub Command2_Click() Dim a As …

Member Avatar for BitBlt
0
93
Member Avatar for Vampiricx3

Hey guys, I'm here to ask you a question. I have a constructor to get the highest ID (first int) from my Employee data file (int string string string int double), but I have no idea on how to actually display it within my JTextField, with a +1, so I …

Member Avatar for NormR1
0
126
Member Avatar for SaimaAsif

Please help me its urgent... I have a MSDN Queue class, I need your suggestion can I make a message class and enqueue its objects as an element. [CODE]// new.cpp : main project file. #include "stdafx.h" #include "message.h" using namespace System; using namespace System::Collections; void PrintValues( IEnumerable^ myCollection ); void …

Member Avatar for SaimaAsif
0
238
Member Avatar for swaleh_sundus

my code is printing directly to the printer but i want to see the preview [CODE] Dim vlineCount As Integer Dim vpageCount As Integer Dim SN As Integer Dim sqlp As String vlineCount = 0 vpageCount = 1 SN = 0 '//NOTE : Report file name should never contain blank …

Member Avatar for ChrisPadgham
0
435
Member Avatar for dashawk

I have been searching this topic over the internet and found a few solutions, but I can't seem to find any for Visual Basic. I tried json from codeplex, newtonsoft but has no luck... the json data that i want to parse is this [CODE]{"sample":[{"id":"1","fname":"kristine","lname":"reyes","address":"manila"}]}[/CODE] hope anyone could help.. thanks

Member Avatar for gusano79
0
600
Member Avatar for suraj_p

I have to find out how many times the [CODE]createPerson()[/CODE] function is called This is my Main.java file [CODE]import java.io.IOException; public class Main { public static void main(String[] args) throws IOException{ int i; Student[] totalStudents = new Student[10]; Student.create3Persons(); Student.create2Persons(); } } [/CODE] this is my student.java file [CODE]import java.io.*; …

Member Avatar for Philippe.Lahaie
0
524
Member Avatar for rbrewer_phca

I'm using VB.NET and ASP.NET in VS2005 to create a web application that has some very similar code in five different webpages. This code enables/disables various controls depending on the actions allowed in the current page. I would like to consolidate this code into a subroutine in a class.vb file …

Member Avatar for rbrewer_phca
0
151
Member Avatar for asif49

Hi, I am reading from an XML file where the structure of the file is like this: [CODE] <item> <title>This is a title</title> <description>Description.</description> <link>Link</link> <media:content width="60" height="50" url="http://www.someurl.com"/> <media:content width="150" height="80" url="http://www.someurl.com"/> </item> <item> <title>This is a title</title> <description>Description.</description> <link>Link</link> <media:content width="60" height="50" url="http://www.someurl.com"/> </item> [/CODE] I am attempting …

Member Avatar for asif49
0
157
Member Avatar for thes0mething

Hello everyone on daniweb!:) I'm trying to make a programme which will move a picture to the sides when pressing the right or left arrowkeys. I did successfully put a picture in and I was able to change the side coordinates(called "side" in the programme) to make the picture move. …

Member Avatar for Ezzaral
0
1K
Member Avatar for Ziggy713

Hi Everyone, I am currently Building a Stock Control System for a School Project and Using access 2007 with Visual Studio 2010 to build the VB. I am trying to use an INSERT INTO SQL Command to insert new stock items into my Access DB. I am getting an error …

Member Avatar for Reverend Jim
0
183
Member Avatar for MARKAND911

I am having a table named "Society" And 5 master tables "BlockA","BlockB","BlockC","BlockD","BlockE". The "Society" table contains the foreign key columns of all the 5 master tables. Now when i write the select query it takes a lot of time to execute, as 5 tables are referencing one table and joining …

Member Avatar for BitBlt
0
146
Member Avatar for vishalonne

Hi I am writing one simple program for upgrading my knowlegde from C# to Java but I am failed to attach ActionListener to JComboBox which is added to a cell of JTable at run time. Actually I want to perform update operation and delete operation on selecting Update or Delete …

Member Avatar for mKorbel
0
217
Member Avatar for edpfister

So I've looked for an answer to this question on the web but couldn't find anything that covers this specifically. Our database stores the project version in the format #.#.# (Rev_#) so there is both text and numbers in the string. I have no control over the data so I …

Member Avatar for BitBlt
0
1K
Member Avatar for Aphrite

I got an assignment to create a program to sort 10 students' data by grade (and if they have the same grade sort by name) using selection sort only(can't use any other method) in an ascending order. My problem is I can sort their grades using selection just fine but …

Member Avatar for BobS0327
0
186
Member Avatar for sharathg.satya
Member Avatar for DeanMSands3
0
178
Member Avatar for Johan__

hello. [CODE]Public Class GasPump Private name As String Private quan As Double Private prequa As Boolean Private total As Double Private YN As String Private Const RegularPrice As Double = 13.08 Private Const PrimePrice As Double = 13.56 Public Sub Start() Readinput() Calctotaltopay() Printrecept() End Sub Private Sub Readinput() Console.Write("What's …

Member Avatar for Johan__
0
153
Member Avatar for paulhook

This is a code snippet for the page i am getting the variable $title from [CODE]$title = $this->row->title; // at this point in the script if i echo $title the correct value is stored. ?> <form name="passvalue" action="myscript.php" method="POST"> <input type="hidden" name="title" value="<?php echo $title;?>"> </form>[/CODE] This is a code …

Member Avatar for paulhook
0
135
Member Avatar for N.M.VIVEK

Hi every one this is vivek.I want a projent in oops which should be different it should be totally object oriented and i am getting confused what to do for my project.Please its urgent.Please give me some idea note:- only c++ should be used for coding

Member Avatar for thines01
0
125
Member Avatar for sharathg.satya

i saw that we should not use the combination of new operator and free for allocating and deallocating memory in c++.. Is this right? is there any reason other than saying that the combination is calloc/free and new/delete? please help me.. thanks in advance

Member Avatar for deceptikon
0
183
Member Avatar for rvk.kasi

Hi, i need a jewellery management system web application in php. can anyone help me please reply in this thread.. Eagerly waiting for your replies..

Member Avatar for Ezzaral
0
130

The End.