199,114 Archived Topics
Remove Filter ![]() | |
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: … | |
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 … | |
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 … | |
![]() | 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 ![]() |
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 … | |
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 … | |
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. | |
 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 … | |
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 … | |
i know something about php.but i cant know how to start my work in php.pls help me... | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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 … | |
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 ? … | |
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 */ … | |
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 … ![]() | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
Any tutorial step by step yo provide modular application development and dynamic deployment for Net Beans by using OSGi with Felix? | |
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 … | |
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 … | |
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 = … | |
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 | |
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!! | |
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 … | |
**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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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' => … | |
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 … | |
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 … | |
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. : … | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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' … | |
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 … |
The End.