199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Ghost34

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

Member Avatar for debasisdas
0
104
Member Avatar for Israelsimba

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 …

Member Avatar for debasisdas
0
113
Member Avatar for culbysl

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, '[', …

Member Avatar for debasisdas
0
3K
Member Avatar for boydale1

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 …

Member Avatar for yellowSnow
0
195
Member Avatar for Eriku

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 …

Member Avatar for Eriku
0
150
Member Avatar for bludeath

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 …

Member Avatar for Geekitygeek
0
111
Member Avatar for venkat arun

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 …

Member Avatar for Nick Evan
0
131
Member Avatar for Samyx

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 …

Member Avatar for Jocamps
0
146
Member Avatar for Derice

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 …

Member Avatar for javaAddict
0
123
Member Avatar for Psybear

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 …

Member Avatar for m.asfak
0
91
Member Avatar for thebluestar

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 …

Member Avatar for poojamakhija
0
89
Member Avatar for Toila

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 …

Member Avatar for Nick Evan
0
182
Member Avatar for orium

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 …

Member Avatar for maverick420
0
1K
Member Avatar for Dheeraj Kumar

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 …

Member Avatar for saeedabu
0
140
Member Avatar for enkay13

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 …

Member Avatar for Sky Diploma
0
99
Member Avatar for navthekings
Member Avatar for navthekings
0
38
Member Avatar for hemgoyal_1990

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 …

Member Avatar for hemgoyal_1990
0
117
Member Avatar for CurtisEClark

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 …

Member Avatar for CurtisEClark
0
138
Member Avatar for lrh9

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 …

Member Avatar for lrh9
0
379
Member Avatar for cwarn23

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 …

Member Avatar for somedude3488
0
101
Member Avatar for kilermage

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 …

Member Avatar for ~s.o.s~
0
118
Member Avatar for Nicholas_Roge

Would someone mind helping learn how to multi-thread? I know this is asking alot, so I apologize in advance.

Member Avatar for dkalita
0
77
Member Avatar for chengeto

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 …

Member Avatar for ~s.o.s~
0
166
Member Avatar for Doughnuts

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 …

Member Avatar for Doughnuts
0
119
Member Avatar for Jayakrishnan_gk

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;

Member Avatar for Jayakrishnan_gk
0
154
Member Avatar for ZER09

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.

Member Avatar for .11
0
80
Member Avatar for vaati

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 …

Member Avatar for VernonDozier
0
347
Member Avatar for kcasmir

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 …

Member Avatar for ImMoRtAl-
0
210
Member Avatar for neomatrix2

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 …

Member Avatar for Dhaneshnm
0
276
Member Avatar for program900

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 …

Member Avatar for Ancient Dragon
0
89
Member Avatar for danang

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 …

Member Avatar for danang
0
172
Member Avatar for nixx

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 :) …

Member Avatar for nixx
0
197
Member Avatar for lcyew

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 …

Member Avatar for lcyew
0
123
Member Avatar for drspock

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 …

Member Avatar for sknake
0
600
Member Avatar for khimura

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 …

Member Avatar for Ancient Dragon
0
115
Member Avatar for Dewey1040

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 …

Member Avatar for Dewey1040
0
215
Member Avatar for Toila

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 …

Member Avatar for Ancient Dragon
0
112
Member Avatar for five01

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

Member Avatar for TomW
0
99
Member Avatar for AutoPython

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.

Member Avatar for bumsfeld
0
171
Member Avatar for xaeubanks

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 = …

Member Avatar for bumsfeld
0
136
Member Avatar for bruceaj

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..

Member Avatar for quuba
0
319
Member Avatar for Chad W

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 // ********************************************************** …

Member Avatar for Grn Xtrm
0
153
Member Avatar for simpatar

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: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # …

Member Avatar for bumsfeld
0
272
Member Avatar for lilspeed500

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 …

Member Avatar for Grn Xtrm
0
149
Member Avatar for timon_zed

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 …

Member Avatar for peter_budo
0
101
Member Avatar for mikhail96

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 …

Member Avatar for mikhail96
0
129
Member Avatar for sam023

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 …

Member Avatar for O71v13r
0
121
Member Avatar for CssQueen

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 …

Member Avatar for CssQueen
0
110
Member Avatar for Spidey007

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 …

Member Avatar for Spidey007
0
147
Member Avatar for mayurjadhav

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.

Member Avatar for quuba
0
98

The End.