199,114 Archived Topics
Remove Filter ![]() | |
I'm trying to write a demo page for my site that works completely on AJAX. What I mean by this is that the page will stay the same, but load new pages by changing the <BODY> of the document. I'm writing a script that will take every link and decide … | |
[CODE]#include <iostream> #include <stdlib.h> using namespace std; void GetTime ( int*, int*, int* ); int CalcSeconds ( int, int, int ); int main() { int hr, min, sec; char another; int total_sec; cout << " \n\n Welcome to a time-conversion program ! \n\n " ; do { GetTime( &hr,&min, &sec); … | |
So, Python 2.6.2 is supposed to have the following JSON module: [url]http://docs.python.org/library/json.html[/url] I have the standard MacPython 2.6.2, but the attributes of my JSON library are different, can someone help me fix this? Here's mine: [url=http://img30.imageshack.us/my.php?image=picture1axb.png][img=http://img30.imageshack.us/img30/481/picture1axb.th.png][/url] | |
I am working on this project for a class. I have input the students last name, first name, student ID and three test scores. I have to make the first step a function that stores the data into an array. Inside this array it is also going to give the … | |
Hi, i need to transfer binary data over socket and write the data to a file. Can anyone please help me out with this issue. I am using fread() to read the file and fwrite() to write the file,send() and recv() as the socket calls. I am able to transfer … | |
Ok, I'm real new to php, so I'm sorry if this is a stupid question. I've started building a blog using php and mySql and I'm having problems with updating my posts. My update page loads fine (with ?id=x attached to the end of the url), but when I hit … | |
Hi people Could someone tell me what is the difference between runtime and compiletime polymorphism? thanks alot | |
i wanted to ask you guys for some help i use microsoft visual studio 9.0 and i have downloaded hotspotter but it resulted it was all a source now i dont know how to compile it with mocrosoft visual studio any help??????????? | |
Hi, I am trying to declare a 3D array with the size of 6,400 and 400 in each dimension using the code as following: [CODE] short matrix[6][400][400]; [/CODE] but actually it introduced a run time error "stack overflow" after surviving the compilation.So what's wrong with this code and how to … | |
Hey, I'm creating a web application with the use of a ObjectDataSource. When I try to run the webapp i get the following error: [CODE] The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found. [InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' … | |
Hi all, I’m trying to re-write a solution from Ms. Access to VB.Net Previously I had a number of queries that filtered records depending on what value of a filed on my main menu, if the filter was empty (Null) than all records were returned. Here’s the criteria part of … | |
Hello friends, As usual .. when i have a problem ... daniweb.com is here ;). So I need some information from you. Ok, let me explain ... I am currently developing a chat application ! Ok ... everything works fine till now but I have doubts. My application uses 3 … | |
For my Electrical Engineering summer research project we're using a single mysql server and multiple iPhones. The iPhones are going to collect data and send it to the server which will populate the database with the data. I am new to socket/network programming so I need some pointers to my … | |
I am using datagridview in vb.net 2.0 I want to execute 2 queries. in the first query --- 1. Can anyone tell how to check that whether the query is fetching records from the database or not.Like i want to put a condition that if query is returning record then … | |
Hey guys first post here. Down to business, i have to create a hangman game in VB5 for a Yr 12 assignment. So far i have created a help screen and a word list and a main menu list to navigate to these forms, however i am struggling with the … | |
Hello, I am starting out with learning C# language. Recently, I bought a book "VISUAL C# 2005, How to Program by Deitel". Later I found that there is 2008 version of C#. Would you please tell me what is the difference between these two versions of the language? Is it … | |
I have a problem with VB.Net: Having a section of Text Boxes that I need to enable and disable by command buttons. The names are: txtBx1, txtBx2… and so on. Attempting to loop through those with the assignments to en- or disable failed. VB.Net does not recognize the names when … | |
Hi, I'm new here. I am an IT student in my third week of my first programming class learning the fundamentals such as algorithms, pseudocode, etc. I do not want to post my pseudocode in the forum because other students taking the same course may be able to cheat. The … | |
how i can convert string to int in c++ gui mode | |
Greeting, I'm currently programming a client-server connection with single socket...I use Linux C programming for server side, and J2me for client side, and here's the problem... The login function run successfully for the server side, when It's a null exception for the client. The error is as follow: [CODE]java.lang.NullPointerException at … | |
hi ,when im trying to insert key-value pair in map(key-char array field of a structure,value-entire structure)im having errors . NDBAPI/TGBitsNdbApi.cpp: In function `int get_map(Ndb*, char*, char*, void*, void*)': NDBAPI/TGBitsNdbApi.cpp:154: error: request for member `Msisdn' in `structPtr', which is of non-class type `void*' NDBAPI/TGBitsNdbApi.cpp:156: error: `void*' is not a pointer-to-object type … | |
i am new to the IT field.. i am currently working on Asp .NET... can anyone help me with some ebooks or learning tips?? | |
When I run this code, the window opens, and i can click on the X button and it quits normally, but my image doesn't show up, heres my code: [code=python]import pygame class Player: def __init__(self, speed, image): self.move_speed = speed self.x = 0 self.y = 0 self.speed = [0,0] self.image … | |
Maybe it's a really basic question..... ..but why does this NOT work? Respectively what options do I have to get this working? g++ reports: expected constructor, destructor, or type conversion before ... (I marked the line below in which the error occured.) Your help is very appreciated! Thanks! [code=c++] #ifndef … | |
Hello guys, iam a new bie in webdevelopment. can u please help me in writing code to the payment gateway please Thanks in advance | |
Hi anybody know how to create this effect on mootools? [B][url]http://www.flashjuggler.com/files/image-vertical-menu/1029?ref=oxylus[/url][/B] thanks | |
hello frndz... . . i what to knw i their any method to hold the values of form after refreshing the page or gettin back again on same page..!!! . . for eg i create a form.. username frstname lastname...after submiting the form if username exits then it go back … | |
Hello, I'm a total newb to PHP and am just clueless here. I'm just trying to show all the data in a table but i'm getting some errors with my current code i'm getting "No Database Selected" and before a warning saying that something was wrong with my while statement. … | |
Hi, I want to update a specific field in my database. My database has only one row with one field in it. How do I overwrite that field? This is what I have at this point, but its not working: [CODE]mysql_query(UPDATE Table SET column = "$item" WHERE column = "1") … | |
I'm kinda new to python, it really reminds me of Qbasic =\ ANYway lol. I'm looking to do something extra in a class I'm taking. We were to make a budget program. That wasn't the hard part, what im looking to do is be able to save each entry of … | |
I'm was wondering if someone can check if this method produce the right result? [CODE] public int fileSize (String name) throws IOException { int charLength = 0; File file = new File("name"); Scanner input = new Scanner(file); while (input.hasNext()) { charLength++; } return charLength; }[/CODE] What this is supposed to … | |
Hi, I have been trying to get the Jsapi (Java Speech API) embeded into my web applet but have had quite a few troubles. The script for the Jsapi from what I can see was designed for .Jav files where as I am trying to make a .class file. So … | |
for those of you not familiar with the rules they can be found [URL="en.wikipedia.org/wiki/Conway's_Game_of_Life"]here[/URL]: i am sort of new to java and i am trying to write the game of life, i have got the board made and how to randomly assign each cell a true or false (living or … | |
Dear Php Pro I have a small problem ; i cant echo the username in my script ;and i have tried all the echo and username is not being shown below my script i will put 2 files ;one is called login.php and the other is member.php; in member.php i … | |
I have some real time data that i want to show in an edit box but at the moment it only displays the first value when the program starts. What i would like to know is how to go about updating what is displayed in the edit box every so … | |
Hi, I am having trouble whit writing a code for game of life.. This is what I came up with; [code] #include <stdio.h> #include <stdlib.h> void header(void); void survivalRule(char [][20], int, int); void birthRule(char [][20], int, int); void deathRule(char [][20], int, int); int main(void) { char Life[20][20]; int orgs, gens; … | |
Good Morning All For you to help me and understand my problem, i will have to explain everything in details. I have a usercontrol with with a textbox, this texdtbox changes values so am trapping the values on textchange. so i have set it to "Autopostback="true"" in the usercontrol and … | |
Hi Everyone. I'm pretty new to C++ and C, but I have experience with other languages (not OOP). I'm working on a project that requires me to take a working source code in C++ and convert it run in C. Luckily the inheritance diagram isn't too bad, so theoretically, I … | |
It is an asp.net web application with following specifications: Wndows Xp o/s, IIS 5.1, asp.net frame work is 1.1, VB is server side script, SQL Server 2000 Enterprise edition. An asp.net datagrid control is dynamicaly populated with sql server 2K database table data by VB Script. The page numbers are … | |
Hi there all, I want to grab information from an url with anchors and I suppose this can't be done with php, as ive been told and that it would have to be done with javascript. I am wondering if anyone knows the code to grab the url and anchor … | |
Hi there, I am using a javascript code to refresh a page. <code> window.location.href=""; </code> this code refereshes the whole page and focus goes at the top of the page but I want the focus of the page at the same place where I perform refresh. Actually I am using … | |
How to create a Rotating Image Frame with Navigation Menu like this:[URL="http://s3.amazonaws.com/satisfaction...Nav_inline.jpg"]http://s3.amazonaws.com/satisfaction...Nav_inline.jpg[/URL] like from the site: marthastewart.com what is the code for creating image rotation like this?????plzzzzzzz | |
I need to include a "variable" in my regex that will be different each time it is called. Very fustrated, this would have taken 2 seconds in Perl. Here is my code: [code=javascript] for (y=0; y < response.length -1; y++){ var _row = response[y].split(':'); var str = "_row[1]"; if(str.match("/^"+_inputText.value+"/i")){ _responseText … | |
Hello friends, Since I'm not too familiar with win programming may I ask a dumb question. I made a small app on D7 using TclientSocket which connects to some embedded server and request some data. Now I use string based functions like sock.Socket.SendText('text to send'); but I send pure binary … | |
I created a program in VB to send text messages to cell phones a while back but never got it to work. I using my friends mail server(I had to block out the username and password when posting the code below, but his server works) to relay the message. Here … | |
[CODE]<?php // This script and data application were generated by AppGini 4.3 // Download AppGini for free from http://www.bigprof.com/appgini/download/ include(dirname(__FILE__)."/defaultLang.php"); include(dirname(__FILE__)."/language.php"); include(dirname(__FILE__)."/lib.php"); include(dirname(__FILE__)."/tcg_dml.php"); // mm: can the current member access this page? $perm=getTablePermissions('tcg'); if(!$perm[0]){ echo StyleSheet(); echo "<div class=\"error\">".$Translation['tableAccessDenied']."</div>"; echo '<script language="javaScript">setInterval("window.location='index.php?signOut=1'", 2000);</script>'; exit; } $x = new DataList; $x->TableName … | |
hi all,how are u? ..i have an encryption project.. i have to implement some of the encryption algorithme in java but i have a problem ..it's the same in all the ciphers ..when i type the key and press encrypt the encrypted text is not right ..i make my calculus … | |
Hi there, I have a div tag and working fine till yesterday. Just now I found out a problem which has to be rectified quickly. I have a div tag. When time out is approaching then we need to pop up the message using div tag. Everything is working fine. … | |
Hi Guys Im having a problem. Im very new to Java and am using blueJ. I would like to displya a picture on a label when I click a button. At the moment all I can get it to do is to print a message when a button is clicked. … | |
Hello I've a question when creating a class with functions. e.g. [CODE=javascript] function constructor() { this.myFunc = function() { return "Hello World"; } } [/CODE] do I have to write the function in that way? this.funcName = function() for every function in that class? Because when I tried to write … |
The End.