132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gunbuster363

What is java and the whole bunch of things. I only know how to use eclipse to write java project, probably java 1.4. Can someone give me a picture about the whole bunch of java things such as jsp servlet spring struts hibernate J2EE glassfish J2EE 5 J2EE 6 EJB …

Software Development java java-jsp
Member Avatar for stultuske
0
113
Member Avatar for PM312

Hi I want to display content of text boxes in its tool tip how it can be done. Thanks

Software Development visual-basic
Member Avatar for AndreRet
0
146
Member Avatar for elcliff

Hilan International Bank decided to have a salary plan for its employees. In the new Policy, bonus is based on the fact that one is a senior staff or junior staff. You have been called in as a programmer to develop a software to meet this policy’s requirement: (a.) Create …

Software Development java java-swing
Member Avatar for masijade
0
761
Member Avatar for phobos666

Hi everyone, I need to write a bunch of x,y coordinates to a txt file one below the other using C(only). I'm able to do so but all the coordinate values occur one next to the other. Here's my code: [code] FILE *file1 = fopen ( "/cygdrive/d/newfile1.txt", "w" ); printf("The …

Software Development c
Member Avatar for saad749
0
154
Member Avatar for x2fair

i have a combo box which contains one table on mySql database and I want to make it more good that when I input a leter all the data that starts on that letter will appear.Example when I type letter "A" all data that starts with letter "A" appears..plz help …

Software Development vb.net
Member Avatar for x2fair
0
103
Member Avatar for bill13

can anyone help me with the above problem? i need the code in C language. the problem is: Store random numbers into two-dimensional array of 6 * 6 and interchange first 3 rows with last three rows thanks you in advance.

Software Development c c# c++
Member Avatar for Mohtadeen
0
281
Member Avatar for pawan_sharma777

I make a small project on student but i don't know about file handling for database; can any one tell me the simple way to connect my project to SQL database;

Software Development c c# c++
Member Avatar for pawan_sharma777
0
457
Member Avatar for RenanLazarotto

Hi! I've been searching for a while, but it seems that I can't find an easy way to get the current user profile folder. I've tried "%userprofile%" environment variable, but it didn't worked (or I'm doing something wrong). How can I do it? I want to add the value to …

Software Development vb.net
Member Avatar for kvprajapati
0
1K
Member Avatar for Yuichi

Hi all, I am new to ffmpeg and I tried using api-example.c to decode wma files. However when I run the program, it gave me an error saying "frame_len overflow". Does anyone know how to fix this error? Here is my code: [CODE]extern "C" { #include <avcodec.h> #include "../libavcodec/avcodec.h" #include …

Software Development api audio c++ file-stream windows-api
0
151
Member Avatar for jlovesfishiee

Hi, I know that the get() method returns the element at the specified position in the list, so does that mean that for this particular sentence of code: [CODE] HtmlInput inputMsgKey = (HtmlInput) getSendNotificationForm.getElementsByAttribute("input", "name", "msgKey").get(0);[/CODE] get(0); will return the "input" element? Thanks.

Software Development java
Member Avatar for jlovesfishiee
0
80
Member Avatar for Thisisnotanid

Hi everyone, I'm new to Daniweb and programming in general. I wrote a program to implement Euler's sieve, and it seems to work for small primes. But, it incorrectly lists certain numbers as primes for larger ranges. For example, for n = 400, it lists 391 as prime. I've gone …

Software Development python
Member Avatar for Thisisnotanid
0
142
Member Avatar for hashim11

i really need help... i dont know where the problem... the line error on that part>>`class reserveform extends JFrame implements {` import java.awt.Dimens; import java.awt.*; import javax.swing.*; import java.util.List; import java.util.LinkedList; import java.util.Iterator; import java.util.ListIterator; import java.util.Collections; import java.awt.event.*; class reserveform extends JFrame implements { // operation interface JPanel operation; …

Software Development java java-swing
Member Avatar for quuba
0
146
Member Avatar for Lando_

Using Borland 4.5, yea its old but this is what my teacher prefers. Problems States: Markup Write a program that asks the user to enter and item's wholesale cost and its markup percentage. It should then display the item's retail price. For Example If an item's wholesale cost is 5.00 …

Software Development c++ ios
Member Avatar for jember
0
2K
Member Avatar for Tcll

KK so I have 2 py files... 1 being the main, and the other, the plugin I have a list var in the main, that I'd like to append data to from the plugin how do I do it?? the data to append: (from plugin) ' ('template', '*.tmp') ' the …

Software Development python
Member Avatar for Tcll
0
617
Member Avatar for pro_learner

I'm programming with c & C++.Usually i'm programming in Codeblocks IDE.Sometimes i'm using Fedora(Linux) too.Plz can anybody tell me is there any difference between those two programming environments?

Software Development c++ ide
Member Avatar for pro_learner
0
236
Member Avatar for Martje

How would i get an imageBox Background image file location ? Thanks in advanced.

Software Development image
Member Avatar for UsSy
0
129
Member Avatar for vedro-compota

Hi thete )Tell me please - am I right - if [B]fillnumb[/B]=0 then after executing this code - [CODE] switch (fillnumb) { case 0: [B] fillnumb[/B] = 1; break; case 1: [B]fillnumb[/B] = 2; break; }[/CODE] [B]fillnumb [/B]will be =2 ;

Software Development
Member Avatar for vedro-compota
0
131
Member Avatar for nilofer
Member Avatar for ShahanDev
0
80
Member Avatar for whatsername97

so, i'm very new here, and very new to vb.net. i mean, i absolutely suck at it! anyway, i'm trying to create a 'digital diary' application. i need to be able to click a 'save' button to save the data (in this case the diary entry) into a database, and …

Software Development vb.net
Member Avatar for Mike Askew
0
108
Member Avatar for didi00

Hi everyone! I have a task that needs to be made in C in Linux. I use Kubuntu. This is the task: Process (coordinator) creates 5 working process (pool of processes). The working processes are waiting to be awakened by the coordinator, perform a job and wait again. The coordinator …

Software Development c
Member Avatar for didi00
0
147
Member Avatar for Martje

Hey guys, How would i get an imageBox Background image file location ? Thanks in advanced.

Software Development c++ image
Member Avatar for Martje
0
161
Member Avatar for computerbear

Hello, Class assignment, I get partway there, but borders do not show up. We have text files we turn into XML and css by inserting some prefixes and namespaces, etc. Each listing under an agent should be in its own box with a border. I just get long paragraphs after …

Software Development html-css office-suite xml
Member Avatar for computerbear
0
167
Member Avatar for anraevlus18

Hi, I have an array file_list which contains absolute/relative paths of files. I want to remove duplicate elements and elements whose filenames(not the path) are same. How can i do this using grep and hash? Is it possible to do this with one single grep? [CODE] my @file_list= qw(aaa ddd …

Software Development perl
Member Avatar for d5e5
0
264
Member Avatar for kitsan

Can anyone tell me the Coding for: [ATTACH]18596[/ATTACH] Help me!!!

Software Development c
Member Avatar for Narue
0
136
Member Avatar for sharifyboy7

I have been working on a program that requires me to use bubble,insertion, and selection sort. My program runs without any compiler errors. I have printed out the total number of comparisons but I am having trouble trying to print out the array values for bubble,insertion, and selection sort. I …

Software Development c c# c++
Member Avatar for Fbody
0
252
Member Avatar for iWarrior

I'm having a bit of a problem with coordinates and mapping PictureBoxes. Here's the situation: I've got a PictureBox holding an image of a football pitch. The aim is to record the shot positions on this pitch. So whenever the mouse is clicked on the pitch, I am recording the …

Software Development vb.net
Member Avatar for Unhnd_Exception
0
655
Member Avatar for tones1986

hey all, I am working on some simple perl code to do the following: 1) Passed a device IP, the script should attempt to log into each device. If a timeout or any other error occurs, ignore the device and continue to attempt log ins to the other devices in …

Software Development perl
Member Avatar for d5e5
0
271
Member Avatar for losh177

Hi, I'm having some issues with my homework. It is a polymorphism homework. IFrom the console it takes two string (title and author/performer) a char (format for records) and a call number (int). Currently it compiles fine with some warning for strcpy. I have used the same data and sometimes …

Software Development c++
Member Avatar for losh177
0
103
Member Avatar for kdmuk10

I have been teaching myself Java programming for few months now. Now i am looking for some materials which can help me develop my programming technics. It will also be useful materials to deepen my understanding to the java programming. I would appreciate to get some advise.

Software Development java
Member Avatar for kdmuk10
0
174
Member Avatar for gretty

Hi I am making a function that finds what todays date is & returns it as a string to main. (string format dd/mm/yy). My problem is I have found out how to find the day, month & year, but I cant put it into a string & return it to …

Software Development c++
Member Avatar for WaltP
0
1K
Member Avatar for Ahmed Sarwat

Hi, I have a problem with fread,i wrote that program and in the input file only "Hello Word". the out put of the program only prints "Hell" and when I increase the elements in fread to 2 it outputs "Hello Wo". so for each element in fread it reads 4 …

Software Development c
Member Avatar for Ahmed Sarwat
0
114
Member Avatar for tinstar

I am a student in school and I'm trying to figure out why my saleSummaryForm is not being popluated with the information needed. Could someone clue me into what I am missing or what I did wrong? I know that there may be more code in what I am posting …

Software Development vb.net
Member Avatar for jlego
0
159
Member Avatar for abrarHuniedi

How I can creat Label in visual basic without drag drop in design? EX: If I enter 5 in the Textbox, and click button result will apear 5 Labeles in the form.

Software Development vb.net visual-basic
Member Avatar for abrarHuniedi
0
102
Member Avatar for alexchen

I have a list of numbers in a 2d array. I need a random number without repeating. The number zero cannot be shuffle. [CODE] int **map; int * list; void randomize(){ for ( int x=0;x<Width;x++) { for( int y = 0; y < Height; y++) { map[x][y]=list[x*y]; //add code } …

Software Development c++
Member Avatar for jonsca
0
127
Member Avatar for Mouche

Zonr and I have been working on a fun text game containing different rooms, monsters (with a D&D-esque battle system), and save/load functions. Here are the files. You need to have all of them for it to work correctly: [URL="http://www.glenwinters.com/RPG/RPG_jan20.py"]www.glenwinters.com/RPG/RPG_jan20.py[/URL] [URL="http://www.glenwinters.com/RPG/data.txt"]www.glenwinters.com/RPG/data.txt[/URL] [URL="http://www.glenwinters.com/RPG/Glen.txt"]www.glenwinters.com/RPG/Glen.txt[/URL] [URL="http://www.glenwinters.com/RPG/George.txt"]www.glenwinters.com/RPG/George.txt[/URL] Here's the main code: [code] import random …

Software Development python
Member Avatar for richieking
0
512
Member Avatar for ChuckNZ2002

I hope that you folks can help? I have ten IP cameras strategically located around my property. I capture video from these cameras with no problems. The cameras have the ability to pan and tilt, if I send commands to them. I can send something like the following to the …

Software Development delphi pascal
Member Avatar for ChuckNZ2002
0
237
Member Avatar for Viper588

Hey guys im very new to java and am having some difficulty solveing a problem for my class. I have an array of 10 numbers and have to write a method that will eliminate any duplicates in the array and return that array. Iv been toying with different thing for …

Software Development java
Member Avatar for Viper588
0
262
Member Avatar for Ralphael

I want to create a digital clock in Java can any one help me out i am having problems updating the second variable

Software Development java
Member Avatar for Slimmy
0
93
Member Avatar for Sawamura

hi masters... i want to get jobs in printer queue... i didn't have idea to do this. please help me. any help will be appreciated. thanks before.

Software Development printer queue visual-basic
Member Avatar for dstoltz
0
196
Member Avatar for lelejau

Hello, I have this C++ code, I dunno how it works.. Anyway, I'd like to have it translated to Delphi. If anyone can help me out, I'd be glad. [code] typedef void (*t_ChatPrint) ( char * ); t_ChatPrint ChatPrint = (t_ChatPrint)0x0054E410; void ChatPrintf( const char *format, ... ) { va_list …

Software Development c++ delphi
Member Avatar for lelejau
0
116
Member Avatar for mg120

Hi ! I have a C source code of Knight' Tour like [CODE] #include <stdio.h> #include <winbgim.h> #include <stdlib.h> #include <conio.h> #define N 8 void alternatif_bul(int,int); void alt_say_hesapla(); int yeni_konum_bul(); void alt_dizi_sifirla(); int board[N][N]={0}; //satranç tahtası int alt_x[8]={0}; //gidilebilecek alternatif karelerin X konumlarini tutuyor int alt_y[8]={0}; //gidilebilecek alternatif karelerin Y …

Software Development c
Member Avatar for msaqib
0
225
Member Avatar for AmerJamil

Question is: Declare two arrays of size 5. Get input from the user. Declare a third array of size 10. Put the values of array1 in even indexes of array3 and values of array2 in odd indexes of array3. Example Array1 1 2 3 4 5 Array2 6 7 8 …

Software Development c++
Member Avatar for Narue
0
254
Member Avatar for Adami

I need to write a code that receive from the user numbers (must use with EOF) and store them into a matrix. There are some more requirements: 1. Matrix must be only N*N size, while N will be defined at top. 2. If user is trying to enter more than …

Software Development c
Member Avatar for Adami
0
140
Member Avatar for gerard4143

Hi, Is there ever a situation where the programmer needs to be concerned about the copying of a vtable pointer or can I happily assume that the C++ language will handle that detail correctly without my intervention?

Software Development c++
Member Avatar for gerard4143
0
219
Member Avatar for harryhaaren

Hey all, I've a couple of large enough vectors in my code, talking about 88200+ floats per vector. I wanna copy the contents of one into the other. I've read around, some say [code=c++]vector.swap ( otherVector );[/code] is fastest? Currently I'm using the following: [code=c++]for(int i =0; i < vector.size(); …

Software Development c++
Member Avatar for Narue
0
4K
Member Avatar for Don_k

Hey guys using Linux(C) using POSIX API system calls read,write, open etc. I can open,read,write to a file and copy its contents to an output file. How would I go about copying more than one file to an output file using related system calls only. I currently have: [code=c]filein = …

Software Development api c c# c++ file-system
Member Avatar for Don_k
0
224
Member Avatar for icasta13

[CODE]#ifndef Prog_h #define Prog_h class Prog { public: int Array[]; int N; void ReadList(int Array[], int N); void Avgs (int Array[], int N, int &Ave, int &aveP, int &AveN); int Large (int Array[], int N); void Display(int Array[], int N, int Ave, int AveP, int AveN, int Max); }; #endif …

Software Development c++ mathematics
Member Avatar for Fbody
0
116
Member Avatar for vedro-compota

Hi. Could you tell me - what is wrong here - [CODE] public class MAP { public string MAP(string FilePath) { FileStream fs; try { fs = new FileStream(FilePath, FileMode.Open); } catch (FileNotFoundException exp) { return exp.Message; } catch { return "Не удаётся открыть файл"; } return "all right!"; } …

Software Development
Member Avatar for vedro-compota
0
182
Member Avatar for bleedi

Hi, I'm having a problem with my C code. I have a program that fork()'s a child process. The child process waits a time period defined by command line parameter, then alarms the parent process. Now, the program has to handle SIGUSR1 and SIGUSR2 signals too. The first one should …

Software Development c
0
146
Member Avatar for gisek

Hi I have a problem with vc++ (vs 2010 ultimate) debugger. I my code I use a path like this "madia/img.bmp". If I click "Start debugging" or "Start without debugging" the program doesn't load the file but if I enter the Debug folder and than double-click the exe file than …

Software Development c++ visual-studio
Member Avatar for gisek
0
264

The End.