199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Morika

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 :) …

Member Avatar for vegaseat
0
91
Member Avatar for XavierExtreme

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 …

Member Avatar for XavierExtreme
0
109
Member Avatar for Tekkno

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"); …

Member Avatar for essential
0
97
Member Avatar for SID.SIL

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 …

Member Avatar for Ramesh S
0
117
Member Avatar for anthutton

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 …

Member Avatar for anthutton
0
155
Member Avatar for crh0872

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]. …

Member Avatar for crh0872
0
131
Member Avatar for UncleJoe

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 …

Member Avatar for UncleJoe
0
212
Member Avatar for MukeshZ

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 …

Member Avatar for empcrh
0
894
Member Avatar for jportifer

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.

Member Avatar for jportifer
0
75
Member Avatar for magenta_lover

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 …

Member Avatar for magenta_lover
0
134
Member Avatar for Zetlin

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 …

Member Avatar for Zetlin
0
87
Member Avatar for akulkarni

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 …

Member Avatar for Antenka
0
192
Member Avatar for Steven_C

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 …

Member Avatar for Steven_C
0
408
Member Avatar for C++ Obliviator

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 …

Member Avatar for C++ Obliviator
0
110
Member Avatar for serkan sendur

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?

Member Avatar for serkan sendur
0
309
Member Avatar for SammiSmi

Hi I'm new to C# and ASP.NET. Do you know any advanced website tutorials? or downloadable ones? Thanks (^^,)

Member Avatar for serkan sendur
0
101
Member Avatar for sam023

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) ; …

Member Avatar for blocblue
0
1K
Member Avatar for CFROG

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 …

Member Avatar for CFROG
0
153
Member Avatar for serkan sendur

i want to play custom sounds when doing MessageBox.Show("something"); how is it possible? thanks.

Member Avatar for serkan sendur
0
2K
Member Avatar for jds_14
Member Avatar for nybelle

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 …

Member Avatar for cgyrob
0
94
Member Avatar for functionalCode

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 …

Member Avatar for functionalCode
0
95
Member Avatar for Acidburn

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

Member Avatar for peter_budo
0
85
Member Avatar for 83apple

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 ) { } …

Member Avatar for jcacquiescent27
0
127
Member Avatar for bubblellicious

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 …

Member Avatar for bubblellicious
0
121
Member Avatar for aliensXY

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 …

Member Avatar for aliensXY
0
304
Member Avatar for scripter_tmrage

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 …

Member Avatar for wildgoose
0
220
Member Avatar for loozax

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 …

Member Avatar for masijade
0
60
Member Avatar for huzeifa

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 …

Member Avatar for tux4life
0
85
Member Avatar for BobLewiston

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 …

Member Avatar for Gustavo MPO
0
198
Member Avatar for yara naser

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> …

Member Avatar for necrolin
0
176
Member Avatar for Shaitan00

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, …

Member Avatar for Salem
0
358
Member Avatar for shtikk

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.

Member Avatar for Salem
0
122
Member Avatar for princessotes

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 …

Member Avatar for zachabesh
0
128
Member Avatar for squeege321

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 :) …

Member Avatar for Duoas
0
160
Member Avatar for fghdmhmmd

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 ?

Member Avatar for fghdmhmmd
0
75
Member Avatar for sravan953

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++) { …

Member Avatar for sravan953
0
170
Member Avatar for Nada_ward

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 …

Member Avatar for Nada_ward
0
104
Member Avatar for macla
Member Avatar for tux4life
0
145
Member Avatar for lolwtf

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 …

Member Avatar for lolwtf
0
85
Member Avatar for bornok15

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 …

Member Avatar for kvprajapati
0
104
Member Avatar for shankbond

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 …

Member Avatar for shankbond
0
65
Member Avatar for Alex_

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" …

Member Avatar for Alex_
0
120
Member Avatar for sonia sardana

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 …

Member Avatar for sonia sardana
0
654
Member Avatar for Dream2code

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> …

Member Avatar for Dave Sinkula
0
448
Member Avatar for mbabaali

[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']; …

Member Avatar for mbabaali
0
98
Member Avatar for havejeet

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

Member Avatar for havejeet
0
130
Member Avatar for TKSS

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?

Member Avatar for jp26198926
0
125
Member Avatar for richm.analytica

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++.

Member Avatar for oop'stechie
0
116
Member Avatar for ermithun

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 …

Member Avatar for Dream2code
0
95

The End.