199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Varunkrishna

When I was going through a program of my friends, suddenly I came across a strange for loop, I was wondering about the for loop since then, the loop looked like this for(1=0,ii=result.length;i<ii;i++) Is this for loop a valid for loop? Can any one please help me?

Member Avatar for JamesCherrill
0
224
Member Avatar for coolrosy

hi frnds i start learning flex..i dont where to start learning.can anyone know the requirement tools,softwares?

Member Avatar for coolrosy
0
202
Member Avatar for mcdevins

hello, I bought a script from one guy online and tried uploading it. The instruction in the script say i upload using a binary mode. I did exactly as i was told using CUTEFTP (BINARY MODE) The problem is that the site says i Delete install.php file for security reason …

Member Avatar for pritaeas
0
327
Member Avatar for LeNenne

Hi I wonder how to create a Mru list of the last open mdb file in app.path and how to numerate this in order of used Lenny

Member Avatar for Jx_Man
0
89
Member Avatar for hindu times

Hi, I'm using a plugin in Wordpress to display events on my page, but instead of making it simple, they are requiring me to use php to display the title of the pages as I want to. The rest of my pages display with a little icon and then the …

Member Avatar for cereal
0
316
Member Avatar for xpertj007

how can i change my background image by clicking on another image use as a button with jQuery... please help

Member Avatar for pritaeas
0
184
Member Avatar for nisbusiness
Member Avatar for IIM
0
131
Member Avatar for adeeb.keyaam

<?php $dbHost = "localhost"; $dbUser = "root"; $dbPass = ""; $dbName = "test"; $conn = mysql_connect($dbHost, $dbUser, $dbPass); if(!$conn){ die(mysql_error()); } mysql_select_db($dbName, $conn) or die(mysql_error()); if(isset($_POST['submit'])){ $field = $_POST['field']; } if(isset($_POST['submit2'])){ $field2 = $_POST['field2']; } if(isset($_POST['submit3'])){ $field3 = $_POST['field3']; } ?> <?php if(!isset($_POST['submit']) || isset($_POST['submit']) != "true"){ ?> <form id="create" …

Member Avatar for adeeb.keyaam
0
217
Member Avatar for fmasroor

Where can I find iostream.h ON THE INTERNET basically, I know how to use iostream.h, but I need to download it. I am not going to download a new compiler. I do not need any tips on how to include it in my program. Just where to find it. I …

Member Avatar for Schol-R-LEA
0
26K
Member Avatar for Lindita01

Given a length of wire P units long, where P is an integer, it is possible in some cases to bend the wire into an isosceles triangle(with two sides equal) where the lengths of all the sides are also integers. For example a wire of length P = 3 units …

Member Avatar for peter_budo
0
153
Member Avatar for dhani09

Hi, I'm wondering how i can upload images into a database and display an uploaded image at the same time. For example when the upload button is clicked, the image is inserted into the database and displayed in the frame. (It doesn't matter whether the page reloads or not). I …

Member Avatar for diafol
0
141
Member Avatar for amvx86

I need some help with this one. i have a few code samples I have found on the internet, however, when I attempt to use them I get errors, and nothing really works. What I'm trying to do is get the text of a message box, and the contents of …

Member Avatar for amvx86
0
959
Member Avatar for saleem.mukhtiar

Dear Friends i made a applicatoin where i need a variable value which will enter by after 1st installation... Infact it is a uploading to ftp application with a single click. but the file name is not constant for all all locatins. So i want i will enter it in …

Member Avatar for saleem.mukhtiar
0
218
Member Avatar for VIPER5646

Hi all I have a Mdi Child Fom being oppened from the parent the form opens but the Load event will not fire UP. Doesn't the load event suppose to fire up every time the form is opened? Here isthe code usedto open the form from the Parent and also …

Member Avatar for VIPER5646
0
933
Member Avatar for Alessandrorenzi

Hi guys, I have a VB6 exe file on pc A and I want run this exe from pc B. Pc A and pc B are connected in internet. Then, the running exe file in pc B has to send in real time data to pc A Is it possible …

Member Avatar for Reverend Jim
0
272
Member Avatar for lee.martin.568847

program does not work: Assignment: In the sport of diving, seven judges award a score between 0 and 10, where each score may be a floating-point value. The highest and lowest scores are thrown out and the remaining scores are added together. The sum is then multiplied by the degree …

Member Avatar for lee.martin.568847
0
1K
Member Avatar for shamsidini

hello guys,,,am facing a little problem around here.. I want to write a code in assembly language(tasm) which requests the user to enter the name of the file and then open that file...and count the number of words in it and display the results...

Member Avatar for Assembly Guy
0
241
Member Avatar for HumblePie

##I have done an exercise to write a program that prompts a user to enter two numbers. The program should divide one number by another. Use a try-catch block to prevent the user from dividing by zero.## #When I debug this code it does not return an answer when the …

Member Avatar for ddanbe
0
136
Member Avatar for HelpWanted2115

Ok, so I got a program to do in TurboPascal but it's not doing the one of the requirements and I'm not sure how to get it so the question states: Write a program to read in the names of a sequence of products and their price. The program terminates …

Member Avatar for HelpWanted2115
0
188
Member Avatar for HelpWanted2115

Hi guys, so yeah, I got some IT homework AGAIN on programs and I repeatedly did trace tables and they all worked, but somehow, when I enter it in turbo pascal, after the 10th number, the digits start to get negative and after the 6th number, its not following the …

Member Avatar for HelpWanted2115
0
201
Member Avatar for vadimak

Hello how can i make a change calculator? for exmaple i want to buy an item thet cost 5.89$ and in canada no more 1 cents so how can round the number to 5.90?

Member Avatar for vadimak
0
436
Member Avatar for btrme

I tried to save my record to wave file with using portaudio library.The samples are saved in recordedSamples array and I tried to add headers of wave file.I am doing something wrong.So,could you please rectify this ?? Thankss...Here is my code : int main(void) { PaStreamParameters inputParameters, outputParameters; PaStream* stream; …

0
402
Member Avatar for maxpaine69

Hi all, im trying to get data of the data set varyable, but im only receivinf 0 from its, can anybody tell me how can i get the data i want from the datatable.

Member Avatar for tinstaafl
0
123
Member Avatar for Drgy55

Please read this whole post before commenting. I am new to programming in C. The problem I have is from Kochan's "Programming in C," Chapter 6, Exercise 6. The problem states that I need to take user input (some integer) and display it in english. Ex. User inputs "123", output …

Member Avatar for Moschops
0
279
Member Avatar for Jacobah

Hi i try to convert jpg to wmv using window media encoder when i running this code I get error "System.Runtime.InteropServices.COMException (0xC00D0BB8): The input media format is invalid." at line: SrcVid.SetInput(@"C:\Users\jacoba\Videos\Untitled.jpg", "", ""); any idea how to SetInput for jpg (or any others image - BMP, PNG etc. thanks, try …

Member Avatar for JOSheaIV
0
316
Member Avatar for nishad_forums

Hello, I trying to create a **messenger**(just for practice, so nothing fancy!). I created the server and client programs. Suppose a client(user A) initiated a connection with the server, so it's online. Now, another user(user B) wants to chat with that user(A). How do I give User B the IP …

Member Avatar for nishad_forums
0
942
Member Avatar for visweswaran28

Hi, I have objective to store set of information inside given images (Like DICOM). Please suggest me to proceed. Thanks in Advance.

Member Avatar for tinstaafl
0
206
Member Avatar for Suzie999

Hi. First I apologize if in wrong section of forum for this question, but I will eventually be working in C++. I don't know where to start on this project, so my terms will most likely be wrong. The idea is to partially hash an executable file, that part of …

Member Avatar for Moschops
0
167
Member Avatar for brandon66

How would i create the tables for this information; the dmr and tuner are products but there is going to be like 200 dmrs 50 tuners they each have different serial numbers how would i track each tuner and dmr with different serial numbers? Products DMR dmr id ISN dmr …

Member Avatar for brandon66
0
187
Member Avatar for russendel

[Click Here](http://answers.yahoo.com/question/index;_ylt=AlQJPiETIJOaaftERf6r1l7sy6IX;_ylv=3?qid=20130507233149AAQXvZ6) answer this please...

Member Avatar for rubberman
0
126
Member Avatar for siblers

Hello, I'm having a bit of trouble with this error. The error seems to be wih setRented but I'm not really sure what to change. This is my interface public interface Rentable{ double getRent(); void setRent (double rent); boolean isRented(); void setRented (boolean rented); } This is my abstract class …

Member Avatar for JamesCherrill
0
183
Member Avatar for Social_psych

Hello, Has anyone ever repeatedly wrote to the same text file, using the append mode, and when examining the text file, several lines were missing? Here are the specifics to my code: 1. Each line in the output, the text file, contains data from one experimental session (e.g. the session …

Member Avatar for Social_psych
0
223
Member Avatar for silvercats
Member Avatar for jethaya

i need to join those two peice of code the first peice of code takes a csv file from a textarea formats it and put it into a mutidimentional array <?php if(isset($_POST['TextArea1'])){ $str = $_POST['TextArea1']; $patterns = array("/\t+/", "/ +/"); //set up an array of items to replace $str = …

Member Avatar for jethaya
0
584
Member Avatar for meda shiva

hi coders.. i need live availability code i am using codeigniter. i am inserting values(username,password,email,phone number) by using array . if the email is already in databse i need to show error message.. with out reloading the page.... thanks in advance.

Member Avatar for meda shiva
0
154
Member Avatar for marvin.gorres.5

hye guys, i have a html code as below: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script src="graph/enhance.js" type="text/javascript"></script> <script src="graph/excanvas.js" type="text/javascript"></script> <script src="graph/jquery.min.js" type="text/javascript"></script> <script src="graph/visualize.jQuery.js" type="text/javascript"></script> <link href="graph/basic.css" rel="stylesheet" type="text/css" /> <link href="graph/visualize.css" rel="stylesheet" type="text/css" /> <link href="graph/visualize-light.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .dwpeAd { …

Member Avatar for Webville312
0
332
Member Avatar for harshInITworld

Hi, I am currently working on project wherein I am inserting thousands of records in database using spring batch. So is there any way where I can handle exceptions in my ItemReader and ItemWriter? I need to apply logic for failure of records when job executes i.e if I am …

Member Avatar for JamesCherrill
0
4K
Member Avatar for ManthanB

I think after looking on the title itself, you all peopel managed to get why i am over here. The question is pretty simple. I have developed a windows application using C sharp. I let you know that it has login form. after succesful authenthication application gets start. This application …

Member Avatar for ManthanB
0
187
Member Avatar for captian
Member Avatar for anil22ece
0
354
Member Avatar for jelly46

Hello I am unable to to edit a json file i need to add some updates but i keep getting Error: Parse error on line 8: ... "text" : " company name -----------------------^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined' I am trying to add a paragraph …

Member Avatar for paulkd
0
160
Member Avatar for Ismatus3

Hello , I wanted to ask if It is possible to create a Python programm that turnes on a server , with interfaces on users machines , connecting to a database ? Actualy , i'm asking about a better way to use databases with Python , thank you .

Member Avatar for Ismatus3
0
238
Member Avatar for tengmat

Please Help me to convert this python code to C# # avg_visits = [75, 30, 18, 17, 26, 40, 67, 82] mixes = [0]*50001 mixes[0] = 1 for n in avg_visits: for i in range(0,50001): if (i+n <= 50000): mixes[i+n] = mixes[i]+mixes[i+n] print mixes[500] print mixes[2000] print mixes[50000]

Member Avatar for Lucaci Andrew
0
1K
Member Avatar for ggsr45

hi, I have the following dict which I want to write to a file in binary: data = {(7, 190, 0): {0: 0, 1: 101, 2: 7, 3: 0, 4: 0}, (7, 189, 0): {0: 10, 1: 132, 2: 17, 3: 20, 4: 40}} I went ahead to use the …

Member Avatar for ggsr45
0
374
Member Avatar for Aethir

# This is an advanced guess the number game. import random # The very basis of this game. import math # Used for math.ceil import time # Used to split up long portions of text. def errorDisplay(errorCode): if errorCode == '1': print('\n\n\nError ' + errorCode + ': unlockedGameModes outside of …

Member Avatar for Aethir
0
283
Member Avatar for SpottyBlue

I was in the library's multimedia room to do my assignment, but all PCs don't have Visual Studio and other smiliar programs. So I wrtie the code on Notepad for the question: > Design a solution that will determine and display the fewest number of ringgit and coins in change …

Member Avatar for tinstaafl
0
1K
Member Avatar for codesly
Member Avatar for khwo

Hi, Anyone of you know hot to get item when user click on item in the listview. I want the data in listview display in the text box, can anyone give me some advice on this? The following code is my coding at Form_Load():- Private Sub Form3_Load(ByVal sender As System.Object, …

Member Avatar for maley
0
4K
Member Avatar for swathys

Hi, Can someone guide me on how to call the public property from web services. i got error *Server was unable to process request. ---> Object reference not set to an instance of an object.* Below is WS public property Public Property LoginID() As String Get Return Me.loginIDField End Get …

Member Avatar for swathys
0
216
Member Avatar for Aven.Seven

Greeting, Can somebody help me with this code i don't know what is the problem here Dim str As String = "SELECT DISTINCT FirstName,LastName FROM SessionMembers ORDER by FirstName, LastName asc" Dim cmdStr As New SqlCommand(str, con) Dim dtreader As SqlDataReader = cmdStr.ExecuteReader() While dtreader.Read stringCols.AddRange(New String() {dtreader(0).ToString}) stringCols2.AddRange(New String() …

Member Avatar for Jx_Man
0
234
Member Avatar for Labdabeta

Hello, I am making a number of libraries to help me with my projects and I am torn between two approaches. I will show you what each looks like. I have no idea which would be considered 'better' in general. Locals: #ifndef SOME_GUARD #define SOME_GUARD VERSION_NUMBER #ifdef __cplusplus extern "C" …

Member Avatar for mike_2000_17
0
227

The End.