199,114 Archived Topics
Remove Filter ![]() | |
Below is a code displaying records from a view which is concatenating first and surname in textbox on the form called accoutnholder. But the code "txtAccountHolder.Text = myDataReader.Item("First_Name&" - " &Surname")tostring]" show the expression does not produce value. please i need ur help to continue Private Sub txt_LostFocus(ByVal sender As … | |
i have created a masterpage with two panels on the top for tittle and other stuff.Then i started created a webform using masterpage .But i cant see those panels in my new page usually it automatically does show the cannot.can any one please suggest me whats the problem... | |
[CODE]<employees> <employee> <user_id>6</user_id> <profile_name>Developer</profile_name> <profile_id>2</profile_id> <user_status>1</user_status> <gender>1</gender> <first_name>Anulesh</first_name> <last_name>Gupta</last_name> <address>106/B, 1st Floor, 46th Cross, 4th Block, Rajajinagar,</address> <pswd>password</pswd> <pswd_change_dte>2011-01-25T19:48:00+05:30</pswd_change_dte> <email_addr>anulesh.gupta@effone.com</email_addr> <phone>91-080-22445281</phone> <dob>1981-09-18T00:00:00+05:30</dob> <join_date>2008-11-20T00:00:00+05:30</join_date> <receive_email_notification>true</receive_email_notification> <last_logged_in>2011-01-25T19:48:00+05:30</last_logged_in> <emp_id>1001</emp_id> <full_name>Anulesh Gupta</full_name> <skill_set /> <city>Bangalore</city> <state>Karnataka</state> <country>India</country> <zip_code>560010</zip_code> <mobile_number>22445281</mobile_number> <pwd_flag>1</pwd_flag> <reports_to>5</reports_to> </employee> </employees>[/CODE] Convert this into this format , please help me out for … | |
Hi guys i'm trying to write code that requires the user to hit return twice to terminate the project and I can't figure it out. I think i am supposed to use some variation of [CODE] if(input == " "){ exit(1); } [/CODE] with a Boolean expression but I can't … | |
I am doing an bubble sort assignment, the goal is to enter up to a max of 10 numbers and sort them. The problem that I am running into is when I run the code, I have to hit ^D to have the next line of the array displayed and … | |
Hi i wanted to loop the options list of the select tag inside that echo statement from my database. This file out puts the content to a javascript code. and this output is also javascript. any one help me how can i loop that options in select tag from the … | |
I have two textbox and I want to have two different messagebox validation for each. It goes like this [CODE]if(text1.Text.Length == 0) { messagebox.Show("error 1"); } else { OK }[/CODE] Where would I put the textbox 2 for a different messagebox? Else if will not work. Need help | |
I want to open a text file at a specific index point. is there an easy was to do it other then building it in a textbox? in notepad and notepad++ they go by line in text and not text index point. | |
What is this cloud computing and how does it work. | |
Hello All! I'm working on a bit of code and I ran into a problem. I am trying to make a program that writes data to a binary file. When the program is run again later (presumably after being terminated) it is supposed to read in the old directory file … | |
Please Explain me what is difference between cluster and non-cluster index. Also if i create a primary key on a Table which index will be created automatically, cluster or non cluster. Thanks in advance. | |
Hi, I am trying to compare two objects, but it is not working correctly. Please help. [CODE]/** * Compares theObject with <CODE>this</CODE> object for * equivalence. Do not concern yourself with runtime * efficiency. * @param theObject to be compared with this object * @return true if theObject is equivalent … | |
Hello, Iam using the pyodbc module to read / write to the .mdb file.i have written the following code for extracting some data from db and it works fine. [CODE]cursor.execute("select company_name, param_key,com_value \ from key_financial_ratio \ where param_key = ? \ and com_value > ? \ and com_value < ?" … | |
Hello, I'm a student working on my first hands-on assignment. One of the questions is this: Q4: Write a program that converts a user input temperature from degree Celsius to Fahrenheit or Fahrenheit to Celsius using: C = 5 (F -32)/9 or F = 9C/5 + 32 The user must … | |
Hello, I am working on a project that involves 5 servomotors that need to move in a coordinated way. The servos are controlled via an Arduino micro-controller. I've been learning C through this project, so my coding might be a little off-convention. What I have is 5 buttons (0 to … | |
hi,everyone i need help about simple code to move the picture in form simply animation of the picture. thanks | |
Hello, I have used Joomla, Wordpress and other CMS tools. All this tools are plugin and theme based. The basic concept for plugins are to extend functionality and if I update the core system than it will not break the plugin's functionality. I like this same feature in a forum … | |
So I am a bit confused with the following terms already and how they interact. I am new to IM creation and I want to know the best approach on how to go about this. Anybody can explain them to me? I know ejabberd is a kind of open source … | |
I am in a distributed education programming class, our most recent assignment has me stumped with a error that is driving me insane. The IDE I have on my personal computer is missing some of the libraries I need(I believe), and when I remote desktop to my school's computer and … | |
I wrote a web service to connect to mysql database. But I can't find a way to call it from the j2me midlet to pass parameters to the web service. Please help me with this. | |
Hello Lovely People, Please have a look at my GUI first, before reading the rest (I've attached a picture, see at the end of my post). I'm having two problem with this GUI. 1) I don't want my Start button to be as long as it is. I want it … | |
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 … | |
The rubric says "In a new class, write a static insertion sort method that takes in an array of Comparable objects...In this new class, create a main that tests your code by making an array of TravelGuide objects and passing it into your insertion sort. Also test that your code … ![]() | |
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 … | |
Hello everyone, I'm really struggling with this problem: Suppose we have the following grammar fragment for a language that allows an assignment to appear in any context in which an expression is expected: the value of the expression is the right-hand side of the assignment, which is placed into the … | |
Please help me with, creating an checker board!! this is all i got right now [CODE]from cs1graphics import * n = 8 paper = Canvas(400, 400) for y in range(n) : for x in range(n) : square = Square(100) square.moveTo(x*50, y*50) paper.add(square) [/CODE] | |
I need to take data in from a form, using a javascript call. From there I need to send the data to a php script that puts it in a database. I have an AJAX call that does this...but I know that the AJAX call also waits for a response … | |
Ok heres my problem i was told to make a simple tower of hanoi project (standard for C++ courses) heres what i have it works pretty well the only problem i have is that i need to number the discs from smallest to largest and tell which is moving. i … | |
I want to create a program that I can create a Text file folder on my desktop and move all the text files into the folder. Here is what I have so far: Below is where I create the Text folder: [code]Dim myPath As String = IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.Desktop, "Text") IO.Directory.CreateDirectory(myPath)[/code] Here … | |
hey guys, I am facing problem to get weather information from client ip address. i know how to get client ip address but i don't know how to get weather information. please somebody help me for this problem. Thanks | |
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 … | |
Hi guys I've made a hangman game and now i want to make a highscore list for it. I was thinking that i would probably have to export the data to like excel or something, but I have no idea how to do this. Also if there is a better … | |
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 … | |
Hello, Does anyone know a good cross platform library that can handle mouse and keyboard (and joystick if possible) events without needing to producing a window? | |
Hi Experts., i written One email recieving code by using Perl Modules with CGI. here i have getting one error [B]"Failed to connect to pop3.gmail.com at mail.pl line 14, <STDIN> line 3[/B]."., but i am trying to connect my gmail account and yahoo too., Otherwise let me know which module … | |
Hi, I am a newbie to Visual C++ programming. I already have a code which I edited for my purpose. It is as below. [CODE]#include <stdafx.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #define FIL_LINES 17873 /* no. of lines in input datafile */ double t[FIL_LINES]; double x[FIL_LINES],y[FIL_LINES],z[FIL_LINES]; double … | |
as the title, i need to replace the dupilcated codes with loops! help me please! [CODE]from time import sleep timeDelay = .1 turtle.move(100,0) turtle.rotate(-7) Doraemon.move(60,0) Doraemon.rotate(-7) Panda.move(80,0) Panda.rotate(-7) Sun.rotate(2) sleep(timeDelay) turtle.move(100,0) turtle.rotate(1) Doraemon.move(60,0) Doraemon.rotate(1) Panda.move(80,0) Panda.rotate(1) Sun.rotate(2) sleep(timeDelay) turtle.move(100,0) turtle.rotate(1) Doraemon.move(60,0) Doraemon.rotate(1) Panda.move(80,0) Panda.rotate(1) Sun.rotate(-2) sleep(timeDelay) turtle.move(100,0) turtle.rotate(1) Doraemon.move(60,0) Doraemon.rotate(1) … | |
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 … | |
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', … | |
Hi everyone...not usually in this part of DaniWeb... My friend is having massive problems with his internet explorer.. it keeps giving errors about .js (javascript?) Along with this you try to go on a site and it attemps to download a .cr file. Sometimes it loads just plain text, sometimes … | |
Good Morning! I guess I will start with a little background and then elaborate on the problem. I run a website for a car dealership with many different locations. The site runs relatively well and all information is stored in a MySQL database except for the image information. Due to … | |
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 … | |
How to do a HTTP PUT/DELETE? (Using jquery) . Im making a REST-ful twitter-type aplication using Java Servlets etc... and i have the methods for handling PUT and DELETE, i just need to be able to perform these e.g. when a user submits a form (with the id of the … | |
this is a php code when i check this code on "online php checker" it gives an error "Parse error: syntax error, unexpected T_STRING" on line 1708 how to solve this please give some advice [CODE]<?php class PopUp_Domination { var $base_name = ''; var $theme_path = ''; var $theme_url = … | |
I am taking on an assignment where I would like to give the user the chance to decide whether they would like to choose beginner or advanced. The way I was thinking of achieving this was by marking the method virtual and overriding another method for when an object of … | |
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 … | |
Hello, I have two classes, Help and RecylingGui. I have a button on the RecyclingGui called Help, which when clicked should open the text area created in the Help class. I added the ActionListener for this but nothing is happening. Any help would be appreciated. Thanks. The Code: Recycling Class … | |
We're working on a project and we are completely stuck. Basically, we are coding a virtual Quoridor player module. However, our player module thinks that it's starting one square in front of it's home! Why could this be? [CODE]from interface import * import engine import random import time import copy … | |
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 … | |
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 … |
The End.