199,114 Archived Topics
Remove Filter ![]() | |
Hi, I am working with asp.net and in my web user control i have several buttons and textboxes. FirstBtn cliked---->FirstTextBox ----->displays: "Hi" secondBtn clicked--->SecondTextBox ------>displays:"Hello" Now again if i click the firstbtn then the FirstTextBox would be empty.Can anyone tell me how can i sane the last entered value? Regards, … | |
I want to make collapsible groups in an excel document(in excel, on to the Data tab, Outline section, Group button) using XSLT. Is this possible? If so, does anyone have an example or link of how this is done? Thanks in advance. | |
I need to add a text line in a specified point of a windows form. In this form I draw something and I would like to describe the draw exactly where it is pointed. Is there a way to add a tooltip in a specified point of a Form? For … | |
id name 1 A4_HUMAN 2 ABC3H_HUMAN 3 22P1_RAT 4 5HT1E_HUMAN Hello , See above shows a database table contains 2 fields id and name.. I need to search these values and display the names with a keyword entered by user. The key word may b a string or even a … | |
Hi, I have been developing a cms site for a client, which uses the adodb package to update the database. I have been doing this as below; [CODE] $updateSQL = sprintf("UPDATE tblSections SET Content = '%s' , ContentTitle = '%s' ,UpdatedDate = '%s' WHERE SectionID = %s", $Content, $ContentTitle, date('Y-m-d … | |
Good Day I want to create a security log in that start up when the computer is turn on. Im having problem on multi user once the user ID is logged in it also logged in in another computer, i dont know how to add this codes can some one … | |
Hello, im trying to make a program that reads from a file and sums up only the numbers.the numbers ar aranged like this in the file: 100er34 67 yyy 7 5 63 6 1 My problem is that the program sums up wrong,it sums some numbers twice when it see … | |
Hi, Can anyone tell me how to send emails from a vb.net(visual studio 2005) application using System.net.mail Thanks in advance, | |
I am just learning c++ and, I am trying to create a function out of the lines that are surrounded by stars. I am at my wits end! Does anyone have a suggestion or reference that might help me figure this out. Here is my code: [CODE]int a, b, c, … | |
Hello, I have a problem. I would like to search certain word from xml. For example: I would like to search "black". And in XML file there is value "black board". But it does not appear. Does anyone know how to solve it? I mean when I type "black", the … | |
how can i open .java extension file in jdk software.. i used edit keyword to open the .java file but jdk is not allowing me to open the .java file.. please any one fix this problem... | |
i have this 2d array: String[][] testData= { {"s", "y", "r"}, {"s", "n", "r"}, {"w", "y", "r"}, {"s", "n", "r"} }; how can i count the occurrence of a particular element in the column of an array? for example i want to know how many "s" are in first column … | |
I am fairly new to MySQL and having some problems figuring out how to format a couple queries using the following database: branch ([U]branch_name[/U], branch_city, assets) customer ([U]customer_name[/U], customer_street, customer_city) account ([U]account_number[/U], branch_name, balance) loan ([U]loan_number[/U], branch_name, account) depositor ([U]customer_name[/U], [U]account_number[/U]) borrower ([U]customer_name[/U], [U]loan_number[/U]) I need to find all customers … | |
Good Day I want to create a security log in that start up when the computer is turn on. Im having problem on multi user once the user ID is logged in it also logged in in another computer, i dont know how to add this codes can some one … | |
Hi, I'm trying to find the resultant of a given data using fstream. I made the program and everything and I believe its all correct however, when I try to run it, I'm getting a linker error saying "undefined reference to Resultant(const double...)" which I can't figure out how to … | |
i hav developed a java swing desktop application in eclipse & ubuntu;From where should i get the jar file of my appication or how to create jar file of my application??? thanks in advance........... | |
I just started looking at iterators in my C++ class and don't think I fully understand enough about them to actually create one. I need to add an iterator to this doubly linked list program: [CODE]#ifndef CSLIST_H #define CSLIST_H #include <iostream> #include <cstdlib> using namespace std; template <class T> struct … | |
Im getting this error:- The type 'System.Web.UI.ExtenderControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.C:\Users\User\Documents\Visual Studio 2005\deepali\mywork\Animation_Control.aspx can anyone please help me solve it? | |
Edit : Broken from this thread. [url]http://www.daniweb.com/software-development/cpp/threads/35587/175186#post175186[/url] Hello. I got the same problem. But i need to read the string table from a file. I must use a 3d table? The table in the file must look like this: [CODE] A B C D E A QX FN LB YE … | |
Hi, I'm trying to 'grep' the string which comprises of all non-zero values [B]0x0000000a[/B] in this case. [CODE]>>> match = re.search('0x0000000[1-9,a-z]', "My values are value=0x00000000 0x00000000 0x0000000a 0x00000000 0x00000000 0x00000000")[/CODE] This works but in this case, but not over any string as in if example is: [QUOTE]"My values are value=0x00000000 … | |
Hi, I am new to ASP.NET and i have been thrown into the deep end on a project, the person who created this code is no longer available. The website allows an Admin to login and edit, update or delete information in an SQL database referring to PDFs located on … | |
Hi, I am creating the dll of my website by building the website. Now the problem is I am not getting the XML documentation file in the debug folder of the bin folder. There is no debug folder inside the bin folder!! I am unable to see comments in my … | |
I wasn't sure which section to post this under but I am working on an assignment in SQL and have created a batch file to make the tables, load the data into the tables, and then sends several queries to sql to get results. Is there a way I can … | |
Is there a way to diplay a web page like google in an application in a JLabel for example. Kind of like the new minecraft launcher where it shows the update in a window about the login area. Thanks for any help. | |
Code snippet for removing duplicates in a text file using vectors in c++ | |
Hi Frendz, I want to read data from servers port. I checked the port manually with TCP IP listener application. Its working fine and i can receive data. Now i need to develop this function in PHP. For that i just connect the server with the port and ip using … | |
1. i hve create school system...so when register new student i want to upload their picture in folder,not database...when upload, all student picture will be in same folder like student picture.. 2. i'm using listview to view all student information,so i want picture display in listview column.. | |
Guys i need help in histogram report.. My histogram report didn't show the data in the database. | |
i have a RichTextBox in my application and there may be many and many lines, i dont want to use any Scrollbar in RichTextBox. i want RTB to change its height and width itself according to the lines in RTB. im also using Pictures in the RichTextBox. Can anybody help … | |
hello everyone, i'm new to php and i'm having hard time with sessions i'm trying to create a php file with a drop down menu and when you select an item from the drop down menu, you could retreve it from another page. for example: a1.php [CODE] <?php session_start(); if(isset($_POST['color'])) … | |
Hi all, i need help with this code. [CODE]<html> <head> <SCRIPT LANGUAGE="VBScript"> <!-- Sub button_OnClick Dim TheForm Dim y Set TheForm = Document.form1 If IsNumeric(TheForm.inputbox.Value) Then If TheForm.inputbox.Value >= 1 Then y = TheForm.inputbox.Value * 1.3 Alert("Your $AUD is $" & y) End If Else Alert("Please enter a numeric value.") … | |
if a word begins with a vowel (a-e-i-o-u), then "ay" is added to the end of the word (so "idle" -> "idleay", and "often" -> "oftenay"); on the other hand, if a word begins with a consonant, then the first letter is removed, and is placed at the end of … | |
I have a form, now if I were to make a new class and make the form inherit that class. That class changes to a form? Can anyone explain why. This is probably a really silly question but I cannot find an explanation for it! Thanks James | |
hi, i have a question about string. [code] string a = "1 2 2 4 5"; string b = "2 5"; if (a.Substring(b)) // or need use contains? { Console.WriteLine("yes"); } else Console.WriteLine("No"); } [/code] I want to check that if "2 5" is in a, then it will print … | |
hi, i am a newcomer in jsp. straight to the matter, my problem is, i have a parent page. one child pop-up is loaded from it say child1, and then next child child2 is loaded from child1. the problem is at the session out i need to close these two … | |
If a is greater than b then if a is greater than 300 multiply a by 7. Otherwise— in case a is not greater than b—multiply a by 10. Use only two if and one else. Make sure your else is paired with the correct if. You may have to … | |
Hello all. After going through a deep search on these forums and google as a whole, I have not been able to find a correct piece of advice or input on how I should aproach Guassian Elimination in C++. Ive been assigned to make a program that can perform Guassian … | |
[CODE]PointerInfo a = MouseInfo.getPointerInfo(); Point b = a.getLocation(); int x = (int) b.getX(); int y = (int) b.getY(); System.out.print("Y: "+y); System.out.print("X: "+x+"\n");[/CODE] Right now I'm using this, but it gives me the coordinates relative to the entire monitor. Since you can move the program frame anywhere on the monitor, this … | |
I solved my problem with the issue of Julian date, but i have another small issue.. I have to use dates in calculation ... like a client types a appointment datat in textbox and in another textbox it shows that the date has to be between two days. [B](appointment written … | |
So basically, as of now I have a word and numbers that i am trying to space out for output (the code is in a text file) it's like "HEY10001101" when it's supposed to look like "HEY 10001101". i have the "HEY" stored as an "string command" and the number … | |
Does anyone the code to convert a JPEG colour image into a gray scale image??... | |
I'm trying to make a small text-game that revolves around armies. I have a unit class [CODE] class Unit { protected: string m_name; short m_health; unsigned short m_damage, m_block, m_experience; public: Unit() { } }; [/CODE] This was a rough outline - I'd later add methods that I'd want the … | |
i have a header file which contains a random number generator here is the code: [CODE]#include <cstdlib> #include <time.h> #ifndef RANDOM_H struct rand_var{ int x,y; }Rand_var; static int rand_gen() { srand ((unsigned)time(NULL)); extern int random; random = rand() % (Rand_var.x-Rand_var.y+1) + Rand_var.x; } #endif /* random.h */[/CODE] you will probably … | |
Note: I am fairly new to this but can't figure this problem out. I want to find the age of people as a question and for them to enter it themselves. The problem is, is when I want to subtract c - b it says error, because both of them … | |
Hello there people, I hope you can help me with this one. I'm having a very serious problem when using the Top() method of a stack, difined like this: [CODE]template<class T> T Stack<T>::Top() const {// Return top element. if (IsEmpty()) throw OutOfBounds(); // Top fails else return stack[top]; }[/CODE] and … | |
how to create a carrymark system that have 2 user(admin and student)...where admin can update, delete, search, change psword.....for the student...they can update profile, search carrymark, view their carry mark....please help me...as soon as posible.... | |
I have a panel object that contains a number of controls. I want to change the backColor of that panel whenever the user clicks either on one of the controls or on the panel itself. I suspect I need to detect that the panel "has focus", but I can't figure … | |
Hi, I have been trying to get a select menu to work for hours, and everything is working fine but for one little bit, everytime I select from the jump menu and load the same page again, the menu displays the first result that comes from the database instead of … | |
Hi Am trying to get my head around using with in some code which is putting 2 files together using random.choice. How do I prevent repeats with random.choice? [CODE]with open(name, "r") as f1: beginnings = [word.rstrip(" \n") for word in f1] with open("conjunct.txt", "r") as f2: endings = [word.rstrip(" \n") … | |
The End.