199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Akill10

Can't believe it has gotten to this. I cannot for the life of me figure out what is messing up my desired outcome. Here is the story: I have a small GUI program for a sports club. I have 3 list boxes, 1 for each U10's,U12's and U14 children. I …

Member Avatar for mKorbel
0
325
Member Avatar for andrewliu

Hello. I'm still in the learning process. I'm trying to figure out how this works. I'm trying to change the background and color of the text on hover and make it click able. When it is clickable, I would like the background to change on active, and then when you …

Member Avatar for andrewliu
0
342
Member Avatar for FBG

Hi, On my website I have a lot of folders with lists of article links. I want to display the number of links in these lists on the folders people select, so they know how much articles are inside a folder and where to search. I've looked for help creating …

Member Avatar for FBG
0
110
Member Avatar for mrhankey

hi, i have a client request which i am unsure how to achieve. i need to be able to search the mysql database for the closest post code to a person who enters in their post code. so for example a user types in post code nn1 1ne and the …

Member Avatar for mrhankey
0
159
Member Avatar for johmolan

I have a method where I am making a trial period. When the date has exceded its trialperiod the program will not close. The code looks like this: [CODE] Public Sub DemoRestrict() If My.Settings.dteStartDate = Nothing Then My.Settings.dteStartDate = Now End If If My.Settings.intTime = Nothing Then My.Settings.intTime = intTime …

Member Avatar for AnooooPower
0
142
Member Avatar for beejay321

first off i apologize for my ignorance but i cant seem to find a clear answer to this question, if i have a function with variables in it, do those variables reset every time i call the function for example if i write code to build a game and then …

Member Avatar for sfuo
0
140
Member Avatar for gaboo

Hi, I am fairly new to XML and XSL. I tried reading through a few online tutorials, but have been unable to figure out the best way to transform my xml correctly. Below is a part of my sample XML: [CODE] <row> <row_element column="0" property_name="EventTypeName">Start</row_element> <row_element column="1" property_name="ObjectName">Process001</row_element> <row_element column="2" …

Member Avatar for iceandrews
0
144
Member Avatar for Jessurider

hi can anyone tell me how to bring the WebCamCapture in visual basic 2008 .......the attached project is one i got from internet............in that WebCamCapture is something which i cant find also i cant bring that into a new project

Member Avatar for Ezzaral
0
85
Member Avatar for triumphost

Basically If the user does not enter a string or character or press any keys after a certain length of time, program will goto or ask again.. or do whatever.. Problem: Not allowing the user to enter input.. Note accepting user input.. [CODE] #include <windows.h> #include <stdio.h> #include <iostream> using …

Member Avatar for Dingbats
0
2K
Member Avatar for aldusforte

Hi all. I am new as can be to programming. I always heard a good way to learn to write was to find a project that I am interested in and start from there. So my ideal goal is to write a script that cleans up my downloads folder, ie …

Member Avatar for aldusforte
0
392
Member Avatar for kandarpa

Hi there, I want to get the process name from the process id (pid) in C/C++ program. Please help me. I am using linux machine.

Member Avatar for triumphost
0
11K
Member Avatar for kardklub

I have an online orders database which prints fpdfs for delivery notes and off hire notes. I have looked into digital signitures on fpdf but have not found anything useful. Would it be possible to use a very simple paint program on the web inserted in your orders page where …

Member Avatar for kardklub
0
109
Member Avatar for jream1

Please help me solve this problem, just started c++ and I am lost, this my 1st computer class, please help Write an interactive program that prompts the user for two integers (X and Y) and a value Option) indicating an option. Depending on the value of the option, the program …

Member Avatar for jonsca
0
175
Member Avatar for epicrevolt

Alright, so I am working on this new site and for the registration, I am using a template I have used plenty of times in the past. Now, this one snippet I am showing you will check if the username is either too short or too long, or if the …

Member Avatar for epicrevolt
0
198
Member Avatar for triumphost

Hi everyone, I made a program that will check if a process is running.. it is supposed to detect if a process is running and start a timer. If the process has been ended, the timer is paused.. when the process is restarted, the timer continues from where it last …

Member Avatar for triumphost
0
176
Member Avatar for joshyxux

<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?> <!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" xml:lang="en" lang="en"> <head> <title>age.php</title> </head> <body> <?php require_once( 'output_functions.php' ); function connect_to_database( $host, $user, $password, $dbname ) { // Try to connect to database $dbconnection = mysql_connect('......', '...', '.....'); if ( ! $dbconnection ) …

Member Avatar for Agarsia
0
161
Member Avatar for silverpanda

I need to input 3 full names separated by commas Full Name 1: John, Smith, Flynn Full Name 2: Walter, Kennedy, Roberts Full Name 3: Sam, Bass, Clinton Then output it like this First Name 1: John First Name 2: Walter First Name 3: Sam Middle Name 1: Smith Middle …

Member Avatar for jonsca
0
388
Member Avatar for vt123

Here is an excerpt of my input xml. I need to create an exact copy of this xml with only one change – the value of the element <FinancialNumber> should be formatted as a string of 5 characters – for example, in this case 1 should be replaced with “00001”. …

Member Avatar for vt123
0
192
Member Avatar for feoperro

Hi, If I have a home.php file and I want to store it into a $_SESSION like $_SESSION['home'] = home.php - how do I do that? I tried using include but it doesn't work... I have to have it in a session because it fits into a bigger portion of …

Member Avatar for feoperro
0
128
Member Avatar for woody0114

Trying to get an outcome that looks like this.. # ?# ??# ?# # What I'm getting is this... # ?# ?#?# compiles ok, but as you can see it places the # after each ? rather than grouping them together, and it neglects to count back down. Don't want …

Member Avatar for woody0114
0
126
Member Avatar for Jessurider

hi can anyone tell me how to bring the [B]WebCamCapture[/B] in visual basic 2008 .......the attached project is one i got from internet............in that [B]WebCamCapture[/B] is something which i cant find also i cant bring that into a new project

Member Avatar for Jessurider
0
230
Member Avatar for yohoprashant

I was trying to build an autocomplete text box in jsp page using Jquery plugin. But i am facing problem. Whenever i was trying to display the list, it is not displaying. When i was requesting for the jsp list page from JQuery Autocomplete, System.out is working, it is giving …

Member Avatar for MIENORCO
0
678
Member Avatar for kutuup

Hey all I have a dynamic array of pointers to instances of a class ("Player"). The constructor for the Player class looks like this: Player::Player(void) { this->leftChild = 0; this->rightChild = 0; srand (time(NULL)); this->id = rand() % 1000; } The dynamic array of pointers looks like this: Tree* PlayerTree …

Member Avatar for mike_2000_17
0
130
Member Avatar for Chellam2

Greetings to all, Wondering if someone can help me with a basic VS C# problem? Help much appreciated. I can read my plain text file into an array and display one line at a time on the console with this code. int indexInt = 0; string fileString = ""; string[] …

Member Avatar for Mitja Bonca
0
351
Member Avatar for Tommymac501

I am trying to replace a fixed field name in an XML file with data. I know that I could do it the proper way using XML tools, but, this is a standard templae file that only needs one item replaced. It seems simpler to just hack a replacment. [CODE] …

Member Avatar for woooee
0
81
Member Avatar for dkaptain

I need to record insert statements, who did them, and when. I am adding triggers to tables and putting the freshly inserted data into a sql_log table. Everything is working well except one thing. I want dates, times, and timestamps to be surrounded by quotes. Just like they would be …

Member Avatar for dkaptain
0
2K
Member Avatar for shushi

Can you help me with this? Our instructor told us that we are going to StringTokenizer and he didn't told what is a StringTokenizer or has not been discussed. Can you add also the comments why that code is all about? Many thanks, Jerick PROG 131 – Computer Programming SPECIAL …

Member Avatar for JamesCherrill
0
186
Member Avatar for yeleek

I have two lists which contain titles and links to interesting pages (trying to write a scraper). Where I'm falling down is on the actual printing. [CODE]for i in var1: print i for a in var2: print a[/CODE] Prints all of list 1 and then all of list 2. If …

Member Avatar for yeleek
0
101
Member Avatar for ajinkya112

Hey guys, I have two forms, form1 and form2. My form1 has a combo box and a button. Here's form1 code. [COLOR="Red"][B]Form1[/B][/COLOR] [CODE] public partial class Form1 : Form { bool s; public Form1() { InitializeComponent(); s1 = comboBox1.Text; } private void Form1_Load(object sender, EventArgs e) { } public string …

Member Avatar for Mitja Bonca
0
128
Member Avatar for shawtyred74

Can someone please help me....I am new to php and I am having trouble with redirecting back to my loginpage with an error message showinf at the top of the loginpage when the wrong user name and password is entered that will say that the user is invalid...here is my …

Member Avatar for yoge911
0
235
Member Avatar for DKDeath

Hello again! Another noobish question :) Can PHP be ran in MFC? Can i add it right in teh html file or convert it over to php? or do i include it in html? do i create a box in c++ tat connects to the php page? or do i …

Member Avatar for DKDeath
0
397
Member Avatar for samreen36

hello friends i am new in c# i am started learning it from 2 days ago.bt now my teachrs say that everyone should make mini project in c# widow base. i have no ideas abt it can u give me suggestions about it plzzzzzzzzzzzzzzzzzz

Member Avatar for Mitja Bonca
0
117
Member Avatar for jenni87

Hi, Iam sending email campaigns to our customers through our SMTP Server. Is there a way to directly remove the email addresses of the users to whom the email has been bounced directly from the recipient list database. Is there a software that could do this. Or can it be …

Member Avatar for chrishea
0
83
Member Avatar for ProfPickles

Hello I'm creating a simple Pizza website with online ordering capabilities. Since it's a simple site it doesn't require an extensive database which is why I'm using XML to store all my menu items. I'm new to PHP and XML so this site is part of a learning experience So …

Member Avatar for ProfPickles
0
227
Member Avatar for java beans

Im trying to to create a simple 4 function calculator using a jump table without switch case or if/else statements. I understand I can create the jump table via function pointers but I am kindda blanking out. I've started with the addition and subtraction part of the program but am …

Member Avatar for JamesCherrill
0
418
Member Avatar for ac20734

I need help figuring out how to write a program with recursive functions in order to identify the path to a given maze. The maze is read in from a file and then when the path is found the maze is printed with the path shown. The read in maze …

Member Avatar for gerard4143
0
158
Member Avatar for chintan_1671

I am facing a small problem. Something i might have mis understood. If u see the code without using a function if i print the message then i am getting proper output. But after i create Error function and print message from main function it is creating some problem. I …

Member Avatar for chintan_1671
0
217
Member Avatar for AngelicOne

I have a datagridview and a status strip on my form. When I click a row or cell, the label from the status strip should change according to it's row number. My datagridview is being generated at run time by a dataset.

Member Avatar for Mitja Bonca
0
803
Member Avatar for Dec28

Not sure why my comparisons aren't working between my input (text) and my several char arrays. I'm trying to get the user's input to terminate certain functions as you'll see below. I realise it's not the most efficient code but if there's anything obvious I'm missing please let me know. …

Member Avatar for Narue
0
212
Member Avatar for Transcendent

I got my hands on the Accelerated C++ book and I'm trying to work the exercises. I want to see the solutions to see if I'm right and see how they did it and how i did it.

Member Avatar for arkoenig
0
1K
Member Avatar for anthonyjpv

I created a console program in jcreator (java) which asks the user to enter a number in string and converts that string value into char array and then converts each char array into an integer which I also stored each as an array and then adds all the value from …

Member Avatar for anthonyjpv
0
163
Member Avatar for stephy1

This is my code. [CODE] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Registration Page</title> </head> <body background= "bg8.jpg" width="1000" height="1000" alt="work1"> <form action="clientlogin.jsp"><table> <tr> <td> Company Name</td><td> <input type="text" name="cname" value="" /></td> </tr> <tr> <td> Password </td><td><input type="password" name="pwd" value="" /></td> </tr> <tr> <td>Location of company </td><td><input type="text" name="location" value="" /></td></tr> …

Member Avatar for ~s.o.s~
0
146
Member Avatar for GreaseJunkie

Hi everyone, I have a project I'm working on where I am collecting data for a client on a form I host. They use "MailApe" (you know who I'm talking about), who aren't a very helpful group of monkeys. I need to collect the data to my db from my …

Member Avatar for GreaseJunkie
0
225
Member Avatar for DKDeath

Hello! I'm a beginner in the worl of C++. I'm building a program that acts as a launcher for a game. In it I have Start and Exit button. What I want the Start button to do is start an .exe with extra conditions: IP and Port. [CODE] if (nResponse …

Member Avatar for DKDeath
0
898
Member Avatar for donaldw

I'm using the function CInternetSession::OpenURL in a "try" to open a webpage (a servelet which returns XML). The servelet take a little while to respond sometimes (around 13-15 seconds in a web browser). When it's slow like this, the code catches a CInternetException. Is there a way to see what …

Member Avatar for donaldw
0
416
Member Avatar for emaduddeen

Hi Everyone, Can you tell me how to fix my query so I can determine if an amount entered into a textbox is < the largest number in a database table? Here is some sample data: [CODE] CategoryNumber ---------------- 10 20 30 40 50 [/CODE] If the user enters 35 …

Member Avatar for emaduddeen
0
96
Member Avatar for Utsav Chokshi

Question:Write a program which prints " Testing C Skills" without no use of semicolon. I have found one answer : [CODE]1. #include <stdio.h> 2. void main() 3.{ 4. if(printf("Testing C Skills")) 5. {} 6.}[/CODE]

Member Avatar for rajeevpareek
0
93
Member Avatar for grebote

So I've only been programming for a few weeks, and I thought that I'd learn how to program by converting a rather complicated baseball board game to a program. I'm writing a preliminary program that stores player information from a card into a random access file. My Struct holds the …

Member Avatar for grebote
0
222
Member Avatar for trebor-pl

Hi, I am writing a program that allows to keep track of some racing records and to do this I need to be able to save objects on a external file and then load them with next startup of the program. As I am just a beginner I need your …

Member Avatar for trebor-pl
0
1K
Member Avatar for sciprog1

Hello Members, I am trying to solve the following problem using threads: Thread_1 outputs values from 1 to 1000. Thread_1 waits. Thread_2 outputs values from 1 to 1000. Thread_2 now waits. Thread_1 outputs values from 1000 to 2000. Thread_1 is done. Thread_2 outputs values from 1000 to 2000. Thread_1 exits …

Member Avatar for sciprog1
0
96

The End.