132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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, … | |
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 | |
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 … | |
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 | |
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++ | |
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 … | |
[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 … | |
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 | |
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++ | |
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"e"; [/CODE] to: [CODE]message … | |
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 | |
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 | |
Does anyone know COBOL? I need help with a program I am doing. Software Development cobol | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
[COLOR="Red"]i want make office repairing software in c# suggest me what i do [/COLOR] [COLOR="Green"]Yousafc#[/COLOR] Software Development | |
hi, thankx for solving all my previous thread right now my problem is that i have to get width and height of pdf file | |
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 | |
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++ | |
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 | |
[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 | |
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 |
The End.