199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gmfreak1991

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 …

Member Avatar for Fbody
0
175
Member Avatar for Clarkeez

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 …

Member Avatar for Ezzaral
0
76
Member Avatar for xcr

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 …

Member Avatar for Ancient Dragon
0
175
Member Avatar for Dinnerfortwo

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 …

Member Avatar for Dinnerfortwo
0
452
Member Avatar for araisbec

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 …

Member Avatar for araisbec
0
679
Member Avatar for kanchan arak

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.

Member Avatar for kanchan arak
0
148
Member Avatar for gahhon

[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) { …

Member Avatar for gahhon
0
150
Member Avatar for shakssage

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 …

Member Avatar for shakssage
0
1K
Member Avatar for philipB

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 …

Member Avatar for Taywin
0
107
Member Avatar for Clarkeez

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 …

Member Avatar for thejimgaudet
0
249
Member Avatar for marieannevi

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', …

Member Avatar for marieannevi
0
80
Member Avatar for kaycee3x

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 …

Member Avatar for kaycee3x
0
277
Member Avatar for feodal

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 …

Member Avatar for chrishea
0
223
Member Avatar for tendaimare

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 …

Member Avatar for Netcode
0
117
Member Avatar for leemyers

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> …

Member Avatar for leemyers
0
262
Member Avatar for superjj

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 …

Member Avatar for myk45
0
241
Member Avatar for swilliamrobert

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

Member Avatar for swilliamrobert
0
1K
Member Avatar for Batoul88

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......

Member Avatar for Batoul88
0
73
Member Avatar for bio-grad

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 …

Member Avatar for bio-grad
0
413
Member Avatar for LONGWAY

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 …

Member Avatar for rpk2006
0
144
Member Avatar for lee.j.baxter

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 …

Member Avatar for kramerd
0
228
Member Avatar for tmantix

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 "/\|;:'><!@#$%^"...?

Member Avatar for tmantix
0
237
Member Avatar for battlescar

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 …

Member Avatar for codeorder
0
194
Member Avatar for Sunshineserene

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, …

Member Avatar for Sunshineserene
0
2K
Member Avatar for hiks

Hi .. anyone can give me a clue about create shortcut path map using java. thanks for advance :)

Member Avatar for kramerd
0
122
Member Avatar for StevePrim

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 …

Member Avatar for StevePrim
0
991
Member Avatar for benjaminFowl87

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

Member Avatar for pritaeas
0
113
Member Avatar for txwooley

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 …

Member Avatar for txwooley
0
376
Member Avatar for Nivass

Hi, I like to add one context strip along with the inbuilt context strip in text box.How can i achieve this...

Member Avatar for darkagn
0
127
Member Avatar for centerline00

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 …

Member Avatar for Fbody
0
237
Member Avatar for enkidu75

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 …

Member Avatar for StuXYZ
0
170
Member Avatar for ankit.pandey3

[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 …

Member Avatar for pritaeas
0
289
Member Avatar for aksahoo17

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 …

Member Avatar for pritaeas
0
101
Member Avatar for mrwest321

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 …

Member Avatar for Netcode
0
69
Member Avatar for Naveed_786

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.

Member Avatar for AndreRet
0
126
Member Avatar for chenlynn

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..

Member Avatar for Lesetja Frederi
0
158
Member Avatar for s.butler1

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 …

Member Avatar for s.butler1
0
119
Member Avatar for a-humam

[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 …

Member Avatar for a-humam
0
146
Member Avatar for minimi

[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.. …

Member Avatar for javaAddict
0
188
Member Avatar for Capt Spaghetti

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 …

Member Avatar for Capt Spaghetti
0
129
Member Avatar for sam1

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

Member Avatar for peter_budo
0
91
Member Avatar for kamaamin

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 …

Member Avatar for peter_budo
0
129
Member Avatar for shabadoo

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 …

Member Avatar for AndreRet
0
85
Member Avatar for wobuaini

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, …

Member Avatar for leiger
0
99
Member Avatar for Nivass

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....

Member Avatar for Nivass
0
124
Member Avatar for MeandJava

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 …

Member Avatar for leiger
0
7K
Member Avatar for dineshcbe

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.

Member Avatar for Momerath
0
100
Member Avatar for Waseem Siddiqui

[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]

Member Avatar for Momerath
0
73
Member Avatar for bklynman01

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 …

Member Avatar for AndreRet
0
223
Member Avatar for girishankar

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...

Member Avatar for AndreRet
0
72

The End.