132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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................ | |
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++ | |
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 … | |
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 | |
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 (+/- … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
[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 | |
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 | |
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 … | |
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 | |
![]() | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 … | |
(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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
[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 … | |
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 | |
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 … | |
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 | |
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() { … | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 |
The End.