199,112 Archived Topics
Remove Filter ![]() | |
Hey, I'm writing a wheel of fortune game and trying to figure out how to make the game update what players turn it is. It is assumed that there is only three players, and the variable "int players = 1" is defined globally, so if I change it in the … | |
Hey. I'd like someone to point me in the right direction. Basically, my work website shows data from a MySQL db. If a new line of data is added in the DB, the user has no way of knowing that it has gone in until they have refreshed. Now, its … | |
![]() | Hello all, I turn once again to the wisdom of the internet: I have attached my two files to this post as to not use up a whole lot of space. The program is a mock "assembler" it takes mock assembly code and turns it into a file with hex … |
Im trying to add six functions which are six effects to this tic tac toe game. For instance a remove all pieces function. Also, Im trying to restart the DIE roll after every turn made. If I can get the remove all pieces function(reall) to work I can get other … | |
Alright, so I've spent countless hours on this code and I need a fresh pair of eyes to give it a glance... This is my third assignment for my datastructures class, where I am to write code that turns a fully parenthesized expression (such as "((3+2)/(3-8))") into aan "arithemtic expression … | |
I want to implement a file lock using j2ME for mobile files...Can you please help me how to get started with? Can i get files in the emulator? I am using sun wireless toolkit 3.0 to implement it. I am designing it for symbian. | |
[CODE]#include <stdio.h> #include <windows.h> void main() { int i; for(i=0; i<21; i++) { if(i == 5) { system("cls"); printf("\n\n\n\n"); printf("\t\t ***************************************\n"); printf("\t\t ***************************************\n"); printf("\t\t *** ***\n"); printf("\t\t *** WELCOME TO ***\n"); printf("\t\t *** CLASS ATTENDANCE SYSTEM ***\n"); printf("\t\t *** ***\n"); printf("\t\t ***************************************\n"); printf("\t\t ***************************************\n"); printf("\n\n"); } if(i == 10) { … | |
Hello. I'm trying to create a traffic simulator using java applet. I've seen a couple of source codes and to be honest, I'm just clearly confused on how to go about it. What I've done so far is paint the image of the road junction that I am trying to … | |
My teacher has given me an assignment to parse a text file that contains no more than 25 "Students" the Student object has a Name, and five grades contained within an array. Now, I've set up the Student file, the Array template file per his instructions and i'm reading in … | |
Hey. I'd like someone to point me in the right direction. Basically, my work website shows data from a MySQL db. If a new line of data is added in the DB, the user has no way of knowing that it has gone in until they have refreshed. Now, its … | |
I have the following code: [CODE]window.addEvent('domready', function() { $$('.navigation li a').each(function(el) { var fx = new Fx.Tween(el, { duration: 200, link: 'cancel' }); el.store('prop', el.getParents('ul')[0].id.contains('splash') ? 'padding-right' : 'padding-left'); el.addEvents({ 'mouseenter': function() { fx.start(el.retrieve('prop'), 3); }, 'mouseleave': function() { fx.start(el.retrieve('prop'), 0); } }); }); }); window.addEvent("domready", function() { $('splash-img').fade('hide'); $('splash-navigation').setStyle('right', … | |
I have Ubuntu 9.10 running on Oracle Virtual Box in my Windows Vista computer. I have XAMPP running on both. The host is currently set to 192.168.10.4 and the Virtual machine at 192.168.10.3. I tried running the same code independently on both computers and it runs fine on Windows. In … | |
Hello again, I've been experimenting with php and using it to create screen scraper but I have encountered a problem being a noob I am, when I came upon a dynamic page that sends out XMLHttpRequest to server to obtain new results. The website that is called realtor.com and when … | |
What do i do if my sql server in the server explorer always has a red cross on it, if i click on it and then look in the properties window on state it says it is closed and therefore I cant work with my database. if i try and … | |
Hi I have the below code and when i open it in I.E i get this error Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'Language'. Do i need to enter a database @ the datasource= [code]<!--- GetLanguage ---> <cfquery name="qLanguage" datasource="#request.DSN#"> Select LanguageID, LanguageCode, LanguageName from Language </cfquery> … | |
I want to read a bmp file in c. i can read the header but now i need to see het photo. the attachments is am exemple. [CODE]#include <stdio.h> /* We moeten een apparte struct aanmaken voor de Magic Number, anders krijgen we een foutieve waarde hiervoor.*/ struct MagicNumber{ unsigned … | |
Response: ---------- [CODE]<?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns3:createsessionResponse xmlns="http://www.utiba.com/delirium/ws/TypedQuery" xmlns:ns2="http://www.utiba.com/delirium/ws/Misc" xmlns:ns3="urn:UMARKETSCWS" xmlns:ns4="http://www.utiba.com/delirium/ws/StdQuery"> <ns3:createsessionReturn> <ns3:sessionid>6DL42ED0GG67MADDTD96</ns3:sessionid> <ns3:result>0</ns3:result> <ns3:result_namespace>session</ns3:result_namespace> <ns3:createsessionReturn> <ns3:createsessionResponse> <S:Body> <S:Envelope>[/CODE] ------------------------- How can i get xmlns Attribute Values using PHP. [ICODE] <ns3:sessionid>6DL42ED0GG67MADDTD96</ns3:sessionid>[/ICODE] I want to take [ICODE]<ns3:sessionid>[/ICODE] value [ICODE][6DL42ED0GG67MADDTD96][/ICODE]. Please reply asap. very urgent. Thanks William | |
Hello... Can anyone help me...? I have the problem when installing SQl Server 2008 on Vista.. The message is : The performance counter registry hive is corrupted... please I need it Quickly... thanks...... | |
Hi, Currently I have two files: (I've labeled the columns to help with the explanation) mature.txt [0m] [1m] [2m] [3m] [4m] [5m] [6m] [7m] scaffold1088 121550 D 18 ppy mi 164g 88.6 scaffold1141 262270 D 18 ppy mi 896 90.2 scaffold1168 54635 D 18 peu mi 2138 87.5 scaffold1168 56190 … | |
Hi, I need to write a php code that search from multiple tables and here is the problem: $query = "SELECT * FROM table1, table2, table3, table4 WHERE $kategorija LIKE '%".$kriterium."%'"; The results that were given were multiplicated (hundreds copies of the same data). I am new and can somebody … | |
Hi, I'm creating a component for a process flow charting system, and have come to the point where I need to implement D&D between components. I have a panel containing expanding lists, where each list item represents a process definition. What I need to do is the following. Altogether, I'm … | |
Hey, This is probably a newb question, but what all can a string type variable hold? Is it restricted to just letters or can it hold things like "/\|;:'><!@#$%^"...? | |
I have a mass of files, all named 1.txt, 2.txt, etc. all the way up to 100.txt in the same directory (let's say C:\Example1) that have come from a website and are either of one of the two following formats: [CODE]"blah blah blah, 1234, blahblah" (Always 4 numbers, as it's … | |
Hi all, this is my codes. [CODE]import java.io.*; public class Testing3 { static double[][] mydouble; static int a, b; static double d; static String[] temp; public static void main(String args[]) throws Exception { try { BufferedReader in = new BufferedReader(new FileReader("C:\\Users\\Serene\\Documents\\Major Project\\Alignment Algorithms\\Testing2.txt")); //reading files in specified directory String str, … | |
Hi .. anyone can give me a clue about create shortcut path map using java. thanks for advance :) | |
I've looked at this from every angle, but can see nothing wrong. The MS Access table "LocationLinks" contains only 6 fields. LocationLinkKey - autonumber, primary key. LocationKey - long integer, required, indexed, duplicates OK LocationType - string length 4, not required, not indexed RelatedLocationKey - long integer, required, indexed, duplicates … | |
Could any wiz at regular expression write an expression that will check whether a string matches this format number=string must have the =sign included, the number can be anything up 3 numbers and the string can contain any characters this would very much apreciated i've been tryin this d*3/=/{aA-zZ}$/ thanks | |
My daughter plays FaceBook games and is always asking me to solve anagrams. So I thought I would make a script for her to enter a scrambled word and it would compare it to the built-in spell check dictionary. But this code returns words such as quip and quiz when … | |
Hi, I like to add one context strip along with the inbuilt context strip in text box.How can i achieve this... | |
O.K., I have a project I'm working on. It uses 8 classes (I'm only showing 2 and main). It gives me a "bad_alloc" error when the obj is instantiated. When obj is removed it works fine (or call the personType class that "should" be inherited from extPersonType.) Any thoughts of … | |
I am making a program for my class where I handle equation problems such as: 2a-3b+5c=10 3a-2b-3c=-5 where the answer would be: 5a-5b+2c=5 This is what I have so far. It still isn't perfect cause I still haven't figured out the "=" part. I do have it performing the math … | |
[CODE]<?php if(isset($_COOKIE['LoginIdCookie'])) { require_once('database.php'); $result=mysqli_query($dbc,"select *from events") or die('Not Connected'); echo "<html> <body>"; echo "<form method='post' action='Participationhappen.php'>"; echo "<table cellspacing='0' cellpadding='15'> <th><b>Event Title:</b></th> <th ><b>Event City:</b></th> <th><b>Content:</b></th> <th><b>Images:</b></th> <th><b>Event Date:</b></th>"; while($row=mysqli_fetch_array($result)){ $Title=$row['Title']; $City=$row['City']; $Content=$row['Content']; //$Photo=$row['Photo']; $Date=$row['Date']; $EventId=$row['EventId']; [B]$Photo=$row['Photo']; echo $Photo;[/B] echo "<tr><td>$Title</td><td>$City</td><td>$Content</td><td>[B][COLOR="Red"]<img src='<?php echo $Photo; ?>'/>[/COLOR][/B]</td><td>$Date</td> <td><input type='checkbox' name='event[]' value=$EventId … | |
hello everyone , Can anybody help, as i m a beginner in PHP, i try to just check user is valid or not ... I hav 2 fields...Username and Password..as user enter username and password, click on submit button then in the same page the query execute and user is … | |
I need to create a project for college using visual basic 2008 express edition. I have to create a quiz with a login and password facility, so when you run the project the user will have to enter their username and password then be taken to the quiz. How would … | |
Can any one tell me how can i make privileges for user to restrict them and only administrator have all rights. Please help me Thanks in advance. | |
please help me.. here's another one.. 2 dimensional array program that computes the sum of data in columns and sum of data in rows. 3x3 array variable. please help me.. | |
I'm trying to teach myself a bit more php/mysql so that I can implement better usability on my osCommerce site. I've set up a bit of space on the web server and the db server so that I can play about with stuff and I'm close to doing what I … | |
[COLOR="Green"]Hello everybody I am writing a mini program in Linux I have a message queue which has a default maximum capacity of bytes that can be written in it. I am trying to modify this capacity. I googled for a solution and tried to change the value of (msg_qbytes) by … | |
[url]http://pastebin.com/aefXKD9w[/url] This is my code. If the command line csv file (for example, input.csv) has the following: Fred 22 Stella 11 Nellie 33 George 11 Violet 33 Rose 11 Bob 33 Lena 11 Billy 22 1) It should first print Fred is 22 years old.. Stella is 11 years old.. … | |
I am able to present the organizations for a user selected city and state and I am then able to "down select" using the id which presents me with the json encoded data for a single organization. The problem is that along with the json encoded data I am getting … | |
Hi, Have created a simple application for android using 2.2 and eclipse as ide. but whenever i start the project i just get a black screen with white text that says "Andriod ---"(see below) I have create AVD as well. Any help would be appreciated | |
I am new in VB 6. I am have created text boxes and trying to add new data to the MS access. Whenever i add new data it replace the already exixting data in my table. I want new data to be entered without disturbing any existing data in my … | |
I am using a collection of Workbooks that are supposed to work in sync. When the main "System" Workbook is opened it initializes showing a sequence of userforms which get information from the user to determine how to proceed. One of the options is to "check inventory", when chosen it … | |
the question is: Write a method with the signature: [B]public static void printABs(int n)[/B]that prints all the strings, less than or equal to length n, that can be built from the alphabet A,B. printABs must print out its strings starting from the shortest strings and ending in the longest. So, … | |
Hi, I have loaded a web page using web browser in window form. Now i like to paste the text (Using Text box)in the text field on the web page that i have loaded. How can i get this.... Thanks in advance.... | |
Hello everybody, I'm stuck with my Java program. This is the point. When a user had tried for nine times, the user has the choice to restart Hangman or close the program. But when they hit the y or n key during the game, it's just one of the 26 … | |
I have a task in c# to send the data in one ethernet and then receive the data in another one ethernet. i don't know how to start. Help me. Thanks in advance. | |
[B]I had made desktop application using C#.net in which I want to play videos which were encrypted can any one help me to decrypt them. I had tried it in namespace cryptography[/B] | |
Hello, I'm writing code that will populate a listbox with the contents of a folder (a list of excel and word files). Naturally, the listbox has all file names with the ".xls" or ".doc" extension included. How can I get rid of this? I have tried [CODE]fileName.Remove()[/CODE] and [CODE]fileName.Replace()[/CODE] functions … | |
hi, I've jus started my career in dot net. Can anyone help me how to design a video window in which other video should be rolling below. Similar to rolling images in jquery... |
The End.