199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Web_Sailor

Hi, I have to add a mouse over event and mouse click event in my rectangles that I draw while taking the values from an input file. Now since I am taking rectangle height and width from the input text file as well I also want to take a text …

Member Avatar for Web_Sailor
0
167
Member Avatar for zoro007

Hello, I have file name is file.txt inside it this lines line1=hello world line2=hello web line3=hello egy I want print full lines start with line2= like in linux command cat file.txt | grep "line2=" this code will print full line --> line2=hello web And if any one have books in …

Member Avatar for siddhant3s
0
127
Member Avatar for furqan219

[CODE] <form action="update.php" method="post"> <input type="text" name="userdate" value="<?= $b ?>" /> <input type="submit" name="subjoin" value="Update"> </form> [/CODE] and update.php [CODE] $c= $_POST["$b"]; echo "value".$c; //its not working[/CODE]

Member Avatar for djjjozsi
0
77
Member Avatar for mundetas

Please help. i have an application made in C# using ms studio 2008. I have created the data source from my access 2003 database. But every time I select the data in the crystal report wizard. It only displays the fields from the database I have connected but not the …

Member Avatar for mundetas
0
77
Member Avatar for lloydsbackyard

hello, i have a code below and i dont know how to make a string input for me to input hte name of the student...kindly check it out... [code=java] import java.io.*; public class io { public static InputStreamReader reader = new InputStreamReader(System.in); public static BufferedReader input= new BufferedReader(reader); public static …

Member Avatar for lloydsbackyard
0
159
Member Avatar for jay.barnes

Hello! I'm having some problems with using data in an PHP form I'm working on that utilizes AJAX. Could be a beginner's mistake, but, then again, it might not be... :) SCENARIO: I have a form with two sets of fields, origin country, city, state, and zip, and destination country, …

Member Avatar for jay.barnes
0
317
Member Avatar for deostroll
Member Avatar for Aseem_Pandey

can long long store 12 digit numbers. Its showing in my comp that limit of long long is 9223372036854775807, but then it's showing too large when i declare it like this: long long num; i don't want to store in array. My seniors told that long long will do but …

Member Avatar for siddhant3s
0
269
Member Avatar for jesseb07

hello, got a quick question regarding stack overflow (I honestly don't know if this is more suited for a wxWidgets forum, once you see what I mean, but I figured I'd try here first). I was tweaking my linked list class and testing it in a testing harness program I …

Member Avatar for jesseb07
0
261
Member Avatar for RobinTheHood

Can someone please, please, please give me the syntax in vb 2008 for referencing records on a parent form, I’ve been trying to do this for ages and can’t work it out or find help that answers this. I’m new to VS and vb2008 so please excuse any errors in …

Member Avatar for dlplenin
0
96
Member Avatar for yun

Stanford cs249a Meterial (Object-Oriented Programming from a Modeling and Simulation) -------------------------------------------------------------------------------- From where i can get the below Meterial?? if any one have the below plz send me or give me a link... i really need these lectures.. Thx & regards. Required Reading Chapter 1: Software Husbandry and Software Development …

Member Avatar for Stinomus
0
438
Member Avatar for AbsoluteCPP

I have listen that different types of application architectures are running now a days, i want to know about them completely, If some one have any link or any book related to them plz post it here. I try google but tilll not found any thing useful, i only found …

Member Avatar for Stinomus
0
126
Member Avatar for NathanOliver

Hi i am building a program that will take the text of a supplied file and encrypt using a password then save the encrypted text in another file. To decrypt the file you must provide the same password used to create the file. the program encrypts the text at a …

Member Avatar for NathanOliver
0
152
Member Avatar for alka123456

I have got a log file as follows The log file has the following format : Date/Time, Severity, Module(the number after the process name is the process id) and finally the diagnostic message as an example : dd/mm/yyyy HH:mm:ss.mmm Severity Module Message ======================= ======== ====== ======= 17-11-2008 17:01:17.590 SUCCESS wmlumberjack.exe:940 System …

Member Avatar for NathanOliver
0
239
Member Avatar for serkan sendur

this is not a question, but an application to compare two text files line by line. i attach the project to this post, i also attach two sample text files to compare. these two text files contain the names of the .wav files that comes ready with devices, HandHeld Dolphin …

0
220
Member Avatar for senzacionale

Hi to all. I have one problem I try to parse some string and get data from it. For example i have three strings "Greece about 2 weeks", "greece" and "grece about 500 eur" Now i want to define regular expressions and check for right format. I need data like …

Member Avatar for ddanbe
0
125
Member Avatar for rolinski

Hi! I split lines on tabs (fields). I would like Perl to print first filed in parenthesis. My script is the following: open (INP, "input.txt") or die "Can't open input: $!\n"; open (OUT, ">>output.txt") or die "Can't open output: $!\n"; while ($line = <INP>) { chomp ($line); @field = split …

Member Avatar for KevinADC
0
313
Member Avatar for hughesadam_87

Hey everyone, I wrote a code which runs a game of rock paper scissors, and each time you lose, it counts down until at 0, it exits. The only way I've been able to exit the code is to throw in a 'sys.exit()' command. I hear there are better ways …

Member Avatar for hughesadam_87
0
150
Member Avatar for Dio1080

Hello, my task was to make two constructors for the code that I also posted and they are not working. Can somebody help me figure out why they are not working. I posted them right below. here are my constructors for course and Faculty course.js: [code=javascript] function Course (name, times, …

Member Avatar for Dio1080
0
155
Member Avatar for theashman88

Alright so I'm trying to insert a few superscripts into a program. I'm working to try and recreate a math problem. I tried googling how to insert superscripts, then tried how to insert Unicode into a console application, but I didn't get much luck. Anyone have any ideas. By the …

Member Avatar for theashman88
0
124
Member Avatar for daino

When initializing a constant data member in a given class with a constructor, does the act of initializing that constant data member (providing it with a value) actually stop you from assigning it the value you wanted to give it later on in the program? My understanding is that a …

Member Avatar for dwks
0
165
Member Avatar for rockinsteve

How do I get these 2 programs to work together (ie have one call the other.) Thought of using the first to call the external one but then thought it better to combine the 2 ????? Can't seem to get it working yet the second one works on it's own. …

Member Avatar for FlamingClaw
0
117
Member Avatar for travis67

Hi, I am developing one application in c#, where I have to manage file transfer between my applications. The applications can communicate sending strings to each other. The idea is to read file and put that in one string, which can be sent over the network using streams. Of course, …

Member Avatar for travis67
0
87
Member Avatar for vanalex

Hello everybody! Recently while i was experimenting with some code written in c++ i noticed something that confused me a bit. In that code i had to deal with 2 structs : [code]struct date { string day; int month; int dday; int year; }; [/code] and the other struct [code]struct …

Member Avatar for iJimJones
0
130
Member Avatar for mahdi68

Hi i write a calculator ,This calculator get an arithmetic expression written in infix notation , then change it to postfix notation , then finds the value of postfix notation . i have a problem , this program only work for one digit numbers :( please help me to slove …

Member Avatar for NeoKyrgyz
0
155
Member Avatar for horiya

hi! i need help with my code...i dont have any syntax errorrs but when i run it it doensnt run!! i dont kno what to do!! plss i really need help!!! i have to write code tht uses array to store student information and calculate the average, letter grade. i …

Member Avatar for tux4life
0
133
Member Avatar for raul66

[B]Hi, I am working on result.php page, where I want to order data by date, but I want remove (don't print) duplicate records.I am using 3 tables: 1,results - short res 2,excercises - short exc 3,user - shor usr I have this query:[/B] [code] [COLOR="Green"][I]<div class="main"> <table cellspacing="20"> <tr> <th></th> …

Member Avatar for raul66
0
160
Member Avatar for turbomen

Dear Sir, Could you tell me what is wrong of my program? The question is: write a progrm that totals up a list of exactly 100 numbers and outputs that total to the screen, also show the average of the 100 numbers. My program: [code] program Project2; {$APPTYPE CONSOLE} uses …

Member Avatar for FlamingClaw
0
104
Member Avatar for theCRK

[QUOTE] Hi, I have a java assignment due in a couple of hours and I am stuck and i am getting a lot of errors in my code, if someone out their can help me out, i would appreciate it, thanks.[/QUOTE] here is my java assignment......... [ATTACH]10388[/ATTACH] [QUOTE]this is the …

Member Avatar for VernonDozier
0
330
Member Avatar for sravan953

I have a file, called 'html.html', which contains 'open_skype' in the first line and in the second line it contains the location of the file. Now, what I want to do is, make a function read the first line and then the second line should be read separately....if you don't …

Member Avatar for vegaseat
0
8K
Member Avatar for dumbncool

Hi, I have a client written in java applet and it listens for responses on http: //localhost/CardPager. Now, I have a server code written using jsp servlets and a webpage for a user where I can write a message in a textbox and press the send button, the text message …

Member Avatar for dumbncool
0
72
Member Avatar for seaders

I'm using GD2 with PHP 5.2.9.2 and I'm trying to create a dynamic compass type thing. What I'd like is simply an arrow image that will change where it's pointing based on the [code]?=rotate[/code] get variable I pass to it. Problem is that because the image is square, imagerotate (the …

Member Avatar for ShawnCplus
0
96
Member Avatar for jineesh

I build a c# project. but after installation while clicking on the shortcut on the desktop system displays a message "could not find file 'C:\Programfiles\filename'" There was no folder or file corresponding to my application in the C Drive (installed drive) Is this because of some error in the build? …

Member Avatar for serkan sendur
0
171
Member Avatar for MasterOfDevil

Hi, I am checking if client user has java sdk and flash player. if have'nt, trigger the java,flash exe for installation. My problem is how can I handle installation complete time. Can I do this with .Net or must use a batch file. Because after java installation completed, I will …

Member Avatar for serkan sendur
0
97
Member Avatar for joewalsh63

I have a pre-made template and have inadvertently messed something up when trying to add a favicon link. I've googled what I can and tried several corrections but fear I have made things worse...please can someone come to my assistance at all? The page says Parse error: syntax error, unexpected …

Member Avatar for djjjozsi
0
85
Member Avatar for Aestter

Right. Basically I'm new to Python ( Go on call me a noob) and I'm trying to make a program that will open certain programs when you give the right password. But i just can't seem to get it to open the right files. So far, I am only trying …

Member Avatar for sravan953
0
171
Member Avatar for pickspick

[ICODE]Where does the "value" in the get/set of a variable equalling "value" come from. Is it object-related?[/ICODE]

Member Avatar for serkan sendur
0
60
Member Avatar for cooldev

Below is my prime generator, it works fine only thing it gives me 1 more prime than i want eg., if num=40, i need primes uptill 40 but it gives me 41 also...i want it to stop at 37. It works fine with 90. sample run ======== Enter the number:40 …

Member Avatar for cooldev
0
97
Member Avatar for mrriz

Hi, i am looking to create a standalone ordering system for a fast food business as project using java (but perhaps another language if it is easier). I want the system to be able to run without an operating system ie the program should run from booting from an USB …

Member Avatar for Xhamolk_
0
114
Member Avatar for mathueie
Member Avatar for Xessa

I have a textbox. in js code, i try this... if(isNAN(parseInt(form.myTextBox.value))) {alert("not a number");} I'm trying to check if it is a number. Else i want to warn him.... How can i do this in a js file?

Member Avatar for essential
0
136
Member Avatar for gagan22

Hi all, I am making one application in which i need some PHP code . My means i want to upload an image that can be in .jpeg, .jpg or .gif format. That i want to upload from my system and after uploading that image and i want to show …

Member Avatar for gagan22
0
209
Member Avatar for affee

i need to activate another script and pass 2 vars and have one returned. Have I got the syntax correct AND why does it not see the script? It is in the same directory as the php script. [code=php] $mysearch="cats"; $mytype = "zero"; passthru ("/home/bookie/testbed/perlSOAP.cgi?fieldvalue=$mysearch&fieldsearch=$mytype&" , $response); return $response; echo …

Member Avatar for affee
0
298
Member Avatar for Lhizzard

Hei, i need help with php code. So, I have a lots of pages - but it would be nicer to put them to ONE page, if this is possible with "_GET" and "IF" function.. and with "echo". Like when the page is "page.php?p=moderator" shows me moderators.. if this is …

Member Avatar for Lhizzard
0
163
Member Avatar for sravan953

Hey guys.... I want to make a program which reads the HTML code from my blog, saves the HTML code as a string, so that I can check if specific words are present in the HTML code, here's the code I used: [CODE]import urllib import string open_site=urllib.urlopen('http://www.sravan953.blogspot.com') read_site=open_site.read() value=str(read_site) for …

Member Avatar for sravan953
0
170
Member Avatar for colmcy1

Hey all, I have just updated to MS VS 2008 Pro. I am having some cross over problems from MS VC 6. Below is a simple example: [CODE]#include<afx.h> #include<iostream> using namespace std; int main() { CString s; CString sa("Strings "); CString sb = CString("are easy "); CString sc = "in …

Member Avatar for colmcy1
0
799
Member Avatar for Usura

could someone please point me to a link on how to convert my char* temp = new char[3]; to a char test[3]?

Member Avatar for Ancient Dragon
0
69
Member Avatar for shinkelwars

Hi guys, My employer has given me a mission to find a robust and scalable API for C++ that allows for easy programming of client / server systems. In this case the application they intend to build involves thousands of clients sending data continuously to a central server (the data …

Member Avatar for Ancient Dragon
0
149
Member Avatar for kabeer62

there are blanks in the question as the pro gramme need some codes and definitions to get completed. Please help me in completing this problem. than x in advance. [code=cplusplus] #include <iostream.h> #include <conio.h> #include <fstream.h> //---------------function prototypes----------------------------------------- int menu(); void screenHold(); void enter(); void report(); void save(); void load(); …

Member Avatar for KuriYokan
0
120
Member Avatar for raul66

Hi everybody, I want to join 3 tables and gain same data from these tables. 1.table: usr - user information usr_id 2.table: res- results res_usr_id res_exc_id res_result 3.table: exc- excercises exc_id exc_excercise_name Now I want print all results from one user and all excercises from one user.Can somebody help me?I …

Member Avatar for djjjozsi
0
122

The End.