Alright, I know I asked about collections before, but I am still confused about them. I am trying to plot a circle using collections, and then, remove just that same circle. I'm sorry if it's vague. :o
I have a application where each time you click the add ball button a new randomly colored ball is added to the jpanel. It works fine except that the balls suddenly stop at the same spot. I want them to continue to bounce for a longer period of time instead of like 8 bounces. I cannot seem to fig...
I can convert a character array as an integer with the function atoiBut how can I convert a string as an integer?I know that this code will not work. But can any one give a suggestion to run this code with out changing the type of mVar- variable.#include <string>#include <stdlib.h>...
599 byte By
penagate at 2007-12-5 11:58:34
Apache seem to have removed the link to their binaries from the regular download page.Here's how you can find the right binaries for your platform.Step 1.Find a mirror: http://apache.org/mirrors/Step 2.Navigate to the binaries directory by appending httpd/binaries/ to the URL.For example:htt...
Segments : I cannot get this concept :cry: CS, the code segment registerDS, the data segment registerES, an extra segment registerFS, another extra segment register GS, yet another extra segment registerSS, the stack segment registerDoes any one have good refrence [or can some one explain] ?? --...
Hello AllI am making a file uploader, I have noticed my script will not upload the file when over a certain size, I have tried to use ini_set to set some settings to increase the maximum file size upload allowed, but I have read that because the ini_set will be within the same iteration of the u...
Program is to check the users input for social security number. Need to make sure it is all digits, no letters, and need to be nine digits long. My problem is when checking the length of the ssn it turns into an infinite loop. Is there a different way to check the user input?WHERE ITS CALLED IN...
Is it possible, and allowed, to use and modify values and things through regedit in an app?
hi I need one explain to me this c++ code it clinte code send query to server as xml and reseve responce as xml the point that not clear to me how extracting data ******************************************#include <windows.h>#include <winsock.h>#include <iostream>using namespac...
672 byte By
tonyrueb at 2007-12-5 11:57:14
i am writing a C++ program to compute if a number is prime or not. i basically have a for loop set up. it tests all the numbers from 2 to the number specified by the user. it can take a little while but thats ok (i'm not worried about speed) however i can get an overflow error. i type in a...
Hello!Heres what I want, I have files on my server, for example 1.exe, 2.zip.Through a PHP script I want to allow the user to download then but under a new name, for example 1.exe will be called Setup.exe and 2.zip would be Music.zip.I want this to go through a PHP script to incrmement a downloa...
403 byte By
rasana at 2007-12-5 11:55:30
Hi All,I don't know whether this is right section of vbforums to post this question or not. But anyone knows about cms installation?I've gone through joomla installation guide pages..but all are explaining how to install joomla on ftp.but if I want to install joomla(CMS) on my home pc...
I'm curious about what effect changing our site from www.studypath.cn, to www.studypath.com.cn, will have on search engine rankings?Can anyone give me some tips/advices/things to watch out for/ things one should do when making such change?Any advice will be welcome, as I never had the need...
I want to toggle two elements making one display none and the other display block. And by clicking again switch the displays: <script type="text/javascript" language="javascript1.3"> function toggle(id){ regid = "regid_" + id; img = "img_" + id; forumid = "forumid_" + id; di...
I'm replacing the following script which is blocked /**/ with the one unblocked:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns=" http://www.w3.org/1999/xhtml"> <head> <title>JavaScript Slideshow...
417 byte By
Static at 2007-12-5 11:53:48
Anyone know SAS??I am trying to do a PROC SQL from a file... can this be done?PROC SQL; CREATE TABLE TBS AS SELECT * FROM '/home/xxxxx/xxxxx/tbsanis' WHERE X=1 AND Y=2;QUIT;instead of first having to do a data stepDATA tbs_tmp;SET '/home/xxxxx/xxxxx/tbsanis'RUN;then do...
999 byte By
brin351 at 2007-12-5 11:52:37
I guess this is the age old (in computer years) question but here goes - IS there an easy way, website, program/s, method to see how a website will appear in all browsers..... For instance building in xhtml and css I know IE 5 will have problems maybe drastic IE 4 forget it. Then there are the n...
I made this Replace function -- Speed is the first priority in this case -- So can can some one suggest any suggestions -- I also think that the one I made Is just wrong [edit: It works prefect thou]- thx for your future helpchar ostr[] = {""};char* _replace(char* source_str,char* search_str,cha...
163 byte By
fims at 2007-12-5 11:50:44
i want to prepare a machine having Apache server, php and MySQL database. anyone guide me abt process which one should be installed first and which one later on...
Hi,I have an rss feed from http://www.thisismoney.co.uk/xml/page-rss.xml?in_page_id=6 and use the following xsl file:<?xml version="1.0" encoding="utf-8"?><!-- Edited by Lee Sykes DNN Creative Magazine http://www.dnncreative.com --><xsl:stylesheet version="1.0" xmlns:xsl=" http://w...
Hi,Is it possible to carry an Array() with Session from one page to another ? Please show me how ? Otherwise, is there any alternative of this situation ?As we do in vb, in module section we declared the array and use it from different forms. In PHP we use Session instead of module. How to imple...
Hi all,<br/>Is any body know about hashing?<br/>I am a very beginner, and i want to learn the hashing myself, and i have look for many site, but there is not much info for me to study. Is there any recommend link or book for me?<br/>Thank Your for reply
Alright, here is a my question. I know how to make a single windowed application, but how would I make a multiple windowed one? I am wondering whether I would put the code for another window in a new c++ file, and then if that is the case, or however else, how would I open that window?[By the wa...
How would I add items to jComboBox using the code (not the design)I need to pull data from a database then throw it into a jComboBox at runtime. But I dont know how to add items to jComboBox (using netbeans for design).edit: jComboBox1.addItem():Well, that was a hour well spent....
201 byte By
Yoosha at 2007-12-5 11:48:28
Hi friends,<br/>im looking to know if its possible to change the avatar that is on Yahoo! Messenger to some specified avatar.<br/>if its possible, Plz help me to do this.<br/>Tnx, regards :).
Hi all,<br/>For a long time I'm really worried about this. Is it done on server side programing, or can I do it using simple HTML/CSS.<br/>For clarification I've attached an image here.
Hi,I have a problem. In the following code I would like to randomize 5 questions out of 10 and display it one by one by clicking 'Next' button. In addition, I like to see the previous question by clicking 'Back' button.Problem is: questions are not coming properly when I tog...
2061 byte By
Shodan at 2007-12-5 11:47:25
I have Hamlet in XML. I'm to write a stylesheet. I'm stuck on the <persona> tag. Any help would be greatly appreciated. The "apply-template" doesn't seem to iterate through the <persona> tag and I can't get the for-each loop to work.<XML><?xml version...
603 byte By
lintz at 2007-12-5 11:47:19
I've got some JS to validate a form but part of the validation is to check which form items are to be checked and which ones ignored. I pass the items to be ignored (HideItems) which are seperated by a comma (,) but when I attempt to split them into an array I get a JS error saying "s.spli...
i got 3 .pl files coming over from html file..and everything working fine except it the 3rd pl file won't display the info i need it to..its basically a dice game (called crap lol) & the 3rd pl file is suppose to print out the # of wins, losses & the persons name when you hit the end button...
/**************************************************************************************************** File name :lab11_driver.cpp** This program is going to take two strings (one using the c-strin class and one using a string class* and compare the two outputing if equal, larger and so...
8212 byte By
omarali at 2007-12-5 11:45:38
Hi everyonecould anyone please tell me why I get notFound DuplicateException,notFoundException error. Thanks/* * CustomerDA.java * * Created on November 17, 2007, 1:11 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */package project;import...
11390 byte By
billa at 2007-12-5 11:45:34
Hi, Could you pls tell me how to get an email with multiple records form MySQL displayed using php? Suppose, I have 10 fields in a table. and have 25 records. I want to make an email in HTML format which makes query to db and then send s me an email displaying these all 25 records one below the...
481 byte By
Neo-dark at 2007-12-5 11:45:20
hey allI have a form on my website,which 3 variables ontop a script1.) Domainname2.) User3.)PasswordI am trying to pass these variables to the script with a small form.I know it works when I have Globals,when I turn it off it says it didn't get the domainname; Of course this is true because...
384 byte By
Neo-dark at 2007-12-5 11:45:19
I was wondering if there is a way to edit specific parts in a .ini file easily?What I am trying to do is make a list of usernames which are located in a file like:[username]fileattrib=RWpasswd=passwdDir1=/usr/files/I figured I could use include but as far as I know you cannot include only specif...
Hi,I have a problem in javaScript. I like to disable / enable button, checkboxes, drop down menu. I like to do the following,1. Click on 'Select Quiz Option' if it is 'All' then 'Select Level' drop down will be enable and three following buttons will...
I set cookies on one page like thissetcookie("rem", $rem, time()+(3600*24*365)); setcookie("uid", $uid, time()+(3600*24*365)); On that same page I can read cookies without problemsBut In another page I call this function in an included file, and it act like if allthe cookies are empty or not exi...
121 byte By
billa at 2007-12-5 11:44:37
sir,<br/> i need to send the email automatically to my client continusly every a week .<br/>yours regards, <br/>billa
I'm working on a project that reads data from a file for the high, low and month close of a stock by month. Once the data is read I have to graph the the high and low marks for each month. The high and low mark for each month needs to be connected by a line. I was able to code it so that th...
It is said that c is a programming language that can interact with the hardware as it is close to asssembly language. But I have'nt got any examples. Can we eject cd/dvd drive using C code as in Visual basic?
I have searched everywhere and turning up nothing I think my problem is kind of unique.So. I need to send POST data to a multipart form on a HTTPS website. It isn't a file upload form, just two textboxes.I was using Crypt::SSLeay and LWP::Useragent but I'm not going to post any code be...
How would I be able to save the contents of the form itself as a bitmap when some one clicks a menu option? Like open a save dialog and have the person save it as a bitmap. Thanks. :D
241 byte By
GuReiSu at 2007-12-5 11:42:19
is this possible in java applet?<br/>Like for example.. i have two buttons.. when i click the button, the caption of the other button will change? <br/>If this is possible.. can i know what is the command for this one?<br/>thanks so much..;)
I wanted to know of a javascript to access my gmail inbox <br/>please help :)
Hi,<br/>I posted this in the Database Development forum,without much luck.<br/>Chinese Characters in mySQL Table ( http://www.vbforums.com/showthread.php?t=497947)<br/>Hoping someonehere might be able to help.
Can someone tell me what is wrong with this line in a dialog resource of mine?<br/>CTEXT "Some Text\n\r",IDC_STATIC,16,18,144,33
everytime i try to login, i recieve "'The name and password entered do not match those on file."can anybody help fix this please<?phpif (isset($_POST['submitted'])) {require_once ('./mysql_connect.php'); function escape_data ($data){global $dbc; if(ini_get('magic...
65 byte By
mar_zim at 2007-12-5 11:40:26
Guys any idea on how to set the text color of the toolbar button?
Safe way to use a background image in an emailI am attempting to create an 'email merge'.(There are not many Google hits on that expression)User would like the email to be HTML (not plain text).Also he would like his Letterhead included.It goes all the way down the left, and along the...
Why do I get this error message:<br/>`hwnd' undeclared (first use this function) <br/>for this code?<br/>DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_ABOUT), hwnd, AboutDlgProc);<br/>It seems to work fine for other apps I use it in...?