199,114 Archived Topics
Remove Filter ![]() | |
how to addres sparse matrix n*n dimension when stored in a single dimensional array. | |
how to popup submit button while selecting item from the dropdown list. i had completed the task of displaying textfield while selecting item from the dropdown list but unable to figure out how to popup the submit button with textfield while an item is selected from the dropdown list...please help … | |
I writing simple cmd game. My question is how to use timing function while I use _getch() command? Because this getch function stops the timing and the timer continuous after I click the keys.:@ | |
hi i am working in project in java i have data that i want to display in jtable but only the data is appered but the column names do not apper | |
Why doesn't this work: [CODE]#include <iostream> class myclass { public: union d { int i; }; }; int main() { myclass i; i.d.i = 3; return 0; } [/CODE] but this does: [CODE]#include <iostream> class myclass { public: union { int a; }; }; int main() { myclass i; i.a … | |
Hi, i'm having a few problems when debugging my project. Basically i have two errors; Error 2 error C2065: 'cout' : undeclared identifier Error 3 error C2065: 'cin' : undeclared identifier This is where the errors are (It's a header file) int temp; cout<<"Enter the Client Number : "; cin>>temp; … | |
I want my program to log in to the users email account with the information they provide and click on the emails and then click the links inside the email? If you know how to do this in browser or httpwebrequest Im all ears. Thanks. | |
I HAVE TRYING SPLASH SCREEN IN MY APP, BUT CANT GET THE BASICS YET.. SPLSAH SCREEN ISNT WORKING, CAN ANYONE GIVE ME A SIMPLE EXAMPLE hERE is my code. [CODE] import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import javax.swing.JWindow; public class introduction extends JWindow { private Image img; introduction() { setSize(128,128); … | |
Dears, how to calculate work experience with TimeSpan or otherwise how to calculate work experience if all months of the year have 31 days? | |
I wonder if how could i achieve this code: these are the conditions 1. there will be 2 text-areas 2. the text-area will be having a input of several lines of like this one: [CODE]Griffon Treant Werebear High Elf Efreeti Vampire Sheep Elven Archer Militia Archer Dark Elf Magician[/CODE] 3. … | |
is it possible to have a back() in stack....i know queue and vector has it... [CODE] #include "Card.hpp" #include "Card2.hpp" #include <stack> using namespace std; typedef char StackItemType; bool Card::isEmpty() const { return cards.size() == 0; } Card Card::see() const { return cards.back(); } Card Card::pop() { Card c = … | |
Hi all, I am working on a C++ application which involves a thread. My application draws the waveform on screen. The drawing speed should be 25mm/s and the thread should run every 10.56ms for this speed to obtain. But with either 10ms or 11ms set as the Time period for … | |
Hello! I am trying to create a simple register/log in menu which allows users to enter the system using that username and password. I have already created the 'Register' section but I have difficulty linking it with the Username and Password in the 'Log in' section. Do I have to … | |
Hi everyone New to the site (as you can tell) I've searched the web and your site and still struggle to find an answer to my question. I'm creating a profile website in PHP, I have my sign up and login forms, which registers the details on my sql database, … | |
what i wanna do is when i click timein button the selected value in my combobox will appear in the datagridview that i created too would someone so kind help me with my problem thank you so much !!!!!!!! | |
Greetings, I've found [I]Accelerated C++[/I] to be a pretty solid foundation in C++, but with regards to the new standard, does anyone know of a good supplemental text that can keep me up to date with said standard? Any help would be greatly appreciated. Thanks in advance. | |
Hi Can anyone tell me how to have the email that is received from a form on a website formatted so it looks nicer. Here is the code that generates what i see in the received email. i just want to make some lines bold and in red and on … | |
I am trying to run this XPath expression (that is, trying to count how many element content strings in my XML file end with letter-one-f ('a') or letter-two-f ('A'): [code=xslt]<xsl:value-of select="count( substring(.,string-length(.) -1,string-length(.) -1)=$letter-one-f or substring(., string-length(.) -1,string-length(.) -1)=$letter-two-f )"/>[/code] but I don't know how to refer to the 'current … | |
Please let someone help me out here, i want to insert record to the database using VS2010, when i input data to textboxes and hit button, the program will run and tell me data inserted succesffuly. But when i check my dbs table i won't see any thing. here is … | |
Hello, I have problem with submiting form in IE. This is the part of the code for submission. I am using jQuery validate and form plugins. On other browsers it submits. Tried ie7, ie8, ie9 and none of them submitted. (actually I tried on IE9, but in ie7, ie8 modes.) … | |
Hello I am a total amatuer programmer. I mainly just build little apps that are mainly useful to me. So please be gentle. I am currently working on a program that will paste text into a second program. The text will paste into several different fields automatically. The problem I … | |
Hi everyone..can you help me with this problem? in my frm1, i have: ID no: (txtid) Name: (txtname) Address: (txtaddress) in my frm2, i have: ID_no: (txtid) ISBN: (txtisbn) Date Borrowed: (txtdate) the problem now is I don't know how to code it, when i input the ID_No in frm2 … | |
[CODE]/* * @author BChepkwony * Created on 10 August 2011 */ package com.jjpeople.mainmethod; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; import java.util.Scanner; import java.util.Arrays; /** * MainMethodExercise demonstrates how you can pass in arguments into the * application. * * @author BChepkwony * Created on 10 August 2011 */ public class MainMethodExercise { … | |
guys, i need some help here regarding on the appearance of my background image for my table. i tried to place the image already inside the folder "WebApplication1" where my project is located but the image still is not visible in my table. im using the Mozilla Firefox as my … | |
The Java code I am writing is required to have the first, next, previous, and last buttons, and my program still needs to sort. I believe there is something wrong in my codes for each button. I currently have this (of course with each "" for each button. Any ideas … | |
Hi Guys, I'm a bit of a newbie, but I like to think I learn quick :) I have a piece of code that's working well to show that a job listing has expired. Can anyone tell me if there is a simple way of telling it not to show … | |
Hey, I need to get the last ID from my mysql database and add +1 to it. I saw this mysql_insert_id(); but it looks like it only gets the last insert id? But what happens if the last query was a different table? Dan | |
Hey everyone, kinda new to all this...really need some help: Ok so I want to creat a log in and registration form in VB connecting to a sql database. Databse Name: Users Table Name: UserDetails Table Fields: ID, Username, Password The ID field was specifed as primary and self incrementing … | |
I'm currently working on a project for my JAVA class. The user picks, from a two dropdown boxes, the times he is busy (military time). And at the bottom of the form, there is a table which displays the times he is busy, and the tables arranges the times from … | |
I'm working on a C# windows program with Visual Studio 2008. Usually, I work from school, directly on my usb drive. But when I copy the folder on my hard drive at home, and I run it from my hard drive at home, an sql exception is unhandled whenever I … | |
[code] {"status":"OK","data":[{"service":"hotfile","sid":"alcva","filename":"Cash.2008.x264.utkuemre.part1.rar"}, [/code] I need to convert the string above into - bearing in mind the string is not constant http://rapidgen.net/"SID VALUE"/"FILENAME" So in this example it would be [url]http://rapidgen.net/alcva/Cash.2008.x264.utkuemre.part1.rar[/url] What is the code that will extract only these pieces of this information? THANKS | |
All right, I am trying to make a working healthbar for my game done in direct x 9 and for some reason nothing I do works. Basically, when I run the game and the main character collides with an enemy, the red bar for his health just travels towards the … | |
i have the coding as below given... and i getting error [CODE]TimeSpan date1 = TimeSpan.Parse(TextBox1.Text); TimeSpan date2 = TimeSpan.Parse(TextBox2.Text); TimeSpan ts = date1 - date2; Textbox3.Text=ts;[/CODE] Textbox1 show the current date, Textbox2 show the previous date, and Textbox3 show the difference of textbox1 and textbox2 as the above given code.. … | |
I've been trying to get this to work for alittle over a week and im about to lose hope in my capabilities. I need some help, someone who can write the working code and explain what is happening. Basically, i want to display a message that is called from posts.php … | |
Hi all, I have tried this for a very long time. But i could not found out the error. This should suppose to retrieve data when a user enters particular Account Number. But always an empty form displays...:-( [CODE] <?php $connect=mysql_connect('localhost','root',''); mysql_select_db('bank',$connect); if( isset($_POST['account_number']) && !empty($_POST['account_number']) ){ exit(); } ?> … | |
Seeing how C# does not support implicit fall-though in switch statements, why use the break keyword? All the code snippets I find on the web use the break keyword. Is it just habit from other languages? Thanks. | |
hey guys, i've been designing and coding a pokemon-clone game in java for roughly 3 months and i've a huge problem in my hands. how the hell am i supposed to design a "map" in sprites? for example, i've been reading "developing games in java" and it just gives me … | |
I don't know why can't I update? Coding show as below: [CODE]<?php $con = mysql_connect("example.com","user","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("germanpo_gpweb", $con); $refnum = $_POST['reference_num']; $recetel = $_POST['receiver_tel']; mysql_query("UPDATE `order` SET `receiver_tel` = '".$recetel."' WHERE `reference_num` = '".$refnum."'"); mysql_close($con); ?> <p align="center"><? echo "$refnum , … | |
![]() | Hi guys, I’m working on my assignment for school, end I got stuck. I have workflow end my host application. On my host app is one combo box. I need to write code for my ifElseBranchActivity in workflow. Something like this: [CODE=C#] if (comboBox1.SelectedItem == "option1") { //do some code … |
I have <a title="jjj jjj" /> it appears as jjj new line jjj in itnernet explorer. but in firefox it ignores new lines and replaces them with space. any solution for this on firefox? | |
I am having some issues with my Inventory Program and could use some help. I had the program working last night where my GUI would display the correct categories but today when I tried to get the restocking fee to add in to the value, I seemed to have messed … | |
Hi all, I am getting an error in my application that reads: Incorrect syntax near the keyword 'set' It only occurs in a database at a particular venue and only when the offending query/queries are run locally. I have restored the database on my PC and the queries run without … | |
Ok, so I this error on one of my PHP pages. Parse error: syntax error, unexpected T_PRINT in /var/www/html/texas/z_code/wells_edit.php on line 177 I have no idea what i'm doing wrong and I've been trying to figure this out for some time. If any one could help me, that would be … | |
Hello, this is kinda my first program. I would like to know how to clean the screen so only this code would stay in the console [CODE=C++] cout<<"Welcome to calculator!\n\n"; cout<<"[*] - a * b\n[/] - a / b\n[-] - a - b\n[+] - a + b\n\n";[/CODE] I m also … | |
<input type="button" name="b2" value="Delete" onClick="<? $delQuery = 'DELETE FROM artist_schedule WHERE artist_schedule_id=.$artistID'; $result=mssql_query($delQuery,$con); ?>"/> ------------------------------------------------------------ when i echo $artistID i get the value. how do i delete using a javascript button onClick ?? if using function also then how do i implement the function ? | |
Hello Members, I am looking into using Java to be able to model/simulate (MODSIM) discrete and continuous systems in the areas of traffic modeling, birth/death process, spread of disease etc. I have a working knowledge of Java. I have a good grasp of calculus and differential equations. I am looking … ![]() | |
I have some menu problems. So this is my first time, and I need someone to please solve the problem for me. This is my program. When I ask it to enter on the home menu, it takes me back to the second menu and asks me again if I … | |
Hi, I am trying to create a Client/Server application...when client is initialized it reads a file line by line and sends each line to the server which does some sort of action to the line (in my code it capitalizes the line) and writes it to a file. I have … | |
I am developing an application in Classic ASP My database is SQLSErver 2008 I am getting a problem in connecting to my database. Here is the code which i used to connect. [CODE] connstring ="server=mymsever;database=mydb;Trusted_Connection=Yes;" set conntemp = server.createobject("ADODB.Connection") conntemp.ConnectionString=connstring conntemp.Open() Response.Write(conntemp.State) [/CODE] The last statement is for the confirmation … | |
how to see details about an item present on listbox....i want to know the code? |
The End.