199,114 Archived Topics
Remove Filter ![]() | |
im just wondering if anyone cold send me an example of how to put upload and browse picture in vb 6.0 with database access 97 | |
Hello All. i have just finished coding a small subscriptions project for a magazine. My main challenge now is the package is supposed to send emails to subscribers notifying them if their days are due. email notifications are supposed to be sent to clients telling them of the status of … | |
I am new at oracle and working on a small project. I am trying to find "[" in a field and produce from that point to the end of the field. My code is as follows: [code] declare startPos PLS_Integer; endPos PLS_Integer; begin set startPos := (Select top 1(instr(description, '[', … | |
I was given homework to write a program that finds if a double (64 bit) is negative. The double uses twos complement, so the first bit will tell if it is positive (0) or negative (1), but you all probably know that. The problem I am having is that there … | |
I have a PHP program that makes a simulation of an aircraft motion (for technical studies). It requires quite a lot of input data. Therefore it would be advantageous to be able to save that data on the clients computer and recall it when used. Of course there is a … | |
Hey, my problem basically is that I have no idea why images that I am loading from my files are not getting printed to this little panel I've created. Basically, the functionality i have is that users select units and then I want to lay out all the units that … | |
Hello, I am trying to make a compiler. Don't ask me why because I am making it for fun and experience. I have made a lexical analyser in c++ (I didn't use flex). I now want to make the parser for which I want to use Bison. But I am … | |
I want to create a method equals(Object obj) to test if two objects are equal. But I don't even know how to start. Here is my program [code] class LinkedList { ListItem front = null; ListItem rear = null; int numItems = 0; // Current number of items. // Could … | |
i am using scanner class, i faced problem when i tried to get a string with space. How can i modify my code to solve the problem. Here is my code: [CODE] import java.util.Scanner; class abc { public void main(String[] args) { Scanner abc = new Scanner(System.in); System.out.print("Name: "); String … | |
Hi all I need to detect all image tags in a HTML document that are siblings: [code=html]<p> <img ../> <img ../> <img ../> </p> <p> <img ../> </p>[/code] In the example above I need to detect the first three img tags, but not the fourth. In contrary, I also need … | |
here is my source code about login into a web [CODE= php] <?php /* $login=$_POST['login']; if($login=="Login") { */ $connect==mysql_connect("localhost","root",""); if(!connect) { die ('Cannot connect to the database'.mysql_error()); } mysql_select_db("firstdbs",$connect); $in_user= $_POST['username']; $in_pass=$_POST['password']; // To protect MySQL injection $in_user = stripslashes($in_user); $in_pass = stripslashes($in_pass); $in_user = mysql_real_escape_string($in_user); $in_pass = mysql_real_escape_string($in_pass); $sql="SELECT … | |
I have two question: 1. how to read the string below into token ? 2. how to include the query into the token without having to reprint it? I have made a thread earlier but i have fixed and this version is shorter so i hope one of you will … | |
Hi, I'd like to know how to draw a rectangle using the following: Prompt the user to enter the character to use for drawing the rectangle and promt the user to enter the number of columns and the number of rows for the rectangle. Furthermore, the max for the rectangle … | |
Hi, :cry: I have gotted a problem in window resolution. I am build a web page in 800 x 600 resolution. How can display this page in other resolution and he it will be automatically fit in client window screen. Have you any soltution for this, please given kind of … | |
Hey guys I needed some help on this problem that we have to do for our introductory computer science class PROBLEM: Write a program that reads a series of numbers (doubles) from the user, then prints the mean and the range. • You do not know ahead of time how … | |
How to implement "Linear canonical transformation" in C language | |
Hi all.. I am Working on an Birthday Reminder Script but i have an Problem in This Script That I Want to Send a email to User That's Birthday is Today. and am Done it Automatically by Scheduled. For Ex: Today is One User Birthday Then a Email Automatically Send … | |
I am building a code that needs to find the average of a set of scores in a list that can have amounts added and removed. I know how to find the average of a list of scores of a fixed number can someone help me on how to find … | |
I always wondered how a programmer could efficiently generate a random number from a set* of numbers once and only once. I quickly realized the inefficient solution. Simply generate the number and if it equals one you have all ready generated then regenerate the number. Regenerating the number is a … | |
Hi and I have learned 2 ways of making a php cms both with simular results on the client side. That is, is it best to have all pages pointed to index.php with mod rewrite and url vars or is it best to have a couple dozen php files each … | |
I wrote up a CombatHandler class. Here is what the begining: [CODE]public class CombatHandler extends client {[/CODE] But when I compile I get this error: [CODE]Running Compiler -------------------------------------- CombatHandler.java:3: cannot find symbol symbol : constructor client() location: class client public class CombatHandler extends client { ^ Note: stream.java uses or … | |
Would someone mind helping learn how to multi-thread? I know this is asking alot, so I apologize in advance. | |
I am trying to get this program to count the number of characters in a string. By number of characters l mean not punctuation or a space.What is wrong with my code because l don't understand why the program won't work? [CODE]import javax.swing.*; publiemc class ExamPractise { public static void … | |
Hello all, I am working on an assignment and came across a problem. The assignment is to take a file with integers and calculate the average. Here is my code: [CODE]#include <iostream> #include <fstream> #include <stdlib> #include <conio.h> double calculateAverage(double Number, double Sum); void trimSpaces(char Filename[]); int main() { ifstream … | |
I have a search box. I need to remove all the special characters from the search term and then query it. “’-,?~!@#$%&*+-= all these characters.... can anybody suggest a proper regular expression for this ? and the syntax for using it in javascript. my query is saved in var query; | |
I need to create a scientific calculator using applet in neat beans 6.1 but i cant do it. if there someone who did it before, can you help me about my problem.its for our project in our school. asking a help.Thanks a lot. | |
I just started learning C++ today, and after a making calculator I found [URL="http://www.dreamincode.net/forums/showtopic49569.htm"]here[/URL] and succeeding, with some help from a friend, hence the other name) in changing it and adding a subtraction function, I was wodering if there is any code I can use to accept only the characters … | |
I want to populate my msflexgrid with lots of data from a database and it takes seconds for the process to complete. In that case, i need to include a progress bar that shows the progress of the process above and i do not know the code that will simultaneously … | |
i am trying to wrap my validation summary for createuserwizard to a modalpopup but dont knw hw to to call the javascript on createuserwizard1_createusererror event javascript code on aspx [CODE] <script language="javascript" type="text/javascript"> // <! Javascript to show the modalpopup function ShowModalDialog() { Page_ClientValidate(); if(!Page_IsValid) $find('<%=AddUserVS_ModalPopupExtender.ClientID%>').show(); } </script>[/CODE] and i … | |
Can you please give me some ideas on how to start, i have no clue!!!! Create a program that will test the random number generator by generating 10,000 random numbers and graphing their frequency in a histogram. This program should produce numbers from 1 to 100 and should display a … | |
hi, i've got a problem, hmm...there are three groups (A,B, and C) and their IP address are: A ==> 10.204.xxx.xxx B ==> 10.205.xxx.xxx C ==> 10.206.xxx.xxx how to read an IP Address, but only for 2 octet, (10.204, 10.205, 10.206)? I want to put them on index.php, so: if user … | |
![]() | Hi! I was wondering if anybody here could help guide me in the right direction for creating a gridview that contains rows that collapse with another gridview inside. I know we're not supposed to actually ask for codes but I haven't written one yet, I'm just asking for pointers :) … ![]() |
Hi all. I have some problems with radio buttons. Hope to get some help here. Thanks in advance. Here's the html: [CODE]<?php while($row=mysql_fetch_array($result)) { ?> <input name="replacement" id="replacement" type="radio" value="<?php echo $row['date']; echo $row['title']; ?>"[/CODE] I need to validate if none of the radio buttons is checked using javascript. How … | |
Hi, I am developing an ASP .NET website that needs to create images using a custom font. Obviously, to do this, I need the font installed on the web server. As I am using a hosting site, and I have no direct access to the server the site will be … | |
hi im doing a project for my class and cant figure out how to code some of it. for the main .cpp file heres the code: [CODE]#include <stdafx.h> #include "derivedClass.h" #include <iostream> #include <string> using namespace std; string firstName=""; string lastName=""; int num; void getName() { cout << "\nEnter employee's … | |
Write a new program called paginate.cc. It should work like this: Usage: paginate [--lines-per-page #] [--columns-per-page #] [--tabstop #] file [...] Required command line parsing: The options may be given in any order, but must all precede the file(s) to be printed. Parsing the argument should simply deposit the associated … | |
The code below is failed to let me input the data twice because im only able to open the text file and read it once. I have included a part of the file. [CODE]#include <iostream> #include <iomanip> #include <fstream> #include <string> #include <vector> #include <sstream> using namespace std; class Record … | |
Hello guyz can anyone help me with counting vowels in a string and validating if the string only contain vowels using function in vb.net | |
I can't find a simple command that does this. If there's no command that does this I'm going to spam python.org until they finally agree to put this in the next version of python. | |
I'm writing code in python for a tic tac toe game. I have ran into a problem. can any one help me out. thanks # TIC TAC TOE # Started: 10/19/09 # Ended: still in progress #GLOBAL CONSTANTS X = "X" O = "O" Empty = " " TIE = … | |
I have several classes that I use in almost every one of my projects. [B]What[/B], and [B]How[/B], do I create something so the I can easily access them? I'm use NetBeans for my IDE. Thanks.. | |
This is my now finished code: [CODE]// ********************************************************** // Count.java // // This program reads in strings (phrases) and counts the // number of blank characters and certain other letters // in the phrase and quits upon the user entering the phrase "quit". // Modified by: Chad Watkins // ********************************************************** … | |
I've got a book for python 2. in school and the problem is that we're programming in 3. which makes it difficult from time to time to get it right, cause you cant just copy the text in the book to the shell. I'm stuck with this ex: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # … | |
only scanners, strings, for loops, while loops, and if/else statements are allowed. 1. main method. In the main program declare a Scanner variable that is hooked up to System.in. You need to include the line of code import java.util.*; at the top of your program. Pass the Scanner object you … | |
Am trying to read a date that i have stored in a database table and then parse it to a date object of the Date class using a servlet, but it returns null for the converted date.Where am i going wrong?Some advice on how to sort that out would be … | |
Hi, could someone please help me, i'm in great need of some advice. I have a sorta simple scenario from which i gotta build a database from, can someone please shed some light on the matter, no matter how small your input is. thanks The database must allow for clients … | |
i m going to make something like [url]www.respectance.com[/url] pic gallery with read more content..!!! uptil now i use hard code for my pages..!!! this time i thought i should give a try on some framework..!!!! So can anyone guide me which framework is good for such type of site Which … | |
Hello, I am trying to populate data from an xml file when a certain catergory from the dropdown menu is selected. The dropdown menu is also populated from a xml source different from the one where the data is stored that needs to be pulled. so when a category is … | |
Hi Folks, I was wondering if anyone knows how to create a pop up window like this page: [url]http://www.allhealthcarejobs.com/aspx/JobPostingView.aspx?ja=indeed&code=K14&jobid=600694&=indeedOrg&utm_source=Indeed&utm_medium=organic&utm_campaign=Indeed[/url] You will notice that after loading the page for 2 seconds, a pop up window appears that asks for the visitor's email id. Does anyone know how to create this kind … | |
How can i develop my logic to develop any software? i am study well but then also can not did it properly. You have any solution about that. how can develop software using C#,java ,etc other. |
The End.