199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bantex07

if i run the program it goes hang here is the code [CODE]Set rs = New ADODB.Recordset With rs .Open "Select * from tblCandidates1", cn, 2, 3 Do While Not .EOF If !Position = Combo1.Text Then Combo1.AddItem !Name ElseIf !Position = Combo2.Text Then Combo2.AddItem !Name ElseIf !Position = Combo3.Text Then …

Member Avatar for BitBlt
0
135
Member Avatar for khentz

on my project, i have a search textbox and also a listview. What I want to do is when a user type in the search textbox, it will automatically list all of possible results in the listview. For example, if I type letter 'a' in the search textbox, it will …

Member Avatar for aishapot
0
90
Member Avatar for spectralbat

Hi guys, I'm in the process of learning PHP. I know the dribs and drabs and can kind of understand code when I read it, but I'm not to the point of being able to write an advanced script from scratch. I've been interested in chatbots and the concept AI …

Member Avatar for Tomy300
0
2K
Member Avatar for Wob

Hi, I'd like to develop an algorithm that would only accept positive real numbers and would loop the input until the input is a real positive number.

Member Avatar for Wob
0
72
Member Avatar for dennysimon

hello all I create a Jpanel ,with TextField For name and password. My question is how to increase My TextField Height,is is veri short ,I need to increase to 300 % of it's now 's height I include partial code below thanks denny [ICODE] JLabel lblnama=new JLabel("NAME"); JLabel lblpassword=new JLabel("PASSWORD"); …

Member Avatar for dennysimon
0
6K
Member Avatar for 007tron

hi all I have the code below, and I am getting this error: The image "http://127.0.0.1/newsite/thumbnailgenerator.php" cannot be displayed because it contains errors. think this should be correct, what could the problem be? please help if you can. thanks :) [CODE] <?php header('Content-type: image/jpg'); function create_thumb_nail($array_image) { if (isset($array_image['image'])){ $image …

Member Avatar for 007tron
0
210
Member Avatar for falconmick

I promice everone that I have looked and looked and looked for a solution, I'm not just having a problem and being lazy putting it on daniweb... haha :) ull have to trust me, ive even googled it :O! Ok, so I am wondering, if I wanted to return a …

Member Avatar for falconmick
0
244
Member Avatar for guggenheim

Hi, I am trying to create a UDP broadcast server so that I can send out data to every computer on our local network for aircraft testing. I can get every component of the system to work except for the broadcast part... As I understand it, if I want to …

Member Avatar for Ben Mehlman
0
732
Member Avatar for Unhnd_Exception

Can someone please explain what the differences are between: Page_PreInit Page_PreLoad Page_PreRend Page_Init Page_Load And if some of these are not raised when doing a httpWebRequest as opposed to going to a web page on a browser. Many Thanks, Unhnd

Member Avatar for kvprajapati
0
69
Member Avatar for emekapa

I've searched around and didn't find anything useful! :( What i want is to have my C# app doing a command to a running process. This running process is a console application and i just need to enter the command "restart".. my try was: [CODE] Process[] processes= Process.GetProcessesByName("OpenSim.32BitLaunch"); foreach (Process …

Member Avatar for Momerath
0
817
Member Avatar for papershop
Member Avatar for hueikar
0
85
Member Avatar for amear

$result = mysql_query("SELECT * FROM rooms"); while($row = mysql_fetch_array($result)) { mysql_query("insert into chat (name,text,date,chat_id) values('$_SESSION[username]','$_POST[text]','$date','$row[id]')"); } can i do that without repeat the mysql_query code?

Member Avatar for amear
0
114
Member Avatar for iamthesgt

In writing a logger for an application, the datestamp ends up adding a new line. The datestamp function is as follows: [CODE]string log_class::get_time() { time_t rawtime; time (&rawtime); string timestamp; timestamp = (ctime (&rawtime)); return timestamp; } [/CODE] This outputs something like [ICODE]Tue Sep 6 14:58:35 2011[/ICODE], but when called …

Member Avatar for NathanOliver
0
810
Member Avatar for lxXTaCoXxl

I'm trying to create a console application that will write an entire paragraph one letter at a time (on a timer for instance) without creating a new line everytime. My problem is that I can't figure out how to do it without if and else if statements. I thought about …

Member Avatar for lxXTaCoXxl
0
101
Member Avatar for valestrom

Hopefully my last question for awhile, I wrote a piece of code like this before, but now I get the error: error C2064: term does not evaluate to a function taking 2 arguments Here is my code: [CODE]#pragma once namespace ValestromsCalculator { using namespace System; using namespace System::ComponentModel; using namespace …

Member Avatar for valestrom
0
205
Member Avatar for jonsan32

Trying to use a <body id=""> tag to simulate a hover event on any given image of my navbar. Is it possible? Could a "swap image" script work? I'm willing to place the images in an "li,ul" list if need be. Any advice on this or any other aspect of …

Member Avatar for jonsan32
0
263
Member Avatar for TrustyTony

By coding algorithm and using some liberal prints with small set of data, you can learn to understand the basic algorithms better than just reading about them. Here simple selection sort.

Member Avatar for TrustyTony
0
218
Member Avatar for ace3df

I posted this in PHP but I was wrong. Am new in web making sooooo. :D Here is the code: [code=php] <form name="form" id="form"> <div align="center"> <select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)"> <option value="#" selected="selected">Episode List</option> <option value="episode001.php">Episode 01</option> <option value="episode002.php">Episode 02</option> <option value="episode003.php">Episode 03</option> <option value="episode004.php">Episode 04</option> <option value="episode005.php">Episode 05</option> <option …

Member Avatar for AleMonteiro
0
242
Member Avatar for Sorcher

It outputs blank for some reason, here is my current code. [CODE]<table> <?php $puserid = $anothervalue; echo public_Images($puserid); ?> </table>[/CODE] [CODE]function public_Images($puserid){ $sql = "SELECT * FROM `ue-userfile` WHERE userid = '$puserid' AND albumname ='Public' ORDER BY date DESC"; $result = mysql_query($sql); $count = 0; while($row = mysql_fetch_array($result)){ if ($count …

Member Avatar for Sorcher
0
89
Member Avatar for rooneey10

I am creating an Interactive map which displays the facilities when the user clicks on the Checkbox, such as toilets. It will display all the toilet locations via PictureBoxes. I want to do this without having to write all this code? [CODE]Private Sub chkCash_CheckedChanged(ByVal sender As System.Object, ByVal e As …

Member Avatar for Unhnd_Exception
0
721
Member Avatar for DrShroom

I am having some issues with my project. This is homework and I am not looking for answers, just some help. I am to create a RationalNumber class that takes two rational numbers (fractions), reduces them, and I am then supposed to use overloaded operators to add, subtract, multiply, and …

Member Avatar for DrShroom
0
284
Member Avatar for mohitj786

[CODE]import java.util.Scanner; class M6 //Main Method { public static void main(String args[]) //Index of Largest Number method { int a[]; int i; a= new int[10]; System.out.print("Enter any 10 numbers:"); Scanner s = new Scanner(System.in); a[0]=s.nextInt(); a[1]=s.nextInt(); a[2]=s.nextInt(); a[3]=s.nextInt(); a[4]=s.nextInt(); a[5]=s.nextInt(); a[6]=s.nextInt(); a[7]=s.nextInt(); a[8]=s.nextInt(); a[9]=s.nextInt(); System.out.println("The 10 no.'s you have entered …

Member Avatar for imyself
0
150
Member Avatar for hackerjackie
Member Avatar for Reverend Jim
0
83
Member Avatar for pfm200586

Hello everyone. I have a program that is driving me crazy. It is a cashier change return where the user enter the amount owed and the amount paid and when he/she press calculate the program should display the change due as well as the number of Dollars, Quarters, Dimes, Nickels, …

Member Avatar for Reverend Jim
0
398
Member Avatar for agmolina90

Ok, I have no idea how to use a class I created its probably really simple but I still cant figure it out Person employee = new Employee("Tom Jones", "777 B Street", "408-888-9999", "tj@xyz.com", "Room 221", "$30450", [COLOR="Red"](2, 8, 1987)[/COLOR]); I am trying to use this with this class I …

Member Avatar for agmolina90
0
310
Member Avatar for addision

Please help. I have an assignment for a class and I have been working on this for a week. Nearly all of it I finished in two days but I have been stuck with this problem for 5 days now. I am using MS VC++. I am having quite a …

Member Avatar for Greywolf333
0
264
Member Avatar for dougancil

I have a web page in which there is a textbox that asks my users to enter a start date. What I'm trying to do from there is that no matter what the end date is, my page will calculated that from the text box, store it as a variable …

Member Avatar for cvplay
0
123
Member Avatar for jlharri9

I am an absolute newbie to C++. I have an ATM program problem where I need to keep a running total of transactions and the balance of the checking account. I cannot think of how to set an accumulator for the transactions or how to keep a running total of …

Member Avatar for raptr_dflo
0
197
Member Avatar for AngieS

Ok, I feel like I'm so close, but could use some help. I am trying to retrieve data from mySQL database via use of a form with checkboxes. This form is working somewhat except that it is only pulling one selection, not all that are selected. Can someone look at …

Member Avatar for diafol
0
112
Member Avatar for AbhishekBiswal

But the problem is: There a File names "includes" which includes the php files which have been included in some of the php files outside of it. But I want to lock/ make it inaccessible for users. Is it possible that the users can't access the folder/directory but the php …

Member Avatar for cereal
0
3K
Member Avatar for hackerjackie
Member Avatar for Reverend Jim
0
117
Member Avatar for zifina

i have few xml files in my project.i used "advanced installer" software to create exe setup files.i have included the xml files in PROJECT->BIN->RELEASE ->RESOURCES folder. after installing the project setup,when i run the project, i am able to view the xml file details ,but i cannot add new content …

Member Avatar for zifina
0
181
Member Avatar for Cap'nKirk

Hi, I have a app that at startup shows a particular label i.e. [B][COLOR="Red"]Ready...[/COLOR][/B] then when the user hit a download button it changes the label to:- [B][COLOR="Red"]Contacting Server...[/COLOR][/B] By using 'Threading' I have also added an update progress which updates the label with percentage and also updates a progressbar. …

Member Avatar for Cap'nKirk
0
216
Member Avatar for autorunman22

im currently programming a simple space invaders.. i have the aliens, missiles and the player.. all of them are working smoothly, but say those aliens are landed into the earth, when missiles hit the stones (for example) the stone must hava a damage. like in "GUN-BOUND" by mobius. can anyone …

Member Avatar for Ezzaral
0
101
Member Avatar for no1uknow

Has anyone found a good way to create powerpoint files on the fly. I'd like to go straight from PHP but creating from an HTML or XML doc is fine too... Also I'm totally Linux so COM Objects on Windows is out... thanks for any help...

Member Avatar for chrishea
0
3K
Member Avatar for kevin wood

this code will delete all the files from a directory on the server. be careful when using this as it will delete everything in the directory so use it wisely or make sure you have backups if it is implemented on the wrong directory. it works by searching for all …

Member Avatar for smithdp1
0
245
Member Avatar for voidyman

Hi, I want to ftp a file to a location and then kickstart a process there to work on the file. I tried using !rexec but it does not seem to be working too well. I am not using the .netrc file(if that helps you understand my problems better) Thanks …

Member Avatar for voidyman
0
104
Member Avatar for fruitymo

Hello, does anyone know how to unwrap an Object? for example z and y are of type Element and 5 is a primitive double. I can write an operator+ function to add the two object together ie (z+y) but I don't knw what to do to add 5+z, Z is …

Member Avatar for fruitymo
0
197
Member Avatar for dappe

Hey, I just started programming but im stuck. so lets say I have a wordlist with words containing 2-12 letters and I want to remove all words containing less than 3 letters or more than 7 letters. How would i do that? Another problem I have is, I want to …

Member Avatar for TrustyTony
0
8K
Member Avatar for denvious

Hello All, I'm currently having an issue trying to retrieve elements that have been saved within my arraylist. I currently have two classes, Project and Staff. In the Project class, i have declared an ArrayList of type [i]staff[/i], as seen below: [CODE]public static ArrayList<Staff> staff = new ArrayList<Staff>();[/CODE] In the …

Member Avatar for denvious
0
9K
Member Avatar for chandnigandhi

how to use video files in c#???in which format we can use video files in c#???which control we can use for video files in c#???

Member Avatar for shrutipopat
0
2K
Member Avatar for Chuckleluck

So I want to make a text-based game that has different maps, displayed in ASCII art-style. I've been tinkering with fstream, and I wrote up this code: [CODE]#include <iostream> using namespace std; #include <fstream> int main() { ifstream indata; int i; int j; int k; char grid[9][9]; char letter; indata.open("grid.txt"); …

Member Avatar for Chuckleluck
0
607
Member Avatar for Cap'nKirk

Hi, just started today with trying to implement a Thread in my application and have come across a problem that I can't seem to figure out. The application asks the user to enter their userid into a TextBox on the main form which is used to download a specific XML …

Member Avatar for Cap'nKirk
0
236
Member Avatar for akhilchandranms

[CODE]#include<stdio.h> #include<conio.h> void main() { int x=01234; printf("%d",x); }[/CODE] the above c code will produce output 668(value of x) why?

Member Avatar for cse.avinash
0
102
Member Avatar for zachattack05

Any idea how to determine if the vertical scroll bar is active in a multiline textbox? Active as in, the user can click the arrows and the text is long enough to scroll. Similiar to being enabled/disabled? I'm trying to have a mouse event so when the user moves their …

Member Avatar for zachattack05
0
1K
Member Avatar for Cainer

Hi, I found a problem with operator overloading. Consider following class: [CODE]class Number { public: int value; int operator +(int v) { return value + v; } }; Number n; n.value = 5; [/CODE] Now, n+5 successfuly returns 10, but 5+n gives error [QUOTE]error C2677: binary '+' : no global …

Member Avatar for gerard4143
0
235
Member Avatar for harsimran05

i have taken two fields date of issue and date of maturity like this [CODE]try { tDateofIssue=new JFormattedTextField(new MaskFormatter("##-##-####")); tDateofIssue.setBounds(200,130,125,30); c.add(tDateofIssue); } catch (Exception ex) { ex.printStackTrace(); } try { tDateofMaturity=new JFormattedTextField(new MaskFormatter("##-##-####")); tDateofMaturity.setBounds(200,400,125,30); c.add(tDateofMaturity); tDateofMaturity.addFocusListener(this); } catch (Exception ex) { ex.printStackTrace(); }[/CODE] and taken both the field of date/time …

Member Avatar for JeoSaurus
0
97
Member Avatar for Reverend Jim

I wrote this 3D Breakout game as a sample project to learn both Python and the visual module, vPython. It is based on a similar game I had on my Amiga back in the 80s. I don't expect that my Python is either standard or as elegant as it could …

Member Avatar for Reverend Jim
0
499
Member Avatar for king_saqib

hi to all geniuses i have created a webbrowser but how can i copy any text foem a website and how can i save the passwords can anyone heip me please help me in this project

Member Avatar for SpiritualMadMan
0
115
Member Avatar for king_saqib

The End.