199,113 Archived Topics
Remove Filter ![]() | |
I am trying to add a border around the base they select and then when they select another one, I want the previous one to go away and then high light that one. This is my PHP code that outputs the bases: [code]$gender = $_GET['gender']; // SQL Injection here? $sql … | |
Im trying to have this program continue to run when you enter y or Y at the end or quit when you enter n or N. Everything I try either has it just end or continue to repeat. Any help would be great, thanks! [CODE] #include <iostream> #include <cmath> #include … | |
I have a check button and I was wondering how to get the value from it. When I use this code it gives me that it is selected always, even when it is not. [CODE] public void itemStateChanged(ItemEvent e) { // TODO Auto-generated method stub JCheckBox sourceBox = ((JCheckBox)e.getSource()); wave1Invert … | |
Hello experts! I've made a GUI that calculates the surface area and volume of several shapes based on User input of discreet information such as length, width, depth, etc. [IMG]http://i246.photobucket.com/albums/gg88/mustardy85/ScreenShotGUI.png[/IMG] _______________________________________________________________________________________________________ How do I get java to draw the shapes of images in the BLUE rectangle to the right of … | |
![]() | Hello people, If I want to access to my admin back-end, you will get a form to input your name and password. I have created a class that sets my session in a file called [CODE]StartSession.class.php [/CODE]here it is: [CODE] <?php class StartSession{ static $admin_s; static $password_s; function __consrtuct($admin_session,$password_session){ session_start(); … |
Hello, I'am really new to all this Facebook development, and I wanted to integrate Facebook within my personal website. I am now trying to test if what I want is possible. [B]I want to post a status from my server, via php/js to my Page in Facebook. How can I … | |
Hi, I'm having problems with special characters not showing on the webpage I'm working on. It doesn't seem to want to work no matter what I try. I'm pretty sure UTF-8 SHOULD show German, so I don't know what it is. [url]http://www.p-soldiers.com/ge/germanabout.php[/url] [B]Here's what I have on the page:[/B] [CODE]<link … | |
Hey guys, i made a program that calculates a heat index for a area. User inputs humidity, tells actualy temeperaute. But when i compile it, it says i havea syntax error at the Scanner Input = new Scanner(System.in) line? why is that?[code]public class HeatIndexCalculator { private static final double c1 … | |
[code=text]mysql_query() [[url]http://www.mysql.com/doc]:[/url] 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 'into kiwanis_info ( 'identity', 'firstnam', 'lastnam', 'phonenum', 'emailaddr', ' at line 1[/code] Above is waht I get when inserting into a file from … | |
I have this problem: I have a data structure called DACT, that I convert into a string line and send to another computer. I have a file full of DACTs, and I need to send them all to another computer. When I send only 100, it works fine, but when … | |
How can I make a click on a panel do something in main, instead of a new method? I only want it to change the text of a label that’s on my panel. | |
Hi folks. I'm having some problem here. I have a list of files to read and have to append them all to one unique file. the problem is that when i open the first file to read. I read the first line and discard it. when i read the second … | |
I'm having a real difficult time getting two threads to run simultaneously..... Both of the threads contain 'do while' loops and depending on which one is reached first, it locks out the other thread. My code is as follows; both threads are started together by the click of a button. … | |
Hi First of all I want to thank everyone in this forum who helped me to understand PySide. I have a question about QtCore.QProcess: Here how my program works: I have button (QtGui.QPushButton) when it gets clicked, my program should call my C compiler (GCC) and compile the source code. … | |
I just downloaded a document containing some pointers exercises. The statement of One of its questions is as follows: [COLOR="Green"]Write a function that returns a pointer to the maximum value of an array of double's. If the array is empty, return NULL. double* maximum(const double* a, int size); [/COLOR] It … | |
How can I get a new line in messagebox? I have two TCHAR arrays, I can print both to separate MB but not both to one This is what I'm looking for (if you can understand what I'm trying) It obviously does not work. [CODE]TCHAR one[] = _T("file\\path\\here"); TCHAR two[] … | |
Hi there. I'm having a problem getting values from a drop down to insert into a table. What I want to do is get the key for the value and then insert that. For example: I have a table called format which holds an auto incremented ID key and a … | |
SA : I ask if anyone can help me in this algorithm , it is suppose that this algorithm find all the cycles in given graph . but there exist a bug it return only one cycle not all : [CODE]public class Main { public boolean funcs(boolean Graph[][]){ ArrayList<ArrayList<Integer>>l=new ArrayList<ArrayList<Integer>>(); … | |
Does C# have a conditional compiler directive for debug mode? I have code that I want to run only if I'm debugging. ![]() | |
my professor gave a .o file and we are supposed to write a function that links to his file in ssh. his code is struct grades { int lab; int prog; int mid; int final; char name[10]; } void fillArray(grades a[ ], int & num); these two are given and … | |
I am new to c++ and i am supposed to do a test case using my stub with hand calculated mean & standard deviation of number of students that are saved in the .o file in linux. my code is [code] #include <iostream> #include <fstream> #include <cmath> using namespace std; … | |
Can any body fix this problem plz.. it throws exception "Object reference not set to an instance of an object" [CODE] namespace MC.Master.App1 { public partial class EventChecker : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Page_Init(object sender, EventArgs e) { Label FeedbackLabel = new … | |
Hi, I've got a login form that authenticates a user against a database. I'm trying to implement a function whereby if a user enters 3 invalid passwords in succession, a message is displayed and the application shuts down. I'm using a [B][I]for[/I][/B] loop 2 achieve this, but i can't get … | |
Ello, Does anyone know of some 3rd party libraries that can simplify working with XML through Java, because as we all know the normal SDK's libraries are terrible.. Thanks in advance! | |
Hi there!... i was seeing some codes in Python, but i can't understand it, so... i really don't want learn phyton, by that reason i want to know some things (specific things) for try convert it, now... if someone can convert it for me, i'll be sooo glad :P. Here's … | |
I have been working with lists for a year now, but I am inconsistent with the way I have them setup. I want to know the standard. Let's say you have a computer represented as pixel colors in the form of a list. To simplify it let's just use numbers … | |
hello i made databse that contain images description like price details etc i place pics on asp page <img src = "" ...........> i want to do that when i click on image image descripton from databse comes on page my c# code is [code] protected void TextBox1_TextChanged(object sender, EventArgs … | |
Hi guys, I have a windows form frm1 that calls another form frm2 by the following code: [CODE] this.hide(); frm2 new_frm2 = new frm2(); new_frm2.ShowDialog(); this.Close(); [/CODE] it takes about 5 sec for the frm2 to show so I'd like to use waitcursor. I found that the waitcursor can only … | |
Can anyone give me these solution PLZ.[TEX][/TEX] [CODE]import string STUDENT_ID = 0 STUDENT_FIRST_NAME = 1 STUDENT_SECOND_NAME = 2 STUDENT_MARK = 3 def inputMarks (mList): print "inputMarks not yet implemented" def calcGrade (mark): print "calcGrade not yet implemented" def printIndividualRecord (record): print "printIndividualRecord not yet implemented" def printAllRecords (mList): print "printAllRecords … | |
Here my question I need a decoder for binary codes from a text file but the problem is when I put a space in the text file tpos values crash I know what the problem is the while(fgets(buf, 8, fb) != NULL) because some binary codes are only 6 characters … | |
good morning, I made a little VB app to shutdown a laptop after it has been powered on for 2 1/2 hours, and giving the user a little over 8min warning that it is about to be shutdown. However I have nothing in place to stop the user from restarting … | |
please could some one understand what i am saying i need a program that can count number of digit in a number given by the user .for example if we see123 it has 3 digits...? | |
Hello!!! I read 3 c++ books on dos and what now? I think i want now to programming on windows but which language i can programming ? | |
I have to search record on the basis of excel sheets column field from a table and then insert whole row into a table. How I can do this ?? | |
Hello, forum. My question is: how can I format my output when outputting in JTextArea. I want to have the same functionality as System.out.format has (custom spaces between values). Maybe it is possible to print PrintSream objects in JTextArea? I am currently using append(String s) method but I am not … | |
hello.. i was uploaded files into server. all working is fine. if i enters my domain name it is getting an error there is no page like:Oops! This link appears to be broken. Did you mean: [url]www.domain.Âcom[/url] Additional suggestions: Access a cached copy of [url]www.domain.Âcom[/url] Go to [url]www.domain.Ânet[/url] Search on … | |
Hi all I think that I should start this by saying that I am fairly new to C++. Currently, I can only write basic OOP programs. However, I have been given a task at work to compile and link some old code that we have (roughly 10 years old) to … | |
Hi Friends I am using dynamic text box, i want to calculate the amount from value of rate in the text box and qty Pls help me how to solve it... [CODE]<?php include("config.php"); ?> <script type=text/javascript> function multiply(){ a = document.getElementById("rate").value; b = document.getElementById("qty").value; c = a*b; amt = alert(c); … | |
Just a beginner asking for guide. :) [CODE]private void button2_Click(object sender, EventArgs e) { for (int i = 0; i < listBox1.Items.Count; i++) { listBox2.Items.Add(listBox1.Items[i]); listBox1.Items.Remove(listBox1.Items[i]); } }[/CODE] This is the method I made for moving all the items in a listbox to the one next to it. Apparently there's … | |
I need to write a main() function, that loops over a bunch of numbers from 0 to 100, calls another function called isPrime() for each of them, and print out the numbers that are prime. I'm new to C++ and any help would be appreciated. | |
Ok, I'm not exactly great at PHP, but I'm learning... Here's what I would like to do: An event occurs every Tuesday and Sunday. I would like to echo out the "next" date for the event. For example- "Yardsale every Tuesday and Saturday Next Yardsale: " [echo the next event … | |
I have created a facebook application which loads my website URL on canvas as below [url]http://apps.facebook.com/aslam_facebook/[/url] This link loads my website URL even I have not logged in to my facebook account. Means it has public access. Next I added this facebook application to my facebook fan page as a … | |
hi all, sorry for bad eng.. this draw polyline on g map and then fetch details from php; my prob is that when user draw a point , distance from that point should be display in miles to another point when his mouse drag to another point. any help or … | |
Listing All The Installed Softwares In Computer Using .Net Don't Forget to add [B]Imports Microsoft.Win32[/B] for complete thread with screen shots check here: [snipped] | |
Hi, I'm deploying a VB.NET application with Inno installer. In the past I've used the one Click installer but now require a setup with more options. What needs to be included when deploying a VB.NET application (developed in VS 2010). I understand that the .NET Framework needs to be installed … | |
Can you show me the way about storing the special characters into mysql database using php. Actually,I'm working on such a website where user can upload text and programming codes into mysql. Thank you in advance. | |
Hi, I was wondering if someone could help me. I am using java SWT and am trying to output a list of files and its properties to the screen. I have a file browser popping up and when i select a directory and click ok it outputs the path and … | |
A Function To Find Strings Between A Given Word/String For example : let's say you have following Text: Title Author Product* ~~~~~ ~~~~~~ ~~~~~~~~ "Aurora's Eggs" Douglas Niles Story (Dragons 2) The Dragons Douglas Niles Novel The Kinslayer Wars Douglas Niles Novel The Qualinesti Paul B. Thompson Novel & Tonya … | |
Hi All , I tried to update the field RANGE_ALLOC_BLOCK_SIZE in table GLOBAL_VARIABLES of information_schema database.But i face the error Access denied for the root user.Can anyone help me to update the field. Thanks, Arun T | |
hi i am using this code to get the checked treeview node name.... it goes inside the loop only if the parent node is selected... I have to get the node name if any node is checked... this is the code i am using.. [CODE] public void CheckedNames(System.Windows.Forms.TreeNodeCollection theNodes) { … |
The End.