199,114 Archived Topics
Remove Filter ![]() | |
i am doing a prioject on 'courier management system. im planning to use asp.net and mysql...is it appropriate? if i do choose these languages...will i sustain? | |
I am trying to right align my numbers to make them look like this: [TEX] Total Collected: $ 26572.89 Sales: $ 25068.76 County Sales Tax: $ 501.38 State Sales Tax: $ 1002.75 [/TEX] The problem is i dont know how to format it in my code. Here is my code … | |
hi guyzz... is their a third party software were can i install/register all the vb dll files need in my visual basic project. im having hard time in my installer setup. im using setup factory. and before im making the setup up factory wizard, im using the Package & Deployment … | |
I have a char array with a size of 17. I need to copy each block of 4 characters from the array into 4 separate char arrays. I'm not exactly how to go about this. | |
Good evening, all! I'm trying to display multiple checkbox values in a summary screen of sorts. The website is about movies, and if somebody checks that they like more than one movie type, I would like all of their choices shown. I currently get "Your favorite movie type is: Array" … | |
Hello Everybody, If you plz am fresh graduate and now am asked to do project and to use barcode..... really I dont know anything about barcodes, I've searched the internet , i knew that there are fonts... (code39,...) If i have a barcode field saved in db, if i read … | |
Hi Every body I need help in how to cast a single datagrid cell to a textbox in vb.net. Actullay i want to validate datagrid cells. | |
Hi I had a captcha script in my web page. Some thing like this.. [CODE]session_start(); $md5 = md5(microtime() * mktime()); $string = substr($md5,0,5); $captcha = imagecreatefrompng("images/captcha.png"); $black = imagecolorallocate($captcha, 0, 0, 0); $line = imagecolorallocate($captcha,233,239,239); imageline($captcha,0,0,39,29,$line); imageline($captcha,40,0,64,29,$line); imagestring($captcha, 5, 20, 10, $string, $black); $_SESSION['key'] = md5($string); header("Content-type: image/png"); imagepng($captcha);[/CODE] It … | |
Hi! This is my first post here :) and I'm not good with english :) I hope that you will understand :) I'm trying to enter a string with only numbers. I solved this but i dont know how to enable delete (backspace button) ? I solve and this problem … | |
Hi, just want to know which software is the best for PHP. I use PHPeditor and Notepad++ So how about you guys?? | |
I tried to search for other threads to answer my question but couldnt come up with anything that I could think of to describe what I was looking for well. My assignment is this: Write an application that shows the sum of 1 to n for every n from 1 … | |
Hello People Please suggest me the use of passing class reference in a method Here is the sample code from class A [code]public Integer[] getReport(Class classname, String sql) {[/code] And, then when it is called inside class C, it is referred to as , [code]new A().getReport(B.class, "select * from Table … | |
Is it possible to input numbers into two different arrays like so, 1 2 3 4 5 6 7 8 9 where the first array would hold {1, 3, 5, 7, 9} and the second array would hold {2, 4, 6, 8}? | |
So I have an assignment where I have to translate some code in C to MIPS. It is what we are calling "Rule 1," which solves Sudoku puzzles by eliminating a number from a column, row, or 3x3 box if it is present elsewhere in that same row, column, or … | |
I have a function that I call recursively, but I want to keep track of a maximum through the entire process. This is what I am doing: [code] void Intersect(double &MaxDistance) { if(something) MaxDistance = something; Intersect(MaxDistance); } [/code] Is that correct/reasonable? Something doesn't seem to be working and I'm … | |
Let me tell you this from the start =) We play a game called eve. In that game wheneve you kill someone you will recive an email wich i will post belove here for an idea how it looks like. This game alsoo has an ingame browser html 1.4 compliant. … | |
I am trying to write a loop that will use the add.row function to add a number of rows that will be decided by user input. The button action submits info to a couple other tables also, and that function is working properly. This code will execute, but instead of … | |
I have an ASP script that gets information from an Order Form. I have it so it displays the data. I would like to take the data displayed and send it in an email. How do I go about doing that. I've looked at tutorials on google but I dont … | |
Hi I want to send data to remote server ,I have used http_post_data and cURL and even fsockopen method. For http_post_data it has give me undefined function error.For cURL i have included curl libraries .dll file ,uncommented curl extension from php.ini file though it's giving error like curl_init() can not … | |
I have a class Friend: [CODE]public class Friend { public string friendName; public string friendStreet; public string friendCity; public string friendState; public string friendZip; public Friend() { } }[/CODE] and I am using a ArrayList called friendArray. I have a text file that is formatted like this: My Name My … | |
Hi! I have two questions for you, 1. Browse pictures! How do i view and browse pictures on the same way as in picasa or bridge. In my DB i have only path to the pictures. 2. Zooming. If i then want to zoom in this pictures again in the … | |
Game description here:[url]http://www.google.com/url?sa=t&source=web&ct=res&cd=11&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FBreakthru_(board_game)&ei=dXeTSZH9KJmatwe2i_DiCw&usg=AFQjCNGMFXvDxyuxmi8PrdyGneGpX5SNRA&sig2=pdq6w2j03qSNW-9gQio83g[/url] Variables/functions needed to be known: m_count: turns taken (0,1,2) x,y starting coordinates of a piece h,v destination of said piece get() returns integer 0,1,2 [empty,gold,silver] sideSwitch() resets m_count to 1 and turn to the opposite player. ___ [B]Problem:[/B] First pieces started disappearing: fixed game wasn't ending when … | |
Hi people. I have this code and I am stuck on trying to get a 'call by reference' to work properly. I need to convert Celsius to Fahrenheit and Fahrenheit to Celsius. I am not sure what is wrong with my code. Remember that I have to use a function … | |
hi, i just have many questions regarding abstract class, please briefly explain if you may. thanks. 1. what is the difference between declaring public abstract class and abstract class ? 2. should abstract class have a constructor? i know by default it has one, but since abstract class doesn't have … | |
Hello! I'm just learning JavaScript and I was wondering if clients can view external JavaScript files? I would like to (potentially) use JavaScript to validate passwords to log into my site. Would this work/ is there a better way? | |
HI! i need to create a program that lets user input as many numeric grades as they like.... in return they get the letter grade for each and the their grade average, minimum, and maximum. this is all i have so far...... import TerminalIO.KeyboardReader; public class LetterGradeWLT { public static … | |
Hi. I have written a program to build an array and move values around until a point of "equilibrium" is reached. It then records how many of each number there are and outputs them to a file. My program works in part, but sometimes encounters a seg fault (I think … | |
Hey I want a code for a please wait with dots in front of it (writes some and delete them and starts again) or a / or \ that rounds. thanks | |
The principle of setting up files on a server to be downloaded and installed by a web user is a black art to me. Could anyone explain how I can do this. | |
Hi, I am in a requirement of selecting a particular .csv file for reading into the program for further manipulations (calculations) based on zipcode entered by the user. So, can u pls direct me for the same so as to get the things moving on. | |
What is the best validation technique or function that I can use to detect spaces,commas or any other characters I dont expect from a user. I know of ereg and eregi but it seems not to be working the way I want. The problem is that I am allowing a … | |
I just started nightschool to learn c# (learn programming at all) We got an exercise where we need to test for a palindrome We were asked to put the test in a function and then call the result in a messagebox. I'm kinda stuck on the last part the calling. … | |
I have been asked the following: create inputs for a half-adder using python and the outputs i expect. I was hoping someone could just have a look at this for me and see if i've got the right idea. This will work from a copy and paste straight off the … | |
Hi. I am working on my Final for my Intro to C# class so yes I am new and my code is pretty unprofessional probably. We are required to use a array or a class to read addresses from a text file and display them in the GUI. We should … | |
Hello all, I'm writing an 'Asteroids' clone for an assignment at school. I'm trying to figuire out an algorithm to 'wrap' the asteroids/bullets/ship when it collides with the edge of the screen. I've written an algorithm and it works alright, but has some flaws. It will always wrap to the … | |
Hi, I tried creating multiple bitmaps on top of each other but cant seem to get the result i want: currently i have one bitmap that is the background and another bitmap that is supposed to be an animal and will be on top of the background. this is my … | |
I have to write a code in Native C++ using which i have to load the contents of an XML into GUI and write back the changes done (pertaining to parameters) into another xml which is a replica of the loaded XML. The usage of TinyXml is a must. Please … | |
I am trying to create an array of integers from a list of strings to do some calculations, but all I can get is an array of strings or an error. Does numpy have any functions to do this? any help at all would be much appreciated. infile: 23 CL … | |
HI can u plz help me with this? [CODE=c]#include<stdio.h> #include<conio.h> void main () { int i,j; printf ("\t*"); for (i=2; i<=5; i++) { i=i+1; printf ("*",i); for (i=3; i>=1; i--) { printf ("*"); } printf ("\n"); } getch(); }[/CODE] its suppose to give an output in the form of diamond … | |
I need to add a column to a list of strings and then print it back to a new text file without [] or "". I tried this below but it is not the result I wanted. infile looks like this: 23 CL 006 2004 DBA8ORPU 41 8Y S0111P 2 … | |
Hi I have two tables that I want to use to build a third. They have a many-to-one relationship for one of the columns. Table A has the "one" side of the many-to-one relationship. Table B has many rows that have foreign keys referencing Table A. I want to write … | |
i am using this code to send pm, after i send a pm it says "You have successfully sent a private message!" and the boxes under for user to send again if they like but i would like to show only "You have successfully sent a private message!" if the … | |
I tried to compile a Windows Forms Application in Visual C# 2008 Express with this source code from the CSharpSchool tutorial at Programmer's Heaven:[code]using System; using System.Windows.Forms; using System.Drawing; namespace CSharpSchool { class HelloWinForm { static void Main () { Application.Run (new MyWindow ()); } } class MyWindow : Form … | |
I changed the name of a folder so that it would meet the requirements for my assignment submission and now my program wont run in the command window. its saying it can't find the .txt files. However, the program runs without any problems in JCreator. i have a folder called … | |
anyone can help me to make regular expression [code ] $string=" xxxxx xxxxx <body border='0'> <script language=javascript> ... word1 ... word2 ... word3... word4 ... </script> "; i want to remove all word from that string if that string have minimal three word'x' preg_replace(); how to make that regex? | |
I know that the code sorts a list of temperatures numerically but i cant get my head round what it does in detail, as in line by line. [code] public void sortnumerically() { for (int i = 0; i < temperatures.size() - 1; i++) { int min = i; for … | |
HI guys, I have file with 6 values in: [code] 1060276 2211546 7544.941158316 1060276 2211606 7545.960677177 [/code] I put those numbers into variables: [code] obyte1=`cat $TMP | sed -n 1p` rbyte1=`cat $TMP | sed -n 2p` snapt1=`cat $TMP | sed -n 3p` obyte2=`cat $TMP | sed -n 4p` rbyte2=`cat $TMP … | |
So, working on my ongoing Falling Sand Game project, I find that the best way to make the heat spread evenly is to use distances from heat sources. the problem is that the only way i can think to do that is brute force. Here's a simplified version of my … | |
hie all, i am here all because of need u guys help.. my task is to create two fishes which can swim inside aquarium and move and turn by using java coding. actually i got a set of uncompleted code. what i need to do is to compile all the … |
The End.