199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Brent_Ritterbec

I am working through the book Visual C#.NET Step by Step, and I came to the section of the book where the author shows how to create comments on your code with XML. ///<summary> ///The obligatory Hello World in C# ///</summary> ///<remarks> ///This program writes out Hello World ///using the …

Member Avatar for casmith
0
150
Member Avatar for Digital Reaver

I need help writing this program i have everthing set up except i cannot get the program to save the output from it. Here is a copy of my work (It will most likely suck Im new at this sorry.) Any help will be very appreciated. I need the file …

Member Avatar for winbatch
0
110
Member Avatar for rackus

Hi there, I have got this problem which is rather puzzling, to me at least. My team-mate and I each did our coding and they work as standalone. His part is the UI and mine the backend processing. He did his code using BlueJ using JDK 1.3, I did mine …

Member Avatar for rackus
0
512
Member Avatar for The Unreal Wolf

a friend of mine and I want to know what ip adresses are specifically and what they can be used for my friend has what he considers to be a very useful ip for the main comp that runs the school he wants to know what he can do with …

Member Avatar for The Unreal Wolf
0
179
Member Avatar for moonduke

Please Help my code for this program is listed below what the program is supposed to do is also listed below. I can't get it to work. [B]The problem[/B] Write a program to compress a message consisting of the ten symbols A, B, C, D, E, F, G, H, I, …

Member Avatar for Phaelax
0
223
Member Avatar for innocent_one

Hey.. Can anyone please help me? I am trying to write a round robin scheduler and so i decided that if i got a fcfs scheduler, then all i would have to do is change the process from completing in the processor to it just going into the processor for …

Member Avatar for innocent_one
0
563
Member Avatar for bl4ckch3rry

Hi, i searched around and couldn't find any examples on what i'm looking for.. Im a newbie when it comes to Winsock (C++) and im not sure what im doing wrong, if you could just point me in the right direction or provide some source code that'd be very helpfull, …

0
152
Member Avatar for yesterda

ok, i'm really new to php, and i was trying to edit some text, and after i changed it i musta screwed something up because now i get a parse error unexpected t_string line 23, here is the code... <?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // …

Member Avatar for PeterB
0
137
Member Avatar for bob901

soz bout all this posting :S i know this is a really n00b question but how do i add a black background to this prog? import java.awt.*; import java.awt.event.*; import javax.swing.*; public class CMP extends JFrame { public void myframe() { JFrame frm = new JFrame(); frm.setBounds(0,0,800,400); frm.setVisible(true); frm.addWindowListener(new WindowAdapter() …

Member Avatar for bob901
0
196
Member Avatar for kittie

[code] //project.cpp //compile error-price undeclared (first use this function) #include <iostream> //don't I have it declared in the float line?? #include <fstream.h> #include <stdlib.h> using namespace std; int main() //PROBLEM: Create an input file of recently shipped music CD's. The file should consist of // the name of the album, …

Member Avatar for kittie
0
211
Member Avatar for Drew

[B]How to search a database[/B] [B]Intro[/B] Searching a database is actually a easy thing. It just involves a form, and a page that displays the results. Im going to show you how to make a simple form, and a page that displays the results. [B]First steps[/B] So the first step …

Member Avatar for william_stam
0
169
Member Avatar for bobr_1013

When this program runs, I can enter in the name the first time through the while loop (using "cin.getline). When I go through the second time, it skips the name and asks to enter the ss#. The first time through, everything works fine. [code] #include <iomanip> #include <iostream> #include <fstream> …

Member Avatar for vegaseat
0
232
Member Avatar for markymarkb1000

Hi...I have created a private static main method which instantiates an array of 3 different types of objects depending on the choices entered in on the command line. Here is my code: public static void main(String[] args) { //creates local variable currentIndex //creates employee array of type worker which can …

Member Avatar for server_crash
0
144
Member Avatar for vipula

Hello Experts !!! I have two databases to select from my web page. In this script i can search one database(if ($choice=="staff publication") it works. I dont know how to write the script if I select the other option if($choice=="books"). Please can any one help me. I want to display …

Member Avatar for vipula
0
211
Member Avatar for beginprog

hi im purely a beginner and im trying to write a program that will allow us to see graphically the number of people of every diferent age range in a given community then it should show the results graphically. i have done mostly all of the code and i just …

Member Avatar for Daaave
0
202
Member Avatar for Ghost

Hi, I'm trying the Space Invaders tutorial ([url]http://www.planetalia.com/cursos/index.jsp[/url]). I'm on part 13, which divides the code into classes. I'm using JBuilder and when I do this, I get error messages saying that the class I put in a new Java file doesn't exist. I put the java file in the …

Member Avatar for jwenting
0
139
Member Avatar for chacal

I everyone, I wanted to know if there is a way, when creating a TabStrip control, to make the tabs bigger? Because I'm creating a software that will be used with a touch screen and I want to use TabStrip, but the tabs are too small to be used with …

Member Avatar for chacal
0
126
Member Avatar for morgryan

Hi there I need to create a command line interface in java. I have something that connects to an oracle database and allows me to do a predetermined select steps. I need some sort of java code that will allow me to have a prompt: Which you like to do? …

Member Avatar for Paul.Esson
0
145
Member Avatar for Ghost

Hi, I was wondering if there was a way to find open ports on a server. I'm trying to write a program that tells the user whether they have any open ports or not and if they do, which ones and how to fix them. Thanks.

Member Avatar for jwenting
0
178
Member Avatar for fatallah

we need to write simulation program to imitate the behavior of a single CPU system that has a preemtive RR scheduler and the collecting data regarding the operation of the simulation, create a input file to represent process arrival and service times 30 0.7 54 17.28 . . this EXP …

Member Avatar for Narue
0
266
Member Avatar for Cadde

Dear Sir, Would you please Help with code? I am developing an asp application for my company. I want to insert the records in the Database file BAK1703.dbf attached herewith into the All_Hawala table in my application Database after pressing the Import Button in the ASP Page. The All_Hawala Table …

Member Avatar for william_stam
0
139
Member Avatar for Diode

I am determined to learn assembly. However, I have stumbled upon a little confusion regarding boolean algebra. It seems that the author of the very fine documentation I have been studying hasn't explained a whole lot on boolean algebra symbols. I am learning HLA, and I am studying it from …

Member Avatar for Evenbit
0
214
Member Avatar for LeviFiction

Hello. I'm just starting Assembly and I'm looking for both a good compiler/IDE or whatever is used and good tutorials to help me get started. Do you guys have any recommendations?

Member Avatar for Evenbit
0
118
Member Avatar for peter_budo

I'm trying to create class/header for my program which should calculate distanaces between cities declared by array "[I]use[/I]" plus arrays of there coordinates as you see in code below [CODE]// file line.h #ifndef LINE_H #define LINE_H const int cities = 6; class Line { private: string use[] = {"Phoenix", "Baton …

Member Avatar for Narue
0
161
Member Avatar for rohitmc

hi i am new to this forum and my major is computer science...this is the best thing i found on the web yet....i will try to help you out anyway i can.....i need help on this program...thanks 1. create a dynamicarray to hold the first 10 odd intergers. now create …

Member Avatar for rohitmc
0
203
Member Avatar for javalsu

I'm having trouble setting the paper size and the paper bin in the printer object. I've tried the following code. If cboPaperSize.ListIndex = 0 Then Printer.PaperSize = 1 Else Printer.PaperSize = 5 End If If cboPaperSource.ListIndex = 0 Then Printer.PaperBin = 7 Else Printer.PaperBin = 4 End If End If …

Member Avatar for javalsu
0
231
Member Avatar for hessa

Hi, This program supposed to ask the user to enter the names and the ID numbers and the number of children the employee have, the search shoud work like this taylar 845 3 john 123 2 sara 526 2 **search by name** the user should enter the employee name he's …

Member Avatar for hessa
0
241
Member Avatar for Sukuz

Hi!!, I don't know PHP , but I want a piece of code which I can use in my website to keep track of the no. of visitors (aka HIT COUNTER). Please mention how to apply it in my html pages .

Member Avatar for paradox814
0
128
Member Avatar for subtronic

These two languages, for the most part, are completely different; especially now. From culture to paradigm. So let's get a seperate C forum going.

Member Avatar for subtronic
0
296
Member Avatar for belama

Does anyone know a site where I could find a javascript horizontal menu with menu items able to appear over frames? TIA Mat

Member Avatar for Aztech
0
414
Member Avatar for bob901

Hey all :) does anyone know of any good tutorials for java?? Ive already done the Invaders one and "Intro to computer science with java". please post with some good ones :) heres the Invaders one.. [URL=http://www.planetalia.com/cursos/index.jsp]here :)[/URL]

Member Avatar for bob901
0
144
Member Avatar for bob901

hey all.. does anyone know how to make a decryter if so can you please tell me step by step :) thx

Member Avatar for bob901
0
192
Member Avatar for vipula

Hello Experts !!! I have two databases to select from my web page. In this script i can search one database(if ($choice=="staff publication") it works. I dont know how to write the script if I select the other option if($choice=="books"). Please can any one help me. I want to display …

Member Avatar for vipula
0
113
Member Avatar for Bud4java

How do I initialize an array that has been called from a file? There will be 5 values in the array. So should my file "input.dat" have: 5 (number of values) 4 (value) 6 (value) 7 (value) 2 (value) 7 (value) Example: BufferedReader br = new BufferedReader( new FileReader("input.dat")); and …

Member Avatar for paradox814
0
111
Member Avatar for Kendel

Hi All, When I try to run my very first .net App on the server, I got the error saying that [B]"Server cannot access application directory 'D:\Inetpub\myApp'. The directory does not exist or is not accessible because of security settings"[/B] Obviously, the folder does exist. It was set as virtual …

Member Avatar for millers_35
0
129
Member Avatar for krishnakr

I am new to XML/XSLT and have taken a fascination to XSLT. Please take a look at the following and let me know. ========================================================== <?xml version="1.0"?> <FAMILY> <PERSON name="Freddy"/> <PERSON name="Maartje"/> <PERSON name="Gerard"/> <PERSON name="Peter"/> <PET name="Bonzo" type="dog"/> <PET name="Arnie" type="cat"/> </FAMILY> This file is saved as family.xml ========================================================== <?xml …

Member Avatar for alpha_foobar
0
197
Member Avatar for bob901

hey all when i run this code : import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.event.WindowEvent; import java.awt.event.WindowAdapter; import java.awt.image.BufferedImage; import java.net.URL; import javax.swing.JFrame; import javax.swing.JPanel; import javax.imageio.ImageIO; public class SpaceInvaders { public static final int WIDTH = 800; public static final int HEIGHT = 600; public SpaceInvaders() …

Member Avatar for server_crash
0
106
Member Avatar for AhmedHan

Can anybody tell me, what should I learn in order to make Windows mode graphics through APIs and DLLs? OpenGL? DirectX? Or anything else? Please help this lost sheep!

Member Avatar for vegaseat
0
270
Member Avatar for tgreer

Since nobody answered the thread on Binary File IO, I took a different approach. Now I'm having another problem. As I process a very large (>2GB) binary file, I store the byte position at certain points. Then, I reposition the file as needed. I store the byte positions in a …

Member Avatar for alpha_foobar
0
357
Member Avatar for joel987

[CODE]Dim myReader2 As SqlDataReader[/CODE] can any one tellme why i get this error: type 'SqlDataReader'is not defined thanks. :D

Member Avatar for millers_35
0
98
Member Avatar for nathanj99

HI. Hopefully I can resolve this now with your help. simply, I want to write a String to file. I have been trying it with fstream. The string comes in the form of AnsiString from a c++ Edit component. Can someone provide some code to do this. Since I cannot …

Member Avatar for Narue
0
311
Member Avatar for thinksmart12

Hello, I want to host other client's web site/pages on my own web server for free. Does anyone know where to get that sort of script for free? Or, could someone make me it for free? I am using a FreeBSD web server on Windows second edition. For more info, …

Member Avatar for alow89
0
212
Member Avatar for KG800

Hello, I'm currently trying to work on a project and I am stuck. I need to take products from a database and show them on multiple pages according to manufacturer and category. I also will then need to have the pages written out in html, because of were I need …

Member Avatar for KG800
0
220
Member Avatar for zkjian517

when i read linux boot scripts, i often meet this expression: ${1:-}. i can't understand it. what's more, i don't understand this condition: [ -z "${1:-}" ] too. anyone can help me ? thanks!!!

Member Avatar for vgersh99
0
303
Member Avatar for crypter

Hi guys i was wondering how it would be possible to make a button enable when i chose an item from within a combobox?? this is in the C# language that is!

Member Avatar for Samus
0
165
Member Avatar for stupidenator

coming up in a week or so, I will be taking the AP Computer Science A Exam. I'm getting a little nervous about it. Has anyone ever taken this? What did you think about it? Anything in particular that I should really study up on? I have a book on …

Member Avatar for server_crash
0
278
Member Avatar for peter_budo

Studying Computer Science on Unix platform is ussually fun expect days when you get stuck. And life get [B]tough[/B], this is one of my tough days. To make life easier with my c++ programming I wanted to use the [B]make[/B] tool under unix. I have 5 fieles : - student.h …

Member Avatar for peter_budo
0
215
Member Avatar for Rose Aashii

Hye. i write this code to get inpur from user such as ram and hard disk capacity as integer type using structures. After that i want to create a file in which i want to save that data. In the code below it is getting input from user but not …

Member Avatar for alc6379
0
145
Member Avatar for nandoo

Hi, This is Nandoo,new to webDeveloper.I want to make a script which should work in the following manner. In my web page,I want to have a button(with name add).whenever i click that button it should generate a select list and also 3 text Fields. Whenever i select the list items …

Member Avatar for nandoo
0
753
Member Avatar for nathanj99

HI I am trying to write and read to file. I am experimenting with a small piece of code before going onto my main program. I am simply trying to write a float variable and a String variable to file using fstream. The variables are float version; Edit1->Text (this is …

Member Avatar for Narue
0
160

The End.