199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for itsjareds

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 …

Member Avatar for itsjareds
0
97
Member Avatar for Se7Olutionyg

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

Member Avatar for tux4life
0
109
Member Avatar for abhinav.sharma

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]

Member Avatar for abhinav.sharma
0
139
Member Avatar for zack.walters

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 …

Member Avatar for yun
0
148
Member Avatar for sdas7

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 …

Member Avatar for William Hemsworth
0
1K
Member Avatar for jesse.rosato

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 …

Member Avatar for nav33n
0
96
Member Avatar for massivefermion

Hi people Could someone tell me what is the difference between runtime and compiletime polymorphism? thanks alot

Member Avatar for siddhant3s
0
189
Member Avatar for tonig_ccc

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

Member Avatar for siddhant3s
0
134
Member Avatar for nanchuangyeyu

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 …

Member Avatar for ArkM
0
212
Member Avatar for lqdo

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

Member Avatar for lqdo
0
937
Member Avatar for RobinTheHood

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 …

Member Avatar for RobinTheHood
0
160
Member Avatar for neutralfox

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 …

Member Avatar for JamesCherrill
0
154
Member Avatar for Talguy

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 …

Member Avatar for Salem
0
83
Member Avatar for Eliza123

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 …

Member Avatar for Eliza123
0
915
Member Avatar for Sniper87

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 …

Member Avatar for Jupiter 2
0
103
Member Avatar for free_eagle

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 …

Member Avatar for jjoensuu
0
303
Member Avatar for InVerteBrain

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 …

Member Avatar for Teme64
0
92
Member Avatar for IT_wannabe

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 …

Member Avatar for Narue
0
125
Member Avatar for karjan
Member Avatar for henks

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 …

Member Avatar for kvprajapati
0
135
Member Avatar for karthik.c

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 …

Member Avatar for karthik.c
0
2K
Member Avatar for Shelsy

i am new to the IT field.. i am currently working on Asp .NET... can anyone help me with some ebooks or learning tips??

Member Avatar for Shelsy
0
78
Member Avatar for tomtetlaw

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 …

Member Avatar for slate
0
137
Member Avatar for newbie_newbie

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 …

Member Avatar for newbie_newbie
0
148
Member Avatar for Rakesh Nagekar

Hello guys, iam a new bie in webdevelopment. can u please help me in writing code to the payment gateway please Thanks in advance

Member Avatar for Shanti C
0
108
Member Avatar for swingingstars

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

Member Avatar for swingingstars
0
95
Member Avatar for nish123

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 …

Member Avatar for nish123
0
2K
Member Avatar for Argo54325

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

Member Avatar for nish123
0
124
Member Avatar for bettina702

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

Member Avatar for bettina702
0
1K
Member Avatar for aparadox

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 …

Member Avatar for comprookie2000
0
175
Member Avatar for JamesKox

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 …

Member Avatar for JamesKox
0
260
Member Avatar for cwarn23

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 …

Member Avatar for cwarn23
0
191
Member Avatar for gabec94

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 …

Member Avatar for gabec94
0
5K
Member Avatar for charbel007

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 …

Member Avatar for charbel007
0
134
Member Avatar for Sarlacc

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 …

Member Avatar for Sarlacc
0
458
Member Avatar for yigster

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

Member Avatar for yigster
0
146
Member Avatar for vuyiswamb

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 …

Member Avatar for serkan sendur
0
116
Member Avatar for gabohan

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 …

Member Avatar for gabohan
0
240
Member Avatar for prasannav

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 …

Member Avatar for serkan sendur
0
436
Member Avatar for cjay175

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 …

Member Avatar for cjay175
0
468
Member Avatar for coolmind259

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 …

Member Avatar for Airshow
0
272
Member Avatar for tanmoy_india

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

Member Avatar for tanmoy_india
0
161
Member Avatar for Kelicula

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 …

Member Avatar for itsjareds
0
13K
Member Avatar for zuzu22

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 …

Member Avatar for FlamingClaw
0
231
Member Avatar for lolwtf

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 …

Member Avatar for lolwtf
0
138
Member Avatar for lamiv007

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

Member Avatar for ShawnCplus
0
176
Member Avatar for weblover

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 …

Member Avatar for weblover
0
100
Member Avatar for learnerasp

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

Member Avatar for Airshow
0
172
Member Avatar for edwardtong694

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

Member Avatar for JamesCherrill
0
101
Member Avatar for ganmo

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 …

Member Avatar for Airshow
0
111

The End.