199,114 Archived Topics
Remove Filter ![]() | |
Hi, Assume that we want to define a set of template function separately & then use them in other files, by calling their header. 1. Shoud we put function body (both define & declare) in header file as well. My current code works this way. But when I put those … | |
I would like to open a web page with several layers on it to a specific layer depending on the link on the previous page. I know I can do this from within the same page but I would like to do this from an external page. Can I and … | |
:( I have a website at: [url]http://www.outingsunlimited.com[/url] This site has quite a few "mouseover" images (37 actually) and I need to preload them before I start. When someone goes to the site, while the images are loading.....the screen is just blank and they think there is a problem.....:( HELP !! | |
Tryin to get the "Division by zero not allowed" part working ca someone help please :cry: [PHP] import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import java.applet.Applet; public class JDivideMe extends Applet { private TextField numeratorField = new TextField( 10 ); private TextField denominatorField = new TextField( 10 ); private Label theAnswer … | |
Write a C++ program that has class 1) math Math class has only one data member number and member function display that will display the data member number. Write the constructor of your math class that will initialize the data member number with the value zero. Program will overload the … | |
Use the CPU trace generator to generate jobs (or process) traces and simulate the following algorithms 1. Shortest remaining time next (aka Shortest Job First with pre-emption, aka SJF, shortest next burst time). 2. Round-Robin with user set-able time quantum (the time quantum should be a userset-able command line parameter. … | |
Hi, I'm learning ASP.NET. I have installed Free ASP.NET Web Development Tool , which is Webmatrix, but when i'm using this tool to create web forms its not user friendly, because it is hard to move objects from one place to another place. I have created couple of web forms … | |
Hi I have a problem when filtering this acces database, this is what i have found so far: 1. when i do it with one criteria it works 2. when i concatenate two clauses with direct values it works 3. but when i assign a variable instead of direct values … | |
Attached is a tiny program in which the function F has as an argument the function pointer double (*f) (double). F returns the sum f(1)+f(2)+f(3)+f(4). (Naturally, I have a much more interesting application in mind, but this simple example makes the point.) What I really want to do is replace … | |
I've used linked lists before. Does anybody have a resource or url address on how to write a linked stack? I need to create a stack with a menu using int and char variables. Thanks. | |
I was wondering if there was any way to make a for loop go through a string word by word, rather then character by character. For example, [B]for letter in "Hello world"[/B] [B]print letter[/B] it would print out H e l l o etc. I was wondering if I could … | |
Hello ladies and gents, Ive been reading about how when a class becomes to big due to to many memberfunctions, it is best to split the program up into several sections wich could be something like this: Interface section Implemenation section Application section I was given an example wich is … | |
I have a VB app that uses the ITC control to download a files from an FTP site. It works fine on Windows 2000 but it will not connect to the FTP site on an XP machine. It most likely has something to do with the SP2 firewall but I … | |
Hi All, Pls. help me in sorting out this problem. I tried to retrieve attribute value from LDAP using VB. when i try to get value from attributes like cn i get a 'TYPE MISMATCH' error. how to sort out this... Thanku for any help... | |
hi all, I get an error message as "Invalid use of Null' when i try to retreive an attribute value from LDAP. I could not find the reasons for this... I find this error message when i try to retreive some specific attributes like first name ,last name in LDAP. … | |
I need to be able to use system functions on turbo c++ 3.0 on windows XP. I require this for my school project and I am restricted to this particular compiler and OS (modern OS and old compiler..i love my school :confused: ). Is there anyway in which in i … | |
going crazy over here!!! If you will notice in the bottom left hand corner the ProductCategoryName Column is producing two and three results on the same product and these products are not in the categories table, this categories table is where the ProductCategoryName is at so i am not sure … | |
Dim OraStr As String = "Data Source=Oracle8i;Integrated Security=yes" OR dim OraStr As String = "Provider=""MSDAORA.1"";User ID=dev;Data Source=testdb;Password=dev" I am using oracle8i but that should be provider shouldn't it? the MSDAORA.1 is for the OLEDB so I assume it is wrong also. Any Ideas? | |
Hello everyone, When exceptions occur in constructor so that the instance of the object can not be created, should we throw the exception to the invoker of the constructor or simply catch the exception (and not throw it again)? I think we should not catch the exception (and not throw … | |
This is my php page it's have javascript problem so plz tell me what should i do. <?php session_start(); if($permission=="yes"){?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Gallery</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; … | |
Hello!! Does anybody know how to create a function that randomly changes elements in a string? And: does anybody know how to set the chances for the type of changes? I've tried to look it up in tutorials, but since I'm a beginner, most of the time creating random outputs, … | |
Ok, so i created a db, with the help of the MYSQL manual ;) and think i'm on the right track (well, i'm on a track at least). this db is for our members area (car club web site). I put 3 tables in there users auto_info auto_mods all 3 … | |
Hi, What's the coolest thing you've done in VB??? Post screenshots! | |
Sorry, I know that this is probably the wrong section to post this question in, but I'm sort of confused as to which one would have been appropriate. Anyways, I've been using regular expressions to find specific information such as e-mail addresses and whatnot inside textfiles, but I can't get … | |
I'm new to Visual Studio .NET. I thought C#.NET replaces VC++ 6.0 until I saw that C++.NET was still around. So, what's the difference between the two? I want to create a GUI that uses some C++ header/source files and a C++ socket library. Which would I use? I have … | |
I'm trying to finish up my first Python program. The program was built to help me maintain and add content to my webpage (it's nothing fancy...just pure html). Everything was smooth sailing (hey, python kicks some serious butt), until I ran into problems using retrbinary() to download files. The problem … | |
I have the following code, which tries to see if someone selected a drop down menu item that is already part of the database. If it is, then the error message should show up. [PHP]$size_of_user_array = count($user_selects); $size_of_db_array = count($already_in_db); for($y=0;$y<$size_of_user_array;$y++) { $input = $user_selects[$y]; for($r=0;$r<$size_of_db_array;$r++) { //echo "Already in … | |
I just finished my first program, other then a few test ones. it is tic-tac-toe. If you want to try it. here is the link [url]http://webpages.charter.net/lindbergfamily/game.py[/url] It is not very advanced, just mainly a bunch of if then and while statments. If any of you care to comment on my … | |
Hi everyone: I am running an java application in a windows xp toshiba computer. My application works fine in an windows 2000 compaq deskpro computer but in the toshiba one I get a strange exception. I think the problem is something with the parser and that makes the second error … | |
My knowledge of java is zero - I program in VB, however I have just got hold of a bluetooth mobile phone, and since it runs java apps it got me to thinking... In a nutshell I want to use the phone as a remote control for windows media player … | |
I'm trying to compile the following class code and keep getting errors on the overload functions. Everything else compiles ok. I've looked at several sources and compared the syntax and I don't see where the problem is. Please help??? header file [code] #ifndef GAMEPIECE_H #define GAMEPIECE_H #include <iostream> #include <cctype> … | |
Hi folks...... I'm a bit new to this... played with DB's on an off for years...... now getting back to programming and web design, learning to play with all the big boy's toys etc. LOL Yet I must admit that I have fallen for the simplicity of access's ability to … | |
I am trying to make a joke site..... I havent dont the rating system yet but have one previous issue to deal with and cant find it in any of my books. I want to have a password protected admin page, addjoke.php where I can add by category like "Blonde … | |
Im getting an error with my website when i try using sessions. Im new to it so im probably doing something stupid [url]http://www.bluetipdvd.co.uk/cart.php[/url] [B]error message:[/B] Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/bluetip/public_html/cart.php:4) in /home/bluetip/public_html/cart.php on line 4 Warning: Cannot modify header information … | |
Hi, I'm new to the forum and need some help writing my first 'complicated' program. I have trouble writing to an existing file. I want to write to an Excel file I already created and edited exclusively for the program I wrote, but when I write the data it destroys … | |
Hey all, I am very new to python, but I hear that it can be used to handle web forms. Does anybody know of where I can find a good tutorial on how to create something that will handle form input? Thanks in advance. -Nick | |
I am using setTimeout() to provide a delay between changing images. The images are changed by looping back through a function. clearTimeout() is used to cancel the setTimeout function. The problem is that I would also like the initial image (image1.jpg) to be displayed when I'm finished with the looping. … | |
Hi all First of all i m still new 2 php so please help me out. I am makin an small shipping system using php and i want to make it so that when people submit zipcode the form should only submit the first two digits instead of whole thing … | |
I am currently re desigining a web site and would like to make things easyer by using php. I have the basic design done in html tables and want to change the content of cells depending on what links are clicked on, or at least i think this is the … | |
I would like to create a deployment project for my application. And my application need mysql as database, my deployment package will package the mysql installation. How to use VB.net to check whether mysql had been installed in the client PC and if not install, mysql installation will be initiated … | |
Hopefully I can ask this clearly. Basically I'm wondering if I have a structure like so: struct MyStruct { char fieldA[20]; char anotherField[15]; int andAnother; char lastField[30]; }; Is there a way to dynamically print out it's contents? [fieldA] = "ABCDE" [anotherField] = "TEST" [andAnother] = 5 [lastField] = "WHATEVER" … | |
I have a pretty straightforward pair of aspx pages that were working just fine until last night. The first page has a form that posts to itself, updates some values in a session object, then calls Response.Redirect to the second page. The second page loads a datagrid from the session … | |
I'm trying to put together a tic tac toe game for a c++ class. Requirements are that it have two classes - gameboard and gamepiece. The gameboard I've pretty much taken care of, but I'm confused on how to set up the gamepiece class. Here's the requirements as given to … | |
Non of the java programs which used to run fine in my computer has stopped running. There are no errors in da programs as they still run fine in other computers. All programs gives the folllowing error "Exception in thread "main" java.lang.NoClassDefFoundError" I set my classpath and the path fine … | |
how can i connect Vb with access database that have password to login using ADO(OLEDB) connectivity.give codes | |
well hi :D Actually i have a school assignment and i need help with it i have 2 ques which i am not able to solve so plz help me Q1)create a program to find wether the entered year id leap or not? :?: Q2)write a program to find and … | |
Hello everybody! I'm quite new to C++ and as exercise I had to write a simple program, trying to duplicate the strcpy(), strlen() and strcmp() functions in C++. The code seems to be ok from syntax point of view but the results are quite unsatisfying :o. If anyone could point … | |
hi, i'm kind of new to asp i used a few tutorials to put together a basic login page and to dump the information to a cookie. [B]overview:[/B] i guess what i'm trying to accomplish is to have an ASP.net login page and JavaScript validation though out the pages it … | |
I have some questions pertaining to php and I need help! [B]1)[/B]I want to display random art in my signature but I want it behind a frame and with the artists's name written on a "nameplate" [B]2)[/B]I want to have a guest book in my signature that you can post … | |
[B]PURPOSE[/B] I'm trying to create an email webform.. [B]REQUIREMENT[/B] I need a box for users to enter their Message. [B]ISSUE[/B] In want to use TEXTAREA but I dont know whether its available in ASP.NET server controls..But certainly TEXTAREA control is available on the client HTML section. [B]QUESTION[/B] Are there any … |
The End.