199,114 Archived Topics
Remove Filter ![]() | |
Hi, I'm a newbie to python. I'm going through the wonderful 'how to think like a computer scientist tutorial' and I've come up with a question that I'm not sure how to get it to add the results at the end. Here's the question and my working so far :) … | |
I have a table that has become corrupt and I need to merge the records back into one record. I have multiple records that should be recombined and I have hit a brick wall on this. In my table the data looks like this part_id Unique c_date m_date Qty ht_num … | |
I've got this javascript toggle array script. It was working and I don't know what point it broke, but I am having trouble getting it working again. The code below is linked in an external .js file: [code=javascript] function toggle(showHideDiv, switchTextDiv) { var ele = document.getElementById("showHideDiv"); var text = document.getElementById("switchTextDiv"); … | |
Hi guys I am using a ModalPopUpExtender with a GridView and it´s working corretily. I Click in the "Select" collumn to open the ModalPopUp to view the data of the colluns. In the panel I have a "Save" button and the routine to save the data is not working actually … | |
Hello - I am trying to catch a NumberFormatException using the code below. However, even though it does perform the System.out.println() in the catch statement when a non-number is entered, it still "blows up" displaying the NumberFormatException with all of its accompanying messy messages in the console. I thought I … | |
Hey guys! I was writing a program that had an infinite loop, [ICODE]while (1)[/ICODE], and within that loop was an if statement checking to see if a certain amount of time had passed. If it did, it would print out something, if it didn't, it would print out a [B]'.'[/B]. … | |
I'm all hosed up...most of this is pretty new to me, so please forgive my terminology. I'm using scriptaculous for the DnD stuff. Using AJAX I'm returning a variable from the server. The variable can be verified using alert(variable), but when I pass the variable as an argument it isn't … | |
Hi, I am using VS .Net 2003. I had created the Crystal Reports and running on machine fine. Now i want to create setup using InstallShield to deploy it at client side. I had included dll's for Crystal Reports in my project. But when i include that dll in setup … | |
Hi. I'm programming in Borland C++ Builder v. 6.0. I'd like to know where could i get a Directory Dialog component. Thanks in advance. | |
Hi all, i'm newbie in vb, and i wanna learn a lot from u guys, i try to run this code, [code] Dim linetext As String Private Sub open_Click() CommonDialog1.Filter = "Text files{*.txt)|*.txt" CommonDialog1.ShowOpen If CommonDialog1.FileName <> "" Then Open CommonDialog1.FileName For Input As #1 Do Input #1, linetext Text1.Text … | |
Hi everyone I have a question but I don't know if it can be done in python. Ok so this is what I want to do: I have two scripts [code=python] string = "hello world" [/code] and [code=python] def output(): print string [/code] Now what I want to do is … | |
i have to print 1 3 2 4 5 i the input output should be 1 3 2 4 5 4 5 6 9 9 11 15 20 26 i am getting a weird output my code is [code] import java.io.*; class nik1234 { public static void main(String args[])throws IOException … | |
Hi all. I need help to write a code which will count the number of words of 3 syllables. I've been able to write the code for counting number of words, and counting number of syllables in a text. However I have tried and written a code for the above … | |
I'm trying to create a 3D vector with dynamic vectors of char. I mean like this: 3dVect is only [U]one[/U] 3D vector 3dVect[0][0][12] 3dVect[0][1][5] 3dVect[1][0][6] 3dVect[1][1][9] 3dVect[1][2][8] ... this mean: 3dVect[0][][] consists of 2 2D vectors, and the 2D vectors have different sizes. I have read the thred [URL="http://www.daniweb.com/forums/thread136351.html"]http://www.daniweb.com/forums/thread136351.html[/URL] and … | |
guys i need a richtextbox which will show the data from database but when user want to add additional text, it will only allow the user to append text to the end of the last character. have you seen anything like what i say? | |
Hi I'm new to C# and ASP.NET. Do you know any advanced website tutorials? or downloadable ones? Thanks (^^,) | |
Hello friends.. Help me out..!! this is my Procedure..which working fine in mysql...!! [code] DELIMITER $$ DROP PROCEDURE IF EXISTS `myp`.`insert_1`$$ CREATE PROCEDURE `myp`.`insert_1`(gname varchar(30),userid int,classtype int ) BEGIN if exists (SELECT * FROM 0_groups where groupName=gname AND USER_ID IN(userid,'0')) then SELECT 1 as error; else insert into 0_groups(groupName,classType,user_id)values(gname,classtype,userid) ; … | |
For the life of me I can't get the current date to insert into my table. I would like a "submitted date" to be stored upon the creation of the record. I've tried countless different ways to achieve this and every time I get no results in the table, just … | |
i want to play custom sounds when doing MessageBox.Show("something"); how is it possible? thanks. | |
I need an example on queue implementation in java | |
I have 2 tables: a claim table and a corresponding date table. There can be multiple dates for each claim, with a qualifier type to distinguish them, and I'd like to retrieve them all in one row. Here's a snippet of what I have: [code=sql] SELECT d.PointerField , a.ApplianceDate b.AccidentDate … | |
I have a datagridview that is filled from a database. I filled a datatable and assigned it as the datasource to the datagridview. I want to be able to select a row from the datagridview and hit a delete button and it be deleted from the database. What would be … | |
Hey guys, Is it possible for a J2ME application to access the devices phonebook? I've been googling but nothing much as turned up. John | |
Ok I posted before and you were guys were great, but when I added the fix it cause more errors, can you guys check this and let me know what is wrong with it please. Page 1 [ICODE]<?php require("./copyrightChecker.php"); $crCheck = "Your_Copyright_Goes_Here"; if ( CopyrightChecker($crCheck) == COPYRIGHT_IS_VALID ) { } … | |
Hi there. That's my first thread here. Maybe my english level is not good as yours coz i'm from Spain xD First of all, I have a constant string which has a thousand of chars, with no empty positions, only characters. And I have to find repetitions of 6-letter and … | |
I have some texts in my database. Each text has its own id. My job is to print all texts to a website and add a button to each text. Button will delete appropriate text from the database. So, I created a for loop so I can print all texts … | |
Hi! As you can see from the title I´d like to know where i should start if i´d like to become a game "programmer". Which skills are requiered, and where to find them, and if there are any free "tutorials", on the web. Thanks P.S. this is my first post … | |
Write a JAVA program that will input the base and power and display the result: Example: Base is 4 Power is 2 the answer is 16 42 = 16 Base is 2 Power is 5 the answer is 32 25 = 32 Base is 0 Power is any no. the … | |
I am working on a ftp client program and i wana know how to save password without creating a text file. If its possible to achieve this using xml or any other method please show me how. If u have a project or sourcecode on this please upload it in … | |
I'm trying to install SQL2008.AdventureWorks_All_Databases.x86.msi, but whether I try to install "Sample Files" or "Create AdventureWorks DBs", I keep getting the following error: PrepInstance() failed for MSSQL$SQLEXPRESS. The following features are missing: Full Text Search I already have installed on my PC: Microsoft SQL Server 2008 Microsoft SQL Server 2008 … | |
please can you help me to translate this code from c to c++ /*************************************************************** Program describtion : ===================== This program is for creating a Lexical Analyzer in c Created by : ============= CoMPuTeRQ8 kuwait university Major : COMPuTeR-SCIeNCe *****************************************************************/ /**************************************************************** Necessary Header files used in program. *****************************************************************/ [code=c] #include<stdio.h> #include<string.h> … | |
I am trying to customize my sorting of a LIST using a compare_function, but for some odd reason it keeps giving me the following error: error C2064: term does not evaluate to a function taking 2 arguments Specifically, I have list created within class B which needs to be sorted, … | |
can you help me make a typing game of falling letters(randomly), and as the player presses the key of the letter, the letter being pressed will vanish and points will be gained by the player. Thank You. | |
Hi, I have written this code to generate the maximun number from a number of coloumns (say 4 coloumns) in a list. The code is not handling negative number well and so keep generating the negaive number to be greater eg -8 > 5 which is wrong. Why is this … | |
Hi All, I work on a software package that prints checks, among other things. I want to verify that a particular font is installed on the system before I allow the print, because if its not there it defaults to Wingdings, and checks don't quite look right with Wingdings :) … | |
hello,i want to display RTF (rich text box content)in crystal report,how i do ?i have a filed in db (sql 2000) that rich text box content stored in with image type,how display it in crystal report ? | |
![]() | Hey guys, I have some Java code here, which checks whether a word is present in a sentence or not: [CODE]import java.io.*; class search_arrays { static void search()throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter a sentence: "); String s=br.readLine(); s+=" "; String[] x=new String[s.length()]; int a=0,b=0; for(int i=0;i<x.length;i++) { … ![]() |
Hi I want to write program , part of this program show to me form , this form has multiple picture Box and when I click on picture Box ,the program will show small form that it show information by label this form takes information from Dinamic array(the user determine … | |
Hi How to get local disk ( c:\ or d:\ ) used space in windows. Any API ? | |
Hi all, I have a program which connects to sql and uses crystal reports. I have many records and crystal reports takes a while to load up. Would multi threading help improve performance? Here is my code: [code]Private Sub EmpLog_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim … | |
I'm currently building a VB.net Application and I'm having a problem on reading out records to use in making another record or for computations. For example: table A records will be read and will compute an output to be saved on table B. Tried to use reader on this but … | |
Hi, I am developing a webapplication in Visual Studio-2008(AsP.net/C#). I am trying to integrate my webapplication with webservice.The webservice is such that it will put all my request in asynchronous mode. My webapplication, I am sending a mail with Cc and Bcc fields, for the body of my mail I … | |
Hello. I'm starting to have a headache at solving this. I work in Eclipse IDE and run the project on tomcat server. What i do is this: i have a form, like this: [code=html] <form method="GET" action="http://localhost:8080/BookShelf/ComputeSearch"> <p>Book <input type="text" name="book" size="7"/></p> <p>Chapter <input type="text" name="chapter" size="5"/></p> <p>Verse <input type="text" … | |
I m selecting the folder & playing all the files in the media player, of that folder. As u know folder contains all types of files including text,zip,image & so on. So I want that when URL that is assigned to Media Player is .txt,then i assign any default image … | |
Hi All, My requirement is like this.It a part of a software devlopment team as i am devloping a tool its a part of it. Its bit long but my explanation is clear to get it. 1)we need to read a data file using a description file. Usage: programname <description_file> … | |
[code]<?php //The code is for selecting all patients records in the database where a particular month and year //This selects the database and connects to the database require_once('Connections/Database.php'); mysql_select_db($database_Database, $Database); if (!$_POST['monapt']| !$_POST['yearapt']) { die('You did not complete all of the required fields,<a href="monthlyrecords.html">Back to previous page </a>'); } $a=$_POST['monapt']; … | |
Hi all, I am using SQLbulkCopy to transfer source data to multiple destination tables of SQL server 2005. I want to show the user - log file (text format) which data are transferred and which are not...how? please suggest! thanks jeet | |
![]() | Hiya, Just curious as to what scripting tool you may use for creating vbscripts. Just curious...I do most of mine using a text editor, but I'd be willing to check out other resources. Anyone have any recommendations? |
I wish to collaborate with someone who can write a program that would sort a large array [15x15] based on criteria other than alphabetical or numerical order. I am very new to C++. | |
i have a file, say , abc.log which contains data like, [code] 123_1 123_2 123_3 123_4 123_5 123_6 123_7 123_8 123_9 123_3 123_5 123_3 123_7 123_6 123_1 123_3 [/code] [COLOR="Red"]As we can see, there are 16 rows. Now i need to grep for a pattern like '123_*' but want to … |
The End.