199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Creator07

Hello guys, I am doing a small C/C++ program(mainly for use in my father's work - Includes a batch processing inside a folder which is repetitive). I just need to find the number of files in a folder(not necessarily of a single filetype). What I thought was using [ICODE]system("dir > …

Member Avatar for varnesh_kp
0
297
Member Avatar for dandixon

Im very new to php, but im trying to create a bit of code that you type in the part number and quantity you want and it returns the part number and the word "limited" if its the same "not enough" if it's less than and "in stock" if its …

Member Avatar for kekkaishi
0
156
Member Avatar for newsguy

Within the next five years, Citizen Developers will be responsible for building at least 25% of all new business applications. That is the rather startling claim being made by Gartner analysts ahead of the Gartner Symposium and ITexpo in Cannes, France next month. So what is a Citizen Developer then? …

0
338
Member Avatar for benkyma

I've got an open connection with a stream reader pulling data in to my system and storing in a database. Everything works great, except occasionally the stream from the remote server stops and this makes my program crash. How can I catch this situation when it occurs, and maybe attempt …

Member Avatar for benkyma
0
327
Member Avatar for python.noob

though i'm calling pr() function in the subclass after calling the get_details() function(which assigns value to name) it doesn't print the current value of name. My question is if i want to print the value of name in the subclass what should i do???? I've tried in many ways using …

Member Avatar for AutoPython
0
220
Member Avatar for swapna7999
Member Avatar for neelamdwivedi
0
289
Member Avatar for venkates.99

Hi, for one of trading application Im working for, my issue is that. Presently, data storage from online application to Excel is happen here(using TIcker for ex:{=BDDE|TKR!'\\<DEFAULT>\in@GLDM.1/FLD_BF_TE_HIGH,FLD_ASK_HIGH'} ). means we are storing data( data is not constant, its need to update for every change in online application to Excel sheel …

Member Avatar for venkates.99
0
113
Member Avatar for Tenchi

Hi all, I'm new here, and am currently taking an introductory programming course taught with Java 5. I really hate to come here, and bother people with my homework, but I really don't have anywhere else to turn at the moment. I have a couple of quick questions about some …

Member Avatar for ithelp
0
316
Member Avatar for sarithak

Hi frnds... here i m doing search for my website... [CODE] $mcat='abc'; $query="SELECT * FROM news WHERE topic LIKE '%$mcat%' "; [/CODE] here , the problem is in my db table $mcat value stored as doublequotes ...the word itself having double qoutes.... the above query working for all other sarch …

Member Avatar for sarithak
0
186
Member Avatar for Pankaj18

Hi, I have problem, i have designed a web page in asp.net 3.5. I have a TextBox and a button, the User is expected to write some comment in the TextBox. The TextBox can also have a comment pattern including a (') on the click of button the data in …

Member Avatar for Kusno
0
85
Member Avatar for AdventDeo

Ok I'll try to be as clear as possible with what I want, but for all I know the solution might be so damn simple... anw... I have a picture, alright.. usual way of putting it: [CODE] <table><tr><td> <img src='bla bla' height='100%' width='100%'> </td></tr></table>[/CODE] And I actually wanted it to …

Member Avatar for diafol
0
129
Member Avatar for rickya100

Hey everyone, The problem I'm having is regarding trying to persist a users search selection. For example a user searches (for holidays) on the homepage. I would like the search box which is displayed on every page to hold the values of the previous search which are persisted in a …

0
147
Member Avatar for Nishara

Hi.. I want to create a seperate DataAccessLayer and do the inserting,updating...etc to a database.Actually I'm new to .net things. I did it as below.But the database is not updated at all.. This is the DataAccessLayer class... [CODE] using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; namespace ClassTest …

Member Avatar for sknake
0
181
Member Avatar for Rezant

I have been attempting to write an auto-login code for some websites that I frequent, but one of the website's forms has an odd submit button. Instead of being the usual button that you can call by it's Id it's instead a link. I was actually wondering if I could …

Member Avatar for kabuchanga
0
618
Member Avatar for khairilz

i need help on programming networking.. i'm creating a winservice called HeartBeat. this service is to check if the gateway(list of gateway) is alive and able to do certain process( other application) and if it's down after certain tries, it will notified related person(email/sms/voicemail). We a doing terminal application for …

0
140
Member Avatar for eantz

Hi, I want create a page which has animation at the bottom of that page. I use jQuery to do that.. this is the way I do it [code=html] <a href="#" class="animation">Animate this</a> [/code] and this is the jquery [code=javascript] $(document).ready(function() { $('a.animation').click(function(e) { e.preventDefault(); //animation goes here; }); }); …

Member Avatar for eantz
0
185
Member Avatar for SecurExpert

Hi Guys, I am using sql in and am stuck. after "selecting * from table", how do i store whatever I have obtained from my database in a variable, for display? Thanks.

Member Avatar for SecurExpert
0
108
Member Avatar for colerainescotty

Hi there, I am wanting to find out how to add text to a hidden field in a HTML form. I want to add text from an array, the array holds the information for the caption placeholder for the images. Basically i have an image viewer which lets you scroll …

Member Avatar for colerainescotty
0
246
Member Avatar for Peric

Sorry, but I didn't know where to put this topic... Well, I'm creating a Setup Project (in Visual Studio 2008) for VB.NET application, everything works fine but I want to ask how to put an option for shortcuts...I mean, i know how to put shortcuts to desktop and start menu …

Member Avatar for Peric
0
90
Member Avatar for samarudge

Hi, I have created a script to upload files [CODE=php]$filename = $_FILES['Filedata']['name']; $filetmpname = $_FILES['Filedata']['tmp_name']; $fileType = $_FILES["Filedata"]["type"]; $fileSizeMB = ($_FILES["Filedata"]["size"] / 1024 / 1000); //Irrelevant validation here move_uploaded_file($_FILES['Filedata']['tmp_name'], $_SERVER['DOCUMENT_ROOT']."/content/songs/file.mp3");[/CODE] And that returns OK to the browser allong with my success message but the file doesn't exist, when I look …

Member Avatar for network18
0
105
Member Avatar for Nareshdeven

How to make program that i have one text box and select box, If i type "a" in text box show all words start with "a" from select box. If i typed "india" in text box then automatically also select "india" from select box in PHP?

Member Avatar for network18
0
71
Member Avatar for kevincarroll

Just a quick question, for educational and self debugging purposes, I was wondering if it was possible to read entries from the Global Descriptor Table, for example: [code] GDT db 00,00 GDTaddr db 00,00,00,00 sgdt GDT sub dword ptr[GDTaddr],18 ;2nd Entry mov edi,dword ptr[GDTaddr] mov esi,offset entry mov ecx,8h ;entry …

Member Avatar for mathematician
0
218
Member Avatar for MyRedz

well here i am just starting to do some coding about handphone to smartphone object..it's an inheritance project but not mine..;) so i would like to share here about the errors and others. any help is appreciated... now my uml diagram i want to transfer to handwritten coding.so.. [QUOTE] Handphone …

Member Avatar for foze_skate
0
132
Member Avatar for whiteyoh

Hi all, The following code displays the form, but when i click submit, it empties all of the fields. I get no error messages at all. Im stumped [code] <?php include("includes/connectpdomysql.php"); if (isset($user_username, $user_password, $user_email)) { //Prevent SQL injections $user_id = mysql_real_escape_string($_POST['user_id']); $user_username = mysql_real_escape_string($_POST['user_username']); $user_password = md5($_POST['user_password']); $user_fname = …

Member Avatar for diafol
0
143
Member Avatar for web3

When i put in this code WHERE to='$username' won't work? [CODE]<?php $connect = mysql_connect ("localhost","root","") or die (mysql_error()); mysql_select_db ("login4") or die (mysql_error()); session_start(); $_SESSION['username']; $username = $_SESSION['username']; $query = mysql_query("SELECT * FROM pm ORDER BY id DESC"); $message = '' ; while ($row = mysql_fetch_array($query)){ $id = $row['id']; $to …

Member Avatar for web3
0
112
Member Avatar for ankur_

How can we get the last error occured in linux. suppose there is a connect() func error in that case how to get the error that occured.

Member Avatar for dkalita
0
121
Member Avatar for redlyfs

import java.util.Scanner; public class BookRentalSystem { public static void main(String args[]) { //Declaration of variable and instances String bTitle, bType, bAuthor, bISBN, bStatus, search; int choice = 1; int bCount = 0; boolean found; Scanner input = new Scanner(System.in); Book[] books = new Book[5]; //Executing user's selection from menu. Exit …

Member Avatar for redlyfs
0
222
Member Avatar for macneato

Hi, so im pulling arrays from facebook. But i would like to sort them. Here is how the arrays look [CODE] Array ( [0] => Array ( [eid] => 203966119376 [name] => Funtastic - a show for the whole family! [tagline] => [nid] => 0 [pic] => http://profile.ak.fbcdn.net/object2/857/53/s203966119376_6012.jpg [pic_big] => …

Member Avatar for macneato
0
205
Member Avatar for detasat

I have installed Microsoft Visual Studio 2008 , trial version and I am running it on VISTA SP1. The IIS server is up and running: I am able to run .php files and .asp files. In the C# tab , I am choosing File->New -> Project -> .NET Web Application. …

Member Avatar for Ramesh S
0
270
Member Avatar for vaultdweller123

hello guys im a php programmer and im new to homebased programming jobs. I just want to have an idea on how homebased programming job works? how do i find some clients? how to transfer files? how to receive my payments? And they say you are paid per hour? but …

Member Avatar for vaultdweller123
0
157
Member Avatar for flyballonfly

Hey Guys, I'm trying to read individual characters from a file, store them in two arrays then print out the arrays. The input file looks something like this 7 1 5 0 1 2 4 3 7 0 2 5 9 0 3 With the first number being the length …

Member Avatar for dkalita
0
86
Member Avatar for Tank50

Hi I developed report using sql server reporting service.I used parameter to assign value for sql query.I want to use "LIKE" keyword in using parameter,How i do that?i wrote coding below what u wrote before.I used @con as parameter. [COde=sql]Select FriutID from Friut where friutName like'@con'%.[/COde] Once I write above …

Member Avatar for Ramesh S
0
142
Member Avatar for hmortensen

Hi all, Im trying to read an int from a binary file.. (As I have done many times before) [CODE] int chunkLength=0; fileRead.read (reinterpret_cast<char*>(&chunkLength),sizeof(chunkLength)); [/CODE] I know (and can see) that the file contains the bytes 00 00 00 0D, so to the best of my knowledge the int should …

Member Avatar for hmortensen
0
148
Member Avatar for SKANK!!!!!

how do i close a specific window. (not the active one) with javascript. the reason im asking is because i have a form submitting to another page AKA TARGET_BLANK. but i have it target blank because that page checks if the stuff from the form can be inserted into the …

Member Avatar for SKANK!!!!!
0
1K
Member Avatar for I_Empire

i am writing a function to convert fractions to intgers for example: .636 -> 636 or .45 -> 45 [CODE] int ret_int(double input) { while(true) { // this line is for debugging only cout << input << " " << floor(input) << endl; if(input == floor(input)) return input; input = …

Member Avatar for I_Empire
0
154
Member Avatar for loisengleny

Hello all! This is my first time posting in any of the forums so I hope I am in the right forum for my question...If not, someone please direct me to the right forum. Thanks in advance! OK here is my situation...I am in a Fundamentals of Programming with Algorithms …

Member Avatar for uopgirl
0
11K
Member Avatar for DealthRune

Use this to encrypt your passwords, for login fields and password protection.

Member Avatar for LUCKYLOVE
0
303
Member Avatar for simpatar

Here is my program: [I]#avg2.py # A simple program to average two exam scores # Illustrates use of multiple input def main(): print('This is a program to average two exam scores') score1, score2 = float(input('Enter two scores separated by a comma: ')) average = (score1 + score2) / 2.0 print('The …

Member Avatar for The_Kernel
0
167
Member Avatar for duliprb

Hello , There is a problem with compiling the project of outcall. I want to test it. because i am very interested about project but Before do customisation I wanted to compile it. [url]http://outcall.sourceforge.net/[/url] If there is a good C++ person please help me. Thank you very much. early response …

Member Avatar for duliprb
0
328
Member Avatar for Hiroshe

Can anyone help me with doing problem 12 on project euler? The question is asking which triangle number has more than 500 factors. The first few triangle numbers are: 1, 3, 6, 10, 15, 21, 28 ... Hope you understand the pattern, cause a can't explain it in words vary …

Member Avatar for SVR
0
185
Member Avatar for riahc3

Hey I have a text file (1.txt) with the lines: This is line 1 This is line 2 This is line 3 This is line 4 This is line 5 and Im trying to read all the pair lines from that file and write them to another text file called …

Member Avatar for Gaiety
0
202
Member Avatar for anup.maverick

HI, I am creating a Forum System, this is a small system, I want to know where to store the forum data(Messages posted by users), Should I store it in SQL database or a Text File. Please suggest something. Thanx....

Member Avatar for Ramesh S
0
70
Member Avatar for PriusDriver07

Hello, I am wondering if I am chasing my tail, but is it possible to convert the numbers 1-26 to their respective letter of the alphaber by using the call char(1) where it will return the letter a, char(2) will return b, char(c) will return c, etc... Thanks,

Member Avatar for PriusDriver07
0
45
Member Avatar for ankur_

Where can I find sample client-server program using poll. Or if someone has it can they share it.

Member Avatar for ankur_
0
157
Member Avatar for futhonguy

Dear all, I am trying to submit my data on a php created form to mysql database where it is separate by 2 tables (device) and (location). As some of the devices shared the same location, 2 tables are created as below. For location table, i had created 2 fields: …

Member Avatar for futhonguy
0
205
Member Avatar for edwar

Anyone knows how to open a text file and write the content of it to a text file with command line or arguments, i mean using the argc and argv. thanx for answer!

Member Avatar for Ancient Dragon
0
273
Member Avatar for OldQBasicer

I want tu use more than one form in my project and be able to code a button or something that will do that. I tried this on Form1 and it worked. [CODE]Public Class Form1 Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click 'Goes from this …

Member Avatar for vb5prgrmr
0
124
Member Avatar for mimi8469

hello every1, am doin my final yr dissertation on cd database ( audio cd and mp3 cd). I'm to develop something similar to media player. My software should be able to copy cds and save on computer. user should b able to search 4 a specific song and play it. …

Member Avatar for vb5prgrmr
0
242
Member Avatar for srk619

ive got a sample game from college and i would like to open it a see how the game is but when i open it a blank window appears like ms dos and then closes i wonder if anyone could help out. ive installed python 2.5 and pygame. the code …

Member Avatar for snippsat
0
96
Member Avatar for tomafik

I want to write a program that mainly use voice commands but I don't know how can I get vb6 voice commands. would you help me?

Member Avatar for vb5prgrmr
0
382

The End.