199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for slrobinson1983

hello all. i have this code... [CODE]@mkdir("C:\wamp\www\uma\member media\member tracks'$memberid'") or die(mysql_error());[/CODE] ... it works but the folder it makes is in single quotes. i'd like to have the folder it makes have no quotes at all. its creating 'FOLDER' when i just want it to read FOLDER. i've tried... [CODE]@mkdir("C:\wamp\www\uma\member …

Member Avatar for Javvy
0
79
Member Avatar for blacklocist

Hi, I am importing data from excel (don't know yet I am going to do that) and export it back into excel. I don't want to have users to import data using excel (due to lack of intelligence) and also it would be faster and more streamline. I already had …

Member Avatar for ivy3
0
218
Member Avatar for puneetkay

Greetings, Hmm, Im not sure Is this the right place to ask this question, Well If im wrong please correct me. Im working in a company as Java programmer that also provide professional training for Java and two of my trainees have created "Stick Snake" and "Snake and ladders" game …

Member Avatar for Dawenlomo
0
1K
Member Avatar for blee93

Hi, I began file I/O and I did exactly what it said in the book I was using and it doesn't seem to work for some reason. Am I doing something wrong? [CODE]#include <iostream> #include <fstream> using namespace std; int main() { ifstream fin("hello.txt"); if (fin.is_open()) cout << "It's good"; …

Member Avatar for blee93
0
138
Member Avatar for rohit b k

hi guys, pls help me out.. how can i insert the current date into mysql data base through php ?? n pls tell how to retrieve also.. its urgetnt..!!

Member Avatar for sudeepjd
0
94
Member Avatar for AMADH

Hello, I was hoping that someone can help me with this. I have this linking list working, but I have one problem, when I click on the link it shows up with the link like this winner.php?service=1&&year=2010 and honorable.php?service=1&&year=2010&award=1 this is for all years not just 2010, and what I …

Member Avatar for sudeepjd
0
197
Member Avatar for JerieLsky

Hi, im trying to upload a file(.pdf, .jpg, .bmp, etc.. ) but I'm getting this error message.. check the file I've attached, it contains the output on the page but with errors.. [CODE]<?php define("REPOSITORY", "/www/parctice/test/htdocs"); if(isset($_POST['submit'])){ if(is_uploaded_file($_FILES['fileupload']['tmp_name'])){ echo "temperory file name: " . $_FILES['fileupload']['tmp_name'] . "<br />"; echo "file name: …

Member Avatar for Javvy
0
5K
Member Avatar for stv_101

hi....i'm stuck in populate data inside the drop down list. the problem is, when i already success in populating data from db in 1st drop down list, i cannot carry the value. second drop down list data will depends on this value in order to populate data from array into …

Member Avatar for Javvy
0
179
Member Avatar for smitty34

Can someone please help me with this code? I have already taken out some of the errors, and my instructor says to make sure my brackets are enclosed. When I do this though I get more errors???Help!!! #include <io> #include <string> #include <iomanip> using namespace std; //Global Declarations of Variables …

Member Avatar for ninjatalon
0
256
Member Avatar for rookanga

This is my assignment Get Monthly Income Get Monthly Home Rent/Mortgage Get Other Monthly Payments (alimony, child support, student loans) Display Allowable Monthly Car Payment Display Maximum Car Value (interest rate based on credit) A customer can not exceed a debt load of 36% of their gross monthly income including …

Member Avatar for rookanga
0
222
Member Avatar for ebrad

Hi I'm using the Thesis Theme with my Wordpress site. I was editing my custom_functions.php to create a custom footer, and after I saved got the following error: Parse error: syntax error, unexpected $end in /home/content/71/6936571/html/XXXXXXX/wp-content/themes/thesis_18/custom/custom_functions.php on line 39 Since then I have copied and pasted the original .php from …

Member Avatar for Javvy
0
119
Member Avatar for new_developer

Hi everyone, My javascript code is absolutely ok but its not working. I know it sounds funny but its happening with me. Please view below code and tell me is there any mistake in it. Javascript code: Which change image when i click on button. [code] var myImages = new …

Member Avatar for Javvy
0
266
Member Avatar for xapher19

Ok, I'm really really stuck with this. I've tried everything to my knowledge to fix it, but I just can't. So please, can anyone here help me with this error: [CODE]Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'host-ip' (4) in /home/ashley/public_html/pw/inc/config.php on line 7[/CODE] This is my PHP: …

Member Avatar for xapher19
0
582
Member Avatar for tom1252

Hi, I have created a bubble sort as a function in C. It sorts an array of numbers. I am not sure how to print them out though(SORTED). Thanks

Member Avatar for Adak
0
136
Member Avatar for scarlettmoon

Hi ~ As you can see from the code below I am in school for programming. I have come across this homework assignment a few times on the site already however the requirements for mine are different. I cannot use arrays. Three functions - I only have two coded. The …

Member Avatar for scarlettmoon
0
160
Member Avatar for kra9853

I'm trying to write a program that outputs the cent symbol (¢) in Visual Studios 2010 and when I copy and paste the symbol into my text it outputs a completely different symbol. I've also tried using \u00A2 and I still get a different wacky symbol. What is the C++ …

Member Avatar for mike_2000_17
0
812
Member Avatar for minghia

I have a class which extends JDialog which by default has some text on it and a couple of buttons. Most of the instance of the buttons are "Ok" and "Cancel" so the two buttons have their bounds set. If I try to change the label on the Ok button …

Member Avatar for minghia
0
203
Member Avatar for aaronmk2

How do I display the results of list<t>. I put rangeChecker objects in range and now I want to display the rangeChecker objects in range. How whould I do that? [CODE] static void display(RangeChecker[] rangeChecker, int SIZE) { //displays values for x, y, z, and how many times z was …

Member Avatar for Mitja Bonca
0
135
Member Avatar for Phil++

Hello, I'm working on a project that once ran (the main window) becomes maximised and then another window (Form2) pops up allowing the user to login OR register. I have created the main project and added a form (called form2) but when I try to display Form2 when Form1 loads …

Member Avatar for Phil++
0
138
Member Avatar for mickymouse1

A student has a student profile. A student profile can be searched and viewed by empolyers. The student profile contains: [LIST] [*]Skills [*]Qualifications [*]Empolyment History [/LIST] Is it possible to have StudentProfile as a superclass, and the skills, qualifications and empolyment history as sub classes? So that the enetitys can …

Member Avatar for BitBlt
0
107
Member Avatar for MasterMic

I'm attempting to recreate the Unix shell program "todo.txt" using C++ on Windows. An example use of my program in the Command Prompt would be: [CODE]>todo /A "I like cheese."[/CODE] which would append the item "I like cheese." to the file "todo.txt". In my program, there is a line which …

Member Avatar for MasterMic
0
239
Member Avatar for carlitosway17

am trying to create a new class for a binary search program in c# I keep getting this compilation error [COLOR="Red"]A namespace cannot directly contain members such as fields or methods [/COLOR] here is my code [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1{ // Create a new …

Member Avatar for Mitja Bonca
0
3K
Member Avatar for Makolyte

Hello, I am testing the concept of concurrent transaction using this table definition: ID, int Quota, int Remaining, int Locks, int To simulate multiple users, i'm using threads and having them sleep random amounts of time. So the system is this: 1. User is looking at the details for an …

Member Avatar for BitBlt
0
131
Member Avatar for sbrett

Hey everybody, I have a bit of a complicated project, so here's the details and what I've done so far (sorry for the novel!): I've been asked to convert paper forms to electronic only for a school. My guess is there will be anywhere from 30-50 forms online when it's …

Member Avatar for BitBlt
0
1K
Member Avatar for angelmichael4

Hi everyone. Please I'd like to know if anybody has encountered this problem before. Here's the scenario. I've got a datagrid view Bthat is a child table from another table A. one of the fields is the productID which I have bounded to the Product Table to display the name …

Member Avatar for angelmichael4
0
73
Member Avatar for L3w

At the database level I am trying to understand the difference between having a PK of one table be both a PK and FK in another table vs just being a FK. As an example, I have ORDER, ORDER_ITEM and ITEM entities. According to my Kroenke text, in the ORDER_ITEM …

Member Avatar for BitBlt
0
133
Member Avatar for NichtSoGut

Good evening! So I've been trying to get my head around these classes and it's not going well. From what I've understand I've been calling functions correctly, but for some reason the members I'm creating are not being accepted. [CODE]class TheData { public: void InputData(); void DisplayMembers(); TheData(); ~TheData(); protected: …

Member Avatar for mike_2000_17
0
151
Member Avatar for jm1

I have the following set of tables but I don't care for the design. It seems like there should be a better way of doing this. Let me explain what's going on: -A visitor comes to our website and has the option of inputting a promotional code when buying our …

Member Avatar for BitBlt
0
554
Member Avatar for muthuivs

Hello again everyone, I have just finshed a neat little c++ program, but now I just realized that I don't know how to save the file as an executable so that I can use the program on any computer whether or not it has a compiler. Please Help. PS: I …

Member Avatar for raj.patel301
0
572
Member Avatar for mickymouse1

A module leader supervises 1..5 modules. Many module tutors can teach many modules, this is a many to many multiplicity, so i have made a new entity called ModuleuTutorTeaches, in the middle of the 2 entities. What attributes would the 4 tabels have? Module Leader ([U]staff ID{FK}[/U][U]ModuleID[/U]) < this would …

Member Avatar for BitBlt
0
2K
Member Avatar for BioJavaPhobic

Hello, I'm a biologist trying to do some bioinformatics, so new to Java and new to this forum. I've searched all over the forum for previous threads on this topic, but can't find an answer that has helped me. Apologies if I've missed something already posted that may help solve …

Member Avatar for BioJavaPhobic
0
293
Member Avatar for Sundayy

Hello again: I am having trouble declaring my variables. Can you please show me what I am doing wrong. The homework problem ask for me to use the "if" statement also, kinda having a few problems with that. Please see the question and my code below. Thank you for your …

Member Avatar for peter_budo
0
446
Member Avatar for happyandrea

I have this button in Form2 that when is clicked, a string value is passed back to Form1 and it is displayed in a textbox. [CODE] public partial class Form2 : Form { double a, b, ave; string stype; Form1 frm = new Form1(); public Form2(double x, double y) { …

Member Avatar for Mitja Bonca
0
3K
Member Avatar for Mr.BunyRabit

Hey there. i have a listbox thats databound. Now i want to select in that massive list, lets say a sting "dog", i want it to hightligh that word in there. But i cant seem to get it to work with this databound listbox. Coz i know how to do …

Member Avatar for Mitja Bonca
0
125
Member Avatar for mangopearapples

I don't know why. At all. Just that it won't repaint! My code: [CODE]import java.awt.Graphics; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JFrame; import javax.swing.JPanel; @SuppressWarnings("serial") public class Frame extends JFrame implements KeyListener{ JPanel content; int W = 200; int H = 200; public Frame(){ setSize(700,250); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setResizable(false); content = new JPanel(); …

Member Avatar for mangopearapples
0
181
Member Avatar for C:\>

I have several buttons in my applet, however in certain case i use fillRect function to draw my whole applet go black, but i want to leave one Jbutton visible. The fillRect function hides my button, but the button comes visible if i move mouse cursor on top of it. …

Member Avatar for Ezzaral
0
224
Member Avatar for MeandJava

Hello everybody I have a problem with my code. On two lines (14 & 17) I get this error: cannot return a value from method whose result type is void. But I don't have add void to my class. Thanks in advance. Greets MeandJava Here's my code: [CODE]package oop_po2; import …

Member Avatar for MeandJava
0
2K
Member Avatar for EmbeddedHelp

Evening all, I have created a program that reads a Data Base contents, displays the information, prompts the user to press enter, then in theory they should enter an account number and that specific accounts details be deleted from the data base. Finally the contents of the data base should …

Member Avatar for Ezzaral
0
178
Member Avatar for Ramroma

Hi every one, I need help urgently please I am creating a db with an interface from VB.Net 2008, what I need is to export to excel from a datagrideview by clicking on a button. I have found a code but its giving me errors, I posted the code maybe …

Member Avatar for lolafuertes
0
383
Member Avatar for jacob21

Hello friends, Please tell me how to reverse string in c like taht. My name is jacob jacob is name my

Member Avatar for gerard4143
0
113
Member Avatar for rawrxiv

Good morning friends, I am having a weird little issue with python that I am certain stems from me failing to understand wtf is going on. I will give you the general disclaimer that I am a total programming beginner so I'll need some latitude :) The following snippet is …

Member Avatar for richieking
0
144
Member Avatar for teedoff

Hi, I know you can edit the htaccess file I think to allow php scripts to run and be parsed in html files. I was wondering if that was possible with coldfusion code. What I have is a small bit of coldfusion code and ajax that just returns some data …

Member Avatar for osekmedia
0
189
Member Avatar for BirdaoGwra

Hi, I am making a simple application where it reads and loads words from a text file into a ListCtrl(lc_report) in wxPython. There are only two column. i am loading it like this : [CODE]f=open('Test.txt','r') all_words = map(lambda l: l.split(" "), f.readlines())[/CODE] And in Test.txt file, there are some words …

Member Avatar for richieking
0
204
Member Avatar for DeathEater

hi, i'm having a bit of trouble with grid views. see i can show stuff in them but i want to manipulate and use a certain selected record or field in it ( e.g : delete it from table in the DB or copy it into a textbox.). i'll be …

Member Avatar for Mitja Bonca
0
81
Member Avatar for andrewliu

Hello, I'm having trouble figuring this one out. I'm trying to output more field boxes when a certain value is selected from a populated drop down menu. [CODE] <select name="selected_category" id="selected_category"> <option value='0'>Select Category</option> <option value='1' id='text' >Text</option> <option value='2' id='text2' >text2</option> <option value='new_category' id='new_category' >Add New</option> </select> <div class="works" …

Member Avatar for andrewliu
0
164
Member Avatar for mah300274

Basically I keep getting asked on different laptops and computers whether if they can play certian games and etc. I would like to be able to just install it and it can run tests on my computers I also would like to be able to type in / select different …

Member Avatar for NickOOOShea
0
230
Member Avatar for D.Twomey

Hi guys/girls, I have an exe that has been written in C# using visual studio Is there a was I can de-compile it back into the C# code - It seems to be some what protected exe files I've created myself using Visual Studio and C# I can see the …

Member Avatar for Momerath
0
757
Member Avatar for dskumar_85

hai everybody.... i am kumar ,and i new to this site ...!! can any one help me that how can i add watermark while uploading the image to database...... :)

Member Avatar for moonlite73
0
187
Member Avatar for bestex

[CODE]Imports MySql.Data.MySqlClient Public Class Form8 Dim connection As MySqlConnection Dim con As MySqlConnection Dim da As MySqlDataAdapter Dim dt As DataTable Dim strQuery As String Private Sub Form8_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load strQuery = "server=localhost; user id=root; password=phoenix0931; database=accounts;" con = New MySqlConnection(strQuery) con.Open() Me.Text …

Member Avatar for bestex
0
496
Member Avatar for maac2002

Hi, I'm novice by complete to webservices et al. I've created successfully a webservice and referenced it in a console application. By simplification let assume that the webservice contains a webmethod, the 'classic' CelsiusToFarenheit (string Celsius). Once referenced i can see my new namespace ServiceReference1 with the following classes inside: …

Member Avatar for maac2002
0
886

The End.