199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ticktock

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 …

Member Avatar for ticktock
0
180
Member Avatar for templersstorms

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

Member Avatar for templersstorms
0
102
Member Avatar for llemes4011

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 …

Member Avatar for ~s.o.s~
0
354
Member Avatar for styles_p

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

Member Avatar for vsmash
0
166
Member Avatar for LiquidScorpio81

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 …

Member Avatar for stevelg
0
96
Member Avatar for RonnyProgrammer

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

Member Avatar for jbisono
0
150
Member Avatar for mischikun

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 …

Member Avatar for Murtan
0
183
Member Avatar for sumit007

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 …

Member Avatar for Fbody
0
101
Member Avatar for Dmith

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;

Member Avatar for javaAddict
0
105
Member Avatar for HelloMe

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 …

Member Avatar for MyrtleTurtle
0
84
Member Avatar for savvas15

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: "; …

Member Avatar for savvas15
0
98
Member Avatar for zorrinn

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]

Member Avatar for zorrinn
0
75
Member Avatar for rjani1

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 …

Member Avatar for rjani1
0
133
Member Avatar for david1987

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

Member Avatar for vb5prgrmr
0
101
Member Avatar for student02

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

Member Avatar for vb5prgrmr
0
154
Member Avatar for persianprez

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 …

Member Avatar for vegaseat
0
91
Member Avatar for princeutoy

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

Member Avatar for vb5prgrmr
0
87
Member Avatar for lionaneesh

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

Member Avatar for xavier666
0
126
Member Avatar for Deey

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.

Member Avatar for Geekitygeek
0
102
Member Avatar for MxDev

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

Member Avatar for MxDev
0
89
Member Avatar for Skywalker83

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 …

Member Avatar for pritaeas
0
83
Member Avatar for invisal

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 …

Member Avatar for strmstn
0
133
Member Avatar for Smith5646

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 …

Member Avatar for L0u3
0
360
Member Avatar for tyke17

hello, i am new to vc++, can i write and run c program in vc++? if yes, please explain how to do so.

Member Avatar for strmstn
0
97
Member Avatar for lee.j.baxter

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 …

Member Avatar for Geekitygeek
0
581
Member Avatar for L0u3

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

Member Avatar for L0u3
0
176
Member Avatar for playonlcd

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

Member Avatar for playonlcd
0
492
Member Avatar for gunnarflax

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 …

Member Avatar for vsmash
0
351
Member Avatar for playonlcd

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 …

Member Avatar for playonlcd
0
175
Member Avatar for emhmk1

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 …

Member Avatar for vsmash
0
92
Member Avatar for unli25

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

Member Avatar for WaltP
0
112
Member Avatar for marshella

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 …

Member Avatar for WaltP
0
184
Member Avatar for m26k9

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 …

Member Avatar for m26k9
0
82
Member Avatar for rrocket

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 …

Member Avatar for AFAQ AHMED
0
359
Member Avatar for maylim26

HI! Anyone here got idea to add shortcut in DEsktop automatically run( using Package and Deploy Wizard)?Izzt it is possible to to?

Member Avatar for kinwang2009
0
552
Member Avatar for coolguy0201

Hi, I need the solution immediately for this Elevator Problem. Please find the attached document and reply to me immediately. Thanks

Member Avatar for jwenting
0
101
Member Avatar for beanboy

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:

Member Avatar for jwenting
0
97
Member Avatar for empror9

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 …

Member Avatar for empror9
0
159
Member Avatar for easyb

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 …

Member Avatar for easyb
0
200
Member Avatar for Bemani_lover

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 …

Member Avatar for BestJewSinceJC
0
237
Member Avatar for nvdhassani

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 …

Member Avatar for cwarn23
0
207
Member Avatar for pbcomput

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 …

Member Avatar for network18
0
96
Member Avatar for fallendream

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 …

Member Avatar for jadkins
0
570
Member Avatar for its.avinash

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 …

Member Avatar for stultuske
0
93
Member Avatar for mcastu

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 …

Member Avatar for mcastu
0
95
Member Avatar for squarey

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.

Member Avatar for lotrsimp12345
0
91
Member Avatar for aruprongs

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 …

Member Avatar for lotrsimp12345
0
75
Member Avatar for plic

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 …

Member Avatar for plic
0
129
Member Avatar for macman101

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 …

Member Avatar for lotrsimp12345
0
165
Member Avatar for aslk

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 …

Member Avatar for shah1248
0
154

The End.