64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for himanshusharma

hey frnds ... my query is regarding the [B].bak[/B] files which are genrated when we compile our code. For some files i hv seen the [B].bak files[/B] but for others they dont exist . I just want to know the start n the end of these [B].bak files[/B] . Whats …

Member Avatar for josephbeluan
0
203
Member Avatar for Ghostenshell

Can someone help me with my queue? I think the stack works fine. I just need the indexing of the queue or do I need to index the queue? [CODE]from string12 import * from queue import * def main(): stack1 = Stack() queue = Queue() word = raw_input("Enter a word …

Member Avatar for Ghostenshell
0
2K
Member Avatar for Walahh

Hello everyone, I would really appreciate if anyone could please help me out here. I am trying to read the user's input in one page and then trying to display it in another page (want to let my users upload a file from their machine and save them in my …

Member Avatar for Javvy
0
152
Member Avatar for carinlynchin

okay so I have an array of buttons, and at some point in the program I want to access the index of a button clicked in order to perform some calculations....so there are two options that I can think of...maybe there is a method to pull out the index (2d …

Member Avatar for carinlynchin
0
143
Member Avatar for andrewliu

Hello. I have gone through various checks, and I can't seem to figure this one out... [CODE]while($row_sizes = mysql_fetch_array($sql_sizes)); { $sizes = $row_sizes['size']; $product_list .= count($sizes); $product_list .= "<li>".$sizes."</li>"; }[/CODE] Its not outputting any sizes. However, my count($sizes) outputs 0. And that shouldn't because I have [CODE] $sql_colors = mysql_query("SELECT …

Member Avatar for andrewliu
0
113
Member Avatar for zizuno

Can someone explain to me why this sort is going all wonky on me? And a how to fix would be cool too. Thanks [code] >>> a = ['2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '2', '3', '4', '5', '6', '7', '8', …

Member Avatar for zizuno
0
161
Member Avatar for croker10

Hi All, Hopefully someone has had this problem in the past and can point me in the right direction. In the last couple days the ASP.NET development server has slowed down to nearly a halt when starting and stopping debugging, by that I mean anywhere from 5-7 minutes before the …

Member Avatar for croker10
0
201
Member Avatar for mbarandao

Hello: I have a select box which offers the user the option of selecting multiple selections. I'm a bit lost as to how --if multiple selections are made, to save these selections into mysql. here is the code of my select box: [code] <form name="theForm"> <select size=11 name=servicearea id=select multiple …

Member Avatar for mbarandao
0
637
Member Avatar for ddellostritto

Hi all - I've created a form to create events, but I can't figure out how to insert the date of the event properly into mysql (I'm not interested in inserting the time the register will be created, as that would be timestamp). I've got the column set as datetime …

Member Avatar for ddellostritto
0
165
Member Avatar for StevoLord

Found this sniplet of code on various websites to use this way of playing a wav file however im getting this error message. javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input file Update 1 - I know the wav file has to be 8khz, is there a way to …

Member Avatar for StevoLord
0
4K
Member Avatar for Shodow
Member Avatar for SeePlusPlus2

I started learning about objects and classes this week and it's really confusing. I'm trying to make a class/object to read data from an input file and use the values to calculate the profit loss/gain(in percent and numbers). So far when I try to run the program I get an …

Member Avatar for SeePlusPlus2
0
200
Member Avatar for agriz

Hi, There are three tables involved here. A kind of quiz localhost site, i did for me. Table 1 contains questions. ========================== question_id (autoincrement) questions (varchar 250) category_id Table 2 contains choices ======================== Choice_id (autoincrement) Choice_value (varchar) question_id Table 3 contains answers ======================== question_id choice_id I am displaying 10 questions …

Member Avatar for smantscheff
0
314
Member Avatar for iskinner

From help I received yesterday I have this code that will parse through an XML file generating an output from various nodes based on the relationships between them. Example XML [CODE] <gedcom> <INDI ID=@I001@> <FAMC>@F001@</FAMC> ... </INDI> <INDI ID=@I002@> <FAMC>@F002@</FAMC> ... </INDI> <INDI ID=@I003@> <FAMC>@F003@</FAMC> ... </INDI> ... <FAM ID=@F001@> …

Member Avatar for iskinner
0
162
Member Avatar for CJdamaster

Hi there, I'm working on a project which incorporates the following: [LIST] [*]Reading data from XML [*]Writing data to XML [*]Interpreting XML and passing the information to various places [/LIST] These are on different threads, and I've used a Mutex to make sure they don't try opening the main XML …

Member Avatar for CJdamaster
0
169
Member Avatar for kazekagerandy

i am doing a makeup and hairstyle makeover application in vb.net and i dont know if i can directly edit a photo in a picture box, the features of the project will be: 1. make-up features are a must. 2. it should save the original photo uploaded and the edited …

Member Avatar for kazekagerandy
0
3K
Member Avatar for jwiere03

I am working on a little project here. I have two arrays (States, Cities) I am trying to allow the user to chose one from a select form (Choice) and then have the values of the chosen array displayed in a alert(). Obviously I could just write an if statement …

Member Avatar for jwiere03
0
172
Member Avatar for taylby

Hi I am working on a Silver light web application that is using the Prism Model (So apologise if this is the wrong forum). Context I am involved with softening the URL's which call various applications through out the application. The list of URL's comes from an XML file which …

0
80
Member Avatar for EvolutionFallen

Hi, I'm having trouble submitting a form using a link. I have a table that lists a bunch of data, and I want to allow users to edit the data directly in the table. The user can click the "EDIT" link, which makes jQuery replace the appropriate <td> html with …

Member Avatar for severman
0
721
Member Avatar for cool_intentions

Hello people, I`m learning C# end need some help with my assignment. I have Form with DataGridView on it end one Button. When I click Button, I should get SUM from only selected cells into Message Box. How can I do that? Thanks for your help.

Member Avatar for ddanbe
0
1K
Member Avatar for TheLittleEngine

The parts I am having trouble with are: The private section of the class should also include two member functions that will a) reduce a fraction to lowest terms b) normalize a fraction (the only sign appearing will be a negative sign in the numerator.) for part a) I have …

Member Avatar for TheLittleEngine
0
725
Member Avatar for infinitus

Hello, i have came across a problem when trying to create a hangman game. I want to read a String of letters inputed from keyboard and then i want someone else to guess this word(typical hangman rules). I have used this code. [CODE]InputStreamReader FindWord = new InputStreamReader(System.in); BufferedReader in = …

Member Avatar for harsuraj
0
411
Member Avatar for NewOrder

i need to terminate a background thread in winform, however, i dont know how. i know that using Thread.Abort, only creates problems..please help [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net.Sockets; using System.IO; using System.Threading; namespace WindowsFormsApplication1 { public …

Member Avatar for NewOrder
0
173
Member Avatar for Netcode

I have two FileUpload Controls. I want one of them to accept only word and pdf file, the other is to accept only images(.jpg|.bmp|.gif|.png). I've actually tried coding an upload button and i tworked but i prefer a client-side validation so i've decided to use a RegularExpressionValidator. Pls I need …

Member Avatar for Netcode
0
82
Member Avatar for eduard77

I just learned c++ and is very hard for me to put in practice what I learned. So, I would like to know if anybody could help me by giving me tasks and helping me to solve them. Thanks

Member Avatar for eduard77
0
256
Member Avatar for nengstrom

Hi Everyone! I am a beginner at VB. I have been a systems admin for some time and my new employers are forcing my hand into programming. I am currently Trying to write custom software that interfaces with our Advantage Database. I have the data source and connection opening fine. …

Member Avatar for nengstrom
0
165
Member Avatar for jigneshdesai
Member Avatar for amrita111
Member Avatar for JamesCherrill
0
95
Member Avatar for ddellostritto

Hi all - I need some help w/something that I'm not sure what the proper technique is. [B]How to deal with 'dynamic' forms?[/B] I'm working on an event registration form, where the person who registers normally registers their team members, so the number of team members could range from 1 …

Member Avatar for ddellostritto
0
707
Member Avatar for keicola

hi, i'm currently learning C on my own. i explicitly made a binary tree just to see if my postorder procedure works. i have no idea why but at the end of running the program, before it does the last procedure, this appears: [IMG]http://i56.tinypic.com/2nb52xx.jpg[/IMG] everything else works fine. i know …

Member Avatar for keicola
0
174
Member Avatar for addlou

I need to write a loop to go through a string and retrieve alternate characters from index positions. Then append the characters to another string and then print (eg. "pleasehelp" = "peshl") I have hit a wall and lack any sort of know how to push through... what have I …

Member Avatar for Momerath
0
625
Member Avatar for Netcode

i have a file upload control. Please how do i specify a file size and file tyoe to be uploaded. Its very urgent

Member Avatar for Netcode
0
103
Member Avatar for VasquezPL

Hi! I have a problem. I cannot pass text chosen in combox to text field.. The problem is: how to do that if all menu items from combobox are read from cfg file. ComboBox: [code] // // systemBOX // this->systemBOX->FormattingEnabled = true; resources->ApplyResources(this->systemBOX, L"systemBOX"); this->systemBOX->Name = L"systemBOX"; StreamReader^ plik= gcnew …

Member Avatar for VasquezPL
0
687
Member Avatar for ptara1

I'm trying to display a picture stored in a msyql database. I have the following script, picscript.php, to call the picture from the database: [CODE] <?php $username = ''; $password = ''; $host = ''; $database = ''; mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); mysql_select_db($database) or …

Member Avatar for ptara1
0
115
Member Avatar for Micksnothere

Hello, Question: List the top 25% of employees in terms of sales. Your list should include employee number, last name, first name, total number of orders, total sales. Here is what I have so far (not sure if my inner joins or even the query is totally correct): select e.employee_no, …

Member Avatar for debasisdas
0
129
Member Avatar for dhairyaguptha

I have a form loaded with table values from database. The form is embedded in php page because it is coming as result of AJAX request. I want to update the data in the same form and return to the table in database. the process is working overall. But when …

Member Avatar for dhairyaguptha
0
13K
Member Avatar for aman rathi

first of all thanks to all for helping me from last 2 years. now a days i am learning Visual basic, i have one book that is for beginner. while studying that book i feel it is insufficient for me. so please can any one tell me a book which …

Member Avatar for debasisdas
1
110
Member Avatar for jrotunda85

I am creating a login script and I need to check that the username and e-mail don't current exist in the database otherwise it will print an error. I've tried the following but it's not working: [CODE=php]//Create Username Array $SQL = "SELECT Username from user" $Result = mysql_query($SQL); $Array = …

Member Avatar for Javvy
0
270
Member Avatar for lwb525

Here is the problem from my Programming class: Write a program that asks the user for two file names. The first file will be opened for input and the second file will be opened for output. (it will be assumed that the first file contains sentences that end with a …

Member Avatar for WaltP
0
2K
Member Avatar for bLuEmEzzy

if the itemcheck is check then all the checks will be add separately to cash... i hope is it clear enough... thank You.. God bless... [CODE] Dim Cash As Double = 0.0 Dim Cheque As Double = 0.0 Dim Other As Double = 0.0 Dim DetermineCash As Boolean Dim CheckedItems …

Member Avatar for bLuEmEzzy
0
162
Member Avatar for luweegee

This code is to update the record into the database. Assuming there's a record that you want to edit, when you submit the button the page looks nothing happened because you need to refresh the page before appear the output here's the code. Help me guys pls... sorry for my …

Member Avatar for lyrico
0
192
Member Avatar for dhairyaguptha

[CODE]xmlhttp.open("GET","tablebase.php?q="+str,true);[/CODE] I can get value to the [COLOR="Green"]$q[/COLOR] variable in tablebase.php by above method. But how i can get a value to [COLOR="Green"]$q2[/COLOR] by using the above method. Thank you!

Member Avatar for dhairyaguptha
0
86
Member Avatar for ptara1

I'm a php noob and I have a feeling that there is a simple solution to my question. I have a php mysql table search that returns a result sucessfully. What I would like to be able to do is select one of the results to be inserted into a …

Member Avatar for ptara1
0
180
Member Avatar for packluv12

Hi everybody, I am new to the programming world and I have an assignment that I need to write an array then a new array that needs to allocated dynamically and, then, populated in reverse order before being displayed all within a function. Here is what I have so far …

Member Avatar for jkoske
0
118
Member Avatar for terzenta

I've been messing around trying to figure out why I'm getting this compiler error for a few hours, and I'm just not sorting it out. Any help would be appreciated. Thanks, David Code: [code] package dladoucer_week5; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input …

Member Avatar for terzenta
0
242
Member Avatar for mrhankey

hi, i have found a few ways on the internet to import an excel sheet into mysql. one of which is save to a csv and upload to a site which creates the sql statements and this is great and i have used in past. however my problem is i …

Member Avatar for mrhankey
0
157
Member Avatar for jrotunda85

I have set up a DB which uses a Code table to store numerical values that correspond to a "Description" of the cigar. For example, a Cigar made in the Dominican Republic would be stored in the DB as being made in "80004." I'm not completely immovable on the Code …

Member Avatar for smantscheff
0
2K
Member Avatar for theoryforlife

Hello, I'm taking a 100-class (beginner) in C++ Currently I'm stuck in one of the assignments due where it asks for the program to have the user return to the beginning if there's an error, as well as create an out put of: + ++ +++ (...) The current code …

Member Avatar for theoryforlife
0
249
Member Avatar for jugadengg

hi please solve my problem i am getting linking error in following program. i am using devc++ for copilation linking errors: C:\Users\shiv\AppData\Local\Temp\ccaMbaaa.o(.text+0x286) In function `ZN4list7delnodeEi': C:\Users\shiv\AppData\Local\Temp\ccaMbaaa.o(.text+0x286) In function `ZN4list7delnodeEi': [Linker error] undefined reference to `list::search(int, Node**, Node**)' C:\Users\shiv\AppData\Local\Temp\ccaMbaaa.o(.text+0x62c) ld returned 1 exit status [CODE]#include<iostream> #include<conio.h> #include<string.h> using namespace std; class …

Member Avatar for gerard4143
0
227
Member Avatar for ntrncx

Use a two-dimensional array to solve the following problem. A company has four salespeople (1 to 4) who sell five different products (1 to 5). Once a day, each salesperson passes in a slip for each different type of product sold. Each slip contains the following: a) The salesperson number …

Member Avatar for VernonDozier
0
466

The End.