64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 () … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 ; … | |
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, … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
Hi, How can I call this sub? Getting an error as it is attached in the .JPG. Please help. Thanks. | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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+; … | |
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 … | |
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 … | |
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 … | |
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... | |
//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 … | |
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 … | |
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 | |
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 … | |
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. | |
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 … | |
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 … | |
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. | |
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 { … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? |
The End.