132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ashish2234

i AM really new at java and i have just created a very simple diesign of something that is static but should play mp3 files, loaded the required jmf as well ...I want when i click on the jtable and then play song starts playing ..its is not happening here's …

Software Development java java-swing
Member Avatar for ashish2234
0
105
Member Avatar for Mental1ty

well here's my story...... im 16 ..... and i do wish very much to learn how to work with computers..... but the thing is i don't know from where to start......... i know nothing about programming ...... and i want to use my intellectual capacities to solve problems and mostly …

Software Development c++
Member Avatar for JameB
0
148
Member Avatar for miankhel

realy i did not understand that what function over riding means can any body help me for that please

Software Development c++
Member Avatar for ShawnCplus
0
115
Member Avatar for hollywoood

Hello everyone. I am pretty lost when it comes to C++, but for class i have to create this mortgage calculator. I think i have this part of the assignment done, but i can not figure out how to convert either the last number, or the user input to a …

Software Development c++
Member Avatar for zalezog
0
921
Member Avatar for lotrsimp12345

and how i would go about fixing it? main [code] #include <iostream> #include "Format.h" #include <fstream> using namespace std; int main() { Format format; //string word; char in; ifstream infile; bool a=true; bool b=true; bool c=true; while(b==true) { cout<<"to quit type 'q'\n" <<"enter 'c' to get from console\n" <<"enter 'f' …

Software Development c++ ios
Member Avatar for lotrsimp12345
0
142
Member Avatar for agent154

I don't get this.. I was able to use it the other day without issue, but now when I use it, the "message" that I put into the paramater doesn't get printed out to the console, and I get an error box saying "Program has stopped working. Windows is checking …

Software Development perl
Member Avatar for agent154
0
165
Member Avatar for atch

Hi, Just wonder is there any way to display enum as enum not as integer? Thank you.

Software Development c++
Member Avatar for wildgoose
0
96
Member Avatar for Piya27

Hi All, I need to change the style of the first row in an excel sheet(that is created dynamically) in VS 2008. I tried using Excel.Style in vb.net but cudn't seem it working. any help?

Software Development vb.net
0
72
Member Avatar for goody11

Hey, I'm having some troubles with my hangman game i'm making. I want it to display dashes for the number of characters that there are in the word which that part works fine. but then if they guess the right letter, I want the dash to be replaced with the …

Software Development algorithm api c++
0
72
Member Avatar for jakx12

Ok so basically I just wanted to see if anyone had any ideas for me. Basically I want to do a project in java because i havnt done one for ages. Im fluent in java so that means i can do relatively complicated things. Id prefer for some software ideas …

Software Development java
Member Avatar for jakx12
0
115
Member Avatar for muzhe

Hi I need some help in writing a c++ program that will read a file and delete a specified number of lines e.g. say i have data file with numbers 1 to 100 i.e. 1 2 3.... 100 say i want to delete top ten lines and then save the …

Software Development c++
Member Avatar for mrnutty
0
120
Member Avatar for Altermisia

hi all, i am not-so-new to C++, but then ,yea, a newbie XD ok, here is the question. first i have a base class call Item, and it have 3 sub class. Now i need to make an array total of 100 item, that can store any of that 3 …

Software Development c++ multimedia
Member Avatar for Altermisia
0
84
Member Avatar for forestwwq

I write a small program like following: 1, firstly create a process waiting for keyboard input commands(via getchar()). 2, secondly create a thread in the process waiting on a message queue. each time after the thread receive a message, it can handle the message but cannot print the log message(via …

Software Development c queue
Member Avatar for frk
0
340
Member Avatar for gretty

Hello I have 2 functions that are just playing up. One is a function that takes in a string & should output the string backwards. [B]Problem:[/B] the syntax to insert a character into the string is wrong, I dont know the correct syntax. The other is a function that takes …

Software Development c++
Member Avatar for mrnutty
0
202
Member Avatar for DdoubleD

This file looks OK to me. I have permissions. See attached icon file (894 bytes long).

Software Development image
Member Avatar for DdoubleD
0
615
Member Avatar for Ana D.

Hi, I'm trying to bind a DropDownList in the code behind using the following code: [CODE]Dim DatabaseConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("myServer").ConnectionString) Dim selectCMD As String = “SELECT name, id FROM Clients WHERE name LIKE @name + ‘%’” Dim selectCMD As New SqlCommand(selectSQL, DatabaseConnection) selectCMD.Parameters.Add(New SqlParameter("@name", SqlDbType.VarChar)) selectCMD.Parameters("@name").Value = name Dim adapter …

Software Development vb.net
Member Avatar for Ana D.
0
86
Member Avatar for DdoubleD

My effort to retrieve favicon.ico sometimes fails even though it is found. It fails when attempting to convert the stream into a BMP or an Image using FromStream(), with the ArgumentException, or Parameter Invalid. I've tried all kinds of things to manipulate this and I guess I don't know what …

Software Development file-stream ide
Member Avatar for DdoubleD
0
174
Member Avatar for FJones

I have been trying this for days now and I am not even sure if I am going about this right. I've got errors errors errors everywhere. What I am trying to do is write a windows app that maintains a contact book that can hold up to 20 entries. …

Software Development app-store file-system
Member Avatar for DdoubleD
0
219
Member Avatar for darkocean

I have a excel file and I want to find what I need the ID which is first colomn. The excel file is 4 sheets and fisrt colomn is ID on them. Problem is this : I know only and only ID but I dont know this ID which sheet …

Software Development
Member Avatar for darkocean
0
652
Member Avatar for DarkC0de

hi every body I'm begging with assembly and I try two sum two numbers but i cant understand interruptions and generally Assembly so I learn asm with api I wrote this if anybody correct me >>!! [CODE].386 .model flat ,stdcall OPTION CASEMAP:NONE include kernel32.inc include masm32.inc includelib kernel32.lib includelib masm32.lib …

Software Development api assembly
Member Avatar for wildgoose
0
293
Member Avatar for syedabdulsamad

Hi Can anyone tell me please How i can make program in C++. Thanks.

Software Development c++
Member Avatar for Hawkpath
0
177
Member Avatar for muusa

this is the code #include<stdio.h> void main() { int i; printf("%d, %d",++i,i++); } and following is the output 8429558, 8429556

Software Development c
Member Avatar for muusa
0
119
Member Avatar for hello1231231

there is a tools or util that convert mips asm to c code? thx.

Software Development assembly
Member Avatar for wildgoose
0
168
Member Avatar for Silvershaft

I got a little problem I am making a little admin tool for my server that you can edit player stats and things with it. Problem is if I like make string Test and assign value "Hi" to it. How can I use the string inside my IMPORT INTO statement. …

Software Development c++ mysql
Member Avatar for JasonHippy
0
103
Member Avatar for arunnic

hi frnds, how can we connect to a sql server database using C++ program.can anyone pls post a code for this ...

Software Development c++ first-post sql
Member Avatar for marco93
0
244
Member Avatar for nkarvi

Hi everyone! I have a program in C#, which doesn't resize and adjust the contents of the app-window when I maximize it. I know that in Java, one can use JFrame and this problem is eliminated. Is there an equivalent in C#?

Software Development c# gui
Member Avatar for sknake
0
78
Member Avatar for group256

Hello everyone, I'm writing a code and in there and I need to convert a char which contains any of "+", "-", "*", "/" into a real operator. As an example let's say I have: [code] char myOp = '+'; int op1 = 10, op2 = 20; cout << op1 …

Software Development c++
Member Avatar for group256
0
5K
Member Avatar for krokodajl

Hi my question is about saving array consisting of elements of type UIElement or Button. How can I store them in database and read them from db? Must I conert array to any other type(conversion from UIElement to Byte raises errors). What type column od db should have to store …

Software Development
Member Avatar for kvprajapati
0
146
Member Avatar for RobBrown

Hello, i can not quite figure out how to write a function to take numbers from an array and sort so it displays even numbers first and then odd numbers. the output should look like this: [QUOTE]Original: 9 8 7 6 5 4 3 2 1 Reversed: 1 2 3 …

Software Development c
Member Avatar for Tom Gunn
0
140
Member Avatar for b0nz

Hello , Im trying to activate a certain method in COM+ application class on a remote server. iv been trying googleing alot about this problem but i found very few relevant information. i developed this code snippet but it's not completely working. the dynMethod parameter is staying NULL and i …

Software Development
Member Avatar for kvprajapati
0
115
Member Avatar for alrevolver

Hi, We have a java web application where users will be submitting videos. I'm trying to write a java program that is able to convert any movie file into compressed SWF video and FLV streaming video formats. The code should convert almost all popular file extensions such as AVI, MPEG, …

Software Development java video
Member Avatar for test
0
161
Member Avatar for GoS-ExiGo

Hi, I am working on a simple application for a game which uses udp packets to broadcast its server. However, I am having some problems to decode the main packet: [CODE]byte[] buffer = { 247, 48, 157, 0, 80, 88, 51, 87, 23, 0, 0, 0, 25, 0, 0, 0, …

Software Development
Member Avatar for GoS-ExiGo
0
77
Member Avatar for chirup

i'm doing a project on scrabble as part of my deg course. can text be retrieve from a bitmap image .if so ,how? i also want to overlay dice images on the board .can it also be done? i also want to drag the dice images to the board which …

Software Development vb.net
Member Avatar for kvprajapati
0
78
Member Avatar for alecka_16

anyone who can you help me make my project..it's about the program for bank transaction system..it must have the registration for customer and client..new accounts(savings, current, dollar)...transactions(deposit, withdrawal,inquiry, close) and then the report where i can view all the transactions..pls... any help is well appreciated...

Software Development vb.net
Member Avatar for freepost
0
84
Member Avatar for beshoyatef

Here i try to draw line by mouse pn panel but it is not appear here is my code: [ICODE] import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.JPanel; public class …

Software Development java java-swing
Member Avatar for JamesCherrill
0
120
Member Avatar for Jostra

Hi guys please help with this i am trying to write my data from a table in a lis box but a always get the number of items inside the table. can some one come thru please. lstData.items.Add(dataAdapter.fill(dataset,"MyTable") all kinds of help will be appreciated

Software Development dataset vb.net
Member Avatar for Jostra
0
717
Member Avatar for user98

I'm a .net programmer so forgive me if this is a stupid question, but here goes. I'm working with a vendor to interface our system with theirs. We are sending text data via modem. The protocol specifications they have given us require a checksum value to be appended to the …

Software Development c
Member Avatar for Salem
0
294
Member Avatar for ttqtrang146

Please help me a piece of code loading data from recordset into combo box. Thanks!

Software Development visual-basic
Member Avatar for gdkons
0
147
Member Avatar for jonny_java

Hi All, I hope someone can offer some help / advice. I need to plot a fairly simple line chart/graph, using some data generated previously from another Java program (run from the console) that is output to a text file. I'm really struggling trying to produce a viewable line chart/graph …

Software Development java
Member Avatar for jonny_java
0
264
Member Avatar for duggydiggy

After going through lots of stuff about declaration and definition,in a nutshell I understand that the difference is in the memory allocation. In definition yes and in declaration no memory is allocated. Fine ,Is there any process that shows that yes [code] int a; //which is a definition [/code] allocates …

Software Development assembly c
Member Avatar for Salem
0
200
Member Avatar for darab

hi i have 64 textbox that on runtime be appear on design i didn't collect them and now i want to reach to one of them and find the i,j (i,j are 2 dimention array form these textbox) and then go to next textbox how i can do that? i …

Software Development
Member Avatar for darab
0
111
Member Avatar for drabsch

hi, How do you make a exe open and run in a different directory in vb6? so my exe is in the directory D:\test.exe and want it to run in the directory C:\ without copying the file there

Software Development visual-basic
Member Avatar for drabsch
0
100
Member Avatar for taikoprogrammer

Hi Everyone, I am having some trouble with the code I am writing. I am supposed to find the sum all ASCII codes in the string, omitting the newline character at the end of the user input. Here are the directions I am given: Create a program that accepts a …

Software Development c
Member Avatar for wildgoose
0
917
Member Avatar for number87

what's wrong with this line when I try to compile in C++?? The src code was originally in C. It gets an expected identifier error with my c++ compiler [CODE]typedef enum {false, true} bool;[/CODE]

Software Development c++
Member Avatar for wildgoose
0
377
Member Avatar for qauaan

I want to select the pictures (They are select during program is running) and show them on the form. for that i take a panel on the form and populate the panel with pictureboxes.i write the following code for that but it is very time consuming: [code=csharp] if(openDialoge1.ShowDialog() == DialogResult.OK) …

Software Development
Member Avatar for qauaan
0
280
Member Avatar for craigallansmith

I have posted this before and have not resceived a response. My problem is that when I create a simple data report and then run it, it takes about 2 min to display. I thought it was something i did but i deleted my project and started again. for some …

Software Development visual-basic
Member Avatar for kashy!
0
99
Member Avatar for Alibeg

Hi guys....i have a problem and I hope you can explain me where am I wrong... I am doing some kind of Breadth First Search (BFS) ("some kind of" because this is my first program to use this algorithm) I have an array of size 4^9 (262144 for those of …

Software Development algorithm c
Member Avatar for Alibeg
0
182
Member Avatar for mrnutty

Can someone help me out. I haven't dealt with pointer function much. Here is the class definition for which it resides, although its only part of it. [code] template<typename Type> class vec2D { private: bool (*drawFunc)(unsigned int ID); unsigned int Col_id; public: //Enables each object member to have its own …

Software Development c++
Member Avatar for mrnutty
0
142
Member Avatar for agent154

This is a continuation of a previous problem I had with a "dir" like program. The previous solution actually *doesn't* work as I'd hoped. the Path class works, as far as I can tell, when the paramater is passed in a very specific way. It doesn't work if I don't …

Software Development
Member Avatar for agent154
0
152
Member Avatar for gretty

Hello I am reading a text file & I want to make a for loop, loop repeatedly until the end of the file. Is my code below correct, in terms of syntax? Is this possible to do. [CODE=cplusplus] #include <cstdlib> #include <iostream> #include <fstream> #include <string> using namespace std; // …

Software Development c++
Member Avatar for gretty
0
2K

The End.