199,114 Archived Topics
Remove Filter ![]() | |
I am currently creating a registration form and it contains error handling processes for the text boxes, like certain characters are only allowed in a certain textbox and so on. So for my first try I tried creating an algorithm that will check if the user only enters letters from … | |
Ok, so I am loading data from an XML file into a dataGridView. I have several entries in the XML file and would like each one to create a button next to it. After some searches it looks like I either have to put it in a <code> or <c> … | |
Hello, I'm working on a specific classloader for my application, but I'm having trouble getting the Generics to work the way I would like them too. I have the following: [code] public interface Loader<E extends GEObject>{ // methods } public class GEClassLoader<E extends GEObject> extends URLClassLoader implements Loader<E>{ // methods … | |
well I want to know if javascript works well with asp controls for example: here is simple example: [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script language="javascript" type="text/javascript"> function exe() { var a = parseInt(document.getElementById("txt").value); var b = parseInt(document.getElementById("txt1").value); document.getElementById("txt2").value = a - b; } </script> </head> <body> <form id="form1" runat="server"> <div> … | |
I'm trying to use for loops to output: 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 public class Fit1 { public static void main(String args[]) { int side1,side2, side3; for (side1 = 1; side1 <= 3; side1++) { for (side2 … | |
Hello Everyone again, I would like to ask if anyone can give a quite a good knowledge about Web design .I mean, I know html ,css and basic levels of asp.net . i can create websites but when i see them web world, like this website and big big website, … | |
I'm having a bit of a problem with a group project. We're supposed to use linked lists in it and I've already created classes for the nodes for the linked lists. The only problem is that I need to make the class point to itself but I'm not sure how … | |
Hii I m using PHP-MySQL to make a class assignment. In this i have made a login control. It was working very fine. But i made an attempt to provide the password changing facility. Since then my project is not logging in. It shows in table the new password but … | |
how to deal with awt and swing component in java .error is produced when i compare the swing component so what i do for solving it; | |
Hello everyone... I have 2 questions and it would be great if you guys can help me on these. I wrote a factorial program and it works already. The problem is when it comes to higher outputs. For example: 11 P 5 = 55440 // this works so far but … | |
hey guys! i am new to c++ and i need help with the following code. we are suppose to write a program and check if a word is palindrome or not. [CODE]#include <iostream> using namespace std; int IsPalindrome(int []); void main() { char word[25]; cout <<" Enter a word: "; … | |
Can I insert from clipboard to a Bookmark? [CODE] Clipboard.Clear(); Clipboard.SetText(text, TextDataFormat.Rtf); oDoc.Bookmarks.get_Item(ref oBookMark).Range.Text = Clipboard.GetText(); [/CODE] | |
Dear All, I am trying to code a multistage timer which prints out a line of text. The timer countdowns from a certain point in time and then prints out a line at times defined in an array. The array is sizable so there is no fixed length. The user … | |
Hi, I am creating an application in vb linked with a access database and i am having problems searching records. For the team screen I have the following database query that I wish to call: [CODE] SELECT TeamName, [Section] FROM Team WHERE (TeamName LIKE ''' & TeamNameSearchTextbox.Text & ''') [/CODE] … | |
hi guys, is this possible [CODE]Private Sub Command1_Click() Adodc1.Refresh Adodc1.Recordset.Update Adodc1.Recordset.Fields("Balance") = Val(Text1.Text) - Val(Text2.Text) Adodc1.Recordset.Fields("Amount_Paid") = Val(Text2.Text) + Val(Text3.Text) Adodc1.Recordset.Update Adodc1.RecordSource = "SELECT * FROM Tuition_Fee WHERE Tuition_Fee_ID_PK = " & Form2.Label16.Caption Adodc1.Refresh Text4.Text = Adodc1.Recordset.Fields("Total_Tuition") Text3.Text = Adodc1.Recordset.Fields("Amount_Paid") Text1.Text = Adodc1.Recordset.Fields("Balance") MsgBox "Tuition Updated" Printer.Print " Official Reciept" … | |
I have something like 5 lists all containing different data. I have the user input into a list like so: [CODE]for i in range (0,completed): print 'Class: ', course = raw_input() course = course.upper() allcourses.append(course)[/CODE] now the list cmsc has as many courses in it as the user defined before … | |
HELLO PLEASE HELP to do a CODE PLEASE.. it give the meaning of each input.... if i input in a textbox this int a; then the output in listbox must int = characters a = variable ; = terminators | |
[CODE]#include<stdio.h> int main() { int yo[4][4]; int b; int c; for(b=0;b<12;b++) { c=0; while(c<5) { yo[b][c]=(b*c); printf("a[%d][%d] = %d\n",b,c,(yo[b][c])); c++; } } getchar(); return(0); } [/CODE] The above code starts with b=7 why!!!!!! compile the programme and u will understand my problem .. plz helpp...... help... Thnx in advance........ | |
Greetings. i have a program which dynamically creates panels and stores them into a panel array. each panel has added mouse click action event. what i need to know is how to determine on which panel i have clicked on? thanks. | |
Hi guys, I want to improve my software design skills, by means I want to write a well designed software, this design should simplifies the future maintainance, and improvements. Where should I go?? What should I study?? Any help appreicated!! Thanks in advance | |
Hi to all, I have a scenario like this: School ([U]SchoolName[/U], etc, etc...) Teacher ([U]SchoolName[/U],[U]TeacherName[/U], etc, etc...) ForeignKey: [School.SchoolName] Student ([U]SchoolName[/U],[U]StudentName[/U], etc, etc...) ForeignKey: [School.SchoolName] Lesson ([U]SchoolName[/U], [U]TeacherName[/U], [U]StudentName[/U], etc, etc...) ForeignKey: [Teacher.SchoolName,Teacher.TeacherName] + [Student.SchoolName,Student.StudentName] I would like to change the name of the school by updating the School table … | |
Recently, I plan to develop a small software that protect user computer from infecting virus from USB flash drive. I come up with various ways to define which file is unsafe and which is safe. The main problem is that I want to prevent user from running unsafe file in … | |
I wanted to delete all of the TextBoxes that I put on a form that start with "tbx". The below code only deleted some of them. [CODE] For Each ctl As Control In Panel1.Controls If ctl.Name.StartsWith("tbx") Then ctl.Dispose() End If Next [/CODE] So, I took it a step further in … | |
hello, i am new to vc++, can i write and run c program in vc++? if yes, please explain how to do so. | |
Hi everyone, I'm using WPF to make a nice UI for a completely automated system (to the point where there are no interactive controls what-so-ever) that downloads media from the net and learns from it. I've got a class that I've created which acts as an entry point to the … | |
vb.net: I have a task to take the given xsd file and use that to validate my generated xml file. But now this xsd file has complex type attributes and I cant get to append this complex type to my declared xmlnode. [U]My Code:[/U] [CODE]Dim namespaceURI As String = "http://www.blabla.za" … | |
I have read some documentation about python, but no examples on how could you can extract Keys from a double dictionary. To understand better here is an example: Let's say we have the following dictionary: {'AAA': {'KEY1':'text1', 'KEY2':'text2', 'KEY3:' 'text3', 'KEY4': 'text4'}, 'BBB': {'BBB1':{'KEY1':'text1', 'KEY2':'text2', 'KEY3:' 'text3', 'KEY4': 'text4'}, 'BBB2':{'KEY1':'text1', … | |
I'm having really hard to really grasp everything about the this object in javascript. I've been trying with tutorials but I haven't found a really good one. I mean, if I have a function which executes some code and then in the end I return "this" what exactly do I … | |
Hi, I am a little newbie with python, more use of C++ The goal is to search a specifed filename e trought multiple directories. After finding the file, search trough it's content some description on some strings and write out the description on a xml file. So far i manage … | |
Hi everyone, I'm very new to this whole ajax / javascript thing and i have a question regarding the image loader. Basically i want to add the image when the ajax is doing its stuff but i can't figure out where i need to put the code. As a matter … | |
for exmple i want to convert this string "21 4 5 7 - + -".. how can i get the numbers separately and parce it with the other symbols.. | |
i need help with my assignment...i'm so new with this c++ programming...i only know how to do up to division only for this question... and for question two,i really have no idea how to start...can someone help me out and try to make me understand how the code will works...i … | |
Hello, I did search around and there are few examples about this situation (not much as I would have expected though), but I want to know the procedure or how to find the solution. Basically I have a 32-bit UNSIGNED register. I want to know how to calculate the value … | |
I am trying to get a modal popup to display on an onblur event, but I keep getting a "'null' or is null or not an object" js error. I have seen many examples using [code=javascript] var _popup; _popup = $find('MPE'); _popup._show(); //And $find('MPE')._show(); //And $object('MPE')._show() [/code] But none of … | |
HI! Anyone here got idea to add shortcut in DEsktop automatically run( using Package and Deploy Wizard)?Izzt it is possible to to? | |
Hi, I need the solution immediately for this Elevator Problem. Please find the attached document and reply to me immediately. Thanks | |
hi, i'm not good with n/w security or i donno how sha, des works :confused: ,... so pls tell me a [B]simple[/B] algorithm to implement enc and decryption in java.:icon_mrgreen: thanQ, Beanboy:cool: | |
Hello guys, i would like to ask you about c++ language. have an assignment and i want to do a movement for? i another questions, the hero should for example take a bomb to destroy the wall , hoe can i disply a message to show the user that what … | |
Hi techies, I am new into C++. I like to write a program that generates all the primes number between 1 and 100. Below is the code I have written but brings no output. Thanks for any help... [CODE]//A program that generates all of the prime numbers between 1 and … | |
I am having a small bit of trouble with a certain program. Here's the program requires. The program developed in Chapter 8 sent data to an external, sequential data named payment11192007 (or payment plus the system date for your computer). It opened a connection to the DataOutputStream and used the … | |
I need helping fetching the URLs I have stored in my database and opening a new page. I am using a dynamic drop down menu for users to select a category and company. Once a user selects category(parent table) the child table opens up. The user then can click the … | |
hi.. i was working with php 4.2.3 and now i changed php to 5.3.1 now problem is that when i login as a user in my script i got this warning.. [CODE]Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that … | |
hey, to start with heres the backdrop; me and a friend from school have a year to create a fully working web browser and for this i think C++ would be best. heres where i need help, i have no experience with C++ and i need to learn it from … | |
Hi guys, Anybody know how to generate checkboxes dynamically if i want to generate them with the result i have fetched from a database query. The query would be like that, SELECT calltype From table Where phone_no=123456; Now result of this query will vary everytime, there total number of checkboxes … | |
hi all i spent 2 days to find out my mistake.... but failed i m completely stuck out from my code plz help me out :'( I am trying to update one field(ecode) of my at0310 table from emp_company table's ecode within same database(master)... i tried update query with diff … | |
Hi Guys Does anyone know of any classes that process string mathmatical equations ? E.g. 2+2(6*5(2-1)) - It is specified on the command line and stored as a string. | |
Hi, I'm reading from a text file and writing to another one.My problem is that the data is being written to the new file as one line..i.e., when the end of a line is reached it does not start writing a new line but continues on the same line.. Can … | |
I have written a script that schedules an application via the AT command. Now i need to know a way an another script can delete only that particular task. Theres no way to know what is the id ( since it cannot be specified in the AT command when scheduling … | |
Hey guys, I need a little help. I'm writing a palindrome checker for fun, and I need to ignore/delete spaces and punctuation. I compare my two strings using strcmp and I use pointers to go through the first part of the program. I'm now stuck trying to factor out the … | |
I am having trouble with this array. I need to sort the second column in descending order. Please have a look and tell me where I went wrong. Much appreciated. [CODE]const int sizex=20; const int sizey=2; void descend(int arrayx[][sizey],int sizex,int sizey); void printarray(int arrayx[][sizey],int sizex,int sizey); int main() { int … |
The End.