199,114 Archived Topics
Remove Filter ![]() | |
Hi I am trying to create a GUI game where you slide your player to obsticals in order to get to the middle. The basic assignment rules are as follows The world should be represented using a 5 x 5 grid. Empty spaces, obstacles, the destination, and the player should … | |
![]() | Hi I'm not really sure why this isnt working. Could someone ammend the code so that it is working? cheers <html> <head> <meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org"> <title>Limerick Generator</title> <script type="text/javascript"> function display(f) {//code to get data from List boxes var DirectionSelect = … |
I have a form which is like a question paper. It has multiple text fields for entering a question and related information like marks allotted for that question, complexity level, tags in that question etc. I enter all this info into my db. **Tags are the keywords in that question**. … | |
## Hi i am trying to get gried view data from data base numericaly onfter another. For example first 5 data then another five (6 to 10) then again. I am trying this by clicking on link button but page can not be refresh..i get id from session in manual … | |
hi everyone i need some help. am using visual studio 2008 with sql server 2005. i have a table name "mca1sub1" nd its fields are "cStudentCode,vassignmentI,vassignmentII,Internal,Total". now in my project whenever a faculty adds a new student thn "cstudentcode" in table "mca1sub1" is automatically updated . i have left all … | |
Table name is Chatting. stored procedure name is chat. problem is i cn see confirmation msg tht the message has been sent but i cnt see that data into the table. what am i doing wrong. /*** table chatting USE [Event] GO /****** Object: Table [dbo].[Chatting] Script Date: 04/03/2013 23:53:29 … | |
I have the follow code. And what I like to have, is, the value from the select1 in the 2. Form, input "girl" value. But I do not know, how to do... I always have an empty value in the 2. form. <?php mysql_connect("localhost:8888", "root", "root") or die("Connection Failed"); mysql_select_db("usr_web202_9")or … | |
Basically my table Itinerary table where a record can have a parent record. so table cound have ID Parent ID which can be any ID from The same table. Other details Parent ID can be null if the record doesn't have child. and if i delete the parent record of … | |
Hi there, I am not entirely sure how to target checkboxes with jquery. I had a look around but the methods indicated don't seem to work for me for whatever reason. Given the following html fragment: ... <form> <input type="checkbox" value="red" name="the_color" checked="checked" id="red"><label for="red">This is red</label><br> <input type="checkbox" value="blue" … ![]() | |
I have PHP page and i am trying user can update phone number when click on EDIT button. For that i created 1 button and when user click on EDIT the button changed to SAVE and now user enter phone number and press save button. Now user click save button … | |
Hello, Would someone be willing to take a look at this segment of code? I am trying to figure out how this segment of code operates. I can see how the program can evaluate a simple prefix statement like + 7 6. I cannot see how the program can solve … | |
This is what I am required to do using basic java programning, I am very new to this and was wondering if someone could help me out from what I have read in my book I am suppose to use if else and decision statements. What O dont understand is … | |
I can't figure out why my nivo slider is not showing, the link to the jsbin is here http://jsbin.com/opucok/4/edit. I followed the directions in the nivo website exactly, and the slider works when it isn't with the rest of my html and css code. | |
i am pretty new to java i wrote this code but setText doesnt work i mean i cant reset the contol after type a value .what is wrong friends [CODE] private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) { String gelen=jTextField1.getText(); Random rnd=new Random(); int secilen=new Integer(rnd.nextInt(3)); if(Integer.parseInt(gelen)>secilen){ jOptionPane2.setBackground(Color.GREEN); jOptionPane2.setMessage("GirdiÄŸiniz sayı "+gelen +"\n Benim … | |
Hi Folks, I am writing an app that involves Client -> Server -> Client communication (one way traffic). I have my data transmitted from client A to the server, simple to test, just print to console, however, I'm trying to test to see if the data has been sent on … | |
Hi everyone I have windows form application connected to mysql database. To menage this base I use mysql.net connector. After I make some changes in datatable in my app, I use rowChanged handler to store changes in mysql. Here is code I use in handler: cmdBuilder = New MySqlCommandBuilder(dataAdapter) dataAdapter.Update(datatable) … | |
I have a list of columns of table that holds boolean values. consider a,b,c,d,e,f,g,h as column names with **YES** or **NO** values. I want to query and list column names whose value is YES. can some write a mysql query that can list the columns. if a column has an … | |
Hi hope someone can help me with the folowing How can i echo only the first letter of given words Example if i have: Jozef Margaretha Fransiscus i Want: J.M.F. Thanks | |
Hi, I am trying to write a small shell script that will take user input on SVN branch and validate that the requested branch exists in SVN. And then continue with other operations if the branch is valid. I tried the following but seems its not working right: VALID_BRANCHES="4.2.1 4.1.0 … | |
Hallo, I am trynig to built a poll system. i want to place it in a div of a php file. So i created a form that takes all the data that needs from 2 txt files (questions, options etc). When the user votes the vote.php executes. vote.php <?php $poll_file … | |
Hi I am new to programming. i have some doubts in JavaScript. I have Java language in my computer, can I develop the javascript in java language or Javascript has any language? | |
I made that small project that contains this small database and I want to know how I can get data form this small database using the primary key (Student ID) [here is screenshot for my database table ](http://www.4shared.com/photo/8bS4gVZ9/Capture.html?) [and here is screenshot for the find form ](http://www.4shared.com/photo/ICP8DUKZ/Capture1.html?) anyone can point … | |
Hi Guys, wondering if someone could help me please, this is probably easy for most, but im a beginner :) i want to make an array from my dataset dataset is from (tbl_Employees) i want the array to hold 3 columns/items = item 1 (Username), item 2 (password) item 3 … | |
Hello, i need some help. I 've created a game on html5 using javascript, mysql and php. I want to send it to my iphone(ios). How should i proceed? the game is open with browser. | |
i am posting the code below.... please tell me where the error is ..... i am new to codeblocks.... the error comes at swt and iswt function as undefined referrence........ #include <iostream> #include <fstream> #include "wavelet2d.h" #include <vector> #include <string> #include <cmath> using namespace std; int main() { cout << … | |
Does KeBugCheck only work in a driver ? Andy [code] start: xor eax,eax or esi, 300h add eax, 220h nop cmp [eax], esi pop esi pop ebx jnz short done xor ecx, ecx push ecx ; BugCheckParameter4 push ecx ; BugCheckParameter3 push ecx ; BugCheckParameter2 push ecx ; BugCheckParameter1 push … | |
This is my first time making a project about which I am a beginner I have created a process by which I think I can validate user if user type is guest who is a half registered user. This is my code for front end here the user will submit … | |
Hi, Have been using the same database for years without any trouble. Suddenly we are getting the Data Type Mismatch in Criteria Expression when we attempt to run a VB function. I am not familiar with VB so much, but have found where the error is happening: [CODE] Private Sub … | |
I am using codeigniter 2.1.2 and Bootstrap. I am opening a form in a modal window. The form is inside a div with id status. The form has a few input fields and an upload file field. I am trying to submit the form with ajaxForm. In my controller I … | |
LEt's say there a certain phone number format. If someone types the correct format,it shows ok,if not it shows an error. I have done this but it only checks after user moves to the next textfield (onblur action). is there something like 'onButtonPress' or something | |
I am supposed to create a binary tree using strings typed in by the user, to build a balanced tree using recursion. When I type in letters: A, B, C, D, E, F and the output is set up for preorder output, what I am getting is:A B D F … | |
Hi, I would like to know which is THE BEST platform to develop a web application which will be used by a huge amount of users. Is it PHP or ASP.NET? I am giving more importance to the application performance and security. Thanks! | |
https://www.dropbox.com/s/twtl38huxeeetsx/ProgettoApachePoi.rar in this link there is my project, i create a java text editor for open docx documents. the text editor should do the basics functions of a text editor, as copy, paste , select all, delete, exit, new, open , save and save as. i tested the code and … | |
Hello I watched lots of tutorials but i can't find what i need. I have two fields `textbox1` and `textbox2` and 1 button `button1` WHen button button1 is pressed request is send to mysite.com/user.php?user=`textbox1`&password=`textbox2` ( i have the php code) and if the response is `exist` new form to be … | |
int sum=0; for(i1=0,i1<m,i++){ for(i2=0,i2<m,i++){ for(i3=0,i3<m,i++){ ... ... ... for(im=0,im<m,i++){ sum += a[i1][i2][i3]...[im]; } } } } What is the time complexity of the above code? btw, I always having problems related to time complexity, do you guys got some good article on it? especially about the step count and loops … | |
:$ Hi every one! I'm new here, just finished my registration! I know a little of c++ and I'm starting a project for a game of the new generation of games... like Gears of Wars or Bioshock but I'm feeling a little lost! And I wanted to ask [B]what is … | |
I need in a project to be multi language.Can we show the html result or website content in other language from english with the help of google translat api.and how to use it in project. | |
Hi I want to get pixel value from picture. Anyone know how to do this? Regard | |
What is the most efficient way to read a bit at a particular position in a byte? | |
Declare an integer variable size of 10 elements, input the elements. find the sum of the elements. display the elements. display sum using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int size, sum = 0; Console.WriteLine("input 10 elements"); size=Convert.ToInt32(Console.ReadLine()); … | |
For some reason I keep getting the errors: "cop4530::BST<int>::buildFromInputString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from: "cop4530::BST<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::buildFromInputString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from: Im positive that it has to do with something with the function that that begins at line 114, please help. | |
<html> <title>application</title> <style type= text/css> <!-- style1 font-family: Arial, Helvetica, sans-serif; color: =00000000; } --> </style> <head><script language="JavaScript">{ function upper( field ) { field.value = field.value.toUppercase(); } <!-- function validate() { var good = true; with( document.theForm ) { if( id.value =="") { alert("Please provide a student number combination of … | |
Hello, I need help on how to integrate the passing of information in XML format from ASP.Net(from client) to PHP(my server). I've been searching for solution but cannot find accurate results. A sample code is very much appreciated. Thank you. | |
i wanted to do a feedback or contact us page where user can give feedback and automatically will be sent to a specific admin (example@gmail.com).. i encounter this error..i dont know what to do.. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and … | |
Hi guys I wanted to ask how to make the numbers 0 to 9 show up diagonally, vertically, and horizontally all at the same time. My code must show something like this: (NOTE: Daniweb won't allow me to fill up those spaces with blanks so just imagine the "x" as … | |
After I clicked the 'Run' button in Netbeans, it will compile and run and then it will stop at this point : [Click Here](http://i.imgur.com/4O8vY2d.png) I will have to press any key on the keyboard then it will display the text, but it doesn't allow the user to enter any form … | |
CAn anyone help me how to create a file browser using excel macro? Thank you guyss. | |
Not able to drag down baloonpopup extender in ASP.NET It shows black circle with line. (not allowing to drag on form) but when i drag it on text box it work but when i run the page textbox diappears. please help and also tell how to use baloonpopup extender. | |
Hello, I am trying to create a menu that slides up when a button is clicked. I looked at a lot of tutorials of animate and slide but nothing works for me. I hope someone can help. What I need is a button that says: Click for Menu and when … | |
I'm using **[Ascensor.js](http://kirkas.ch/ascensor)**. I need to detect which div section is visible in window to add animation effects to elements inside that visible div. For following code, <div id="ascensorBuilding"> <section> //floor one content here </section> </div> I'm using my code, <div id="wrapper"> <div class="section about" id="about"> </div> <div class="section home" … |
The End.