199,114 Archived Topics
Remove Filter ![]() | |
i need to write a program that takes this style of input Enter customer name: Kristopher Ann#Nugent and seperates the name to look like this Customer name: Nugent, Kristopher Ann so far i have decided to separate the name into 3 separate character strings but i can only get two … | |
hey i despritly need some help getting this phpmyAdmin up and running again. i'm using wamp with mysql but can't get into my PhpmyAdmin for some reason. i've uninstalled it and re-installed it. the extension mysql.dll is there in the php.ini file uncommented the php extension for mysql is checked … | |
I am developing a java application that should run entirely from a CD. I should not install anything on the machine but now I am in need of a database. Is there any DB that I could use to sort out my problem? Thank you. | |
Hello to all and thank you for your attention. I need to do a few programs using Turbo C 3.0, but I have a problem when I use it on my notebook (running on WinXP SP2). It starts OK: it goes into MS-DOS mode (fullscreen) and all seems good, but … | |
Hi Guys I require a Java applet (and web service on server) permitting upload of large files to the server. Client side: The applet UI should simply permit selection of a file for upload from the local directory structure. The server URL will be hard-coded in the applet. When the … | |
Hi, I have one page thats really throwing alot of code violations at validator.w3.org. This is a CF site and when I view source from the browser and paste the code in the validator, I get like 190 errors all stemming from one piece of coding I think. I created … | |
I have created a login system based in PHP and MySQL, where upon registration, users enter the information required in the form. However, there is another page where they can review their information once they have logged in. I am new to PHP but I would like to know the … | |
Hi there. I am currently trying programme my code[COLOR="Red"](P)[/COLOR] to lookup a hashtable from another class[COLOR="Green"](F)[/COLOR]. IS that possible? Given that the hashtable is in the main method of [COLOR="Green"](F)[/COLOR]. Should I apply a toString() in [COLOR="Green"](F)[/COLOR] and make it a String variable before I call it into[COLOR="Red"](P)[/COLOR]? If I … | |
![]() | Hello, I am starting to freak out with my php codes because it is just a mess and i get an error when i close my php tag. This php file is going to upload an image and set a name,description, and signature from the player, but i get this … ![]() |
Hi, I have a Gridview on Default.aspx. There is a ButtonField (Button Type: Button) on the Gridview1. When user click on any button of ButtonField, I want to show a pop-up of size 500x400 px with a Label, a Textbox and a Button. Please help me in achieving this as … | |
[code] List<object> ap = new List<object>(); [/code] my object classes are the classes that i have created. for example; [code] class istanbul { public istanbul(string a , int b) {this.a = a ; this.b = b ; } public string a ; public int b ; } ap.add(new istanbul("dsklfjsf", 12)) … | |
Hello, I am writing a prolog program that compares the positions of buildings. The only fact I can use is west(building1, building2), which says that building 1 is immediately west of building 2. I have declared many of these for the two rows of buildings I am using. I am … | |
Hi, I am trying to learn about JQUERY. So , I found some examples and I am trying to apply to my pages. But something goes wrong. Could you help me please ? For example 1.html [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" … | |
Hello all - I'm having some trouble UPDATING my mysql using php. I'm working on a event planning system; the user can click on the company to see a small report that has some areas which must be editable (payment status, etc.). I get these values into a form to … | |
I am having an error using the following code, [CODE]DataView dtView = new DataView(dt); columname = "ItemNo"; Cond procedure = Cond.checknum; //I had a public enum Cond { checknum, checkspace } procedure.Equals(null); //Null because I am changing the procedure below in the program List<string> Mapcol = new List<string>(); foreach (string … | |
Hi) I needed to make it possible for the user to upload many files from many directories of his pc to server. Here is the html and js code html [CODE] <div id="addPhoto" > Path and Title of the Photo. <br /><br /> <input type="file" name="flImg0" /> <input type="text" name="txtTtl0" … | |
I'm trying to use pythons logging.handlers.SMTPHandler with a configuration file (so that I don't have to have passwords etc. inside of the script) Now the guide I'm following is [URL="http://docs.python.org/library/logging.html#configuration-file-format"]here[/URL], now the RotatingFileHandler is working, but I never receive an email, or an error for the SMTPHandler. Anyway here's the … | |
Hi all, I have ben tring to write some code that will help protect my forms \ data input I have wrote the following for anyone to use \ comment \ edit and improve. Im new to php and have read alot about securing data input from sql injection. If … | |
I am a brand new programmer (took a semester of it during the winter at college) and it really kicked my butt. I want to major in computer science, so i know that i'll be taking a lot of programming classes and will need to better all of my skills. … | |
I want to add sound in my Java program. I searched in Internet, and what I found was only how to add sound to java applet. Isn't there any way to insert sound into the desktop application java? Thanks in advance Regards, AG | |
Hello, it is necessary to create a callback function to handle the messages of an windows dialog box. The DialogBox() Function call requires a function pointer to this callback function. If I don't use classes my sample code works fine but when I try to encapsulate my code in classes … | |
Hi guys, I have a query which returns 0 (zero) as a result not as a row in MySQL interface. However, when I run it in PHP the query doesn't return anything although there is one value which is 0. It is a Decimal type. Neither of these work. Result … | |
currently im working on my php code which display username,date and comments. how can i copy the username andinsert it into the other table using mysql? here's the table looks like table_1 ID USERNAME table_2 ID DATE COMMENTS | |
Hello guys we've been given this project at skul to create a chess game using c++ , so what i have in mind now is as follows: i need to create different classes ,lyk i need a king,queen,horse and the other classes bt i don't know which one will be … | |
Hi. I have just downloaded infozip for integration with some of our vb6 software. I got it working however, when I check the zip folder, I see that a directory structure has been created for each path contained in the filenames. E.g., I have a list of files as follows: … | |
can any one give a slight hint about the alogirthm to evaluate a prefix expression using queue.i tried a lot bt now atthe dead end, | |
Hi Coders, I recently found a script online that clears tweets from a twitter account. The script is written in coldfusion which is not supported by most web hosts as you guys know. I'm a programming newbie, so I want to know if it's possible to code this same script … | |
hi, i have a view in the database which queries about 6 tables to produce the results and works great. however i need to create a view based on the info from this view along with data from another table. when creating the view that queries the view and table … | |
i'm new to c++, but am taking a intro to computer science class. we have to write a 2 player game. Game Rules: There are three stacks (A, B and C) of sticks on the table. Each stack is initialized with a random number of sticks between 3 and 10 … | |
Hi, :rolleyes: Can anyone send me or tell me the shortcut keys for .net framework(visualstuio.net). so that i can use it frequently Thanx.....:) | |
Hi, I was making a search box and was trying to highlight the words that the users will enter in the search box,for example if the user enter "kids" in the searchbox it should highlight the "kids" word in the result............. is anyone have an idea how to do that | |
hye friends..... i need your help.....does anyone know how to select 2 databases simultaneously?i want to select certain data from database 1 and database 2.please help me for this....thanks in advance.... | |
Hi. I need to check a folder for the existance of a specific file extension. I've been successful checking for a full filename including extension, but Its just any instance of a filetype I'm after. My question is, Is there an existing method in a library anyone knows about that … | |
hi all, im fairly new to python and am struggling to find out how to read javascript values from a site. Help is much appreciated. thanks, Python01 | |
Hello, I am currently creating my first web program using Visual Studio 2008 (asp.net with c#) so am probably going about many things the wrong way, but it is to be expected! The issue in question: -I have a dropdownlist(ddl), which is populated from a SQLDataSource. -The text in the … | |
Hi All, I need to validate the telephone number entered by the user in a form. Following are the conditions. 1. The length of the string should be 10. 2. The first character should be ZERO. 3. Remaining 9 characters can be any digits from 1-9. I am using the … | |
Say I have two lists: list1=[a,b,c,d,e,f,a,b,c] list2=[a,c,d] How could I compare list1 and list2 such that I would get an output like: list3=[match,-,match,match,-,-,-,-,-] So that it goes in order Here's my code: [CODE]h=[] for i in range(len(change2)): for j in range(len(atom)): if atom[j]==atom[i]: h.append("H") else: h.append("-") print h[/CODE] Both change2 … | |
Please heLP me in my finAl pRojEct pLLZz,,guyZz!!!All about C program in quincy that reads the year and day of the week of the first day of the year.Then the progrAm prints the calendAr for that year.Allow the user to pause for each month of the year.Note also for the … | |
Hi all, I am having a problem with threads as demonstrated below: I have four very small and simple files. They are as follows: [CODE] 1) public class MainClass { private static SchedulerTest sch = null; public static void main(String[] args) { try{ sch = new SchedulerTest(); ThreadController tc = … | |
Hi, I have a page using Moo Tools with 4 images. What I would like to do is to pass a boolean value to an array that exists outside of the image, but then I need to test to see if all elements outside the array are true. If so … | |
I have a search engine that searches through my sql table called `sheets`. Inside this table are the following columns: id int(11) No artist varchar(100) No title varchar(100) No url varchar(2083) No timesdownloaded int(11) No lastdownloaded date No todaydownloads int(11) No date date No active varchar(3) No duplicate int(1) My … | |
hello i need help about getting the Unique characters from inputed String.. in Turbo Pascal...thanks in advance! Sample Output: Enter a String: Mississippi Unique Characters: Misp any clue or ideas...or simply the code... :-) | |
hi, [code] public void bingdrid() { cmd.Connection = con; cmd.CommandText = "SELECT Customer.* , convert(varchar(50),StarteTime,103),convert(varchar(50),EndTime,103), CompanyMaster.Name, Country.CountryName, City.CityName, State.StateName " + "FROM Customer INNER JOIN "+ " CompanyMaster ON Customer.CompanyID = CompanyMaster.CompanyID INNER JOIN "+ " City ON Customer.CityID = City.CityID INNER JOIN "+ "Country ON Customer.CountryID = Country.CountryID INNER … | |
Hi - I'm trying to get the filename and path of a file I'm opening with the OpenFileDialog in Visual C++. I can open and display the contents of the file OK, but I'm having problems accessing the filename and path, I guess they're stored in a structure somewhere? Code … | |
Hi all.. i want to create a banner in my website using asp.net and ajax.. banner will consist of many banners and have the paging under the banner that moving y itself.. what we call it? i cannot find any other example yet because i dont know the name of … | |
Hi all, I have three inputs required at a prompt in the index file below which requires the following data a number which will be the title code such as tt0892318 and a number that will be prefixed with tt and be interpreted as the title code such as 0892318 … | |
[CODE]#include <cstdlib> #include <iostream> #include <conio.h> using namespace std; void x(); void x(char); void x(char,int); void x(char,int,char); void x(int); void x(char); int main(int argc, char *argv[]) { x(); x('B'); x('E',30); x('B',30,'E'); x(10); x('V'); getch(); } void x() { for(int j=0;j<50;j++) cout << '*'; cout << endl; } void x(char xx) … | |
This is Homework related. I've been struggling in this C++ class for some time now and my teacher basically hands us the book and says learn it and will not help or assist... and sometimes i can manage to get something that runs but this one takes the cake... i'm … | |
Ok so I'm brand new to programming and Java so go easy on me. The assignment is to take fractions and do all the operations to them, add, subtract, multiply, and divide. We are also required to do this with a test file and then the actual file. So far … | |
[CODE]using namespace std; #include <iostream> #include <fstream> #include <string> #include <cstring> int main() { ifstream InStream; string InFile; string InToken; cout << "Please enter the filename: " << endl; cin >> InFile; InStream.open( InFile.c_str(), ios::in ); if (InStream.fail()) { cerr << "Unable to open '" << InFile << "' for … |
The End.