199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for borix134

Alright Im new to this forum so lets hope this goes well, I have decided to learn Java and I started with the lwjgl, I have the exact class and code as posted here: [lwjgl (display)](http://www.lwjgl.org/wiki/index.php?title=LWJGL_Basics_1_(The_Display)) When I run the code I get an error message that says: `JavaVM WARNING: …

Member Avatar for borix134
0
292
Member Avatar for TonyG_cyprus

Ok, so this is driving me nuts, because I can't see why it's happening. Simple code: <html> <head> <meta name='author' content='TonyG' /> <meta name='description' content='' /> <meta name='keywords' content='' /> <title></title> <link rel='stylesheet' type='text/css' href='css/style.css' media='all'/> <link rel='shortcut icon' href='favicon.ico'> </head> <body><div class='container'> <div class='header'></div> <div class='content'> <div class='navi'> <ul …

Member Avatar for TonyG_cyprus
0
142
Member Avatar for monching

Hello everyone, I have my problem in using timer in vb. I have aleady the value, all i want is my time will count down. my sample code is this: Dim datetime As DateTime Private Sub ... datetime.AddMinutes(MinuteBox.Text) datetime.AddSeconds(SecondBox.Text) datetime.AddTicks(1) End Sub Dim remaining As Integer 'unused variable Private Sub …

Member Avatar for monching
0
772
Member Avatar for mehnihma

I have this code: $status_kol=trim($v->Status); $mojakolicina = "Raspoloživo"; if($status_kol=="Raspoloživo"){ $status_dobavljivosti=2; } else { $status_dobavljivosti=0; } echo "OVO JE ZA dostupnost : $status_dobavljivosti <br/>\n"; But i alway get 0 And I get 3 when status_kol is not "Raspoloživo"? Can you help me with this? Thans

Member Avatar for diafol
0
165
Member Avatar for kw42chan

Dear all, I am a newbie in C. Just come across function prototype. I have a task in write a function prototype for: * A function that finds the larger of two numbers and returns the result and i write the following. #include <stdio.h> /* Function Definition, I do not …

Member Avatar for kw42chan
0
412
Member Avatar for Blink383

I am trying to create a GUI app were the user inputs an, item name, price, and discount rate. The button should calculate the two numbers and display the discount price. I am stuck on the action listener and making it preform the action/calculation correctly. I am a pretty novice …

Member Avatar for Blink383
0
471
Member Avatar for chira.laura.9

Hi everyone. I have to do a simple Sokoban game, but I am new in Java and I really don't know how to begin. If you can help me with some advices or tutorials I'll be very thankful.

Member Avatar for bguild
0
5K
Member Avatar for nnekymoe

![Spatial_Recall_2](/attachments/large/4/Spatial_Recall_2.png "Spatial_Recall_2") I'm new to pygame and currently I'm working on creating a memory game where the computer displays boxes at random positions for like a second and then the user has to click on where he/she thinks those boxes are. It's kind of like this: [Click Here](http://www.lumosity.com/brain-games/memory-games/memory-matrix) However right …

0
171
Member Avatar for bradly.spicer

Hey, I've been messing around with SQL And PHP recently and I've come into another problem which has blown all logic out for me. I have this form: System Type <select name="systype"> <option value="systype1">type1</option> <option value="systype2">type2</option> <option value="systype3">type3</option> <option value="systype4">type4</option> <option value="none" selected="selected">None</option> </select><br> This form will send whatever is …

Member Avatar for bradly.spicer
0
132
Member Avatar for jahidshumon

i know something about php.but i cant know how to start my work in php.pls help me...

Member Avatar for veedeoo
0
224
Member Avatar for MutanaIK

Guys I want to get my iput from a barcode reader. Apparently I don have a barcode reader but, I just want to make a code ready to operate in a shopmif a barcode reader is going to be foun later but th software or program already made. Please help …

Member Avatar for tinstaafl
0
172
Member Avatar for Proglearner

Have a look at this snippet: var changeNumber = function(number) { return number + 5; }; var newNumber = 4; changeNumber(newNumber); alert(newNumber); I've been taught that the function should reassign whatever value it returns to the global variable NewNumber, so that newNumber should change from 4 to 9. This doesn't, …

Member Avatar for Proglearner
0
182
Member Avatar for DeanMSands3

I have a calculated field that takes the ID field of a table and pads it with leading zeroes. So far, I've gotten this to work: `String$(4-Len(Trim$(Str$([ID]))),"0") & Trim$(Str$([ID]))` Broken down, it takes the ID field, and string-ifies it. For some reason, this pads it with a space, hence the …

Member Avatar for adam_k
0
779
Member Avatar for soapyillusion

Hello all, I'm working with a currently existing custom page bookmarking tool for an application. The application records the last 5 pages viewed and the allows the user to save 5 bookmarks at anytime. And this function works fine. However we have a specific web page that is used for …

Member Avatar for soapyillusion
0
156
Member Avatar for Stuugie

Hi all, I am attempting to rename a file using the File System Task Editor in SSIS. In the Expression Builder, I have @[User::fileName]+(DT_WSTR,2)DATEPART("mm",GETDATE())+(DT_WSTR,4)DATEPART("yyyy",GETDATE())+".zip" but it returns the following error: > TITLE: Expression Builder >------------------------------ >Expression cannot be evaluated. >------------------------------ >ADDITIONAL INFORMATION: >The data types "DT_I4" and "DT_WSTR" are incompatible …

Member Avatar for Stuugie
0
342
Member Avatar for neely615

I am in the process of learning python, but I have a problem some one gave me last week that I wouldn't mind solving before I get to where I actually learn about it. I think python is the best choice. I need to generate a txt file by inserting …

Member Avatar for neely615
0
173
Member Avatar for DeanMSands3

Greetings, DaniWeb! I have an Access DataBase with a Form I need to modify. When the user moves between records, I need to trigger an event. Is there an event that triggers, and what is it? I know it's not Form.Load. Thanks, DaniWeb!

Member Avatar for DeanMSands3
0
133
Member Avatar for nitin1

i have an array of strings (2D array). i am taking input of strings and that strings can be same with strings which i have inputted before that string. so i want that i don't enter that string which is already being taken into array. so how can i do …

Member Avatar for deceptikon
0
131
Member Avatar for ChrisHunter

I'm reading through a C# coding standards document and come across a section that reads as follows: * Try to prefix Boolean variables and properties with "Can", "Is" and "Has". Can anyone give me an example of hows it's done or maybe a useful link on the subject please ? …

Member Avatar for Kru
0
223
Member Avatar for Rizi004

hello i want to write the given css code in javascript but it is not working i have the div with id one. below is the css code that is working fine ` <style> #one { width:96px; height:0px; left:204px; top:65px; z-index:2; position:absolute; background-color:#FFF; animation:myfirst 2s; -moz-animation:myfirst 2s; /* Firefox */ …

Member Avatar for gon1387
0
3K
Member Avatar for VenusCrystal

Hi, I have ajax call in my script which calls php file. I need to extract its response in two parts to add it on my page to different components each. For example, say I have these two echo statements in my php: echo "<option> add to list1 </option>"; echo …

Member Avatar for diafol
0
2K
Member Avatar for GraficRegret

I have aske this once before with different peramiters and im not sure how to adjust the code to suit what I need it to do so once more here is the code <?php include 'conection.php'; $result = mysql_query("SELECT * FROM inventory") or die(mysql_error()); echo "<table border = '1'>"; echo …

Member Avatar for GraficRegret
0
155
Member Avatar for LinaClark

I have finished the code, but I can not for the life of me figure out why I am not getting any output. Any help would most appreciated. #!/usr/bin/python import apsw import random class NonRepeatingRandom(object): def __init__(self, maxvalue): self.maxvalue = maxvalue self.used = set() def next(self): if len(self.used) >= self.maxvalue: …

Member Avatar for Gribouillis
0
233
Member Avatar for TrustyTony

This example program of using the multiprocessing is crashing my i7 4 core windows7 64 bit computer (32 bit enthought Python 2.7), but is running fine in virtual machine Ubuntu with 4 cores assigned. Can anyone run it in their commputer in Windows7. My system memory (8 GB) is totally …

Member Avatar for vegaseat
0
260
Member Avatar for christodoulos14

hello i have some a problem with malloc, here is my code: int add(int m,int n) { int **pina, **pinb, **pinc; int c=m*n, i=0, j=0; pina=NULL; pinb=NULL; pinc=NULL; free(pina); free(pinb); free(pinc); pina = (int **) malloc (sizeof(int *) *c); pinb = (int **) malloc (c* sizeof(int *)); pinc = (int …

Member Avatar for christodoulos14
0
183
Member Avatar for happygeek

New research based upon the findings of the [Guardian UK300](http://targetjobs.co.uk/uk300/home) has revealed that IT students in the UK most want to work for Google, Apple, Microsoft, IBM or Intel in that order. Failing that, then they would like to end up working with MI6 (the Secret Intelligence Service), MI5 (the …

Member Avatar for Seten
0
503
Member Avatar for agca

Any tutorial step by step yo provide modular application development and dynamic deployment for Net Beans by using OSGi with Felix?

Member Avatar for agca
0
227
Member Avatar for efth

I have some functions that I frequently use in a file called customLib.js. When I want to use one of the functions I copy its definition to the script where I want to use it. Could I upload it somewhere, like dropbox, and use a dropbox url as the src …

Member Avatar for gon1387
0
121
Member Avatar for evansment
Member Avatar for triumphost

Can C++11's Mutexes be used for Inter-Process Communication? In other words, can it be used for shared memory and signalling an event? Currently, I'm using CreateEvent and SetEvent from WINAPI and I wanted a cross-platform way of doing so without doing #ifdef windows and ifdef linux, etc.. I use CreateEvent …

Member Avatar for vijayan121
0
6K
Member Avatar for abeer.rao

hi, i am creating a php based image gallery, after long search on google i found a good decent code for it. but when i change the opendir() location in code, the thumbnail image shows blank image instead of orignal image! here is the code! <?php # SETTINGS $max_width = …

Member Avatar for Webville312
0
245
Member Avatar for siddharth.dixit.5243

Write a php program for Currency conversion. Input Currency name, Value of Input Currency, Output Currency Name Output Currency Value. 1 dollar=50 Rupee 1 Pound= 1.5 dollar 1 Pound= 80 Rupee

Member Avatar for gon1387
0
189
Member Avatar for abeer.rao

i am creating a image gallery that uses different pages. i use simple html menu to link those pages but it was not redirecting to their orinal location. <ul> <li class="menu"><a href="new/index.php">Aww</a></li>; <li class="menu"><a href="mew1/index.php">Hot</a></li>; <li class="menu"><a href="new2/index.php">Chicks</a></li>; </ul> i have no clue that what to do!!

Member Avatar for Webville312
0
167
Member Avatar for Huxaifa

In our university following registration numbers are assigned to students 786-FBAS-BSSE-F12 Where 786 is student ID, FBAS is faculty, BSSE is degree program and F12 is Batch. Write a program that reads registration numbers of 20 students. Use array of structures for storing student information. Provide user with following menu …

Member Avatar for Moschops
0
149
Member Avatar for Armanious

**BACKGROUND** There is a heavily obfuscated online applet with encyption (referred to as applet), there is a program (referred to as program) that reads and modifies the online applet for hacking purposes far more obfuscated than the applet, and then there is me. In a nutshell: applet's main class defines …

Member Avatar for Armanious
0
216
Member Avatar for moroccanplaya

Task Your task is to write a file archive utility similar to that of the Unix tar program. This program will be a command line program (i.e. there will be no graphical user interface). The purpose of this file archive utility is to allow users and system administrators alike to …

Member Avatar for Dolby779
0
220
Member Avatar for Pobunjenik

This is based on John Conways Game of Life, a simple yet awesome code that simulates life. Rules are simple, if a cell has less then 1 or more then 4 living cells next to it, the cell dies. An empty cell with exactly 3 living cells next to it …

Member Avatar for Pobunjenik
0
343
Member Avatar for tadas.bareikis

Hi I have written a program, it doesn't work and i can't figure out why. It does compile, but it doesn't run. The whole program: #include <stdio.h> #include <stdlib.h> #include <ctype.h> int main() { int a; int j; int c; int d; int dig; c = 0; int i; a …

Member Avatar for Moschops
0
170
Member Avatar for bibiki

Hey there, I have a jsp page and a checkbox inside it: <input type="checkbox" name="some" onchange="test()">Check me</input> I also have this function: function test() { out.println("checkbox checked status changed"); } I want the function test to be invoked every time I check/uncheck my checkbox. It is not working. Since I …

Member Avatar for bibiki
0
159
Member Avatar for subrata_ushasi

Hi , I have return type object is "$answer" and I am getting the output by ussing "echo $answer"; is : array 'AnswerId' => int 1 'Comment' => string 'The license is found.OK' 'LicenseInt' => array 'LicenseID' => string 'L005673’. 'Prod_ID' => int 5644 'LicenseDate' => object(DateTime)[35] public 'date' => …

Member Avatar for subrata_ushasi
0
214
Member Avatar for chinmayi4216

A player is good if the following conditions are satisfied: He is either from “India”, “Japan” or “Korea” He has a minimum of 3 years of experience He has won at least 3 major tournaments, and one of them must be "World Championship Tournament". He must know more than 10 …

Member Avatar for Gonbe
0
297
Member Avatar for TIP.Synergy

Hi to Everyone, I want to get the total (column) amount using Listview w/o database VB.NET Help me please... Thanks.. _______________________________________________________________________________________________________ lstitems Item Name | Unit Price | Quantity | Amount ------------------------------------------------------------ Sample1 | 100.00 | 1 | 100.00 Sample2 | 100.00 | 1 | 200.00 Sample3| 100.00 | 1 …

Member Avatar for N.E.Y.O-01
0
6K
Member Avatar for Kamlesh_sj08

Hye friends. I am facing one issue related to socket program written in VB.NET (2008 + 3.5 framework) since long time....I am having a socket server application which accepts the connection...It accepts 800 connection without any problem but after that it throws exception saying...."Exception of type 'System.OutOfMemoryException' was thrown. : …

Member Avatar for gerdal
0
616
Member Avatar for dilbert_here00

Hello All, I am trying to access files which are on a shared network file system, but not sure which python API I should be using. Description: For example the IP address of the file system is 10.10.10.1 1. From windows if i want to access this server i simply …

Member Avatar for Gribouillis
0
470
Member Avatar for foobar1337

Hi, guys, I'm programming some artificial intelligence for a graphics program, Graphics Gale. The program is horrible, it won't let me combine layers with the same name, and it won't let me save the image as a Photoshop file, so what do I have to do? I have to code …

Member Avatar for tinstaafl
0
287
Member Avatar for wollacott

i need my program to read in a file reverse it then write the file out. i got the reverse correct but its not working.my errors are: n.c:12: warning: passing argument 1 of 'fopen' from incompatible pointer type n.c:21: warning: passing argument 1 of 'fopen' from incompatible pointer type n.c:22: …

Member Avatar for Miorfs
0
2K
Member Avatar for unikorndesigns

Hello guys, i'll try to explain the problem i am facing here. I had searched for many file uploaders with drag and drop interface. I came across something at http://demos.9lessons.info/multiupload/index.php called the multiuploader. I saw the code and it was a bit of nightmare to me as am not so …

Member Avatar for unikorndesigns
0
434
Member Avatar for Sally123

I was wondering if it was possible to bound 2 combo boxes to each other. the first combo box with a set of information. Based on what the user selects, the second combo box changes. this involves 2 tables. table 1 ProductID Descritption table 2 Id FK_ProductID Category example: the …

Member Avatar for sai ganesh
0
702
Member Avatar for bangla

Hi, I am trying to disable the 'start' button after i click on 'start' button. Its not working. Please help. <html> <SCRIPT language="JavaScript"> <!--hide function newtext() { document.myform.mytext.disabled = true; setTimeout("moretext()",9000); } function moretext() { document.myform.one.disabled = true; } //--> </SCRIPT> </HEAD> <BODY> <FORM name="myform" method="post" action="sessionS1.php"> <table width='600' cellpadding='5' …

Member Avatar for Bachu
0
118
Member Avatar for bangla

Hi, I click 'start' button, then start button is disabled as expected. Once I click start button, i want to see the values of f1 and f2 on first row , values of f3 and f1 on the second row. First row is working just fine. but the second row …

Member Avatar for Bachu
0
470

The End.