132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for loozax

Write a JAVA program that will generate/output the following numbers. 1, 2, 4, 7, 11, 16, 32, 39, 47, 56, 66 (using looping)

Software Development java
Member Avatar for kvprajapati
0
181
Member Avatar for victorxata

At first, I want to present myself. Nice to meet you all. I am implementing an app with Delphi 2007 + Firebird 2.1. I use TMS Components because I like the aspect of MS apps and I'd found this pack as the better. I like also usability of MS apps …

Software Development delphi pascal
Member Avatar for Duoas
0
197
Member Avatar for dorkwad

Hi, I have an old legacy application developed by someone else many years ago that we use day to day in our business. My boss would like to update the logos and images used within the application to give it a re-vamp. I do not know what the program was …

Software Development image pascal
Member Avatar for Duoas
0
1K
Member Avatar for nagash07

Well I have sum assembly homework to do... its supposed to be the snake game. I managed to make a program using parts of others ones, since Im lazy.. anyhow I got the program almost ready but I get only 1 error when assembling: Fatal C:\TASM\emu8086\M3\M3.asm(243) Unexpected end of file …

Software Development assembly seo
Member Avatar for wildgoose
0
235
Member Avatar for ragnarok511

I am writing a program that simulates a simple library. It compiles with no exceptions. However, it keeps printing when the printAvalibleBooks() method is called. the exact same book even though I have a method that is supposed to poplalate the array here is what I have so far. [code]public …

Software Development java
Member Avatar for kvprajapati
0
166
Member Avatar for brieghz23

Sir, can you please Give us a VB code for our cmdDelete button? a code that will delete a data from the database (ms access).. our form looks like this >>> [url]http://img229.imageshack.us/img229/7583/image002p.jpg[/url] or [ATTACH]10893[/ATTACH] we used the "listview" for displaying the searched item/s and be deleted... note: search and add …

Software Development listview visual-basic
Member Avatar for vb5prgrmr
0
294
Member Avatar for GDICommander

Hello everyone! I'm looking for a class in the Java API that can take the complete structure of a directory in itself and that can be passed on sockets, so it can be used on other machines of a network. Is there someone that can show me an existing class? …

Software Development api java
Member Avatar for kvprajapati
0
107
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 :) …

Software Development python
Member Avatar for vegaseat
0
91
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 …

Software Development java
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]. …

Software Development c++
Member Avatar for crh0872
0
131
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 …

Software Development vb.net
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.

Software Development c++
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 …

Software Development visual-basic
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 …

Software Development python
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 …

Software Development java
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 …

Software Development regex vb.net
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 …

Software Development c++
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?

Software Development
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 (^^,)

Software Development asp.net c c# c++
Member Avatar for serkan sendur
0
101
Member Avatar for serkan sendur

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

Software Development
Member Avatar for serkan sendur
0
2K
Member Avatar for jds_14
Member Avatar for BestJewSinceJC
0
128
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 …

Software Development
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

Software Development java
Member Avatar for peter_budo
0
85
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 …

Software Development c
Member Avatar for bubblellicious
0
121
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 …

Software Development java
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 …

Software Development c c# c++ xml
Member Avatar for tux4life
0
85
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, …

Software Development c++
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.

Software Development c
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 …

Software Development python
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 :) …

Software Development pascal
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 ?

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

Software Development java python
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 …

Software Development vb.net
Member Avatar for Nada_ward
0
104
Member Avatar for macla

Hi How to get local disk ( c:\ or d:\ ) used space in windows. Any API ?

Software Development api c++ windows-api
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 …

Software Development multithreading vb.net
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 …

Software Development vb.net
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 …

Software Development asp.net visual-studio
Member Avatar for shankbond
0
65
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 …

Software Development vb.net
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> …

Software Development c data-structure
Member Avatar for Dave Sinkula
0
448
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

Software Development
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?

Software Development visual-basic
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++.

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

Software Development shell-scripting
Member Avatar for Dream2code
0
95
Member Avatar for calicocat

I am trying to improve a program I have, but there is one thing I cannot figure out to do... so, trying to make this short, this is what I'd like to accomplish: Is there a way for C to count how many variables are equal to a particular value? …

Software Development c
Member Avatar for Dream2code
0
96
Member Avatar for nanchuangyeyu

Hi, I have implemented my first C++ class as following thanks to the generous help of Ancient Dragon: [CODE] typedef unsigned long ULONG; class CMatrix { public: CMatrix(const CMatrix& m); CMatrix(size_t row, size_t col); ULONG sum(); size_t s_row(); size_t s_col(); CMatrix& operator *= (const CMatrix& m); private: size_t _s_row; size_t …

Software Development c++
Member Avatar for Tom Gunn
0
108
Member Avatar for mrincognito

Hello, Programming/Python newb here looking for some help with arrays. I am trying to write a parsing program that takes a comma delimited csv file, compares entries, and outputs the comparisons in a particular format. The csv file has two columns. Col [0] contains article identifiers, col[1] contains assigned keywords. …

Software Development python
Member Avatar for mrincognito
0
111
Member Avatar for sab786

hello i have some data which i read in and wish to carry out some functions with it and format it into a new output file. however on my input data i need to do different things dependind were my data is for example def some_function(list): does something does something …

Software Development python
Member Avatar for baki100
0
86
Member Avatar for dchunt

Now i have an array, P[8]={0,1,1,2,0,3,1,0} And i want to add 4 separate values to each element in the array,so if i was to lookup P[2] i can access its 4 values. I tried doing it by giving those standard values an array of itself and making each value get …

Software Development c++
Member Avatar for Tom Gunn
0
153
Member Avatar for siu17

Hi I need the code in [COLOR="Red"]VB6[/COLOR] to display data from a database in a listbox i tried the following code but its not working Do While Not rec2.EOF List1.ItemData(List6.NewIndex) = rec2.Fields(4) rec2.MoveNext ' i even tried Do While Not rec2.EOF List1.ItemData rec2.Fields(4) rec2.MoveNext

Software Development display visual-basic
Member Avatar for jp26198926
0
113

The End.