64,152 Solved Topics
Remove Filter ![]() | |
I am currently trying to create a live search box that as I type it will start displaying results that match. Here is an example [URL="http://www.w3schools.com/php/php_ajax_livesearch.asp?output=print"]http://www.w3schools.com/php/php_ajax_livesearch.asp?output=print[/URL] but it retrieves its data from an XML file, I need mine to retrieve from a column called FirstName within a table of an … | |
EDIT: This was moved from the Java discussion forum. It seems more appropriate to post it here. This is not exactly a homework assignment. I'm just doing it for fun ^^ Hey guys. I am currently just a 11th grade student but since I'm done the whole curriculum for my … | |
I am working on some code for getting user input on what songs they want for a dance. Unfortunately, when running the applet with some html, java opens a window saying [CODE]Java has discovered application components that could indicate a security concern[/CODE] three times, and no matter what you click, … | |
Greetings - I need your help. I have an SSIS package with a [icode]Data Flow Task[/icode] which has the following Data Flow tasks: [icode]Excel Source[/icode] -> [icode]Data Conversion[/icode] -> [icode]SQL Server Destination[/icode]. The data in my Excel worksheet contains strings as well as numbers. (Also has some blank cells.) I'm … | |
Hi Guys , I am trying to load a xml file as follows and i am getting file not found exception even though the file is on the desktop.I have checked the file name and extension they are correct , can anyonehelp please [code] private void button1_Click(object sender, EventArgs e) … | |
Please, help me! I am a student in Technical University in Plovdiv, Bulgaria. I must finish my graduation work very soon. For the purpose I must create trigger(actually a few triggers) at run time. For my graduation work I use Borland C++ Builder 6. I use BDE palette. I try … | |
Hello Daniweb, i am having problems with the second button in my rather simple nav. i looked over the code a couple times but i can't seem to figure out why the hover is behaving teh way it is...perhaps someone with fresh eyes can help me out?? my nav: [url]http://elneco.biz/mynav/yeah.html[/url] … | |
Hi guys how can I insert multiple xml files in one table. Thanks | |
i am developing an application but i am unable to change the text of label quickly i am using following code [CODE]for(int i=0;i<199;i++) label1.text=Convert.ToString(i); [/CODE] | |
I've got two member functions: [code=c] //Particle.h class Particle { public: bool isDead()const; static bool isDead(const Particle & par); }; //Particle.cpp bool Particle::isDead()const { return(xPos<=0 || xPos>=SCREEN_WIDTH || yPos<=0 || yPos>=GRASS_HEIGHT); } bool Particle::isDead(const Particle & par) { return(par.xPos<=0 || par.xPos>=SCREEN_WIDTH || par.yPos<=0 || par.yPos>=GRASS_HEIGHT); } [/code] But when a … | |
[code=cs] foreach (ComboBox a in Form1.ActiveForm.Controls) { MessageBox.Show("hello"); } [/code] Hi, i want to add same items to all ComboBoxes, expect one. The part of my code is here. The problem is foreach loop never fire. I never see the MessageBox which is saying "hello". What is wrong in my … | |
hi every one, I am making KBC game in C++. To store questions and its options in a file, I am unable to write successfully the character string of question in the file due to spaces between question. So,can anyone tell me how to write a character string having spaces … | |
Hello, I am using a Menu Control & I have added Items in Menu Item Editor (both root & child). But in the browser the child items are not displaying. Running perfectly when my lecturer showed in his pc. When I searched for this problem, I have seen some solutions … | |
Hi, I am developing a WSDL file for a Web Service and I am having a problem with the XSD schema associated with this WSDL. The Schema is below: [CODE] <wsdl:types> <xsd:schema targetNamespace="SNIPPED"> <!-- Classes de apoio --> <xsd:simpleType name="resultadoOperacao" final="restriction"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="OK"/> <xsd:enumeration value="NOK"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType … | |
I have a DetailsView that I use to update some database data. In the footer of the DetailsView is a label I am trying to use as a status message panel. For instance, I display validation errors in this label. After updating a record, which causes a postback, I am … | |
Hi all, the following code prints garbage values. I want to read from an array two bytes and print then as a short int after doing ntohs. What is the bug in the code? Thanks and Regards, Prashanth [code] #include<stdio.h> struct converter { unsigned short int i; }; main() { … | |
Hello guys. I'm building an application that connects to a SQL Server 2008 database via connection string. The thing is, since the computer loading the app (or the user, in either case) is outside the Active Directory domain, I can't use Windows Authentication to connect to the DB. But when … | |
Hello: I was trying to plan a component to collect data from a user. I have two approaches in mind. I was considering a Jtable with editable cells. Can a table be configured to display vertically? Or, I was going to get meta data from the tables and build a … | |
In IE7 only, I have an issue with disappearing elements/styling. First, my h3 header disappears. The space that it occupies is partially there, but not text is visible, nor is the background or the bottom-border assigned to it. In addition, other divs below the h3 are missing their bottom-border. However, … | |
Hi, i am writing a program to show all files in a drive including directories but i am unable to correctly implement it.can u tell me about the source code using GUI thanks in advance. | |
hi guys i need help with my project. I am a beginner in Java programming,and recently I came across a project, i am having problem at the start...so i need some guide to tell me how i should do(the steps). My project required us to do a word game that … | |
This is my node and driver class. I need to find the smallest value on the left side of the tree. [CODE]import java.util.ArrayList; import java.util.List; public class NTreeNode<T> { public T value; public List<NTreeNode<T>> children; public NTreeNode(T val) { value = val; children = new ArrayList<NTreeNode<T>>(); } public String toString() … | |
I am having a lot of trouble sorting an array. The array contains 140 inner arrays of 3 points (x y z). I would like to sort all arrays based on lowest x coordinate to the highest. I have googled many methods and none of them have worked so far. … | |
Hi, I have an XML file that attaches an xsl stylesheet using version that has sorting function at the beginning of the file. At the same time, eason, I would like to put in some other information in the beginning, such as html headers as well. Here is my code: … | |
is there anyway to retrieve and list all the attributes for an active directory user to be used for updating with using the following [CODE] de.properties.contains(propertyName) [/CODE] Just wondering, quite a newbie AD programming, a little guidance thanks | |
Hello I'm building a small program like notepad and wanted to know how to make it save and load a file [CODE] Public Class Form1 Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click txtNotes.Text = "" End Sub Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e … | |
Hey guys I was wondering if there was a way to have more than one condition in an IF statement. Thanks | |
This is my form: I want to calculate Units Billed when user enter present and previous reading before submission. [CODE] <form action="EIMS_North_Inserted.php" method="post"> <table class="mytable" align="center"> <tr> <td><label>Site ID <span class="small">Example N-WAH-8620</span> </label></td> <td> <input type="text" name="a" id="course" value="" class="input"/> </td> <td> <label>Previous Reading <span class="small">Regular bills</span> </label></td> <td> <input … | |
How can I declare a separate function which will be called in case of Run-Time Error to prevent program crash ? | |
i am currently writing file name showing program i unable to understand that why it's not completely giving me the name of files in a drive exception occurs at the line no 64.if i comment the line no 64.then it will start looping between two or three files show the … | |
Hey there, So I've looked everywhere for help with my assignment until finally I found this useful service. I'm a C++ beginner and so far the problem solving and coding have fulfilled all expectations. If there is anyone to offer suggestions for my assignment, that'd be amazing! What it is … | |
hi guys really i don't know what im doing wrong... i am trying to process multiple radios with mysql. the first step has involved me echoing the results on the process page. each time i select any radio option it simply displays the first row result. this is that i … | |
i want get multiple values if i call i method. example: _____________________________________________ public void setData(int age, string name, string address){} ______________________________________________ Data data = new Data(); data.setData(age, name, address); ______________________________________________ when setData() are excuted he doesn't return the parameters with the values. what can i do? | |
Hi, im trying to disable a button until anything has been entered into two text boxes simultaneously. So far i have tried: [code] If String.IsNullOrEmpty(TextBox1.Text & TextBox2.Text) Then Button1.Enabled = False Else Button1.Enabled = True End If [/code] However it doesnt work simultaneously, the button will become enabled if i … | |
my testing folder in my site is red. perhaps anyone can help me to identify what is the problem because i got the database connection using phptriad and everything goes well because i can view my database by dreamweaver8. whats wrong with my site folder when i click to view … | |
Hi Everyone, I'm doing this assignment and i'm stuck. I'm getting junk for my area calculations. any help would be appreciated. heres my code. CPP file [code] // Ass2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <cmath> #include "BasicShape.h" #include "Circle.h" #include … | |
Merry Christmas everyone! I'm using Lisp in a Box (emacs + GC Lisp) And i tried making a function which takes a number as argument, adds 1 to it if it's negative, and substracts 1 from it if it's positive. (look) [CODE=LISP] (defun enlarge(x) (if (< x 0) (- x … | |
[CODE]<?PHP $results = mysql_query("SELECT * FROM messages, comments WHERE messages.user_on='$user2' AND comments.msg_id_fk = messages.msg_id ORDER BY messages.msg_id, comments.com_id DESC") or die(mysql_error()); ?>[/CODE] | |
I'm having an odd issue here. Basically, I have an AJAX response that is returning HTML that I'm using via innerHTML. The following is a portion of the AJAX response: [CODE]<img id='img_display' width='583px' style='margin-top:62px;' src='../galleries/gallery/img.png' alt='' />~<table ....[/CODE] The following is a small portion of my AJAX code: [CODE]var response … | |
Hello this is my first post here, i made this search function and i would like some feedback and or tips. (: [CODE] // Implement your own [search]strstr[/search] function. (Intermediate) #include "stdafx.h" #include <iostream> #include <string> using namespace std; class Search { private: int m_nTextL; int m_nSearchL; int m_nResult; bool … | |
ways to do random variables in array but not repeat , how i can do that? | |
HI everyone,,,i am a beginner in c++ & i have an a assignment that i cant even start & i need in advice that i can get so plzzzzzzz help,,, the assignment is about a game [B][U]The Predator‐Prey game [/U][/B]is a simple board game where a set of predators and … | |
Hi All, I am trying to pass the value from drop down menu generated from the database and I am trying to pass the value from the first drop down selection to the next the value in red is the variable. I have tried the $category_id=$nt['category_id']; $category_id=$_GET['category_id']; but this does … | |
I have a question about functions and pointers to functions.... Why does a C program treat a function call to a function and a function call to a function pointer the same? [CODE] #include <stdio.h> #include <stdlib.h> typedef void (*funcptr)(void); void myfunc(void) { fputs("Hello, World!\n", stdout); } int main(int argc, … | |
Hey guys. I am currently just a 11th grade student but since I'm done the whole curriculum for my Computers class already, I recently just started making extra stuff for fun. One of things I'm doing is Making a graphical/visual sorting applet. Something like : [url]http://www.cs.ubc.ca/~harrison/Java/sorting-demo.html[/url] I have my code … | |
Hi all, i need a 26 rows by 8 colums check boxes table. i get the number of rows from a data base so i prefere to create the check boxes at run time. the thing is it takes something like 10 seconds on my powerful computer to draw them … | |
Hi, Can anyone point me towards a working example of a plug-in architecture for C#/.Net 2? I am developing a simple task manager and I want the individual task types to have their own, separately compiled processors. These will conform to a common interface / API defined by the task … | |
| |
I am having an issue with my multimap insert. I have looked high and low for a possible solution to this problem. What I am trying to do is make an dynamic hierarchy data structure that has a root element then child elements under it holding values. I thought using … | |
hi guys. its been a long time but sincerely, am happy to be back. now i've got a problem on my mind and that is; am trying to develop a database application but i want it to be a console application. the major issue is that i dont know how … |
The End.