132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for BurgerBob

Hi guys, I'm taking a Networking & Internet Systems module... have little experience working with java and am trying to work through an assignment... hopefully you can help! The task is to implement a basic UDP chat system. Create a simple chat system which uses the network (at least locally) …

Software Development client-server java
Member Avatar for CSloan7597
0
8K
Member Avatar for BoBok2002

I need help. I tried to load an image using SOIL. I was having problems with it so I found another code I am using. However, it looks like I am not loading it properly. It's simple but I think I'm confusing myself. I still can't wrap my head around …

Software Development c++ image opengl
Member Avatar for BoBok2002
0
5K
Member Avatar for ruelzkie03

hi... can someone help me with the codes..... when i search for the person only the data of that person appears on the form... i want also to show the picture of the person being search... how can i do that?.... can it be save within the adodc connection?... BTW.. …

Software Development visual-basic
Member Avatar for MichaekMagdy
0
145
Member Avatar for lele07060

I'm trying to make it print out like this ***** **** *** ** * but it keeps on coming out like this: ***** **** *** ** ** here is the code i used [CODE]public class Asterisk { public static void main(String[] args) { for (int i=5; i>0;i--) { System.out.println(""); for …

Software Development java
Member Avatar for thines01
0
123
Member Avatar for Acidburn

Guys, I've got an issue but I also dont know if its possible. I've templated (generic'd out a class that takes type T where T is a HtmlControl object ... [code] internal class Controller<T> where T : HtmlControl { public T locateControl(T t) { t.SearchProperties.Clear(); t.Find(); return t; } } …

Software Development c c# c++
Member Avatar for darkagn
0
122
Member Avatar for coding101

Im having trouble connecting my sockets. On one computer I have a java server socket running and on the other computer i have a c socket client trying to get the message from the other computers server. But I cant get them to connect. Do you see an error with …

Software Development c client-server
Member Avatar for nezachem
0
150
Member Avatar for Jdan2388

Hi I think im doing fairly good on this program but for some reason its giving me an error on line 27 this program is supposed to compute two statistical values for an array of 500 integers ranging in value from 0 to 2000 what am i doing wrong? [CODE] …

Software Development c++
Member Avatar for Lerner
0
256
Member Avatar for kothaisaravan

Hi, I have developed a VB.NET Application with backend MS Access. Now I want to install on the user's machine, so i deployed the setup project. I need to know how can i create a desktop shortcut for my VB.NET Application. If I just copy and paste the filename.exe file …

Software Development vb.net
Member Avatar for IrshadIkhlas
0
171
Member Avatar for zachattack05

Thanks to Antenka I have located the HTML Help Workshop to create a Help system for my software. Problem: writing HTML code is a heck of a lot more tiring than I expected. Does anyone know of a WYSIWYG HTML editor that only does the basics (fonts, tables, images etc...) …

Software Development
Member Avatar for Cap'nKirk
0
99
Member Avatar for violette

I got an error when i run my program. it says; you have an error in your sql syntax;check the manual that corresponds to your mySQL server version for the right syntax to use near 'VALUES ('2011',5,5131,678,'342',809 at line 1 what does it mean? here's my code. can someone point …

Software Development visual-basic
Member Avatar for WaltP
0
598
Member Avatar for jerox

Hey guys, I am new to programming in C, I am trying to save "tc" into a variable using for loops. I understand for integers, multiply the result by 10. Is there a similar way to do this for chars? For integers, [CODE=C] for(j = 0; j < i; j++) …

Software Development c
Member Avatar for jerox
0
141
Member Avatar for mikedee7282

Can someone interpret this code for me? I dont understand whats going on. This code is supposed to take a number n that is inputted and show all the numbers below n that are frugal. A little background, a frugal number is a number where the amount of the digits …

Software Development c++
Member Avatar for stereomatching
0
279
Member Avatar for Despairy

as you can see in the picture this happens the second i add to that kamapatchi class 1 more integer. [CODE]#pragma once #include "Configuration.h" class Kamapatchi{ public: Kamapatchi(); Kamapatchi(Point ); Kamapatchi(int,int); int getAge(); bool isAlive(); void drawSprite(char world[][BOARD_SIZE]); void eraseSprite(char world[][BOARD_SIZE]); void act(char world[][BOARD_SIZE]); void updateStatus(); string getStatusString(); string getSpecificMenu(); …

Software Development c++ visual-studio
Member Avatar for WaltP
0
198
Member Avatar for lbgladson

I have a program to write an application that takes the initial balance, annual rate, and number of years and finds the balance of the account at the end of each year. I have the following code but my Annual Rate label is in the incorrect place, the calculate button …

Software Development java java-swing
0
77
Member Avatar for toneranger

Hi, I've got stock market data in a structure as follows. [CODE]struct PriceInfo { double Open; double High; double Low; double Close; unsigned int Volume; unsigned int Time; std::string Date; };[/CODE] My program imports the data from a csv file and stores it in memory etc. The date and time …

Software Development c++ data-structure
Member Avatar for WaltP
0
2K
Member Avatar for jmaass20

im a new student to c++ and classes has really confused me. the program is creating a bank account. i have already completed the header file but the implementation file has be confused. can someone please help me with this. thanks! here is my header file: #include <iostream> using namespace …

Software Development c c# c++
Member Avatar for Lerner
0
137
Member Avatar for AleWin

I can not find the error in this program [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace test { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { webBrowser1.Navigate(" http://www.httpsurf.com/ "); …

Software Development
Member Avatar for mcriscolo
0
134
Member Avatar for kurohige

so i'd being working on an access app, VBA and i need to restart it, the application usually goes stops running when error 3043 or internet connection goes down.. is there any way i can restart this application without having to build another app to check if is running.. thanks …

Software Development vb.net
Member Avatar for kurohige
0
941
Member Avatar for Vasthor

can anyone tell me particular code that work opposite way for "sort", where.... [QUOTE] sort(b, e) Rearranges the elements defined by the range [b, e) into nondecreasing order. Defined in <algorithm>. [/QUOTE] from Accelerated C++

Software Development algorithm c++
Member Avatar for stereomatching
0
92
Member Avatar for codenoobrebel

Hello all, I am working on an assignment for my OOP1 class that requires reading a .DAT file, performing a bubble sort according to user input using the keyboard and then writing the sorted data to an output.DAT file. I am able to get my program to compile with no …

Software Development c++
Member Avatar for Lerner
0
108
Member Avatar for ginnipig

Hello All, I have two tables that can't be changed. One contains Stock codes / country codes, the other has country code / description for each code. I have a combobox with all the country descriptions that can be added to the stock code table. my problems is i can't …

Software Development seo sql vb.net
Member Avatar for ginnipig
0
244
Member Avatar for Tajinderpal

I have made a media player in java using jmf which plays mp3,midi,mpeg1,mpeg2&avi. How to play the [COLOR="green"]mpeg4[/COLOR].Also i want to make a [COLOR="Green"]playlist[/COLOR] for it which can add,delete and save the songs in the playlist.here is my code of media player..... [code]import javax.media.*; import java.awt.*; import java.awt.event.*; class MediaPlayer …

Software Development java
Member Avatar for JamesCherrill
0
197
Member Avatar for terence193

This is what the question is asking: Write a program to get the user to enter a positive number. Validate the input so any negative or zero number entered is rejected and the user is to re-enter the number. and this is what i have done [CODE]#include<stdio.h> int main (void) …

Software Development c
Member Avatar for YAMNA MIDHAT
0
203
Member Avatar for arunkumars

Hi, i cant seem to get my head around this 1. its about utf8 to u32 and vice versa. I have a file which is written using a custom logic by someone else in vc++, and am reading the same in my c sharp application. Initially while i was debugging …

Software Development
Member Avatar for mcriscolo
0
423
Member Avatar for jpico

Hi, I've been trying to write a converter that converts several units. I want it to be able to prompt the user to retype an input if they type an invalid input... I'm struggling with this part. This is what I have so far. [ICODE] #include <iostream> #include <iomanip> #include …

Software Development c++ ios
Member Avatar for Red Goose
0
156
Member Avatar for zainji

Write the ideal weight calculator so that height in inches is entered by using a slider. Use the approximate formula: W = H2 / 30 , for female W = H2 / 28 , for male where W is the ideal weight in pounds, H is the height in inches …

Software Development java
Member Avatar for hfx642
0
90
Member Avatar for Reverend Jim

I have a NumericUpDown control that I want to allow the user to change with the mouse scroll wheel. The problem is that even with the following code [code] Private Sub numSeries_MouseWheel(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles numSeries.MouseWheel If e.Delta > 0 Then numSeries.Value += 1 Else …

Software Development vb.net
0
219
Member Avatar for Capn_Pipp

#1 - I'm a newb to java :( #2 Im having a problem getting getting my JTable to update when the user edits a cell. Im using a abstract model which is basically what the sun tutorial did word for word( i used a abstractmodel so i could make columns …

Software Development gui java java-swing window-manager
0
139
Member Avatar for couldxbe

Hi everyone! I know there have been quite a few threads on this topic but I'm having a lot of trouble with one piece of code. Basically, I have an input file with three columns and 500+ rows. I want to find the average of each column, and then subtract …

Software Development c++ display
Member Avatar for couldxbe
0
133
Member Avatar for VengefulToast

Hi members, just a simple question, how would I show a constant in an UML diagram? For example, here is a double field the class contains. - radius : double But how would the constant PI (3.14159...) be shown? - PI : constant?? Future thanks for the responses!

Software Development java
Member Avatar for niranga
0
1K
Member Avatar for pkrai

[CODE]#include<anil_pkr.h> void main() { menu();getch(); } /* header file- #include<iostream.h> #include<conio.h> #include<dos.h> #include<string.h> #include<ctype.h> #include<stdio.h> #include<stdlib.h> ////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////// int i,j,k,l,x=5,y=5; char n; void smallbox(int,int,int,int,int); void smallbox(int col,int x,int y,int len,int brth) {textcolor(col); gotoxy(x,y+brth);cprintf("%c",192); for(i=1;i<len;i++){gotoxy(i+x,y);cprintf("%c",196);} for(i=1;i<len;i++){gotoxy(i+x,brth+y);cprintf("%c",196);} gotoxy(len+x,y);cprintf("%c",191);gotoxy(len+x,brth+y);cprintf("%c",217); for(i=1;i<brth;i++){gotoxy(x,y+i);cprintf("%c",179);} for(i=1;i<brth;i++){gotoxy(len+x,y+i);cprintf("%c",179);} gotoxy(x,y);cprintf("%c",218); } /////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// void paint(); void paint() { for(i=1;i<75;i++){textbackground(15); gotoxy(3+i,19);cprintf(" "); …

Software Development c
Member Avatar for Ancient Dragon
0
121
Member Avatar for ChrisTech

I am developing a point of sale program for a project subject. The trouble im having is when i press on the button to add the item from a textbox to a listview i receive an error: See attached Screenshot. my code is: [CODE]Private Sub SalesScreen_Load(ByVal sender As Object, ByVal …

Software Development dataset listview open-source vb.net
Member Avatar for Reverend Jim
0
241
Member Avatar for stuidabest

this is all of the code i have so far [CODE]Public Class Form1 Dim SelectedWord As String Dim IntNoWords As Integer Dim stringarray(1000) As String Dim strword As String Dim Wordlength As Integer Dim UnderscoreWord As String Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EndButton.Click End …

Software Development vb.net
Member Avatar for Reverend Jim
0
93
Member Avatar for kshahnazari

hi everyone , i want to edit , delete and update classes in css with c# . what shall i do?

Software Development c# html-css
Member Avatar for thines01
0
131
Member Avatar for Joey_Brown

Hello :) Lets say I have a text file that looks like this : [CODE]*DataString1 info1;info2;info3 //newline delimiter *DataString2 info1;info2;info3;info4 //newline delimiter . . . //and so on [/CODE] What is the best container with which I could process and manipulate the information stored in this file? Thank you for …

Software Development java
Member Avatar for JamesCherrill
0
92
Member Avatar for brax4444

Hello all, I'm trying to read in an entire tab-delimited files with the following data layout: File Title Line is always at the top. DataName1 DataNam2 DataName3 12345 123.4 12.456 9876 987.65 45678 There may be any number of rows and columns after the title line. I want to read …

Software Development perl
Member Avatar for voidyman
0
472
Member Avatar for voidyman

I want to remove blank lines (empty or with spaces and tabs) from a file from within a perl script. here's what i tried. [CODE]`sed '/^ *\$/d' $file1`;[/CODE] Does not seem to work for some reason. Any Help please?

Software Development perl
Member Avatar for voidyman
0
939
Member Avatar for abshah

Hi, I am facing a bit of issue in writing a network software. When I try to send or receive a struct that contains a data type of 8 bytes the next sent or received struct is somehow affected. I have a few things in mind but first I wanted …

Software Development c mac-software ubuntu
Member Avatar for abshah
0
481
Member Avatar for Jessurider

i've created a project .....in which on executing the h.java the second window3.java appears slowly as you can see that by running the below source code.............but the problem is that the second form i.e window3.java on displaying does'nt shows the noire look and feel environment as well as no noire …

Software Development java
Member Avatar for masijade
0
334
Member Avatar for thijscream

hi, i just figured out how to write to a csv file form a textbox, i have the following code: [code] private void BtnOpslaan_Click(object sender, EventArgs e) { string[] lines = { textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text}; System.IO.File.WriteAllLines(@"C:\output.csv", lines); } [/code] but i was wondering how i can write to the …

Software Development
Member Avatar for GuggiTanvi
0
211
Member Avatar for TrustyTony

This is my code for anagrams not utilizing the ready prepared file of anagram synonyms to celebrate 11.11.11 11:11:11. If you start program it warns you about missing subdirectory dict and creates it. You may put any word files, one word per line, to file <dictionary name>.txt. Program lists available …

Software Development python
0
2K
Member Avatar for Hersch

Hey. I am fairly new to VB.NET so I research alot when I run into bugs. Problem is I cannot find a solution to this, or anything remotely dealing with it. I am developing software to connect to a remote mysql server, run a query, and come back with a …

Software Development dataset mysql vb.net visual-studio
0
142
Member Avatar for Ruchi224

Hello !! I have a windows form having combobox and textbox controls.. I have to generate a part number, consisting of combobox and textbox values included.. I can explain in detail.. This is the code i have used to define a variable "type".. [CODE] If ComboBox1.SelectedIndex = 0 Then type …

Software Development open-source vb.net
Member Avatar for Ruchi224
0
138
Member Avatar for mankamat

Hi, How do we read and write a byte array to a XML file in C++.

Software Development c++ xml
Member Avatar for stereomatching
0
653
Member Avatar for crapped

Im a beginner.. What i want to do is converting user textbox input into Float value. Okay to the point ----- [QUOTE]I have textbox with 3 inputlimit I want if user input '200' itll give result to 2.00 (floatvalue), and if user input '12.3' the result will be 0.123 (floatvalue) …

Software Development pascal
Member Avatar for pritaeas
0
194
Member Avatar for jhamill

So i made a face using several ovals, a arc, and a polyline in the graphics class. I want to be able to change the size of the face based on the number input into the JTextField. Right now the value for the textfield is the variable "size" in the …

Software Development image java java-swing
Member Avatar for mKorbel
0
1K
Member Avatar for nchy13

i don't know why but my compiler reads only upto insert statement. this is what compiler looks like: [B]nchy@ubuntu:~/Desktop$ g++ tree.cpp nchy@ubuntu:~/Desktop$ ./a.out 2 insert 0 14 10 85 15 70 20 60 30 50 65 80 90 40 5 55[/B] [COLOR="Red"]i want to implement following input format[/COLOR] 2 insert …

Software Development c++ ubuntu
Member Avatar for jmichae3
0
120
Member Avatar for squall730

I have a homework assignment where I'm supposed to use pass by references. I'm reading my text and don't really get it. The assignment is to create a program that converts Fahrenheit to Celsius and vise versa. It's also supposed to contain a print function that will output the results …

Software Development c++
Member Avatar for selina12
0
330
Member Avatar for charleneok

Anyone know how to do this question? Use recursion to implement the following recurrence relation f(x): f(x)=1 where =1 f(x) = f((x+1)/2) +1 where x is odd f(x) = f(x/2) +1 where x is even This is what i did: [CODE]#include<stdio.h> int func (int x) int main() { int x; …

Software Development c++
Member Avatar for selina12
0
206
Member Avatar for gary91

Any idea how do I solve this? Please help..

Software Development c c# c++
Member Avatar for WaltP
0
203

The End.