199,114 Archived Topics
Remove Filter ![]() | |
This is the problem. The program works in the first run. but after you enter a key and proceed for another entry, it skips the "LAST NAME:" line and directly asks for the "FIRST NAME" line. i can't find the problem in the code so...help! >.< (skip forms and frames … | |
Hi i am using java code to connect to MS access using following url jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/login.mdb Now if I need to connect to the run this java code from some other machine in network then how will I write the path "DBQ=C:/login.mdb" | |
I need to design and implement an application that reads a string from the user and prints it one character per line. import java.util.*; import java.text.*; public class EveryLine5 { //---------------------------------------------------------------------------------------------- // Reads in a string. //---------------------------------------------------------------------------------------------- public static void main (String[] args) { int length; char current; String msg … | |
well i have to make one and before i make i wont to know what it is and what is the order the number come out random or like 1 12 123 1234 12345 please explain to me in detail to thanks | |
First of all thank to every one for such a dedicated mind to help others...... I have a database in Access 07 name as aaaa and a single table in it table1.The table1 have S.NO(primary key),Customer_Name,Date,Balance. Now in front end i.e VB.NET 08 i provide a starting date and ending … | |
I am studying the C++ code from an opensource project (libredwg) I have the following code: `*offset = *(*src)++;` What does this do? I understand offset = *src++; which would assign src[0] to the variable 'offset' and then increment src so that it points to what was previously src[1]. | |
Below is the java source code where I am trying to read a file and want to display its content on an applet which is opened through a html page. The problem is that when I try to open the applet through appletviewer there is not problem the data is … | |
hi, i have just migrated from CR8.5 to CR9. now i want to run/display Crystal Report 9 on client machine without installing it there. so, which .dll required for this situation? thanks, krunal | |
Hi all. This regards "Accelerated C++" Exercise 7-2. I'm trying to write a program that uses a map to put students grades into grade bands and print which band each student falls into. The grade bands are (A: 90-100, B: 80-89.99, C: 70-79.99, D: 60-69.99, F: <60). I'm getting into … | |
I am attempting to create a "dirty form" checking class based on an example found at codeproject. I am hung up on the first line of one of the classes public class ControlDirtyTrackerCollection: List<ControlDirtyTracker> I am unsure how to replicate that : List<> part in vb net. Thanks | |
I am trying to use an IF statement to enable/disable command buttons; however, I get the following error message "Run Time Error '424': Object Required". The "cmdDeptStoresMC.Enabled=True" is highlighted in yellow when I run the code. Please assist. Below is my code: Sub Check_AccessRights() Dim X As String Dim Y … | |
Hi, I have encountered a problem. I am checking if my application "testApp" is found in the ApplicationTab in TaskManager. The code below works 100%. But the problem is this when you just "rightclick" with the mouse on the "testApp" in the Taskbar, this code will produce the file and … | |
using System; usingSystem.Collections.Generic; usingSystem.Text; using System.IO; namespace ConsoleApplication1 { class Program { stringchoice,c,d,E; public void n() { Console.WriteLine("Welcome To Turning GNIITians Discovery !!!!"); Console.WriteLine(""); Console.WriteLine("Choice-"); Console.WriteLine("A.New"); Console.WriteLine("B.Edit"); Console.WriteLine("C.Close"); Console.WriteLine(""); Console.WriteLine(" Enter Your Choice From The Above:- "); choice = Console.ReadLine(); Directory.CreateDirectory("D:\\SMBRD"); if (choice == "A") { Console.WriteLine("Enter Your File Name(Max … | |
I'm making an Android maze game. Currently, I'm using the UP/DOWN/LEFT/RIGHT button from the emulator. I would like to add the motion sensor to move the ball. How do I use the motion sensors? Is there any open source to control the ball? http://images.plurk.com/4OmXYw7VZ76FYg2eufH4Bz.jpg package com.chrischu.inclassassignment_3; //import com.chrischu.mazegame.R; import android.annotation.SuppressLint; … | |
horizontal scroll from while loop Hmmmm, I accidently posted this in the wrong forum. Is there a way to move it? Hey, ive been trying for several hours now to get the list horizontal with scroll instead of vertical. the divs stacks up to the right but wraps at the … | |
I have no idea how it will be created plz help me as long experience I have forgotten due to my illness. Write a program to determine if the digits in a three digit number are all odd, all even, or mixed odd and even. Your program should prompt the … | |
Hello, I need a little help with the correct implementantion of the bisection search algorithm in the following exercise: - with 2 given variables, balance and annual interest rate, calculate the smallest monthly payment so that we can pay off the balance within a year test case: balance = 320000 … | |
I have an error message that is supposed to show if you forget to finish filling out the captcha form, but unfortunatly it shows on the very top of my site right when you enter the page... I don't want it to do that... I want the error messages to … | |
I'am trying to undestand how I can use the csv module in python to open a csv file in the same folder as the python script - and then create a .shp (shape file) using the shapefile module pyshp. The csv file looks like this, but can have a couple … | |
I have a .txt file that has a text on it, and i want to read from it and show it on a JTextField but I dont know how to code it. So far here's what i know: viewIO = new DataInputStream(new FileInputStream(phoneList.getModel().getElementAt(phoneList.getSelectedIndex())+".dat")); for(int x = 0; x < 5; … | |
**the code works perfectly, just i got something i dont understand...** i'v been trying to get a hold of recursion and sorting for about 3-4 days now, im getting some of it, but still not happy enough.. i searched for some good code for binary search and merge sort on … | |
I can't seems to open/run my jquery file for 3 days now and keeps me wondering what sort of my problem is. Just last week i can hover, slidetoggle, and other effects with the page i created. I presumed i'm correct with the code that i had: <script type="text/javascript" src="jquery/jquery.js"></script> … | |
William is interested in numbers. His friend Mary has been programming using Visual Basic and has told William about the Radom Number facility that the programming language provides. William never takes anything for granted and says to Mary: “I wonder how good this random number generator is. Suppose you write … | |
how i m going to assign a value of 2!/6 into a variable ??? | |
Basically I have 2 classes (class Dog and class DogChorus) and i am trying to change the getoutput() because i want it to display a message box with a message telling the number of lesg that all dogs have and it should returns details of all dogs creat using System; … | |
i have two textbox..TimeInTextbox that contains time in for example(8:00 am) and TimeOutTextbox that contains time out for example(5:00 pm), i want to add TimeInTextbox and TimeOutTextbox to get the total working hours but how am i suppposed to do that? | |
what is wrong with this code #This is not free source #Don't cheat by looking @ this #If you do you ruin the game #A Towel Production # APOC #------- global ammo1 global ammo2 global ammo3 global health global tech_parts global exp global radio_parts ammo1=10 ammo2=0 ammo3=0 health=100 tech_parts=0 exp=0 … | |
Hi im writing a program to simulate a slot machine, where a user enteres a coin and has a 70% chance of winning (say 3 coins). Anyways, I have a class slotMachine with a public int random() function. Here is the function: int slotMachine::random() { srand( time(NULL)); randomNum = rand() … | |
I cant seem to find an answer to this issue. I am opening a form from a user control. I created some public write only properties on the user control, but I cant figure out how to create a reference to the original existing user control to interact with those … | |
hi can any one help me which is the best C++ compiler one can download it freely for C++ programming i will appreciate if some one post any web links for this cheers reddy | |
I am trying to write a shell script but I only want it to run if there are no files with a specific name found on the server. I know how to check for a specif file which would be done like this: if [ -f /path/to/file ] then echo … | |
hi here is a page for up load it has an upload script in it but it upload from computr. I want to upload from other servrt like transloader please check the script and tell me what should be chande thanks here is script [ICODE]<? //****************************************************************************************************** // ATTENTION: THIS FILE … | |
Hi guys, i'm pretty much new to python, this might be simple for some of u. But i appreciate if help is given. Here's my sample code: import random animal = ['duck', 'chicken', 'horse'] drinks = ['coke', 'tea', 'coffee'] test = animal + drinks print(test) word = random.choice(test) print(word) print() … | |
I am using reCaptcha and for some odd reason, I keep getting this error: **is_valid) { echo "You got it!"; } else { # set the error code so that we can display it $error = $resp->error; } } echo recaptcha_get_html($publickey, $error); ?>** Can someone explain to me what is … | |
Hello, I have this code: mysql_query("UPDATE users SET BasicLevel = BasicLevel +1 where username='Admin'"); but its not increasing the integer. The field names are correct as well as the username. Can anyone help me? And yes, I am connected to the database. | |
how do i represent this in aggregation C# code P1 and P2 as classes and then use aggregation to assign A, A’ instances to them. apprecite a reply thanks | |
hi all i want to enter a turkish word to the database using netbeans but what apper in the database is something like that how i can solve it?????? thank you for help | |
I'm quite new to Javascript but thought that I should challenge myself to use it to solve an old problem of mine. I'm trying to set the height of a div to the same as the width of it. Example: The width is set to 50% and the screen is … | |
I am developing a very simple notepad-type program in C++. The only problem is that when I prompt the user to delete their newly written text file, it doesn't work. Since I let the user pick the name for his/her file, I can't figure out the code to delete it. … | |
Okay, I keep getting an error stating that I have few arguments in my void function. I changed it so many time with different combination and yet I still get this error. I just simply want the program to print each digit in a vertical line. #include <iostream> #include <cmath> … | |
Problem: Ajax Return false is not returning false, the codes values are being put witin the address bar, and the page is being refreshed. Question: Did I put the return false in the wrong area? How can I fix this problem? AJAX $(".status_reply").click(function() { var status_id = $("input[name=status_id]").val(); var user_id … | |
Hi, I have 2 files. I need to read a line from the File 1 and check for it in File 2. If it is present, I need to delete that line from File 2. File 1 A1 B1 C1 File 2 A1 ABCDEF S1 EEE C1 EFGH D1 XYQ … | |
Hi, I am planning to go for a php certification. Since I do not have a proper work experience, a certification will help me build my portfolio. So, I was planning for Zend certification. Is it worth taking or is some other certification (like w3schools) better? Anybody here who got … | |
Hello everyone. I am in a programming fundamentals class which we are using python. I am working on a Lab problem and really am not 100% sure how to do it. The Problem: A shipping company (Fast Freight Shipping Company) wants a program that asks the user to enter the … | |
hie guys l have basic knowledge of c and c++.Recently we were given a project assignment on statistical modelling we have to implement it using c/c++.I researched on the libarries that l can use eg sdl,openGL,what l wld like to noe is it possible to code using gcc in linux, … | |
i have this main_login.php code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form name="form1" method="post" action="checklogin.php"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td colspan="3"><strong>Member Login </strong></td> </tr> <tr> <td … | |
I have code in a txt file public class TestClass { static void main(String[] args) { int id; int number; id = 3; number = 33 telNo = id int id; } } I know how to read the file using bufferedreader and get the line number but i would … | |
I have two forms as form1 and form2 in my project.in form1 it has textbox as txtid. I take n=txtid.text in from1.then how can I use the same value of n (got at form1) applicable at from2. | |
hi, i have a problem of Index was outside the bounds of the array. i don't understand how to amend the existing solution in my case. anyone could help me? the message error is System.IndexOutOfRangeException {"Index was outside the bounds of the array. below is the code & the error … | |
[URL="http://www.deviantart.com/deviation/40255643/"]Line Rider[/URL] is an extremely addictive web game. (Try playing it, and see when you can stop.) Now a lot of programmers would rather play that than work on their project. But actually, if you program right, you can actually make it fun instead of being a dreary bug-fixing experience. … |
The End.