132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for harinath_2007

Hi folks. I have a java application which plays a audio file . SO before the audio file or sound is played by my java application , i want to mute all other application sounds like Windows media player , VLC player (etc) if those are currently playing at that …

Software Development audio java
Member Avatar for harinath_2007
0
253
Member Avatar for rushikesh jadha

In linux whenever i run my gui java programe it does not show Image My Code Is As Follows look at line 77. [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; class bank implements ActionListener { JFrame mainframe; JMenuBar mbar; JMenu file,view,help,edit; JMenuItem newacc,exit,login,helpcontent,cust_detail,emp_detail,delEmp,delCust,addEmp; public bank() { mainframe=new JFrame("Bank Application"); try …

Software Development gui java java-swing
Member Avatar for rushikesh jadha
0
228
Member Avatar for rushikesh jadha

how to set up frame such that user cannot click other side than the current active frame if click then frame prompt for actvation. Thankx in advanced.

Software Development java
Member Avatar for DavidKroukamp
0
122
Member Avatar for Saqib_J

hi, i'm very new to python. i downloaded pyserial on win7 64bit. using Dell N5010 (it doesn't really have serial port) i tried to open port with ser = serial.Serial(0) but it gave error that [COLOR="red"][Error 2] The system cannot find the file specified.[/COLOR] but with ser = serial.Serial(3) and …

Software Development python
Member Avatar for Saqib_J
0
190
Member Avatar for GAiXz

Good Day Programmers ^_^ i need a help... how do i Update the record based on the Date & Time?? here's the code: [CODE] Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick lblTimeOfDay.Text = Format(TimeOfDay, "hh:mm:ss tt") UpdateItem() End Sub Private Function UpdateItem() Dim xSQL As …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
610
Member Avatar for gerchi152

I want to delete selected column values only... I have this statement: [ICODE]strsql = "delete book1, author1, from book_Load where Book_ID_no = '" & bkIDnum.Text & "'" With sqlcmd .CommandText = strsql .Connection = sqlconn .ExecuteNonQuery() End With[/ICODE] the error is "Incorrect syntax near ','." please help me with this... …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
77
Member Avatar for rushikesh jadha

What is difference between transaction of saving account and current account? I Am New Please Help Me. Thanks .:$

Software Development java
Member Avatar for rushikesh jadha
0
101
Member Avatar for GoodOldFashion

See I probably have the littlest knowledge on working with Linked Lists and I was thinking of creating a program that will accept three numbers which will be arranged on the list. However, I need to display the numbers everytime I input them, which I don't know how. My goal …

Software Development c++ data-structure linked-list
Member Avatar for GoodOldFashion
0
198
Member Avatar for laklaker

Hi everyone! Here's my problem. I created a random guesser game (A school project) and then my instructor said they want them to put a hall of fame on the game. But... The problem is how do i put a hall of fame? If its saving 1 line per file. …

Software Development file-stream file-system java
Member Avatar for JamesCherrill
0
471
Member Avatar for Gaiety

I have created few files and Makefile in the same place. I have read in below link about the special variables $@ and $< and used as so. [URL="http://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/"]http://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/[/URL] but when the say make i keep getting the error [ICODE]gcc -o calc *.o /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/../../../crt1.o: In function `_start': (.text+0x18): undefined reference …

Software Development c
Member Avatar for Gaiety
0
184
Member Avatar for jonnyboy12

Hello. I am working on many c++ programs right now that are mostly run in the form of an exe. I have noticed that most programs that i aquire from other people have some sort of installer. I can see how you would need to get all program files in …

Software Development c++
Member Avatar for adityatandon
0
122
Member Avatar for Kalle21

[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class WasteSchedul { public void start() { int choice = -1; while (choice != 0) { WriteMenuText(); choice = int.Parse(Console.ReadLine()); switch (choice) { case 1: { Bin1(); break; } case 2: { Bin2(); break; } } } } public …

Software Development
Member Avatar for ddanbe
0
100
Member Avatar for arathy nair

Hi Friends, I am having a pdf which has to be watermarked.But the code below I use is writing contents of my PDF into another PDf which is being watermarked.Please suggest any ideas which helps me watermark the same pdf without creating a new one. Please find the code below. …

Software Development image java pdf
Member Avatar for peter_budo
0
170
Member Avatar for nsafi17

Can someone explain how I would go about checking that the new valid word entered is only one character different from previous word???

Software Development java
Member Avatar for stultuske
0
149
Member Avatar for jackbauer24

Except for GUIs, could anyone give me an example of why we need inner classes?

Software Development java
Member Avatar for DavidKroukamp
0
135
Member Avatar for theweirdone

Hi, I'm trying to extract certain things from a web page. The website is TVRage.com, and the example I'm using at the moment is [URL="http://www.tvrage.com/Warehouse_13/episode_list"]the Warehouse 13 episode list[/URL]. So far I've managed to get the title of the show using this code: [CODE]#!/usr/bin/env python import urllib def save_page(site="http://www.tvrage.com/Warehouse_13/episode_list"): mypath …

Software Development html-css python
Member Avatar for Aung Myat
0
674
Member Avatar for SANJAY26

Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Call ImageRetrieve() End Sub Private Sub ImageRetrieve() imgsave2.Update() Dim OleDbConnection1 As New System.Data.OleDb.OleDbConnection("PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=D:\Testing\DATABASE\TESTING.MDB;PERSIST SECURITY INFO=FALSE;") OleDbConnection1.Open() Dim OleDbSelectCommand1 As System.Data.OleDb.OleDbCommand = New System.Data.OleDb.OleDbCommand() Dim OleDbReader1 As System.Data.OleDb.OleDbDataReader 'Access (OleDb) OleDbSelectCommand1.CommandText = "Select h1_img,h2_img,h3_img,h1_sign,h2_sign,h3_sign from vLOCKER WHERE lockerno …

Software Development image microsoft-access open-source vb.net
Member Avatar for SANJAY26
0
152
Member Avatar for dineshswamy

dont know the why this modified JTextField did not show up..help me out [CODE] import java.awt.*; import javax.swing.*; public class JBgtextfield extends JTextArea{ public void paint(Graphics g) { setOpaque(false); ImageIcon ic=new ImageIcon("image1.png"); Image i=ic.getImage(); g.drawImage(i,0,0,this); super.paint(g); } } [/CODE] i then created an instance of this class and added it …

Software Development java java-swing
Member Avatar for JamesCherrill
0
166
Member Avatar for FUTURECompEng

Code attached in the attachment is not my own and was supplied by an instructor. I am to create a word morphing game. The computer will provide a starting word and an ending word. I am to enter a new word, that either adds or removes a letter from the …

Software Development gaming java user-interface
Member Avatar for JamesCherrill
0
949
Member Avatar for jmace

When I try to output an ASCII value to a file, it sometimes writes the wrong value. Example: [CODE] import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.PrintWriter; public class test { public static void main(String args[]){ //Supposed to: writeFile("./test.txt"); //write ASCII 147 readFile("./test.txt"); //read ASCII 147 } public …

Software Development file-system java
Member Avatar for JamesCherrill
0
3K
Member Avatar for complete

I thought that my problem was how I was declaring a manifest file. But now I think I can safely rule this out. I think the probem lies in the way I am loading the DLL/COM object that the manifest file references. The program runs -- sort of. After I …

Software Development c c# c++ gui ide
Member Avatar for boiokgoy
0
360
Member Avatar for Traps

Would it be possible to use JavaScript with C# (or Java, Python etc) for the sake of getting a sweet UI. Say for example I have a program written in C# with a ok-looking GUI which holds some panels, a few buttons, radiobuttons, the usual stuff. Would I then be …

Software Development gui java javascript
Member Avatar for Traps
0
129
Member Avatar for apanimesh061

I want to make a project on Audio Fingerprinting. There will be recorded file preferably .wav, that will be matched with all the audio files present in a song database and will return the best match. First I wish to try this on my own computer, then I will try …

Software Development audio
Member Avatar for shalshal
0
153
Member Avatar for angah

i have this coding...when i burn into pic it does not work...anyone can help me to solve this coding...this is urgent case..need help. ;************************************************************************ ; Digital Thermometer * ; * ;************************************************************************ list p=16f84A #include <p16f684A.inc> __CONFIG _CP_OFF & _DATA_CP_OFF & _LVP_OFF & _BOREN_OFF & _MCLRE_OFF & _WDT_OFF & _PWRTE_ON & …

Software Development assembly
Member Avatar for angah
0
246
Member Avatar for engineerchica

Hello! I am working on a problem to count characters (without using strings) and I got my program to work! However, I got it to work before I put the code that counts characters into a function (countChar), which is required for this assignment. I'm not sure I understand how …

Software Development c++
Member Avatar for engineerchica
0
190
Member Avatar for franmaez_0716

hi! i need help by creating a program that will divide using loops wihout using any division or multiplication sign. the allowed signs are just addition and subtraction. Thank you! i will post my program if someone replies with this.

Software Development c c# c++
Member Avatar for franmaez_0716
0
3K
Member Avatar for JefferyWeb

What does it means when a variable or label has brackets around it? How is it different than using the statement without brackets? For example: mov eax, [data]

Software Development assembly
Member Avatar for thines01
0
171
Member Avatar for jaymayne

Need help making a module that sorts 4 arrays this how it started out void dataSort (float sLengthArray[],float rSlopeArray[],float speedArray[], float size) { void swap (int *x,int *y); int pass,j; for (pass=0;pass < size-1; pass++) { for (a = 0;j< size-1; j++) { if (slengthArray[j] > slengthArray[j + 1]) { …

Software Development c
Member Avatar for zeroliken
0
257
Member Avatar for stereomatching

When I was a student, I believe that most of the software programmers of every software companies must be very talented, brilliant, skillful and much more experience than me, at least before I got my first job, I really believe that every software companies could let me learn a lot.But …

Software Development c++
Member Avatar for stereomatching
0
191
Member Avatar for shaunchu

So, I'm doing a test of strtok and my csv reader to fill an array of structs. Each line in the csv has a bunch of country information, and I'm only pulling the 2nd, 3rd, 8th, and 9th fields in each line to make the structs. My biggest problem at …

Software Development c
Member Avatar for shaunchu
0
176
Member Avatar for weeraa

I know how to attach image file to an exe. we can do it using picture box or image tool and picture property of it. now i want to know is there any method to attach mp3 file to an exe? we can use application path method. but in that …

Software Development audio file-system visual-basic
Member Avatar for weeraa
0
239
Member Avatar for Thermalnuke

Hey I am having a problem with this java program im trying to accomplish.... I know how to count the characters or letters in a word, but how do you count every other word and display that letter in a row. Im trying to do an encryption program for example …

Software Development encryption java java-swing
Member Avatar for Thermalnuke
0
138
Member Avatar for pwolf

Stuck again, still, im learning from my large list of mistakes, haha so this time im trying to convert a decimal to hexadecimal, i tried using hex(number) but its not suitable for the situation as this returns a string. and i dont know how or if i can convert a …

Software Development python
Member Avatar for pwolf
0
2K
Member Avatar for sudheer2250

Hi all, I am trying to get the all the process modules from the Current process using "ProcessModuleCollection" Class. Please see the code i have used to do the above job. Before that I added a .net 2.0 my own dll to the project as reference. I am able to …

Software Development asp.net
Member Avatar for sudheer2250
0
365
Member Avatar for LdaXy

back again with another question. i created a simple window in WIN32 mode, but it's giving me a linker error that i cannot isolate. [CODE]#include <windows.h> #include <tchar.h> #include <stdio.h> //defined this for all processes HINSTANCE hInstance; LRESULT CALLBACK WinProc(HWND hWnd, UINT msg, LPARAM lParam, WPARAM wParam); //WndProc Prototype. always …

Software Development c++ windows-api
Member Avatar for zazacofi
0
237
Member Avatar for PixelatedKarma

Hey I am trying to have a combo box read the first child node in my xml file and formulate a list on that. Everything I keep seeing relates to C# and thus doesn't work very well. I was originally thinking of doing this by doing an event on the …

Software Development c++ xml
Member Avatar for thines01
0
223
Member Avatar for jt_murphree

So I am trying to create a console app to parse text files. I am using a streamreader to read the text in until I reach end of file. The text file I am reading as 22945 lines. Right now I am just trying to read the entire file and …

Software Development
Member Avatar for jt_murphree
0
155
Member Avatar for sota

Hi, If i have to use managed code with unmanaged code. What are the possible risks? Thanks in advance. [CODE] cliext::vector<int> ^vec = gcnew vector<int>(3); [/CODE]

Software Development c++
Member Avatar for thines01
0
74
Member Avatar for Xenix-Hero

I have looked at several of similar topics and compared them with my code, but I don't see any of the same problems. Can someone else tell me if they see something wrong? Dev-C++ says "expected primary-expression before 'int'" and "expected ';' before 'int'" and that they are on line …

Software Development c++ ios
Member Avatar for Xenix-Hero
0
2K
Member Avatar for stinkypete

Does anyone have an algorithm that generates all 10-digit integers that have at least one digit repeated? Trawling through all 9000000000 of them and checking them individually is too slow. Thanks.

Software Development c++
Member Avatar for VernonDozier
0
928
Member Avatar for sha11e

My client-server program seemed to work fine, I could send and receive messages. But if I don't send any messages for a while (sometimes 2 minutes is enough, other times it takes an hour..) and then try to send one, I get the error "Software caused connection abort: recv failed" …

Software Development client-server java
Member Avatar for sha11e
0
304
Member Avatar for dunktap

I have been looking into event handling with C# and Silverlight and I can't seem to grasp it. I'm simply trying to get this adding event handlers in managed code example to compile from [url]http://msdn.microsoft.com/en-us/library/cc189018(v=vs.95).aspx[/url] I keep getting the errors "The name 'TextBlock_MouseEnter' does not exist in the current context. …

Software Development visual-basic
Member Avatar for Momerath
0
415
Member Avatar for sota

Hi mates, I am using visual c++ . I need to remove those lines which are full of zeros. Here is the matrice[5,7] : [CODE] 2 2 9 8 7 3 4 [COLOR="Red"]0 0 0 0 0 0 0[/COLOR] 3 4 5 7 8 9 6 [COLOR="Red"] 0 0 0 …

Software Development c++
Member Avatar for sota
0
467
Member Avatar for wasiqjaved

Hi, Need some help with MIPS I need to write a MIPS code that reads 10 characters string and then only print out value of 3rd, 5th and 7th character (remembering that first character is character 0) OUTPUT (should be somewhat like this): Enter 10 character string : i love …

Software Development assembly c++
Member Avatar for DeanMSands3
0
555
Member Avatar for ram619

The output of this code is "hhe!". Upto "hhe" I can figure out what is happening but, where does this "!" came from? ASCII value of "!" is 33 and here I don't think we are anyhow getting this value. Thanks in advance[CODE=c]#include<stdio.h> #include<conio.h> void main() { static char s[25]="The …

Software Development c
Member Avatar for ram619
0
213
Member Avatar for auwi987

hello guys i have a database with tblblabla and column agent_id, name, regis_date, expire_date [COLOR="Green"]agent_id , name , regis_date , expire_date[/COLOR]-->COLUMN HEADER [COLOR="Red"]BLA-1 , SAMPLE , 1/1/2012 , 1/1/2013[/COLOR]-->COLUMN DATA and i have a notification-form that check either the agent is expire or not if the agent is expire it …

Software Development visual-basic
Member Avatar for debasisdas
0
118
Member Avatar for EatingGennaro

I am trying to make a software that signs up for hotmail etc. I am running into a couple of problems with the choosing of the birth date and clicking the submit button. I am newer to coding. So here is my code I have tried so it will enter …

Software Development vb.net web-browser
Member Avatar for codeorder
0
143
Member Avatar for vivekanandaan

I am selecting the max value of a column from a table. If the table does not have any rows i need the result as zero. how can i achieve this Regards Vivek

Software Development vb.net
Member Avatar for Reverend Jim
0
724
Member Avatar for Fixxxer

Hi There. I'm trying to fit a function Acos(wt + theta) to my data that I have binned and need to find the best values for the variable parameters A, w and theta so that the cos function fits to my data. However I've tried making a loop for this …

Software Development c
Member Avatar for VernonDozier
0
125
Member Avatar for mrprassad

[CODE] struct abc{ char a; char b; char c; }; [/CODE] what is sizeof (struct abc) in gcc ? it is giving 3, why not 4 bytes.

Software Development c
Member Avatar for gusano79
0
91

The End.