132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for crystality

Hi! Does anybody know how to recursively read in files from a specific directory on the internet, in Java? I want to read in all the text files from this web directory: [url]http://www.cs.ucdavis.edu/~davidson/courses/170-S11/Female/[/url] I know how to read in multiple files that are in a folder on my computer, and …

Software Development java
Member Avatar for masijade
0
262
Member Avatar for warlord902

I am new to MySQL and thinking to use MySQL for my new Java Project which creates a database on the local client machine and uses it to perform all data operations. But before proceeding with MySQL I'm in a bit of doubt that I have MySQL server installed so …

Software Development client-server java mysql
Member Avatar for warlord902
0
252
Member Avatar for Web_Sailor

Hi, I need to create a user name and password login client server. Attached is my attempt. This is my first try on socket and network programming in C. I have reached to a certain level but just a little problem is stopping me because of less C knowledge. I …

Software Development c client-server socket-programming
Member Avatar for raptr_dflo
0
3K
Member Avatar for alam14_mist

web.config [CODE] <connectionStrings> <add name="Conn" connectionString="Dsn=odbc_OnlineAcc;uid=sa;pwd=12345" providerName="System.Data.Odbc"/> </connectionStrings> [/CODE] C# [CODE] string connect =ConfigurationManager.AppSettings["Conn"]; OdbcConnection odbcConnection = new OdbcConnection(connect); odbcConnection.Open(); [/CODE] error message is "connection property is not initiated"; How can I solve it? Thanks to all................

Software Development asp asp.net
Member Avatar for alam14_mist
0
139
Member Avatar for iamuser_2007

Tell me about these and give me some negative and positive code examples. >>Stack Unwinding >>Constructors, Destructors and Exception Handling >>Exceptions and Inheritance thnx for information

Software Development c++
Member Avatar for ichigo_cool
0
122
Member Avatar for tux4life

I've written a C++ function which converts an integer to a (C++-)string ... [CODE=C++] ... string s = itos(5698); cout << s << endl; /* Will print '5698' on the screen */ ... [/CODE] You MAY use this code for anything you want but [B][COLOR="Red"]you aren't allowed to sell this …

Software Development c c# c++
Member Avatar for ztdep
0
1K
Member Avatar for ineedhelpasap

So, I'm trying to assign some SQL to a variable which will later be executed in the code. I also want to include a varible inside the SQL. I am only allowed to code over 80 characters and then I have been told to use a black slash, now this …

Software Development python
Member Avatar for ineedhelpasap
0
144
Member Avatar for kchyn

Hi, I'm trying to capture audio from a microphone into a vector in C++. I'm using openAL's example code Capture.cpp (below). I understand that it buffer's the data, but I'm not sure what comes after. In short, what do I do to put the buffer's data into a normalized (+/- …

Software Development audio c++
Member Avatar for raptr_dflo
0
410
Member Avatar for sirlink99

I have several different classes and they have graphics in them. I told java to repaint in a class class called LongitudinalWaveGraphics, but it repaints a class called ResistorCCGraphics. Why is this? Thanks for the help. if you need any codes then I can post them.

Software Development java
Member Avatar for NormR1
0
342
Member Avatar for Labdabeta

I have been googling around and have found that the TI calculator that I use uses a z80 chip. I was wondering if it is possible to use assembly rather than the default program language of the calculator to write programs for it. Any ideas of how I could find …

Software Development assembly
Member Avatar for sergent
0
111
Member Avatar for jimJohnson

Finishing this memory mapping palindrome and keep getting file not found. If anyone has the time please take a look at this I debugged to if (argc >1) and that is where I ran into problems. Also could someone also just verify my palindrome is set up correctly? [CODE] #include …

Software Development algorithm c++
Member Avatar for raptr_dflo
0
217
Member Avatar for thetwig

hey guys heres a portion of my code, im trying to validate a users input of price and then convert it to cents before doing some other calculations. Im having problems with my validation still somehow allows letters if they are not the first digit entered. For example, a2 is …

Software Development c
Member Avatar for WaltP
0
215
Member Avatar for freakvista

Hello! I want to make the tetris game in pascal... here it's what i've done so far... [CODE]uses crt; var x,y,i,c:byte; begin x:=5; y:=1; repeat clrscr; for i:=1 to y-1 do writeln('| |'); if y<49 then begin writeln('| a |'); writeln('| a |'); writeln('| a |'); writeln('| aaa |'); for …

Software Development pascal
Member Avatar for freakvista
0
3K
Member Avatar for mekhoo

[code] def main(): decimal=int(input('pleas enter a binary sequence: ')) number=binaryConvert(decimal) print("Contert to decimal: ", number) def binaryConvert(decimal): if decimal == 0 : return '0' elif decimal==1: return '1' number='' while decimal == '1' and decimal == '0' : number=str(decimal%2)+ number number=number main() [/code] but i did work well with me …

Software Development python
Member Avatar for vegaseat
0
122
Member Avatar for Olivis

Hello! I'm declaring a line at the top of my code window. [CODE]Dim sTemp as String = textbox1.text[/CODE] I have no idea why. I tried commenting a few things related to the code but none of it makes it work. Any ideas?

Software Development vb.net
Member Avatar for Olivis
0
104
Member Avatar for Sky Diploma

Hey all, I have a program(using wxWidgets & MySql++ on MINGW) that has to have some Bluetooth Interaction with an Android App. The problem is that I am having trouble finding a framework(API) that would help me send,recieve data over Bluetooth with other applications. I searched and searched all over …

Software Development android api c++
Member Avatar for mike_2000_17
0
1K
Member Avatar for ineedhelpasap

Anyone ever used the PIL (Python Image Library)? If you have, is there anyway to convert a single pixel at a time in a bmp file? I'm trying to invert a black and white image to white and black. So: [code=python] import PIL image = Image open(filename) pixels = list(image.getdata()) …

Software Development python
Member Avatar for vegaseat
0
161
Member Avatar for Geek-Master
Member Avatar for Hialek
0
5K
Member Avatar for Improzigw

Hello all I have come to you with a problem. I have an assignment where I have to make a program that stores information in Structures and the structures are held in an array. I have been working for day, I'm not a programmer thus it's going slow as hell …

Software Development c
Member Avatar for yan0
0
282
Member Avatar for toneyjoseph

Dear All, Could somebody let me know the search code in VB6. I am using ADODC1 connection. im handling employees databse called databse.mdb when in click the search button i want to get the details of the said employee using their badge nos. pls help..... Have a nice day..

Software Development visual-basic
Member Avatar for jhai_salvador
0
70
Member Avatar for swathys

i have a problem with my insert function using web services.i can't figure out where to fix.....does anyone have idea abt it ???? this is the error is when i run the web services [CODE]Description: An unhandled exception occurred during the execution of the current web request. Please review the …

Software Development vb.net
Member Avatar for Oxiegen
0
284
Member Avatar for JordanHam

I do not need anything too complex, I just need to be able to graph and plot some simple 2D graphs. There is a lot of scattered info all over the internet and at work I dont want to download one of these free softwares and have it blow up …

Software Development c++
Member Avatar for ravenous
0
278
Member Avatar for BOOMBOOMF

could someone plz help.. i'm stuck in one part where u have to access the array form the main class(random) ive juss posted the two classes i have doubt in.. the question goes soemthin like this: Q:Make a java class file for function that can do addition, then make a …

Software Development java programming-construct
Member Avatar for Annuate
0
949
Member Avatar for Stefano Mtangoo

Hi, I have a question and I apologize if it is too newbish. I have been for a while now trying to learn OpenGL but I cannot understand how its coordinate systems works. I know coordinate geometry as I did some math long ago as well as equations (linear, polynomial …

Software Development c++ opengl
Member Avatar for Stefano Mtangoo
0
206
Member Avatar for mekhoo

(question3.py) Write a word jumble game. In a word jumble the letters in a proper word are randomly mixed up and the user has to guess what the word is. The list of words to be jumbled can be found on D2L - jumble.txt. Here is one possible way to …

Software Development python
Member Avatar for TrustyTony
0
283
Member Avatar for simply_viks

hello. i am working on the i/p file which will have object name=value.have any no of i/ps given by user. the value has to be updated each time a new value is entered in CLI. can i overwrite the value with some greater size value????????????? without using the tepmfile??i understand …

Software Development c file-system
Member Avatar for simply_viks
0
317
Member Avatar for virendra_sharma

Hi frnz, i am having text file , in that "ID", "firstname","lastname","email-id","phoneno" is the first row and same column name i have declared in gridview, i am also having update and delete option in gridview . now what i wanted to do is when user clicks on perticular record from …

Software Development
Member Avatar for virendra_sharma
0
1K
Member Avatar for sandyho

Number of pages =========== rate per page (cents) First 100 ============ 3.0 Next 100 ============= 2.5 Above 200 ============ 2.0 Example : Printing cost for 200 pages is $5.5 Printing cost for 301 pages is $7.5 write a java(application) program to do the following: - prompt the user for the …

Software Development java
Member Avatar for mKorbel
0
314
Member Avatar for syeda amna

hi I am a beginner. I am building java application which is like a form. First the user fill the whole form and the click OK. I want to do that as the user clicks OK all the items entered in the JTextField will save in the variables that I …

Software Development java
Member Avatar for mKorbel
0
219
Member Avatar for tipaklong

hi! i wanted to set a maximum limit of characters of textbox in the properties but i can't find where it is located unlike in vb 6.0 you can set the characters in maxlength...thank you in advance..

Software Development vb.net
Member Avatar for NETProgrammer
0
492
Member Avatar for himvj

if one installer class in my project and in custom action doing some procedure to validate the serial key using user interface editor during setup creation. while installing the set up if the condition is not true the setup in rolling back it is installing. code is as below that …

Software Development user-interface vb.net
Member Avatar for NETProgrammer
0
153
Member Avatar for sajay

Hello I'm coding an algorithm based on genetic programming with tree structures in C. I implemented tree structure using recursive structure pointers **The traditional way** [CODE] struct tree { int val; tree *left; tree *right; }; tree a[10]; tree b[20]; void main() { generate (); // this generates me 10 …

Software Development c c++ programming-construct
Member Avatar for sajay
0
190
Member Avatar for ayoba01

hello and morning i have a problem in calculate the amount firstly, i have made a code when user insert the parking ticket into the machine , it will tell the customer to pay certain charge. like this: [CODE] Private Sub btnticket_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Software Development pay-per-click vb.net
Member Avatar for Jx_Man
0
105
Member Avatar for IDC_Sharp

how can i read from a file like music file (mp3, wav, or something else) it's properties, like Album title, song's time, song's name and more, like ITunes read it or any music program.

Software Development
Member Avatar for abelLazm
0
126
Member Avatar for deathxmortis

Hi, I was just wondering, if I have a list view control, with 2 columns, and insert items to those columns, ex: LIST VIEW ANIMALS - CARS Col1 Animals === Col2 Cars [COLOR="Green"]Jaguar [/COLOR]................... [COLOR="Red"]XJR [/COLOR][COLOR="Green"]Tiger [/COLOR].................... [COLOR="Red"]DB9 [/COLOR][COLOR="Green"]Bull [/COLOR]..................... [COLOR="Red"]Gallardo [/COLOR] Can I move items from 1 COLUMN to …

Software Development asp.net listview vb.net
Member Avatar for Luc001
0
444
Member Avatar for hiddepolen

Hi, I have a piece of code, which gets a string of code from a webpage. It's the HTML source code, from which I want to make an array, in which I can find data the user will input. However, I need to extract all the useful information from the …

Software Development ios objective-c
Member Avatar for Prabakar
0
201
Member Avatar for apanimesh061

[CODE] public class WAVEHDR : IDisposable { public const int whdr_done = 0x00000001; public const int whdr_prepared = 0x00000002; public const int whdr_inloop = 0x00000004; public const int whdr_endloop = 0x00000008; public const int whdr_inq = 0x00000010; public const int wf_PCM = 1; public IntPtr lpData = IntPtr.Zero; public uint …

Software Development assembly audio c#
Member Avatar for abelLazm
0
220
Member Avatar for ineedhelpasap

Hi, I'm trying to convert a textfile which is set out like this: 1[Tab]Hello 2[Tab]Test into a Python dictionary how would I be able to do it? Thanks

Software Development python
Member Avatar for ineedhelpasap
0
88
Member Avatar for Saad234

So for my project, I am doing my coding on Python and mainly C++, then I have a GUI interface form made on VB, so how do I link all these things together for a final product? PS: Someone told me about DLL's I don't know what that is, could …

Software Development c++ gui
Member Avatar for mrnutty
0
233
Member Avatar for jmurph333

I created a .txt file with 20 lines of text. I need to read a random line. This code works for the most part: [CODE] Random r = new Random(); rand = r.Next(0,20); //rand is a predefined variable StreamReader reader = new StreamReader("Answers.txt"); answer = reader.ReadLine(); string strAllFile = reader.ReadToEnd().Replace("\r\n", …

Software Development
Member Avatar for abelLazm
0
163
Member Avatar for Ymor

Ok cant get my head around this one :/ But basically i need to write a program that accpets input from a keyboard "JACK ROBINSON" then it manipulates the string to output INK SON ROB JAC... Heres what i have so far: [code] #include <stdio.h> #include <string.h> void main() { …

Software Development c c# c++
Member Avatar for WaltP
0
241
Member Avatar for buster2209

How can I view the TCP/IPv4 setting through the command line for an adaptor that is [I][COLOR="Red"]disabled[/COLOR][/I]. 'ipconfig', 'ipconfig /all', and 'netsh interface ipv4 show addresses' only display the relevant information for an adaptor that is enabled. Thanks in advance!

Software Development shell-scripting
Member Avatar for rch1231
0
119
Member Avatar for brentgabel

Hello Everyone! My problem is this. I have a VBscript encrypting passwords using capicom.dll RC2. I want to use C# to decrypt this password. Which I can't get to work for the life of me. Keeps coming back saying 'Specified key is not a valid size for this algorithm.' (but …

Software Development algorithm c# encryption vbscript
Member Avatar for skatamatic
0
581
Member Avatar for sciprog1

Hello, I have a JPanel (inside of a JFrame). I have a picture(.jpg), a JTextArea (with scroller) and a JTextField. On the JPanel, I want the picture left justified , the JTextArea right justified and the JTextField just below the JTextArea. What kind of layout would be appropriate? Thank you! …

Software Development java
Member Avatar for sciprog1
0
81
Member Avatar for programing

i am write a code to print element in stack in reverse order i need two stack to push from first and pop to other but i have something error .. [CODE]#include<iostream.h> #include<process.h> struct stack{ stack s1,s2; int info; }; class stacks { private: stack top; int x; public: s1.stack(){top=-1;} …

Software Development c++
Member Avatar for raptr_dflo
0
230
Member Avatar for endisbegun

so im just starting to get into the basics of bash scripting yes this is for a class, no i dont want the answer, i want to understand im a networking major, and as such not really big into programming basically i need to make a simple calculator that handles …

Software Development shell-scripting
Member Avatar for endisbegun
0
72
Member Avatar for martin111

Hi. Visual C++ reports error 2440 for the following code: struct a_t { int i;}; struct b_t:a_t { int j;}; b_t* pb = 0; a_t* const * ref_pa = &pb; // Error 2440 reported for no reason at all. I cannot see why this should give an error, the base …

Software Development c++
Member Avatar for mike_2000_17
0
302
Member Avatar for kasraluckblack

How do I program the ATM to do graphic design? PLZ help me:'(:(

Software Development java
Member Avatar for quuba
0
101
Member Avatar for aguele

Can anyone help me out i want to learn to become a software developer, i need to know how to get started.

Software Development java
Member Avatar for sirlink99
0
122
Member Avatar for heshan86

Is it possible to design a Web Browser using C/C++ in Turbo C++ compiler by network programming ?

Software Development c++ web-browser web-design
Member Avatar for sergent
0
80

The End.