199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nadiam

i was trying to login to this website I'm trying to create and i got this error: > Connection failed: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) please help me. TIA!

Member Avatar for janissantony
0
861
Member Avatar for joshua_8

Get records between date for example in mysql 2009-08-11 to current date 2009-08-11 is to retrieve all date , this is just an example I have tried WHERE time between date(time) and DATE(time) = CURDATE();

Member Avatar for janissantony
0
148
Member Avatar for coder123

Dear experts I am running one mysql query which contains selection from multiple tables.The problem is sometimes the query runs very slow, but sometimes it is ok.Acctually when i run it first time it is very very slow, and from the next time it becomes fast.I wonder if it is …

Member Avatar for janissantony
0
392
Member Avatar for jorwill.harion

Hi! I am currently working on my thesis and I don't have any idea on how can I view the records stored in 3 mysql tables. Can someone please give me some code regarding on this. The records should be displayed in a table form then when you click a …

Member Avatar for janissantony
0
273
Member Avatar for KushMishra

Hello All, I am just a newbie trying to explore areas into game developement using .Net (may be XNA studio) though I am not familier with the same. Could you please suggest some tutorials, ebooks for this so that I can start as a beginner and then later on, may …

Member Avatar for janissantony
0
255
Member Avatar for A***

hello everyone this is my first offical post lol i just wanted to know the requirements of being a programmer in todays gaming industry. i want to get as much information as possible before making a descison regarding my future. here are a list of things im intrested in.if you …

Member Avatar for janissantony
0
175
Member Avatar for Moaid

hello im sort of new to game development and i want to know how to make my own 3d models i searched online and found alot of tools to use such as blender ,maya ,3ds max ... etc , but i dont which one to learn . Im using unity …

Member Avatar for janissantony
0
205
Member Avatar for N S K

hello friends i am trying to do an virus scanning file(antivirus)..i have spent more times but i cant please any one give me the sample source code i can modify it..i also tried CLAMAV but it is not used for me. thanks in advance...

Member Avatar for janissantony
0
115
Member Avatar for NagaSwarupa

As we observe during online ticket reservation we will enter passenger details in textfields in a table. how values will be fetched from that Jsp page to action class?

Member Avatar for janissantony
0
101
Member Avatar for amita_1

how can I sent value to JSP by javascript? I want to sent latitude and longitude parameters to JSP <body> <button onclick="getLocation()">click</button> <script> function getLocation() { if (navigator.geolocation) navigator.geolocation.getCurrentPosition(displayLocation); else alert("Oops, no geolocation support"); } function displayLocation(position) { var latitude = position.coords.latitude; // ดึงเอาค่า lat var longitude = position.coords.longitude; // …

Member Avatar for janissantony
0
154
Member Avatar for bonzo2008

I have commondialog that i can search for *.bmp,*.jpg files thats okej, now the problem is. saving the picture to the rot + filename next time I start the program I will change the picture to another file that shall be saved in rot + filename the first picture shall …

Member Avatar for BitBlt
0
194
Member Avatar for webwebcpp

The program, which you will write, will be a console application of C++ and will read the file.txt file while separating the hidden countries and cities when it starts to work. Sample file (This is only a sample file, your program must read much longer files) Uruguay# Montevideo The USA …

Member Avatar for Maritimo
0
167
Member Avatar for gogs85

How to make in admin page to see in navigation Badge with number of post. Autors make new post and administrator see like in this image example: ![aebb9fd23d41b5677781d14c3d116dcd](/attachments/small/3/aebb9fd23d41b5677781d14c3d116dcd.jpg "align-left") Thanks!!!

Member Avatar for mattster
0
181
Member Avatar for Deepesh_1

I know how to get min and max value in a vector through iterators as shown below, But how about getting a min and max value of a matrix table in vectors of vector: for example i have: `vector<vector<float> > vec;` the above vector has a matrix (my program reads …

Member Avatar for Taywin
0
3K
Member Avatar for ajithoop

I'm doing a simple application of userregister from which I found on net but displays the error message HTTP status 404 not found by GlassFish server 4.1 in NetBeans using Oracle 10g

Member Avatar for vivekH
0
1K
Member Avatar for das122

> unable to process the application .cant store user data into the data base,shows only a blank page # servlet code # import java.sql.*; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet(name = "register", urlPatterns = {"/register"}) public class Register extends HttpServlet { …

Member Avatar for vivekH
0
154
Member Avatar for susman81

i want to Show the second block of check boxes if first block of checkboxes completed. i.e; first block has 2 or 3 check box if all were selected then second block will be displayed and same technique will be used for third one. please help me.

Member Avatar for codevzv
0
214
Member Avatar for nataraja833

I've have a String String s = " ~ ( A || B ) && C "; A B C can take 0,1,x they follow Boolean Arithmetic w.r.t 'x' Boolean Arith is as follows 0 || x = x 1 || x = 1 x || x =1 x && …

Member Avatar for Taywin
0
350
Member Avatar for hell hansen

Hi Guys, I need to create one app which must run in terminal or cmd, or lets say in background! The app must be able to request a url, and get content of url requested, parse the html and save it as csv. I have it runnig in browser, so …

Member Avatar for lorenzoDAlipio
0
184
Member Avatar for rsleventhal

At times, I have need to push all submitted form array values into $_SESSION. To do this, I've written a small function: function addPostToSession() { foreach ($_POST as $key=>$value ){ $_SESSION[$key]=stripslashes(strval($value)); } } This works well, as long as $_POST is one dimensional, but in a form with checkboxes, $_POST …

Member Avatar for cereal
0
425
Member Avatar for rb.dhoriya

hello... i'm creating a web application in asp.net in which i would like to give user a one "JavaScript" code, through which the user can get content from my website to his/her own website. i've used one generic handler to process user request in my website. i've tried using jQuery.. …

Member Avatar for rb.dhoriya
0
3K
Member Avatar for marifard

Hi, I have two pages to upload an image for specific client. the code of the page where I choose the image from file for specific client is: <?php require("headerloggedin.php"); ?> <?php $clientid = $_GET["clientid"]; $query = "SELECT * FROM clients WHERE clientid = $clientid"; $resultset = $db->query($query); while($row = …

Member Avatar for marifard
0
241
Member Avatar for ddanbe

This piece of code is far from perfect, but it works! It produces a list of substrings (consisting of digits and letters) and their delimiters. If it is practicaly a sin to manipulate the index of a for loop, then I'm a sinner. If two delimiters follow each other, an …

Member Avatar for xrjf
0
1K
Member Avatar for Natty_1

According to your variant write a program. That program reads a sequence of positive numbers from standard input. The sequence is terminated by number 0 and does not include that 0. For each number in sequence program should create a new thread. The thread gets some how the value of …

0
78
Member Avatar for My_1

Hello, I have to subtacke index to number of file that reading in. and then find if there is having a space and counting how many space that have. But my code never excute the if statement. here is code for (int index = -128; index < 128 ; index …

Member Avatar for OldOne
0
123
Member Avatar for zahra123

hi i'm writting a program by lex and yacc. i want to add some invariants in some special of an input file. my expected output is the same input file while some invaraints are place through statements.how can i do it? i can transfor the input file to output in …

Member Avatar for zahra123
0
526
Member Avatar for Kapeesh

Hello Dear, Plz tell me how to create a bar chart fetch data from database using in jsp. this is my connection code and plz tell me i add new code in same page or another page. Thanks <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Customer …

Member Avatar for janissantony
0
188
Member Avatar for ankit1122
Member Avatar for janissantony
0
100
Member Avatar for Xiao_1

when i login it will come 2 form one is info and other one is register form when i login that time my info come out come a samll form say error complet the box it should not come out this..!! where go worng

Member Avatar for Xiao_1
0
121
Member Avatar for senait.kifle.127

Hello Guys, so I have this question today. let's say I defined a structure like this : struct List{ char *co; char *di; List* next; }; I wanted to define a function with a pointer to a list of elements of this structure as a parameter. In the body of …

Member Avatar for NathanOliver
0
256
Member Avatar for altjen

Hi everyone. Im a bit new on visual basic programming language and I need your help connection visual basic with an ONLINE DATABASE. Im making a software for my school (is happening a small city competition about programming). I set everything up, just need to fix database online. anyone help …

Member Avatar for Santanu.Das
0
9K
Member Avatar for Trle94

Hello everyone, I'm currently trying to make my application start automatically on pc restart. Now could you help me out with this error: http://screencast.com/t/hmwYmvqg9jK Here is snippet: Dim regKey As Microsoft.Win32.RegistryKey regKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True) regKey.SetValue(Application.ProductName, Application.ExecutablePath) regKey.Close()

Member Avatar for Trle94
0
360
Member Avatar for Jeremybcent

I get the error "Syntax Error (missing operator) in query expression" sql = "SELECT Chores.ChoresID, Chores.ChoresDate, Materials.MaterialName, Advisers.AdviserInit, Advisers.AdviserSurname," _ & "Area.Area, Chores.StudentNo, Student.Forename" _ & "FROM Chores" _ & "INNER JOIN Materials on Chores.MaterialID = Materials.MaterialID" _ & "INNER JOIN Advisers on Chores.AdviserID = Advisers.AdviserID" _ & "INNER JOIN …

Member Avatar for Jeremybcent
0
199
Member Avatar for ravi142

Hello, I am build to sent email with around 5000 email at time sent means Multiple emails used.Like Gmail but at the end Gmail have restriction for limited user.also not sent in SPAM .do you suggest me if any Web service provide this facality.[Not sure but Mailchimp could be provide …

Member Avatar for hericles
0
70
Member Avatar for Maritimo

One of my students make me a question (which answer i know) but I think could be instructive to formulate the same question here so many people can learn about it. The question is: How to implement a copy assignment into a Derived class? Consider the following class A: class …

Member Avatar for pritaeas
0
399
Member Avatar for kruko

Hello Guys, i am new to python, for a assingment i need to create a game (binary puzzle). im having problems to start with creating the bord, i saw some examples of creating a bord game on this forum but it didnt worked out for me. i want to create …

Member Avatar for Gribouillis
0
537
Member Avatar for aliaune
Member Avatar for PcTechnical1

first class GUI - basically trying to use my stack calculation class to use in my first class GUI in my enter postfix expression actionPerformed area? What is the best step to add my stack calculation to evaluate an expression? import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import java.util.LinkedList; …

Member Avatar for gusano79
0
201
Member Avatar for ujjwale

Guys, I want to build Operating System. My Operating System will look like mixture of all the other Operating System currently in use and will have new extensions for every single thing and will run all the things of other extensions! The problem is i don't even know programming. Guess …

Member Avatar for mike_2000_17
0
152
Member Avatar for momal

I'm making an app that allows users to add speech bubbles on runtime and place them any where on the screen. First I was using a different approach and I failed. So I found a tutorial that had a simple drag and drop way. I am able to create a …

0
140
Member Avatar for vegaseat

This snippet shows you how to animate a dice roll with the Tkinter GUI, useful for many games that require a dice to give a random number from 1 to 6. An interesting use of Tkinter's grid(), grid_forget() and after() functions.

Member Avatar for Jake_6
0
4K
Member Avatar for COKEDUDE

I was looking at these two examples and I was curious what the difference is between JCheckBox and JCheckBoxMenuItem. http://www.macs.hw.ac.uk/cs/java-swing-guidebook/?name=JMenuBar&page=3 https://docs.oracle.com/javase/tutorial/displayCode.html?code=https://docs.oracle.com/javase/tutorial/uiswing/examples/components/CheckBoxDemoProject/src/components/CheckBoxDemo.java These pictures make it look they are the same except JCheckBox is not in a menu but it is easy to add to a menu with the menu_name.add(menu_item) command. …

Member Avatar for mKorbel
0
357
Member Avatar for nevek

Hi, I am trying to load u sub-page wich has 2 datepickers but i can't get them to work. This is the code on my main page <script> $(function(){ $("#datepicker").datepicker(); }); //function is called onchange in a list function loadTherapie(){ var therapieID = document.getElementById("lijstTherapieen").value; $("#divTherapie").load("wijzigtherapiesubpage.php?therapieID="+therapieID+"&cacheOntloper="+randomNumber()+"&type=2", function(response){ $(response).find("#datepicker").datepicker(); }); } </script> …

Member Avatar for nevek
0
325
Member Avatar for Simon180

Am looking for a way to download a image from a URL using twebbrower and to save it to a folder, it would access url and then have section for file name and folder name and then it would save the file as a jpg to the folder on drive. …

Member Avatar for Simon180
0
180
Member Avatar for ZER09

class Base { [Display(Order = 0)] public int FirstProp {get;set;} [Display(Order = 1)] publuc string SecondProp {get; set;} } class Derived : Base { [Display(Order = 2)] public string ThridProp {get;set;} } I was expecting that the properties will have an order like this | FirstProp | SecondProp | ThirdProp …

Member Avatar for Ketsuekiame
0
235
Member Avatar for davy_yg

create_account.php <?php include('includes/koneksi.php'); $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $institusi = isset($_POST['institusi']) ? $_POST['institusi'] : ''; $alamat = isset($_POST['alamat']) ? $_POST['alamat'] : ''; $email = isset($_POST['email']) ? $_POST['email'] : ''; $no_telp = isset($_POST['no_telp']) ? $_POST['no_telp'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; //Simpan berita /* if (isset($_POST['submit'])){ …

Member Avatar for pritaeas
0
337
Member Avatar for EarhawkPH

Hi! Newbie on Java. I'm doing this assignment for a cash register program. Our professor just explained what we're gonna do and stuff. Here's what i understood: 1.)Sales report (my code appears on the first diag box) Product ID Product Name Quantity Price 2 Stuff 100 3 Stuff 100 4 …

Member Avatar for stultuske
0
364
Member Avatar for Stuart_3

Hello, sorry to bother you but I have ran into another small problem that I can't figure out. I've watched tutorials, browsed stackoverflow and googled it and still can't get it working. I'm making a really simple app where the user can change the application's background color by using a …

Member Avatar for peter_budo
0
142
Member Avatar for Mamy.Dad
Member Avatar for shayan_doust
0
101
Member Avatar for maria.javed.3990

The End.