199,113 Archived Topics
Remove Filter ![]() | |
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? | |
hi frnds i start learning flex..i dont where to start learning.can anyone know the requirement tools,softwares? | |
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 … | |
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 | |
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 … | |
how can i change my background image by clicking on another image use as a button with jQuery... please help | |
<?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" … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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... | |
##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 … | |
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 … | |
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 … | |
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? | |
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; … | |
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. | |
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 … | |
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 … | |
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 … | |
Hi, I have objective to store set of information inside given images (Like DICOM). Please suggest me to proceed. Thanks in Advance. | |
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 … | |
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 … | |
[Click Here](http://answers.yahoo.com/question/index;_ylt=AlQJPiETIJOaaftERf6r1l7sy6IX;_ylv=3?qid=20130507233149AAQXvZ6) answer this please... | |
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 … | |
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 … | |
How does a 1-10 simple number generator work? | |
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 = … | |
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. | |
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 { … | |
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 … | |
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 … | |
Please tell me which webhosting is good for the sites having php scripts? | |
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 … | |
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 . | |
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] | |
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 … | |
# 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 … | |
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 … | |
how can i code for the windows media palyer in vb pls? | |
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, … | |
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 … | |
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() … | |
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" … |
The End.