132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for java1

how do i go about making a java music player? i have very basic knowledge in java and i learn best when i jump into a project..which in this case is a music player i would like it to play mp3 files with a nice looking GUI unfortunately...i have no …

Software Development gui java
Member Avatar for mrnutty
0
125
Member Avatar for mikeandike22

ok i want to make a program to show a teacher at my school so i can get into computer Ap which teaches you java(but they say u have to know stuff to get in it makes no sense i am in highschool). here is some seudocode and the code …

Software Development display gui java
Member Avatar for Nmanpure Pkr
0
237
Member Avatar for integer*09

Any idea how to check if a text file is still being opened by another program?? I wanted to write to the file after the other program had finished its task and closed the text file. As i know two programs cant open the same file at the same time.

Software Development c++ file-system
Member Avatar for enriquezrene_ap
0
154
Member Avatar for DoctorGiraffe

So i have several tabs, and i close them all using a button with:[CODE]TabControl1.Controls.Remove(TabControl1.SelectedTab)[/CODE] But I have been trying to figure out how to make sure the main tab doesnt close. What can i do to make sure the main tab can't shut down, when closing tabs with the above …

Software Development vb.net
Member Avatar for DoctorGiraffe
0
118
Member Avatar for noamo48

I know this is a total newb question but I'm a beginner programmer trying to learn how to work with sockets and network programming in general with C# and .Net. I'm working on a tcp echo client and server, two separate apps which I have programmed and run side by …

Software Development client-server socket-programming
Member Avatar for noamo48
0
392
Member Avatar for emation

I want to code assembly,Code assembly is convert number to character for ASCII code. example. ======================================================= Input ASCII CODE (in hexadecimal) press Esc to end the program : 41 Out put character is : A =======================================================

Software Development assembly
Member Avatar for skaa
0
225
Member Avatar for MasterGberry

SO i have a function that returns a call to another function which returns a class, and I am getting a compiler error... AoE2Wide.cpp(179): error C3073: 'AoE2Wide::Patch' : ref class does not have a user-defined copy constructor [CODE]return FindPatchForExe(fileSize, exeMd5, exeFilename);[/CODE] Here is the definition i made for the class …

Software Development c++
Member Avatar for MasterGberry
0
1K
Member Avatar for skaliam

Hi, im quite new to python and I am trying to extract some data from a csv file and put it into a new file, this is the first line of the data: 1,3,0,1,2,2,1,13,19,30,13,10,20,+1 I have managed to get it to print a new line per column, but i need …

Software Development python
Member Avatar for TrustyTony
0
203
Member Avatar for JavaStudentCode

Dear All, I'm taking a course online for school on how to code with Java. My current assignment is to have the computer read in a text file and make it split it into 5 different arrays. I am really bad with Psuedocode so if you answer like that it …

Software Development java
Member Avatar for Katana24
0
897
Member Avatar for Duki

I'm not positive this is the right place to post this. We're starting analysis for converting to UTF-8 on our application. During testing, all of our test data is displayed incorrectly in visual studio - our two-bye UTF-8 characters are being displayed as two one-byte ASCII characters. Is there a …

Software Development c++ display visual-studio
Member Avatar for Ancient Dragon
0
106
Member Avatar for Mr.BunyRabit

Hey there i have a bit of a problem. You know when on the internet theres Ten million topics about the thing you struggle with but not oNE of them works? Well.. thats exactly whats happening now. i have a datagridview i set up, and i can delete/edit it all …

Software Development
Member Avatar for Mr.BunyRabit
0
167
Member Avatar for folwea

Hi, i am new to this forum and i am just learning c++. Can somebody help me with sorting numbers. I have: I have 3 ints(int1,int2,int3), each spanning from 5 to 17, now i want to compare int1 and int2 and type out all numbers from lowest to highest(5,6,7,8...), than …

Software Development c++
Member Avatar for mrnutty
0
130
Member Avatar for Arbus

can somebody explain me about parameters in initgraph in c++ graphics???

Software Development c c# c++
Member Avatar for mrnutty
0
64
Member Avatar for Joey_Brown

Hello Is it possible to somehow place another string inside a string ? Example: char array1[4]= "!!!" char array2[5]="joey" //Replace e with array1 Output : jo!!!ey Thank you for any kind of input

Software Development c c# c++
Member Avatar for Joey_Brown
0
90
Member Avatar for gspeedtech

Hello, I am working with a Windows Application that was developed in VS2008 on a SQL2000 database. I am trying to determine the Datasource of a row in an existing DataSet. I have narrowed it down to 2 possible tables that each have a row with the same identical name. …

Software Development dataset vb.net
Member Avatar for gspeedtech
0
115
Member Avatar for Frederick2

Is there a way to pre-specify a specific string buffer size for the underlying buffer to which repeated concatenations are going to be made in a loop with the purpose of eliminating time wasting re-allocations and block movements of characters from one buffer to another? I have tried the string::reserve() …

Software Development c++
Member Avatar for Frederick2
0
356
Member Avatar for Akill10

Hi, I've been thinking about this for a while. What is the best way to design a program? What I don't understand is how people think of which classes etc. they will use and what they are called. For example, in a program which simulates the card game BlackJack. How/why …

Software Development c++
Member Avatar for Akill10
0
121
Member Avatar for Dekea

I need to sort it with [B]bubble sort[/B] from text file! I made with sorting letters in words but don't know how to sort strings in alphabetical order, like that: [QUOTE]post new thread[/QUOTE] = [QUOTE]new post thread[/QUOTE] mine code [CODE=c]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace …

Software Development
Member Avatar for Dekea
0
204
Member Avatar for abrmhk

Hi I am reading x lines from a text file into an array per line: [CODE=ksh] integer SCRIPT_LINES=0 while read VAR1 VAR2 VAR3 VAR4 VAR5 do .... SCRIPT_LINES=$SCRIPT_LINES+1 set -A SCRIPT_${SCRIPT_LINES} ${VAR1} ${VAR2} ${VAR3} ${VAR4} ${VAR5} ... done [/CODE=ksh] This creates a number (SCRIPT_LINES) of arrays: SCRIPT_1, SCRIPT_2, SCRIPT_3, .... …

Software Development shell-scripting
Member Avatar for scoude
0
177
Member Avatar for JeeJ

Hi all am a beginner in C# iam making a Drawing application the user will choose the x-y position , width ,hight , the shape and the color he want and then press the Draw button i coded the button and it work properly and draw the shape in the …

Software Development
Member Avatar for taylby
0
146
Member Avatar for JohnPhillips

Good morning, I have a batch file with the following code which works fine: MsiExec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0160020} /q I would like to execute it from within the .net environment, however I can't seem to execute that command using the shell syntax. I tried Shell (cmd "MsiExec.exe /x {3248F0A8-6813-11D6-A77B-00B0D0150070}",vbHide), and various …

Software Development vb.net
Member Avatar for JohnPhillips
0
183
Member Avatar for java666

Hi, I need help with an assignment for a class I'm taking. The assignment requirements are as follows: 1.Carefully study the class structure in Products.java. Here is Products.java: [CODE]abstract class Product { protected float price; // return the price of a particular product abstract float price(); } class ComputerPart extends …

Software Development apple data-structure java printer
Member Avatar for java666
0
805
Member Avatar for Hodir

Hey guys, i have a problem with reading csv files. I have a csv file which i would like to read and save to a dictionary. Preview of the file: mpg;engine;horse;weight;accel;year;origin;cylinder 18;307;130;3504;12;70;1;8 15;350;165;3693;11,5;70;1;8 18;318;150;3436;11;70;1;8 16;304;150;3433;12;70;1;8 and so on.. The way that i would like it to save is basically for …

Software Development python
Member Avatar for TrustyTony
0
170
Member Avatar for sariberri

Pleaseee help me guys. I can't figure out why the elements in my array are null. I'm reading in from a file and take each line and saving it as a variable in the object and then adding the object to the array. This is what I have so far...when …

Software Development file-system java
Member Avatar for Akill10
0
200
Member Avatar for makeUbleed

I'am beginner in Java, and I'am having a lot of problems while typing or making the sum of numbers. The fact is that I want to calculate the sum of pressed numbers until I press -9999, meanwhile when I press -9999, I want program me to show the sum of …

Software Development java mathematics
Member Avatar for javinpaul
0
186
Member Avatar for devkc

I need an intersection program for my robot;if there is an intersection of roads,the robot should not stop or take a turn,it should follow the straight path rather than turning left or right or just stop. Please help me,its very urgent............

Software Development c
Member Avatar for akshaydusane
0
148
Member Avatar for hanvyj

I am trying to refer to the class a nested class is 'in'... The 'this' keyword refers to the nested class, so I need something like super.this (except not at all like that) :/ I think the code below describes what I am trying to do: [CODE]public class Nest { …

Software Development java
Member Avatar for hanvyj
0
102
Member Avatar for Avengerofsok

Hi, This is my first forum post and I'm very new to both the daniweb and programming community. I've been working on a project for a month or so and it involves clicking JButton to change the values of the text associated with the JButton clicked. Everything runs fine except …

Software Development java java-swing
Member Avatar for hanvyj
0
372
Member Avatar for bala24

Hi guys, Long time no see. Anyways, need help like always. Actually since the past two years i have been simply neglecting C++ due to my pressing commitments with ASP.Net and suddenly i feel like doing programming in C++ all over again. What i need is a startup project (Intermediate …

Software Development asp asp.net c++
Member Avatar for a900nasaslam
0
182
Member Avatar for mehdi_nikdel
Member Avatar for tyrantbrian
0
340
Member Avatar for Nivass

Hi, How to improve the quality of the image when zoomed. Thanks in advance...

Software Development image
Member Avatar for buyoh
0
123
Member Avatar for Janu Sam

Hi I am new to Java. I am trying to develop a tool in which I am trying to download a file from a link. When I go to that link using my java program, IE is opened and its default File Download window is showing. But I need to …

Software Development file-system java
Member Avatar for Janu Sam
0
270
Member Avatar for lewashby

movies = [ "The Holy Grail", 1975, "Terry Jones & Terry Gilliam", 91, [INDENT]["Graham Chapman",[/INDENT] [INDENT][INDENT]["Michael Palin", "John Cleese", "Terry Gilliam", "Eric Idle", "Terry Jones"]]][/INDENT][/INDENT] print(movies[4][1][3] = Eric Idle Could Someone please explain how it counts from the outer loops through the inner loops With the number 4, 1, & …

Software Development python
Member Avatar for richieking
0
83
Member Avatar for Nivass

HI, I have loaded the image in the picture box. I have clicked with mouse at a point on the image and get the pixel value for that point (using e.x and e.y). now i zoom the image. How to get the pixel of the same point in zoomed position …

Software Development image
Member Avatar for Nivass
0
2K
Member Avatar for chethakau

Hello, I want to add a vertical progress bar in to my c++ windows forms project and tried different ways to implement it. But couldn't find any method to do that. Please help me. Thank you !

Software Development c++
Member Avatar for jonsca
0
242
Member Avatar for Nivass

Hi, 1.. loaded the jpg to picture box (in Size mode as Zoomed). 2. I drawn a rectangle on the picture box and taken the coordinate. 3. opens the jpg in paint and observed the coordinate (where i drawn rectangle on the picture box). when i compare the rectangle coordinate(x …

Software Development
Member Avatar for Nivass
0
108
Member Avatar for Dealman

Okay, so I'm working on this Application which will find it's way to the User's AppData folder and find a specific File .prefs File. It should then read that File and find specific Sentences/Names/Whatever pleases you. If it finds a Sentence/Name in that File which matches the one it's supposed …

Software Development visual-basic
Member Avatar for AndreRet
0
189
Member Avatar for cirno

Hello, codegurus. Excuse me, but I need help. I have been assigned to deploy a system that uses VB.Net and MySQL. After testing on 9 different PCs each on different regions, only 1 PC shows this error during deployment: [CODE]System.ArgumentException: Formatof the initialization string does not conform to specification starting …

Software Development vb.net
Member Avatar for cirno
0
209
Member Avatar for emongs

can how to rotate a picture in picture box? just a simple code to rotate a picture?

Software Development visual-basic
Member Avatar for AndreRet
0
94
Member Avatar for dangari

Hi guys. I have previously been developing a Java application using 2 Windows Vista PCs that both have MySQL as the database. I have always created a user for each PC (specifying their IPs as allowed hosts to connect) on the other and then in the application the code for …

Software Development java mysql windows-vista
Member Avatar for masijade
0
158
Member Avatar for abhijit (EEE)

i am using avr atmega8 microcontroller....i am getting no idea how to read the value of a pin,I have used a IR sensor in that pin.

Software Development c
Member Avatar for vinayakgarg
0
136
Member Avatar for mrectek

Hi, For the purpose of creating a very simple mp3 player i would like to have a listview that allows a user to click on a listed file and play an audio file. I figure that to solve this the program should display the contents of a directory containing the …

Software Development audio c++ listview visual-studio
Member Avatar for Stefano Mtangoo
0
138
Member Avatar for Hardcoded

I'm retrieving data pulled from SQL via an XML feed from my website, and each item has an id, name, description which is stuck into an ArrayList, which is then added to an overall ArrayList - this basically represents the rows retrieved from my database. i.e. [CODE] catArray = new …

Software Development display storage xml
Member Avatar for Hardcoded
0
100
Member Avatar for christos312

Hello to all. I have build a Java GUI application and now i want to convert and transfer it to an applet. I assume that whatever i have in [CODE]public void main[/CODE] will now go to the init() method of the JApplet. Now the problem is to embed it to …

Software Development gui html-css java
Member Avatar for masijade
0
183
Member Avatar for jonnod123

Hi All, I have two datagridviews on a form, one databound and one not (populated programmatically from Active Directory). I want to allow a user to double click on an item in the unbound DGV and have that item appear at the bottom of the bound DGV. The doubleclick event …

Software Development dataset
Member Avatar for jonnod123
0
513
Member Avatar for delia99

We may set one password for a file if we don't want others to open it, especially the secrete document. Generally speaking, we are used to writing articles or papers in Microsoft Word. And we may need to encrypt Word document if it is very important for security. Also, when …

Software Development c# encryption vb.net
0
164
Member Avatar for rohit2

Can any one help me how to make a Java Application GUI independent of screen resolution.. Now my application uses jFrame and it gets problems when resolution of screen changes.. plz help...

Software Development gui java
Member Avatar for masijade
0
206
Member Avatar for Bugaya

Hello , um using xpath into jsp . According to what I know that the following : [CODE]<xpath:set var="channel_name" select="channelName" />[/CODE] returns a string . Let's assume that the value of this string is "foo" I need to compare this string with other string !! like if (var1=="foo") then do …

Software Development xml
Member Avatar for Bugaya
0
92
Member Avatar for Waldek

Hi Everyone, I wonder if anyone out there has deployed a solution successfully like mine? I have created a vb.net 2005 winform solution that can be installed on a desktop. It uses an access 2003 database to hold data. The setup.msi was created using the vs.net deployment menus. The solution …

Software Development vb.net
Member Avatar for Waldek
0
221
Member Avatar for bufospro

Hi all, I have a file with data 300 lines. (in.txt) I want to make a program that seperates the file in two others (out1.txt, out2.txt). But I would like to do it with percentage. For example, Percentage (%): 50 and seperate the in.txt file in the middle but with …

Software Development c++ file-system
Member Avatar for bufospro
0
156

The End.