199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ross42111

[QUOTE]I have put in all the bool operators - If the user inputs and invalid letter the while loop is supposed to ask the user to try again until a correct letter is entered. I have programmed using a while loop, switch statement and char at the same time. If …

Member Avatar for VernonDozier
0
119
Member Avatar for xfrolox

Hi all I'm new in this forum, I'm trying to make a tool for a game. But in this tool i need a countdown but i only know how to do it by seconds, i need help by making it Hours:Minutes:Seconds [00:00:00]. Button1 Timer1.Start() Button2 Timer1.Stop() Button3 Textbox1.text = "" …

Member Avatar for xfrolox
0
129
Member Avatar for Froger93

Hey guys, I have a problem. I have a connections_lib.php file this will handle all of my db connections, this works AMAZINGLY (power of OOP). Unfortunately some of my other classes require connection to the databse therfore they must use these methods (is that the right word for OOP I'm …

Member Avatar for Froger93
0
183
Member Avatar for xfrolox

Well hi all again, This one have to be Ez for most of u guys. Im posting some thread peace per peace to finish some features to my program. well whats the code that when i open my program i cant open it again. like Example: LOL.exe when i open …

Member Avatar for xfrolox
0
166
Member Avatar for paruse

How to change the color and size of output in C++? How to Draw columns? I'm a beginner... Pls help...

Member Avatar for warbird43
0
117
Member Avatar for warbird43
Member Avatar for web3

Why it won't send this to mysql.Connection is ok.Here is the code. [CODE]<?php $connect = mysql_connect ("localhost","root","") or die (mysql_error()); mysql_select_db ("login4") or die (mysql_error()); session_start(); $_SESSION['username']; $username1 = $_SESSION['username']; $username = $_POST['username']; $submit = $_POST['submit']; $micro = $_POST['micro']; if ($submit){ $queryreg = mysql_query(" INSERT INTO messages VALUES ('','$micro','$username') "); …

Member Avatar for diafol
0
73
Member Avatar for Lukezzz

I am trying to Convert this Long String to an integer but when running the code, I get an error that tells that the inputstring is in an incorrect format. How can I convert this string so I will get the ouput integer: 41517 ? [code] String^ ba = "41516.7095211088"; …

Member Avatar for Lukezzz
0
96
Member Avatar for JRabbit2307

8. create a console application. Insert the below code, and run the program. Note that a conditional statement is used within the body of the loop. This is common. Write a similar program using this one as an example that asks the user to name his or her favorite make …

Member Avatar for sknake
0
99
Member Avatar for rukshilag

we have just started learning PHP as a course in our 2nd year subject Internet Application development. below are the codes that we have worked on so far. [B][U]Homepage :[/U][/B] [code=html]<HTML> <HEAD> </HEAD> <BODY bgcolor='yellow'> <P align='center'><FONT color='blue' size='6'>ABC & Company</FONT></P> </BODY> </HTML>[/code] [B][U]Login.php :[/U][/B] [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for israrkhan
0
83
Member Avatar for gminhas

hi guys! can anyone tell me now to draw a line in VB.NET form? I've been trying to do so , but nothings coming..

Member Avatar for israrkhan
0
4K
Member Avatar for Web_Sailor

suppose I have a file like below and I would like to create 3 output files based on my first field .. .i.e, 1 /2/3. Thats means 3 lines will go to the three files [CODE] 1 AAAAAA BBBBBB CCCCC 2 DDDDDD EEEEEE FFFFF 3 GGGGGG HHHHHH IIIII 2 copy …

Member Avatar for csurfer
0
230
Member Avatar for javamum

can someone please help me?! I have been working on this C++ project forever and I can't seem to get it. I am trying to write a program that will find the root of the following equation using the bisection method: x(1 + [summation from 1 to M of (Kj*Nj)/(1 …

Member Avatar for Amponsah
0
463
Member Avatar for Abhishek_Boga

I want to display the columns in to rows format as below: eg: [U] col 1 [/U] [U]clo 2 [/U] yes No I want this to display as: [U]Column name[/U] yes no The Code which i used as below: [code=sql]set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO create PROCEDURE [dbo].[Vista_Capable] AS …

Member Avatar for sknake
0
188
Member Avatar for masterofpuppets

hi currently I am developing a game in python called TankWar, it is basically 1vs1 game style and each player has its own turn. Both players control their respective tanks using the control keys and WASD and they can specify the missile's angle, velocity, tank position. I am using an …

Member Avatar for masterofpuppets
0
195
Member Avatar for MichaelSammels

Yeah, I'm stumped on this one: I need to get user input from a keyboard, with some problems involved: [LIST=1] [*]I'm using an OS I created [*]I do not have access to any standard includes [*]I need to code the function myself [*]I'm in protected mode [/LIST] Any help would …

Member Avatar for MichaelSammels
0
102
Member Avatar for julseypart

hi, i copied my aspx files to httpdocs/ but when i navigiate to the index.aspx page i get an error saying : To update your index page modify the file /httpdocs/index.html is this the right folder to put them in or is there some configuration to do? its looking for …

Member Avatar for cherice
0
98
Member Avatar for icke2433

alright ive been banging my head against a wall for three hours and i give up does anyone have a clue? the what im supposed to do is write a method named lotsOfStars that will accept two integers: the first integer indicates the number of lines to print, the second …

Member Avatar for petrisal
0
105
Member Avatar for fareast87

Hello everyone. If we open the jpg file with notepad, we can see some text or gibberish that doesn't give us any meaning. How do I append some text (ie password hash) to it using Java? I'm attaching a password hash to the jpg file. Hope that anyone reading this …

Member Avatar for fareast87
0
93
Member Avatar for crohole

I have a code to detec backlink from yahoo and google like this : [CODE] function google_backlink($uri) { $uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri)); $url = 'http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=link:'.$uri.'&filter=0'; $v = file_get_contents_curl($url); preg_match('/of about \<b\>(.*?)\<\/b\>/si',$v,$r); preg_match('/of \<b\>(.*?)\<\/b\>/si',$v,$s); if ($s[1]!=0) { return $s[1]; } else { return ($r[1]) ? …

Member Avatar for cwarn23
0
153
Member Avatar for fareast87

Hi everyone. I'm going to read a content of a jpg file using java.io.FileReader. I'm successfully read the whole content of it. But the problem is, I want to only read the last 32 digit hexadecimal number which is MD5 hash I save earlier. How am i suppose to do?

Member Avatar for fareast87
0
105
Member Avatar for digtokiller

Hello all, i need a movie/mediaplayer and i could imagine that it would be in javascript. all it should be able to do is to play mp3(music) and wmv(movie) files. it need a start,stop,pause and fullscreen button. anyone can give me a code just to place in my page? thnx …

Member Avatar for digtokiller
0
200
Member Avatar for temsuimsong
Member Avatar for peter_budo
0
87
Member Avatar for SFletch

I've written a small web db app, designed to sit within another page (in an iframe). It is designed to be called with a parameter (or two). iframe html calls Default.aspx?Parameter=4 The default page does nothing except check for the existance of the parameter and store it a session state …

Member Avatar for kvprajapati
0
134
Member Avatar for Tryin2learn

Hi all, I am trying to get a grasp of web form data getting passed to PHP, then dumped into a SQL Database (2005). I have created the form in html. but because the form is an employee application there are a lot of text boxes, radio button, etc etc. …

Member Avatar for Graphix
0
109
Member Avatar for fudgealtoid

I wish to limit uploading to the video files swf pps bmp pps png gif mpg mp3 and wav - i'm sure I have the file / type incorrect. can someone please give logical solution... here's my code: [code=php]<?php if ((($_FILES["file"]["type"] == "video/swf") || ($_FILES["file"]["type"] == "video/pps") || ($_FILES["file"]["type"] == …

Member Avatar for crohole
0
514
Member Avatar for broll911

I am getting an error message on this php script and am a total loss as I am a complete novice and have no idea. Can someone give me some help? here is the error and also the code. Parse error: syntax error, unexpected T_VARIABLE in /home/content/m/i/x/mixxsalon/html/FormToEmail.php on line 1 …

Member Avatar for jomanlk
0
382
Member Avatar for nagaa
Member Avatar for Web_Sailor

Hi I was trying to do a type checking in my input file while reading it. I am getting some compile time errors. Compile time error report is :- [CODE]NEW.cpp:26: error: invalid conversion from ‘char*’ to ‘int’ NEW.cpp:26: error: initializing argument 1 of ‘int isdigit(int)’ [/CODE] [CODE] Line 26 is …

Member Avatar for Web_Sailor
0
238
Member Avatar for hongfan

Hello! Say I have an array called BBag[3], how would I write a function void remove(int val) that removes an occurence of val in BBag? thanks! Hong

Member Avatar for jeyson
0
525
Member Avatar for azwraith69

Hello... This is my naval battle game so far.. Just search i t if you're unfamiliar with the game it is only player vs computer.. can you adjust/fix my code so that: -the player is able to place his ships by means of dragging the JLabel ships at the left …

0
769
Member Avatar for lllllIllIlllI

I am making a slider puzzle applet. And i have this problem when i display it as an applet my buttons do not seem to act the same was as they did before i made it into an applet by using a JApplet rather than a JFrame as my extension …

Member Avatar for lllllIllIlllI
0
120
Member Avatar for james27

hello im currently installed cx_freeze on linux. and want to make win32 exe file on linux by use cx_freeze. and then will distribute on widows platform. one of my problem is ,i can build with no problem. but whenever i run,it something weird error message was show. follow is my …

Member Avatar for james27
0
188
Member Avatar for fawkman

Hi guys I am very new to php and am trying to create a small content management site. Hopefully I will have posted this correctly, sorry If I have missed anything out. I have a self referencing form, which allows me to enter a file name and browse to a …

Member Avatar for jgeboski
0
119
Member Avatar for infernojmd

okay so i am doing a program that lets you type a name of a friend in and submit and it will display a picture of that friend but my output wont show the picture, it will have some type of error. if you look at the picture attached that's …

Member Avatar for Atli
0
104
Member Avatar for jonow

Hi, I was wondering how you keep a navigation menu up-to-date on a 200 page website. When I first started using HTML I used an iframe which it is a [I]terrible[/I] idea. Now i am using PHP (im using include). But i am guessing this is also very inefficient. SO …

Member Avatar for codejoust
0
139
Member Avatar for nish123

i have to call Mysql Procedure from Php... I dnt know how it is work..!! Waiting for positive reply..!! :)

Member Avatar for Atli
0
241
Member Avatar for punchinello

What is a segment selector? How is "overflow" defined in assembly programming language? Thank you very much in advance!

Member Avatar for punchinello
0
91
Member Avatar for xWiredx

is there a specific character for Ctrl? for example in Alt.. when you type &Save in the caption of a button.. the key that you gonna press is Alt+S.. how about for Ctrl?

Member Avatar for vb5prgrmr
0
78
Member Avatar for Austinjs0102

Trying to make a simple english text calculator and i keep getting some errors. Here is what i have /* * A calculator that calculates your answer and outputs it i english. */ package Calc; /** * * @author Austin */ import java.text.*; import java.util.Scanner; public class Calc { /** …

Member Avatar for Grn Xtrm
0
154
Member Avatar for Israelsimba

Anyone please help. Why is it that [B]Adodc.recordset.save[/B] cannot work. it says...object in the with variable not set.... can anyone tell me what the problem is and is it normal to use [code]Adodc.Recordset.fields "name" = txtname .text;[/code] what is wrong with my code. is anything missing there because i cannot …

Member Avatar for vb5prgrmr
0
105
Member Avatar for lewashby

In the program below, how does the value "Poochie" know where to go in the line [CODE]crit = Critter("Poochie")[/CODE] And how do the get_name and set_name functions know when to do their thing, they don't seem to get called or anything? Thanks. [CODE]# Property Critter # Demonstrates get and set …

Member Avatar for Gribouillis
0
738
Member Avatar for ENCHTERP

Hello what would be the best way to return a pair<> via a structure Let me further explain. Below is the type of struct that I want to use: //compass.h struct Compass { pair<int, int> C; pair<int, int> E; pair<int, int> W; pair<int, int> NE; pair<int, int> NW; pair<int, int> …

Member Avatar for ENCHTERP
0
97
Member Avatar for banders7

Code written and tested using the Borland C++ compiler. Code uses access() to determine if an input string exists either as a directory name or as a file name. If access() fails, the string is neither a file or directory and the function terminates. If it does exist, the name …

0
210
Member Avatar for functionalCode

I wrote a query that will return a large amount of records. When I run the query it fill a datatable then show it in a datagridview, but I am only getting 80290 rows. There is more than that. Any idea of what is causing this? Thanks

Member Avatar for Mick Curley
0
107
Member Avatar for Ponomous

Hey, i am trying to write a program that will evaluate n!/(k!(n-k)!) right now i am just trying to get the basic formula without the factorials to work ( i can just do a function call later and get the actual values) but no luck. all the variables have values …

Member Avatar for Ponomous
0
147
Member Avatar for sparksterz

Ok this is driving me nuts. I'm working in C++ and trying to delete an element from a vector It's going something like this (dirPath is a stack of directories, and dirPtrs the list of what a directory points to) [CODE] for(int i = 0; i < dirPath.top().dirPtrs.capacity(); i++) { …

Member Avatar for sparksterz
0
367
Member Avatar for needhelpe

HEY I JUST NEED TO PUT THE FOLLOWING: IF((N == 2) && (T CAN'T BE DIVIDED BY 4)) how can I put: CAN'T BE DIVIDED BY 4? I know divided by 4 is : (t / 4). but can not be divided by 4?

Member Avatar for shuva
0
126
Member Avatar for yuha

I am working on displaying student name, test score, average marks and grade as an output. This is what I have been working on, but still I couldn't manage to display the output.. The input must be get from the user and, which is the student name and the test …

Member Avatar for csurfer
0
150
Member Avatar for cheapterp

Hi all, I have a form where my colleagues enter basic details about participants in a study. The 'action' attribute of the form takes the control to a 'validateForm.cfm' script where, as the name suggests, form validation is done. If there are any problems, I show the errors as well …

0
170

The End.