64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for pinsickle

Hello, I am pretty new to Java so I am following along in a book to learn it. I am currently in the beginnings of making a MIDI player but I have run into to a problem. I am using a sequencer, if I don't close the sequencer the program …

Member Avatar for pinsickle
0
146
Member Avatar for m-hrt

i have made a popup menu in fireworks cs3 its working fine in all browsers the problem is that its hiding under the flash features bar as shown in the image where in firefox its working fine what should i do? Internet explorer [IMG]http://i44.tinypic.com/2mhczr5.jpg[/IMG] Firefox [IMG]http://i43.tinypic.com/30tm3qv.jpg[/IMG] Coding: [code]<!DOCTYPE html PUBLIC …

Member Avatar for rajarajan2017
0
237
Member Avatar for Alq Veers

Hi guys, Im trying to bring up a new window then the Credits button located in the help menu is clicked. Im trying to run it as a command. So right now, that code doesnt work unless you comment out the creditsCommand region. So can anyone point me in the …

Member Avatar for Alq Veers
0
155
Member Avatar for krishnisilva

hi, i have created a login form for my project and coded it, but when the username and the passsword is correct i have added the below code Qustion 1 [CODE]if (u.accessGranted(txtUsername.Text, txtPassword.Text)) { ClearTextBoxes(); new frmMainMenu().Show(); // main form after the login this.Close();//login form }[/CODE] but when the login …

Member Avatar for rsodarith
0
150
Member Avatar for Eris32

Hi, I've been working on this a few days and I'm kinda stuck. my error is in line 38- average =ave(&ParentsAge,sizeof(ParentsAge)); If anyone has any ideas as to what I am doing wrong, I would love to finally figure this out!! Thanks #include <iostream> using namespace std; void displayTitle () …

Member Avatar for Eris32
0
173
Member Avatar for nola_Coder

For some strange reason, my game's score counter is not working correctly. I threw in an enemy, which just walks back and forth between two blocks in the map. I know I probably didn't program the enemy the smartest way, and I'm probably about to change it. Instead of programming …

Member Avatar for NathanOliver
0
111
Member Avatar for wewehalim

Hi, i am making a payment detail form which required user to put the detail of their credit card as well as the expiry month and year for the credit card. The "expiry month" and "expiry year" field is separated into different fields. The validator should check that the expiry …

0
72
Member Avatar for jozz3

I'm just playing around with basic GUI code. I have created two check boxes, and a text field below them. I want it to say, "I like Pizza", 'I like Pasta", "I like nothing", or "I like Pizza and Pasta" in the text field depending upon which checkboxes are ticked. …

Member Avatar for woooee
0
107
Member Avatar for jko2326

I had to convert one of my programs into an applet. And most of it I copied and pasted, but the program is suppose to let the user input a number in the texfield and when they click one of the radio button options the calculate resuls are suppose to …

Member Avatar for moutanna
0
136
Member Avatar for maf5693

alright I am trying to develop an operating system with assembly. I have written the boot loader and the beginnings of a kernel-however I am having a problem printing characters to the screen. Here is my bootloader [CODE] use16 ; We need 16-bit intructions for Real mode ORG 0x7C00 ; …

Member Avatar for maf5693
0
327
Member Avatar for Geodude0487

So my teacher this semester is the worst I ever had, I can not get a hold of him at all for help on these labs I've been working on them and trying to get his help on them for the past 3 weeks but since it's an online class, …

Member Avatar for Geodude0487
0
125
Member Avatar for bobbymoir

My SEF URLs are working fine on my local machine (WAMP Server) but when i upload it to server (Server API : CGI) it shows all the pages as 404 error. Here is the code i use : [CODE] 1) .htaccess : Options -Indexes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule …

Member Avatar for bobbymoir
0
160
Member Avatar for Obsidian_496

My program has to open a text file. I want it to give an error message if the file does not exist (or has a diferent name, which is the same, really). I'm using a pretty old Borland compiler, because home assingnments are checked with it. Compiler shows me this …

Member Avatar for hag++
0
160
Member Avatar for kiyu2keith

Salon membership fee Male = 600 Female = 500 If Foreigner +850 n for not foreign f if foreign my code is [CODE] public static void main(String[] args) { String gender, nat; gender=JOptionPane.showInputDialog("Gender"); nat=JOptionPane.showInputDialog("Nationality"); if (gender=="m" & nat=="n"){ JOptionPane.showMessageDialog(null,"Gender:" +gender +"\nNationality"+nat+"Fee is 1450" [/CODE] This code doesn't work so I …

Member Avatar for kiyu2keith
0
109
Member Avatar for Protoroll

Okay, so I wrote a method that goes through the arraylist checks if the items has the maximum value, which is ten, and returns it in a new arraylist. I got that method to work, but I am having trouble writing the test class for it. It keeps returning false. …

Member Avatar for cale.macdonald
0
89
Member Avatar for ceyesuma

Hello Could someone point out what I need to change in the code I have so far? I would like to use XML format in a properties file. The original .properties worked but this will not load the new formatted .properties. I have an app that loads properties in ModelUtils.java …

0
68
Member Avatar for zerioni

Okay, fairly straightforward mysql insert from a form, the insert works fine but i wanted to have it check for duplicates first and kick out an error if the name already existed in the table. That said, I worked out a few errors in the jsp, and have it down …

Member Avatar for zerioni
0
6K
Member Avatar for Cory_Brown

I'm stuck on checking a set of lists to see if they have values. I have 8 lists that are created in my program and I need to check if the lists have any values at all. If all 8 lists return values I want to return true. If any …

Member Avatar for Sodabread
0
106
Member Avatar for Learner7

Hi, How can I call this sub? Getting an error as it is attached in the .JPG. Please help. Thanks.

Member Avatar for Learner7
0
59
Member Avatar for nemoo

hey all :) I'm trying to draw an arrow at the runtime in a windows application between two controls those controls are like a circle and a bar and I need to click a button then select those two controls one after the other then an arrow is drawn from …

Member Avatar for nemoo
0
416
Member Avatar for cahram

Is it possible to search for a string in an array that is in a larger array? I have an array that contains arrays of either one, two, three, or four strings. for instance: myList[1] = ['dog', 'cat'] myList[2] = ['lizard', 'sheep', 'pig'] I want to search for 'sheep' Is …

Member Avatar for TrustyTony
0
202
Member Avatar for wewehalim

Hi, I am making a form validation for my website. I need to put red asterix (*) in the compulsory field. In my form, if "Country" value is Australia, then the "State" and "postcode" field is necessary. If "country" is not Australia, then the "state" and "postcode" field are optional. …

Member Avatar for wewehalim
0
112
Member Avatar for AndreRet

My turn to ask a question.... Does anyone know how to open a report (.rpt) in Crystal Reports 2008 using vb6? I have just spend a lot of money purchasing this and now it seems that it is not compatible with vb6 at all. It was working fine in earlier …

Member Avatar for AndreRet
0
1K
Member Avatar for jlover2010

Hi all I am aware of possibility to have an array of objects (usually Strings) as the parameter options, so we can have buttons with custom labels. Is there any easier way to just for example change the value of OK_OPTION option button label/text from "ok" to "okAy" ? Thanks …

Member Avatar for jlover2010
0
168
Member Avatar for nsutton

I use textwrangler for osx right now, but i want to see what other free ide's are out there. Is there one with tabs for classes and object to be separated?

Member Avatar for justaguy101
0
153
Member Avatar for emybob

im trying to create a class that will create a 20x20 grid with 5 random x's and 100 random o's. But its currently giving me ascii chars instead. any help would be appreciated! [CODE]#include "Lifegrid.h" using namespace std; int main() { int r1; int r2; int r3; int oldi; int …

Member Avatar for emybob
0
123
Member Avatar for david cashin

Hi, I am starting out with linkedlists and would like to know about using another class in a linkedlist. Here is what I am trying to do: [CODE]LinkedList<Student> list = new LinkedList<Student>(); list.add(new Student("Name", 92, 87, 81)); [/CODE] I have no idea what the student class would look like! Would …

Member Avatar for david cashin
0
261
Member Avatar for dB09

hello. i have a database with school names, their budgets and their expenses. i have to write trigger not allowing to increase expenses, but only to lower their value. if someone wants to increase it, there should be message. i know i have to remember somehow the old value and …

0
64
Member Avatar for sgriffin

Hey, right now I am working on implementing a matrix class for an assignment. I am using vectors in order to implement it and am having some trouble with adding matrices together. In my private I have defined: int nRows, nCols; vector<int> data; Here is my code for the operator+; …

Member Avatar for sgriffin
0
107
Member Avatar for initialone1

hi guys, im currently working on an assignment where i have to create a secure chat room program, it works by one main chat server and then each client can log in and send messages to the server and the server will send the messages back to everyone that is …

Member Avatar for peter_budo
0
74
Member Avatar for Abemanden

Hi, i've tried several times, but haven't succed in making this: Classroom2 Name: | Date: Oliver | 12-10-10 Homer | 12-10-10 [COLOR="red"]Peter | 11-11-10[/COLOR] Classroom1 Name: | Date: James | 20-10-10 Lars | 20-10-10 [COLOR="red"]John | 11-11-10[/COLOR] How do i make a SQL statement that ONLY selects the lastest dates …

Member Avatar for Abemanden
0
147
Member Avatar for egoche

Not sure if I'm in the correct forum but... I have a form with three select boxes. Box 1 has a variety of choices, but boxes 2 & 3 are empty. When the person selects an option from box 1, box 2 gets populated with choices. When the person selects …

Member Avatar for egoche
0
96
Member Avatar for midhula

i have created a website application in asp.net using c# for our company's typical department.we dont have a server here.so it need to be deployed into a single computer.how shud i do it so that it can be used as a software in a click away...

Member Avatar for dnanetwork
0
553
Member Avatar for Nitin Daphale

//My project is in C#.NET 2.0 I have multiple forms in my mdi container window . [COLOR="Red"]When I tried to close mdi form , form closing event of a child form (which has current focus/active child ) occurs before the form closing event of mdi form.[/COLOR] Can anybody help me …

Member Avatar for Nitin Daphale
0
208
Member Avatar for dmkc

Hi guys, I have a link in my php page that looks like the following: [code] <?php echo "<a href=hotel-map.php?id=$pid>Map Details</a>"; ?>[/code] Although instead of the "map details" text I want an image there... can someone tell me how I'd do this please? I can't seem to find anything around …

Member Avatar for dmkc
0
101
Member Avatar for elizabeth mwash

kindly assist...am creating a software and i needed to include a table...columns and rows but i don't know how to do it. can i get a shortcut through the toolbox. highly appreciated elizabeth

Member Avatar for babbu
0
88
Member Avatar for 4789787

Ok so this game works perfectly fine on my own windows test box webserver but when I upload it to my website it doesnt work at all, It gives me the error in this php script, and iv determined the problem lies in the HTTP Referer method used, so is …

Member Avatar for colweb
0
339
Member Avatar for linuxoidoz

Hi, What's the easiest way to check whether an item is in a list and then get to that element and do something with it? So far I can think of [CODE] if x in List: for x in List: if x = y: do something [/CODE] Thank you.

Member Avatar for linuxoidoz
0
31K
Member Avatar for tyson.crouch

G'day, I've just been cleaning up some of my queries, and have opted to use a MySQL view for simplification of my queries, as i was using multiple queries to get the values that i wanted. However, I cannot quite figure out how to iterate through the view. My view …

0
58
Member Avatar for Lee21

Guyz, i need your help. How will create an array of checkbox, I dont know to create it on vb.net but as far as i know in vb6 you're just going to create a toolbox then if you copy and paste it,it will automatically ask if you want to create …

Member Avatar for Lee21
0
310
Member Avatar for needanswer

Datagridviews on each tab and invisible both id, on the first tab, you will not see the id on the datagridview, but, the second tab, the id is on the datagridview????? HOW TO FIX IT? Thanks.

Member Avatar for needanswer
0
102
Member Avatar for PCKing

I'm a real Noob to programming & am taking a class of intro to Java. I keep getting a variable not initializing error on the nightsA line calculation. I'm going to warn once again I'm a NOOB to this, so any help is appreciated. import java.util.Scanner; public class SunnyDaze { …

Member Avatar for masijade
0
230
Member Avatar for ashukite

I have invoice form bound to a bindingsource and bindingnavigator. In the form I have unit price, quantity and total textboxes. The total textbox text property is set to total.text = quantity.text * unitprice.text in the textChanged event of both quantity and unitprice text boxes. The result is displayed in …

Member Avatar for tuntunbabu
0
144
Member Avatar for samir_ibrahim

Hi, Is there a way to comment multiple line of code in vb.net at once? means not inserting ' in front of each line in case i want to comment 20 lines that will be tedious job? TIA Samir Ibrahim

Member Avatar for kvprajapati
0
244
Member Avatar for bjeffries

Hey I am not a guru with ajax I have only used it, maybe two times before. What i am trying to do it create a site were all the content on the pages load through a box called: <div id="content"> All this works fine. But when you click the …

Member Avatar for bjeffries
0
112
Member Avatar for Chichano

Hi!! I am working on a POS system, and i have a problem with the project's publication. The system must be installed on over 30 branch, so i need the make a publishing that every time anyone in any branch run the application it get update with the newest version …

Member Avatar for Chichano
0
139
Member Avatar for nola_Coder

I'm creating a simple platform scroller using C++ and the Allegro library, and also .fmp maps created using the tile-based editor Mappy. I have two maps created, which will serve as my two levels. Once the first map is run through, I want to switch to the second map. What's …

Member Avatar for Salem
0
173
Member Avatar for Cap'nKirk

Hi, I have 2 forms, Main & About. When the About form is showing it is TopMost, now I have added code so that when a LinkLabel is clicked on the About form, the About form closes:- [CODE] Form.ActiveForm.Close(); [/CODE] This works fine except that the Main form is now …

Member Avatar for kvprajapati
0
153
Member Avatar for kdcorp87

i have some gif image which i converted to .cursor file and trying o use in my winfrom like that [CODE] Cursor c ; public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { c = new Cursor("cursors\\newcursor.cur"); panel1.Cursor = c; }[/CODE] but i getting error that cursor …

Member Avatar for kvprajapati
0
155
Member Avatar for GAME

Ok, I have a code that I only want to use for the first form1 load, so that means never use it agian. So how do I use a code once then never use it again?

Member Avatar for kvprajapati
0
91

The End.