199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mishalkk09

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, …

Member Avatar for prashantchalise
0
414
Member Avatar for mduncan8

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.

Member Avatar for sapien
0
507
Member Avatar for samp4ever

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 …

Member Avatar for ddanbe
0
177
Member Avatar for youvi

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 …

Member Avatar for metalix
0
137
Member Avatar for codemonkey88

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 …

Member Avatar for codemonkey88
0
199
Member Avatar for nemzmiyaw

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 …

Member Avatar for nemzmiyaw
0
162
Member Avatar for zyberb

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 …

Member Avatar for Insensus
0
291
Member Avatar for pratibhamohanty

Hi, Can anyone tell me how to send emails from a vb.net(visual studio 2005) application using System.net.mail Thanks in advance,

Member Avatar for pratibhamohanty
0
127
Member Avatar for MadRedCzech

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, …

Member Avatar for WaltP
0
150
Member Avatar for deean

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 …

Member Avatar for m.asfak
0
134
Member Avatar for shapam

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...

Member Avatar for stultuske
0
97
Member Avatar for gingerfish

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 …

Member Avatar for gingerfish
0
3K
Member Avatar for rhuffman8

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 …

Member Avatar for abelLazm
0
292
Member Avatar for nemzmiyaw

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 …

Member Avatar for nemzmiyaw
0
118
Member Avatar for Tinee

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 …

Member Avatar for Tinee
0
107
Member Avatar for joseph.roy9

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...........

Member Avatar for JamesCherrill
0
213
Member Avatar for rhuffman8

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 …

Member Avatar for rhuffman8
0
279
Member Avatar for pinkygirl

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?

Member Avatar for pinkygirl
0
219
Member Avatar for fradiavolo

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 …

Member Avatar for Greywolf333
0
162
Member Avatar for blacknred

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 …

Member Avatar for blacknred
0
86
Member Avatar for abathurst

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 …

Member Avatar for abathurst
0
311
Member Avatar for arsheena.alam

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 …

Member Avatar for arsheena.alam
0
191
Member Avatar for rhuffman8

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 …

Member Avatar for smantscheff
0
185
Member Avatar for sirlink99

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.

Member Avatar for mKorbel
0
78
Member Avatar for Shruti4444
Member Avatar for karthik_ppts

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 …

Member Avatar for karthik_ppts
0
2K
Member Avatar for arezz09

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..

Member Avatar for codeorder
0
163
Member Avatar for Jake.20

Guys i need help in histogram report.. My histogram report didn't show the data in the database.

Member Avatar for sandeepparekh9
0
73
Member Avatar for bhagawatshinde

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 …

Member Avatar for bhagawatshinde
0
117
Member Avatar for david_s

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'])) …

Member Avatar for david_s
0
150
Member Avatar for wilko1995

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.") …

Member Avatar for WaltP
0
104
Member Avatar for keiteqq

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 …

Member Avatar for keiteqq
0
500
Member Avatar for james6754

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

Member Avatar for abelLazm
0
99
Member Avatar for leo88

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 …

Member Avatar for leo88
0
338
Member Avatar for arjuncc

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 …

Member Avatar for youwill
0
130
Member Avatar for Lokril

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 …

Member Avatar for Lokril
0
117
Member Avatar for Gus Garza

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 …

Member Avatar for Gus Garza
0
104
Member Avatar for Slyvr

[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 …

Member Avatar for Slyvr
0
4K
Member Avatar for msqueen082

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 …

Member Avatar for msqueen082
0
187
Member Avatar for magravis

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 …

Member Avatar for magravis
0
110
Member Avatar for yo123
Member Avatar for valiandra
0
565
Member Avatar for ichigo_cool

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 …

Member Avatar for L7Sqr
0
94
Member Avatar for altXerror

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 …

Member Avatar for altXerror
0
152
Member Avatar for South

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 …

Member Avatar for South
0
133
Member Avatar for flowerzink

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 …

Member Avatar for flowerzink
0
256
Member Avatar for aya_may

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....

Member Avatar for chrishea
0
93
Member Avatar for RogerInHawaii

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 …

Member Avatar for Momerath
0
150
Member Avatar for rootseire

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 …

Member Avatar for rootseire
0
187
Member Avatar for jkrueger

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") …

Member Avatar for jkrueger
0
258
Member Avatar for eman 22

The End.