132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bettybarnes

hi anyone here knows how to validate user inputs.. when the user logs in and his/her password is in Uppercase(saved in database) but forgets to type in uppercase. and it would display warning message saying invalid password... any help would be highly appreciated :)

Software Development vb.net
Member Avatar for bLuEmEzzy
0
114
Member Avatar for carlitosway17

Hi I am supposed to modify class employee to implement interface Payable(another class) and declare method getPaymentAmount to invoke method earnings. Method getPaymentAmount would then be inherited by the subclasses in the Employee hierarchy. When getPaymentAmount is called for a particular subclass object, it polymorphically invokes the appropriate earnings method …

Software Development java
Member Avatar for carlitosway17
0
201
Member Avatar for thedalek

Everything about this code works fine, except the while loop won't end, even when the strings are perfectly matched. Help, please? [CODE]import java.util.Scanner; public class SecretPhrase { public static void main(String[] args) { System.out.println("Congratulations! You won! Thanks for playing!"); } } [/CODE]

Software Development java
Member Avatar for thedalek
0
159
Member Avatar for programmer4life

I'm currently working on this course assignment and I'm trying to set up code to search within a database file (really its just a text file named a1.db). I hear we can use the popen function to implement shell code within a C program so here's what I tried: ---------------- …

Software Development c
Member Avatar for chrjs
0
717
Member Avatar for semccarthy

Hi, I'm currently designing a software application for teaching, it will have a large backend database, short animation videos(basic 2d of people talkin). I'm just looking for some advice in what is the best language to code this type of project in. I have done several projects in both java …

Software Development c++ java
Member Avatar for semccarthy
0
760
Member Avatar for sirlink99

I am having some trouble with the coding for the api. games4j.com has all of the codes and files, but when I insert the api codes into my doe I get an error. Please help me. I am getting the error with these two lines [CODE]loggedIn = Highscore.isLoggedIn(applet);[/CODE] and [CODE]Highscore.save(applet, …

Software Development api java
Member Avatar for sirlink99
0
191
Member Avatar for Mr.BunyRabit

Hey there, i would like to find out how many records have been modified by my quarry. I tried a few things, but none would work. this is my code [CODE] SqlConnection conn = new SqlConnection(); conn.ConnectionString = "server=.\\SQL2008;database=Studentsdb1;Persist Security Info=True;user id=sa;password=1945"; SqlCommand cmd = new SqlCommand(); cmd.CommandType = CommandType.Text; …

Software Development
Member Avatar for Mr.BunyRabit
0
108
Member Avatar for jamesrobb

Hi, When I try and populate a listview with data from an array with 3 entries I find that the data goes into the wrong columns. The array consists of the following. ?ID {Length=3} (0): "T123456789" (1): "001" (2): "Smith" My list view has columns : ID, Location, Name. My …

Software Development listview vb.net
Member Avatar for jamesrobb
0
149
Member Avatar for gedas

hey, i have a for loop that is infinite, it runs till i terminate the program. inside of the loop there is a value(lets call it X) that keeps on changing all the time till i terminate the program. when the program is executed i want to store the first …

Software Development java
Member Avatar for gedas
0
100
Member Avatar for Usmaan

Having a lot of trouble in my quest to complete my Hangman game. I've made an alteration to the program though. Rather than having a text box and the user typing a letter in, I've decided to add command buttons from A-Z. I can't seem to pass the letter to …

Software Development
Member Avatar for ddanbe
0
704
Member Avatar for rogba

Does anybody know if C++ programming:program Design including Data Structures, by D.S. MALIK has an Instructor's edition??

Software Development c c# c++
Member Avatar for JamieLynnSEO
0
75
Member Avatar for PerplexedWon

Problem I am experiencing: When I compile my code, I get these two error codes: 1) In file included from C:\Users\PaulWilliams\Desktop\CSci Work\C++ Programming\TestScores.cpp 2) unterminated #ifndef I am not understanding what I did wrong, I have done all of my header files the same way and never had this problem. …

Software Development c++
Member Avatar for PerplexedWon
0
203
Member Avatar for geoamins2

I have a database designed and implemented using ms sql server 2005. initially, the user has entered the pictures with a very big size because there was not restriction. now when the user is opening the crystal report so it takes alot of time and some time memory full problem …

Software Development image sql vb.net
Member Avatar for CodeWord
0
4K
Member Avatar for kmose

[CODE] namespace CallbackTest { public class Test: System.Web.UI.WebControls.WebParts.WebPart, ICallbackEventHandler { private string callbackData; private Label callbackLabel; protected override void Render(System.Web.UI.HtmlTextWriter writer) { this.callbackLabel.RenderControl(writer); } protected override void OnLoad(EventArgs e) { base.OnLoad(e); callbackLabel = new Label(); callbackLabel.Text = "no callback occurred yet"; callbackLabel.Attributes.Add("onmouseover", "alert('mouseover'); serverRequest('" + callbackLabel.ClientID + "', '');"); callbackLabel.ID …

Software Development asp asp.net
Member Avatar for kmose
0
132
Member Avatar for fuller

Hey guys , I need some help in writing a C code for a calendar problem. I need to write a code to find the day of the week if the month and year are entered by the user. Not able to get the logic for it. I need this …

Software Development c
Member Avatar for jnawrocki
0
109
Member Avatar for TimBob12

Hi there, I am fairly new to C++ and wanted to have a go at coding my own function with parameters. However some of the parameters are arrays and I get strange errors occur. I will comment my code with a couple of other questions as well. I am writing …

Software Development c++
Member Avatar for TimBob12
0
202
Member Avatar for TheWhite

Is there a way, using java's standard library to replace characters like: " with '"' and &# 39; (i put a space so the site doesn't change it) with ''' in a string? For example, change from: [CODE] String message = ""This &# 39;is&# 39; a test&quote"; [/CODE] to: [CODE]message …

Software Development html-css java
Member Avatar for JamesCherrill
0
202
Member Avatar for kukuruku

Hi,I am trying to do if statement in Assembly but it doesnt work.Could you help me putstr is predifine macro Thanks [CODE].386 .model Flat include Cs266.inc .data mes1 DB "First Greater" mes2 DB "Second Greater" var1 DD 22 var2 DD 9 .code main: mov EAX,var1 cmp EAX,var2 jge else jmp …

Software Development assembly
Member Avatar for Ancient Dragon
0
315
Member Avatar for jemz

Hello can you help me please how can i get the leaf in the Binary Tree.I Dont have idea on the leaf?...can you help me please thank you in advance hoping for your positive response... here is my code... [CODE] public void insertNum(int n) { Node temp=null; Node current=null; Node …

Software Development java
Member Avatar for jemz
0
239
Member Avatar for bob200707

Does anyone know COBOL? I need help with a program I am doing.

Software Development cobol
Member Avatar for WaltP
0
158
Member Avatar for Farhad.idrees

private void btnCencelProducts_Click(object sender, EventArgs e) { for (int i = 0; i < lbFinalList.Items.Count; i++) { if (lbFinalList.GetSelected(i)) { lbFinalList.Items.Remove(lbFinalList.Items[i]); } } } thats code of my button i have list box where i want to removie multible item.. when i chose more than one item so only 2 …

Software Development
Member Avatar for ddanbe
0
201
Member Avatar for george61

This is a program for getting the sum of prime numbers of given range. The problem is that it would take hours if the limit is about 1000000. I've read about the sieve of Eratosten but having difficulties with implementing it. Could someone help to make this piece of code …

Software Development c
Member Avatar for WaltP
0
332
Member Avatar for monesh.infy

Create a class Computer that stores information about different types of Computers available with the dealer. The information to be stored about a single computer is, - Company Name - RAM size. - Hard Disk Capacity. - Processor Speed. - Processor Make. - Price . - Quantity of the Computers. …

Software Development java
Member Avatar for stultuske
0
132
Member Avatar for Prosper92

So I've been giving a number of assignments to do but I'm stuck on one in particular now. I've to create a 2D array ([5][2]) and then say how many times ou of the 5 rows that the first row was bigger than the second. I imagined I would need …

Software Development java
Member Avatar for Taywin
0
1K
Member Avatar for zach&kody

Once again, my friend Kody and I have come to a dilema. We made a Hopper class which makes 2 feet hop forward by our int stepLength. We placed a stop method to stop the feet at the end of the screen, but our instructor wants the feet directly in …

Software Development java java-swing
Member Avatar for Taywin
0
196
Member Avatar for tukky

I have a project which is 98% complete. Its basically a Shop(till) interface. I have a form that has tabs the first being the main till, second shows a listview with everything in stock and the quantity of items in stock. Im stuck on one part of the program where …

Software Development listview user-interface vb.net
Member Avatar for codeorder
0
414
Member Avatar for ajinkya112

Hey Guys, I am now loosing my cool over this problem. let me paste my code an then i'll explain my problem. Here's my code : [CODE] if (rn < ds1.Tables["Company"].Rows.Count-1) { rn = rn + 1; textBox1.Text = ds1.Tables["Company"].Rows[rn].ItemArray[0].ToString(); SqlDataAdapter da1 = new SqlDataAdapter("Select C_ID from Company where C_NAME …

Software Development
Member Avatar for Mitja Bonca
0
132
Member Avatar for vasuhajare@gmai

Hello sir, I have an application in which on button click there will be pop up window and on that window i have to show data from database in tabular format So. how i can do this

Software Development
Member Avatar for Mitja Bonca
0
696
Member Avatar for wheats1

Hi there, I have a problem, perhaps you could help me with it. We are discussing to change our IDE. The Project I'm working on is using C with function calls to assembly. Now my problem is that the two compiler use different parameter passing routines. Now I would have …

Software Development assembly ide
Member Avatar for wheats1
0
107
Member Avatar for honeythigh

hello, i am a newbie who doesn't have any programming experience. i heard that python is great to start with, but i prefer to begin with c++ because it's known as the best for game programming. 1) is it okay to learn c++ for a newbie? 2) is c++ really …

Software Development c++ mac-software
Member Avatar for honeythigh
0
411
Member Avatar for alleybye

i want to view the number of my expired and non expired stocks, and i cant figure it out. Heres my code. can some please help me? [CODE] Private Sub Form_Load() If rsInventory.RecordCount > 0 Then Do Until rsInventory.EOF If Val(rsInventory("Expiration_Date")) < Date Then expired = expired + 1 rsInventory.MoveNext …

Software Development visual-basic
Member Avatar for AndreRet
0
158
Member Avatar for ajinkya112

Hi everyone, From couple of days i am trying to write a code that would generate Id automatically and store it in table. I have a table "STU". It has two columns Id and Name. I have taken a form which has two text boxes and a button. text box1 …

Software Development
Member Avatar for Mitja Bonca
0
345
Member Avatar for francisp94

I'm kind of new to C++ and this forum so forgive me if i look dumb. :icon_cheesygrin: So my program is basically knowing what category is the book inside the "input.txt" using the Dewey Decimal System and displays it in "output.txt It's working fine at the moment. But now it …

Software Development c++
Member Avatar for francisp94
0
137
Member Avatar for neosonic

Hi I'm currently using vb6 and ms access for my database. So far the application runs good, but the rumor (or fact) that access are not powerful enough with multiple access and also it has low data limitation (around 2 Gb), it scares me. I don't want my clients to …

Software Development microsoft-access oracle visual-basic
Member Avatar for reygcalantaol
0
836
Member Avatar for vjackcon
Member Avatar for Ancient Dragon
0
115
Member Avatar for margeaux54

There is little mistakes in this program. I couldnot understand. may be you can see. For example ı can not solve exit problem in menu function [CODE] #include <iostream> using namespace std; void encyrpt(void); void decyrpt(void); void menu (void) // this function provide to be reached to menu { char …

Software Development c++ encryption
Member Avatar for Ancient Dragon
0
123
Member Avatar for hdaccess

Good day! May i ask? This is the scenario: The main purpose of daily activity report is to monitor the library transactions and to find out borrowers who are overdue. The report should be generated at the end of each business day and should contain the following data items: for …

Software Development mysql visual-basic
Member Avatar for reygcalantaol
0
126
Member Avatar for terabyte

How can I run my Perl scripts on my symbian phone? I have been googling for two days, I only found these two links: [url]http://search.cpan.org/~rgarcia/perl/symbian/PerlBase.pod#___top[/url] [url]http://perldoc.perl.org/perlsymbian.html[/url] and I didn't understand them lol so is there a way to use perl on my symbian? either the Perl interpreter or a compiled …

Software Development perl
Member Avatar for vaniliao
0
227
Member Avatar for Amillia89

hye..I have 3 classes 1.Welcome 2.Admin 3.User At Welcome classes, [CODE]public class Welcome extends javax.swing.JFrame { public Welcome() { initComponents(); } private void initComponents() { jLabel1 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); jButton2 = new javax.swing.JButton(); jLabel2 = new javax.swing.JLabel(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); jLabel1.setText("WELCOME TO"); jButton1.setText("START"); jButton1.addActionListener(new java.awt.event.ActionListener() { public void …

Software Development java java-swing
Member Avatar for Amillia89
0
199
Member Avatar for bettybarnes

hi guys i have an application which adds a patient with his/her own picture.. im doing it in vb.net and my database is stored in sql server 2005.. i have my column for saving the picture.. i have already set it to varbinary(max) my problem is i dont have a …

Software Development image vb.net
Member Avatar for debasisdas
0
251
Member Avatar for vbBen

Hello, I am trying to do (I think) a simple thing in VB- send commands to the com port or parallel port. VB is out of my comfort zone. I am a beginner. Most of my experience has been in industrial controls/plcs, etc. Ideally, I could send a discrete binary …

Software Development visual-basic
Member Avatar for vbBen
0
173
Member Avatar for yousafc#

[COLOR="Red"]i want make office repairing software in c# suggest me what i do [/COLOR] [COLOR="Green"]Yousafc#[/COLOR]

Software Development
Member Avatar for yousafc#
0
58
Member Avatar for sj5536

hi, thankx for solving all my previous thread right now my problem is that i have to get width and height of pdf file

Software Development java pdf
Member Avatar for peter_budo
0
227
Member Avatar for bklynman01

I have a form that uses 28 checkboxes(checkBox1 ~ checkBox28), 28 labels(label1 ~ label28), and 28 textboxes (textBox1 ~ textBox28). These items need to be visible/invisible depending on the mode of the program (there are 5 modes). I could specify each item individually with visibility, but that requires a whole …

Software Development vb.net
Member Avatar for bklynman01
0
2K
Member Avatar for bkoper16

this program is supposed to take in sales figures in dollars, convert them into a salary for the salesmen, and then display the number of salaries that fall within certain ranges (200-299 ect.) However i keep getting incorrect results no matter what i enter i keep getting 11 for the …

Software Development c++
Member Avatar for template<>
0
212
Member Avatar for Progr4mmer

how can i get java to enter/type text into a textbox for me once i select it(click inside it) so the cursor is there. Also how would i get it to send the enter key or other "non-text" keys.

Software Development java
Member Avatar for mKorbel
0
177
Member Avatar for chanda gul

Hi all! I am trying to find the last write time of a registry key using the following code but this code is showing the time with offset of some minutes i.e. if actual time is 4:29 it will give 4:26. i can't figure out the problem in the code. …

Software Development api microsoft-access
Member Avatar for chip_byrne
0
381
Member Avatar for tendaimare

[CODE] '1 'the function Public Shared Function InsertNewRecord(ByVal myStoredProcedure As String) As Boolean Dim conn As New SqlConnection conn = MyFormz.connec.ConnWeb2() Dim cmdInsert As New SqlCommand Dim sSQL As New String("") Dim iSqlStatus As Integer sSQL = myStoredProcedure cmdInsert.Parameters.Clear() Try With cmdInsert .CommandText = sSQL 'Your sql statement .CommandType = …

Software Development vb.net
Member Avatar for Jx_Man
0
256
Member Avatar for saurabhtiwari

Hi, This is saurabh final year BE student. I am developing an application in which I want to get IP and MAC address of a client PC in network on my machine and my machine acts a s a server so plz help me. Your help is appriciated plz help …

Software Development client-server
Member Avatar for kvprajapati
0
85

The End.