199,114 Archived Topics
Remove Filter ![]() | |
i created a new folder and took this path and published from windows application to this folder I got three files Project folder Project application manifest setup.exe When i ran setup.exe file i got my winodws application running , but the thing was it didnt got installed on to the … | |
hi ! folks merry christmas and happy new year to all of you folks i have problem on my project it is a lending system I am only a begginer in vb can you give me some programs that i can learn regarding to my project folks i need your … | |
Okay, I'm creating a Battleship game. It's going to be using the console for now, still don't know GUI. Anyways, this is my issue. I have created two boards as lists, the first for the user, the second for the computer. I have the computer generate random numbers and a … | |
How can I show these numbers exactly the same on the form? (By clicking on a command button and printing them on the form) Thanks in advance everyone :) (btw, I'm a beginner so please use the easiest way) ;) ( The "*" character means space. I actually need SPACE … | |
hi everyone ı have a very big text file which is 35mb and that includes 85000 lines. those lines are the rules of ıptales and from the command shell ı do paste and copy and as you can see it that ıs very diffucult to paste every lıne ı trıed … | |
Hi all! Merry Christmas in advance! My question is "easy", I am looking for a "finished game" that I can revise. The game must be text-based and in C++. The game description is the following: A bow must be set in both angle and force to hit a balloon in … | |
[CODE] <html> <head> <script type="text/javascript"> function check() { var val = document.myForm.content.value; if (val.length <= 10) { document.getElementById('numC').value = val.length; //out.value = val.length; } else document.write("Please enter the text in range of 10 characters!"); return false; } </script> </head> <body> <form name="myForm"> Type something here: <input type"textbox" value="" name="content" onchange … | |
Hello, Does anyone know what the "Z" stands for? 2009-12-26T06:00:00.000Z | |
Hi everyone, having trouble coming up with the right code for 8 directional movement [ up, upright, right, downright, down, downleft, left, upleft] My keypress handling is: [CODE] if event.type == KEYDOWN: if event.key == K_LEFT: player.moveLeft = True player.moveRight = False if event.key == K_RIGHT: player.moveRight = True player.moveLeft … | |
hi.. i'll ask some question regarding my system login part.. This is my databasae connection.. [CODE] <? include("constants.php"); class MySQLDB { var $connection; //The MySQL database connection function MySQLDB(){ /* Make connection to database */ $this->connection = mysql_connect(DB_SERVER, DB_USER, DB_PASS) or die(mysql_error()); mysql_select_db(DB_NAME, $this->connection) or die(mysql_error()); function confirmUserPass($username, $password){ /* … | |
I have a mathematical problem that I am not sure how to solve. I am trying now but still cant find a solution. What I is doing is this: The example is that I have a number: "129" that I will need to round down to the nearest value. The … | |
I'm wondering, should I do any advanced security checks for view-only ordering functions. [url]http://www.site.com/?product=shoes&order=[/url][B][COLOR="Red"]manufactured[/COLOR][/B]&ord=[B][COLOR="Red"]desc[/COLOR][/B] when I just only use this data in echo for pagination: [CODE=PHP]$i = 0; echo "<div> <a href='/?products=".$data['cat']."&order=".$_GET['order']."&ord=".$_GET['ord']."&page=".$i+1."'>NEXT PAGE</a>";[/CODE] JUST IN ECHO CASE. These $_GET's doesn't used anywhere else(ex. sql queries etc.)... ------------- Is there is … | |
this is my php code [CODE]extract($_POST); $doc = new DOMDocument; $doc->load('../order1.xml'); $laptops = $doc->documentElement; foreach($laptops as $laptop){ if($list==$laptop->name) { $name1 = $laptop->name; $oldnam = $laptop->removeChild($name1); $olddetails=$laptop->removeChild($laptop->details); $oldprice=$laptops->removeChild($laptop->price); $name1 = $laptops->getElementsByTagName('name')->item(0); $oldname = $laptops->removeChild($name1); }} $doc->save("../order2.xml");[/CODE] this is my xml [CODE]<?xml version="1.0"?> <?xml-stylesheet type = "text/xsl" href = "input.xsl"?> <products> <laptop> … | |
Hello! I have a question in regards to [I]malloc[/I]/[I]calloc[/I] and [I]free[/I] in C. What I'm unsure about is the "depth" (for lack of a better word) that [I]free[/I] operates to. I know that sounds strange so let this example hopefully explain what I mean: [code=c] #include <stdlib.h> int main () … | |
Hello all, please help! I need use two jquery scripts - dynamic select box and clone row. Each of them work fine but I cannot find the way to use it together in one script. Thank you for any suggestion! Petr live demo: [URL="http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww"]http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
Hello, I've got a problem. I created a DataGridView, where a DataTable is it's DataSource. There is a column named "Age" i this DataGridView. It's format is string as I accept the value "unknown". The problem occurs when i try to sort it. After descending sorting the rows where "Age" … | |
i have so many functions in my program,what i want to do is, i want to return back to the main() but in somewhere middle of it!. should i use goto statements? i tried 'em,it gave some error! if i should use goto then please explain how to,thanks | |
hi there, I'm trying to create a function to send email from localhost(postmaster@localhost) to other email accounts(yahoomail,gmail,hotmail).I'm currently using xampp and the mercury32 inside xampp.I had successfully sent email from localhost to localhost but I can't make it to send outside from localhost. This is the code and it works … | |
Hi All I'm new to this forum and i would be really greatful if I could get some help! Someone I know has his own tuition school and I must develop a website for him and I dont know lot about anythng to be honest. Not a great programmer or … | |
Hey everyone, since nobody has decided to assist me in my problems, I guess I have to throw it at you guys this way: I am using Visual C++ 2008 Express edition, I have a win32 tutorial that I'm using, and I'm saving my files as .cpp. However, the codes … | |
Hi, I want write a program which extract 'Rated PG for some scary moments and mild language' from the following html file and return it as a list . html file: <div class="info"> <h5><a href="/mpaa">MPAA</a>:</h5> <div class="info-content"> Rated PG for some scary moments and mild language. (also 2009 extended version) … | |
I have the following code and was wondering if it is a memory leak [CODE] #include <cstdlib> #include <iostream> #include <iomanip> #include <vector> using namespace std; template <class T> class live { vector<T> _data; live<T> *_next, *_temp; public: live(int elements, int chunk = 10) : _next(NULL) { if (elements > … | |
this part of php that connected with db [CODE]$q2="select *from emp order by id"; $r2=mysql_query($q2)or dai("query faild:"mysql_error()); while($x=mysql_fetch_array($r2) { if($x["depno"]==10)//[COLOR="Red"]dose it right to use $x=["depno"]like this when i use the query select* from the table??[/COLOR] { echo"<tr><td>$x["emloyeeno"]</td>"; echo"<td>$x["employee name"]</td>"; echo"<tr><td>$x["address"]</td>"; echo"<td>$x["salary"]</td>"; $sum=$sum+$x["salary"]; } }[/CODE] | |
Hi guys, Merry Christmas. I created a program to delete duplicate songs from my computer. It is working nicely and for it to be really helpful I want to package it somehow so that I can give the software to my friends for use. Now I know giving just the … | |
I'm not sure this is the correct forum for this, but it's at least relative. I was wondering if anyone knew of some decent references and ebooks for a beginning Django user.Yes, I know djangoproject has tutorials, but there decently hard to understand. If someone could either help or steer … | |
i have to make a game 'hangman' in c# using object oriented programming applications ....how should i make dat...guide me plz | |
Is there a way to prevent this from running every time a web page is loaded? For instance I have a web page that opens up upon form load. So right when the form loads it starts running the code that is in the webbrowser document complete event. I tried … | |
Hi i just have problem in my software i just want to apply more then one condition in my quary which is joined "and" operator plese helpe me by given an example(coding) it is very urgent | |
Hi well i m developing application in asp when i want to access these pages from ie5 it shows error HTTP Error 403 - Forbidden in internet explorer [URL]http://localhost/Mail/email.htm[/URL] plz tell me what is the problem | |
How can I show a message in the statusBar for 5 seconds? I do some code, on the end I write out a message in statusBar (statusBar.Text = "Notification Message"; ). But I want that is shown for only 5 seconds. Then it dissapears (with statusBar.Text = ""; ) How … | |
Hi, I just finished learning basic OO concepts and java programming. I know some HTML and have made very basic webpages. I'd like to tackle something like Ruby then ruby on rails. I've also taken a class in databases and mySQL. Do you think it's ok for my level to … | |
Hi all, I've registered a host name that I have been port forwarding to IIS for html/php pages. I recently setup up some connectors for Tomcat 6 and IIS, but that's not going so well. I can only view a set of sample pages that came with Tomcat and none … | |
I'm trying to use the timer (not a Timer object) in a Do... Until loop. I want the loop to put a single variable into a label. When I do this it works and puts the value into the label (lblOxygenReading): [CODE] If btnGetOxygen.Text = "Get Oxygen Reading" Then Select … | |
i want to made a online test series program in jsp using beans, so plz help me , i want structure and database of program . | |
![]() | My Application is not db based i am developing just for learning. i have 2 form first have just user name and password textfield and submit button and second form have one label. i have make condition with if-else when username is "[B]waqas[/B]" and password is "a" then show form2 … ![]() |
Hi , I want to write a program on Lexical Analyzer: which finds the no of keywords, no of operators ( based on the classification arithmetic, logical,....), constants, and others. please suggest me one good method. i am using a method which follows as below: char *Arith_Oper[]={ "+", "-", "*", … | |
I have Visual Basic 8.0 and Use Mysql 5.0 Database Table Test: Field type ID Integer (PRIMARY KEY) Name Char(10) Adress Char(15) City Char(15) ID Name Adress City 1 Andre Street 1 New York 2 John Street 2 Amsterdam 3. Joyce Street 3 Londen I have create a index on … | |
[code] <html> <head> <title>Nhung rac roi ko hieu</title> <script type="text/javascript"> function getvalue(list) { while(list.options.length) list.options[list.selectedIndex].value=null; var value = list.options[list.selectedIndex].value; document.write(value); document.bgColor = value; } </script> </head> <body bgColor="lavender"> Here is the list for you to Change the bgColor! <br/> <select name="list1" onchange="getvalue(this)"> <option value="green">Green</option> <option value="orange">Orange</option> <option value="yellow">Yellow</option> <option value="pink">Pink</option> … | |
I have tried following code to open an existing excel file. the code gets executed but the excel file does not appear on the monitor please help. Dim xlTmp As Excel.Application Set xlTmp = New Excel.Application xlTmp.Workbooks.Open "L:\FormsNRegisters\Accounts\Bill_Forms.xls" Dim xlSht As Excel.Worksheet Set xlSht = xlTmp.Sheets(1) | |
Hi, I am a student in college and am using the college internet facility although the computer is mine. I want to host a Blog and I need to know if the PHP is enabled. How do I find out? | |
Heya guys, i just had a quick situation i wanted to ask about. I've got a form created and when i submit it, $_POST contains 4 identical sets of data. Basically i had 3 separate table forms. One to collect information and enter a query, one to post the results … | |
[CODE]$filter = $HTTP_POST_VARS['att']; $result = mysql_query("SELECT * FROM postingbob WHERE category ='{$filter}' ")or die(mysql_error()); [/CODE] That's my php code which basically takes values from 'att' in my html form [CODE]<div class="vx_two" style="float:right"> <select id="two" title="Select a category" class="pinkselect" name="att"> <option value="Addictions">Sort By Category</option> <option value="Addictions">Default</option> <option value="Addictions">Addictions</option> <option value="Animals">Animals</option> <option … | |
Hi people I have a basic shopping cart here, taken from a book "Build Your Own Database Driven Web Site Using PHP & MySQL" basic catalogue [CODE]<?php session_start(); if (!isset($_SESSION['cart'])) { $_SESSION['cart'] = array(); } if (isset($_GET['buy'])) { // Add item to the end of the $_SESSION['cart'] array $_SESSION['cart'][] = … | |
Hi, im having a mental breakdown, iv created a script where a user will type a password into a box and if it matches the one in the config file then it creates a session. on all of my pages i have the following code. [CODE]<? session_start(); if(!session_is_registered(admin)){ header("location:login.php"); } … | |
I have 2 pages called email.php and sendmail.php.email (email.php directs to sendmail.php).I want to print the URL of email.php in sendmail.php How can i do it? | |
I am new to AJAX and I am trying to create a script that will change content of a div. My scenario I am using is an index page with the list.php script included in the div I want content changed in. The list.php script will pull 8 newest titles … | |
I need to convert a number (in decimal form) that is between 1 to 4999 to Roman Numeral Form. However, though the code I have is kinda working, its only outputting the thousand digit, not anything less or any part thats less. [code] def int2roman(number): numerals={1:"I", 4:"IV", 5:"V", 9: "IX", … | |
Hi, i got the same problem with installing allegro to dev-cpp. i've already reinstalled but it's stil the same: "No such file or directory" or "undefined reference for install allegro version check". Sorry, i'm absolute newbie, can anyone help me? thanks | |
![]() | So I've recently been learning java and have been using [url]www.javacoffeebreak.com[/url] for my first tutorial, anyway everything's been going smoothly til I get to here: [url]http://javacoffeebreak.com/java102/java102.html[/url] The code that's giving me that error is the following: [code] public class Account { protected double balance; // Constructor to initialize balance public … ![]() |
Hello everyone, I am new to assembly, and I am trying to learn it. I was given a book by one of my professor to read over the Holidays unfortunately the book assumes basic knowledge in Assembly (BTW, the book is "See MIPS run linux") I just have some basic … |
The End.