199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rickarro

Good Day, I'm trying to changed the background color of a field based on the results of the field. My script runs fine and provides the data correctly. I query my database and it gives me a result of $priority. $priority can be High, Medium, or Low. What I want …

Member Avatar for trentbam
0
4K
Member Avatar for PutingPanday

I have this code where I get the tree view of a table in access database.. what I want is ..I want to add nodes on each base on it's ID... this is the table [CODE] ID Name ID_Menu 1 pet 2 me 1[/CODE] and the treeview's output will be …

Member Avatar for Reverend Jim
0
134
Member Avatar for petrakid

Normally when I do file uploads I save the files into the website's file system. However in this particular situation I am required to save the PDF files as a longblob into a table in our mysql database. The data field is set as a longblob, and the table is …

0
127
Member Avatar for tabish saroha

Dear All, I am writing the following code but I am facing some problem. public void actionPerformed(ActionEvent ae) { if (ae.getSource()==connect) { JOptionPane.showMessageDialog(null, "Connection Estabilished"); } else if (ae.getSource()==disconnect) { JOptionPane.showMessageDialog(null, "Connection Disconnect"); } } When I Write this code, compiler compile this code but does not show messagebox when …

Member Avatar for NormR1
0
132
Member Avatar for mmonclair

Hi all, I have another CFHTTP question. I am on another project where I have one sign-in form, but depending on the user's prior activity, or lack thereof, I have three places I can direct them. 1. If they are a returning user, they go to the main target, an …

Member Avatar for arrgh
0
8K
Member Avatar for Labdabeta

I recently looked at [URL="http://www.songho.ca/opengl/gl_vbo.html"]this[/URL] description of VBOs and a sample implementation of them. When I ran the executable, it was significantly faster with no VBOs than with them. I don't understand why it should be slower with the VBOs than without. Can anybody explain why?

Member Avatar for raptr_dflo
0
331
Member Avatar for arsheena.alam

Hi Friends!! I am coming across this problem that whenever I am trying to retrieve the data in a dataset Through database, it is taking around 10 min to get the data no the localhost. And when I am running the same code on the live server it doesnot take …

Member Avatar for dickersonka
0
150
Member Avatar for triumphost

My code is: [CODE] #include <windows.h> #include <iostream> using namespace std; struct ReplacementFlags { public: bool rfReplaceAll, rfIgnoreCase; ReplacementFlags(bool ReplaceAll = false, bool IgnoreCase = false) : rfReplaceAll(ReplaceAll), rfIgnoreCase(IgnoreCase) {} ~ReplacementFlags() {} ReplacementFlags& operator ()(bool ReplaceAll = false, bool IgnoreCase = false) { if((rfReplaceAll != ReplaceAll) && (rfIgnoreCase != IgnoreCase)) …

Member Avatar for triumphost
0
208
Member Avatar for DelphiGuy

I'm working with this rather popular DrawDisk procedure which pretty much anti-aliases a circle and draws it, filling it and the background in the process. At the moment the procedure call only lets you modify the background color of the WHOLE canvas and the fill color of the line. Have …

Member Avatar for DelphiGuy
0
226
Member Avatar for TheWind147

Hello! Below is a function exhibiting a simple stopwatch mechanism. It stops when the user presses any key and goes back to the main menu. My question is, is there anyway I can pause the time and continue it as desired by the user? I would like to use "P" …

Member Avatar for WaltP
0
3K
Member Avatar for moe0

Hello I'm using SELECT CASE statement for age cases but I've two inputs years and months [CODE]Case 0 To 1 MS_lbl_category.Text = CStr("infant") Case 1 To 2 MS_lbl_category.Text = CStr("toddlerI") …

Member Avatar for skatamatic
0
304
Member Avatar for nuclear

Example code: [CODE]HWND CreateButton(const HWND hParent,const HINSTANCE hInst,DWORD dwStyle, const RECT& rc,const int id,const ustring& caption) { dwStyle|=WS_CHILD|WS_VISIBLE; return CreateWindowEx(0, _T("button"), caption.c_str(), dwStyle, rc.left, rc.top, rc.right, rc.bottom, hParent, reinterpret_cast<HMENU>(static_cast<INT_PTR>(id)), hInst, 0); }[/CODE] The part I dont get is: [CODE]dwStyle|=WS_CHILD|WS_VISIBLE;[/CODE] So the question would be why do we use '|' and …

Member Avatar for VernonDozier
0
245
Member Avatar for thepanther

hi i would like to change just part of my code to change the color of my answer to my maths game see the code [CODE]document.write("<br>3+2 = " + answer1 + " is incorrect - the correct answer is 5");[/CODE] see where it says the answer is 5 i would …

Member Avatar for thepanther
0
139
Member Avatar for hughesadam_87

Hey guys, I've looked over several Google results for basic explanations on [CODE]is / '=='[/CODE] However, I don't think I quite understand enough to know what is the ideal operator for this. [CODE]mylist=[1,2,3] if type(mylist) == list: print 'yes'[/CODE] or do I use [CODE] if type(mylise) is list: print 'yes'[/CODE] …

Member Avatar for Gribouillis
0
166
Member Avatar for rampletero

hello this is my first time posting so sorry if I make any errors, im currently trying to ad a sliding movement to a tile game im trying to do, the tiles currently move but they move in a jumping motion, ive been trying to use the coordintes of the …

Member Avatar for rampletero
0
130
Member Avatar for nakresimin

is it possible to empty all the tables in the database without dropping them with shell script? if yes could you please show me? thank you

Member Avatar for JeoSaurus
0
85
Member Avatar for Japp007

Analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least one array. Each of these items (sequential code, at least one selection statement, at least …

Member Avatar for Japp007
0
99
Member Avatar for xopenex

Hi guys, still Noob here, so i apologize for not using the correct terminology. I will be as detailed and accurate as possible! I've been using QT Designer, and been trying to figure out how to "combine" the GUI ive created with the python script I wrote before making a …

Member Avatar for HiHe
0
2K
Member Avatar for tj104

hey what's up guys, I'm writing some C++ code used to do math operations on polynomials that are contained in a input file. Right now I'm stuck on the actual streaming in of the files. The .txt input file is in the format as follows 1 1 2 2 3 …

Member Avatar for Lerner
0
148
Member Avatar for simplypixie

Can anyone see why my variable $unit_price isn't updating (in fact it isn't even being applied to the session variable) in this code (it must be something simple but I can't see it and is driving me mad). I have tested the posted data and it is being sent through …

Member Avatar for simplypixie
0
148
Member Avatar for alanso

hey guys can u help me to solve this program have to do 4 function , call the following functions by passing the array: (i) A function to input all information. (ii) A function to calculate the average score for each student and the average score for the class. Find …

Member Avatar for Lerner
0
112
Member Avatar for Programmer!!!

Hi! I'm writing a program in C++ where the user is asked to enter a list of ten names and cities of residence in the format <firstname> <Surname> <city>. I then have to sort the list by city and then in each city group alphabetically by name, using Bubblesort. I'm …

Member Avatar for Damian Dalton
0
198
Member Avatar for AdamLad3

Hi, I'm writing a program in C++ to ask the user for a list of ten names and cities of residence in the format <firstname> <Surname> <city>. The amount of spaces between each doesn't matter as I will be using isspace. then i have to sort the list by city …

Member Avatar for Damian Dalton
0
1K
Member Avatar for bluealein56

Im creating a calculator that allows users to enter their own Loan Amount, then choose whether to input their own Loan Interest and Monthly Loan Terms, or to choose between a set of predefined loan terms and interest rate in a GUI. So far I have been successful in creating …

Member Avatar for NormR1
0
252
Member Avatar for chall77

Hello, I'm new to python and have a requirement to decompress various NRV2B compressed files. I have the python functions for performing this decompression, however I am unsure how to get it working. I have tried making this a module, importing it and then feeding my compressed files as a …

Member Avatar for britanicus
0
280
Member Avatar for AJkiter

Ok so me and my friend are doing a weekend challenge... Whoever makes the best game wins. Im trying to make a game like farmville but its called mineville and its just a little different. My problem is that theres this part in the code that keeps repeating, and i …

Member Avatar for AJkiter
0
1K
Member Avatar for nicewave

Could someone tell me how to print the code for the whole project? If possible with line # too. Thanks in advance.

Member Avatar for skatamatic
0
90
Member Avatar for Steve2490

Ive created a memory game which has a grid of JButtons, when the button is clicked it changes the ImageIcon background to an animation which shows the front of the card. The problem is that when the button is clicked, the gif doesn't begin playing until the mouse is moved …

Member Avatar for mKorbel
0
815
Member Avatar for jackbauer24

Here is my code:- [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author Administrator */ import javax.swing.*; import java.awt.event.*; import java.awt.event.*; import java.awt.*; public class MyQuiz { int score; JFrame frame; String[] questions = {"Who invented …

Member Avatar for stultuske
0
193
Member Avatar for animeocarl

can you help me with these a little problem of mine.. we are having a pair project where the program is all about enrollment system. in this program, we need to add a record, view, and search records. now. my problem is... i cannot add another record within this code... …

Member Avatar for Ancient Dragon
0
224
Member Avatar for floatingshed

When I run my python scripts I generally run with the console open just to keep an eye on things. I have a script that calls 3 external command line apps one after the other. On one pc all output from these apps appears in the console window and is …

Member Avatar for floatingshed
0
202
Member Avatar for fafa70

hi. i am trying to use two turtles in separate windows simultaneously in python but nothing found yet. i have tried multithreadding but still the same. can somebody help me please. thanks.

Member Avatar for fafa70
0
4K
Member Avatar for puddlejumper406

I have never taken a programing class before but my instuctor wants me to write a program in python i've been looking in the book and still don't even know where to start please any help would be great here's the program she wants You are helping your friend throw …

Member Avatar for puddlejumper406
0
119
Member Avatar for moroccanplaya
Member Avatar for HiHe
0
93
Member Avatar for F_M

am using vb.net and sql database. My tables are as follows: Details: Details_ID (PK) Address_1 Address_2 City Postcode Country Email And Customers: Cust_ID Customer_Name Notes Details_ID(FK) When i insert data, it fills in the tables but the Details_ID comes as Null. I need the Details ID to correspond with the …

Member Avatar for thines01
0
167
Member Avatar for markduffy

Working in vs2008 I have a report that accepts 30 rows of data. The issue I have is that I need to split this data up into 5 sections of 6 with a border... _______________________ 1 data 2 data 3 data 4 data 5 data 6 data _______________________ 7 data …

Member Avatar for thines01
0
88
Member Avatar for C0ding

Hello everyone, I am trying to make a tool that can allow me to join text... For example, my project have four listboxes like my example: [One] [Two] [Three] <== these are thre list boxes or three text boxes with multiline option, which the job is to make something like …

Member Avatar for C0ding
0
488
Member Avatar for rambo12

Hi I would like to know if I can use freeswitch with PHP for voice chat. I have downloaded the freeswitch software But I am not getting how to configure php with freeswitch where to use this in freeswitch can voice chat application be created using php. how freeswitch is …

Member Avatar for Ezzaral
0
487
Member Avatar for wallet123

[CODE]package PAyroll; import javax.swing.JOptionPane; import javax.swing.UIManager; import java.awt.Color; import java.text.DecimalFormat; import java.text.NumberFormat; import javax.swing.UIManager; public class EmployeeProfile { public static void main(String[] args){ JOptionPane.showMessageDialog(null,"Welcome to Payroll System"); payroll(); } public static void payroll(){ int conf=0; // do{ String name=""; String add= ""; String contact= ""; String email= ""; String word=""; …

Member Avatar for Philippe.Lahaie
0
136
Member Avatar for nickliutw

I'm working on a project that can recursively print out the items from a single link list. The project also require the reverse method should accept a reference to a generic single-linked list. This is my logic for printing the item in reverse: if the element in a node is …

Member Avatar for nickliutw
0
209
Member Avatar for arsenalfun

Hello, I have website proxy-zone.net and there you can add proxy on this link: [url]http://proxy-zone.net/add-proxy-server/[/url] I made simple web bot that should POST proxy and add it in database. But it wont POST because my website checks if backlink exist on remote proxy website. And I make sure backlink exist …

Member Avatar for arsenalfun
0
319
Member Avatar for lastgame2007

i have this recommendation that, the teacher can add continuously how can i do this? in which the teacher can add grade and on single button it can be all saved in one database [url]http://www.4shared.com/photo/TjiwnmxX/aaa.html?refurl=d1forum[/url] [CODE] <?php if(isset($_POST['save'])) { $g_year['acad_id']; $fg=$_POST['fg']; $sg=$_POST['sg']; $tg=$_POST['tg']; $forg=$_POST['forg']; for($i=0;$i<count($fg) && $i<count($sg) && $i<count($tg) && …

Member Avatar for diafol
0
101
Member Avatar for Ctechnology24

Guys I need to print tne content of my div named "content" my code will only work if their is only one div named "content" but in my case I have a lot of div with same ID because I iterated it along with the codes from mysql, can anybody …

Member Avatar for Biiim
0
2K
Member Avatar for breakforce

Hello :) I have a system to add friends, i would like to make it as i want, but something does not deal... This is a SQL now: [code]CREATE TABLE `friends` ( `id` int(11) NOT NULL AUTO_INCREMENT, `f_id` int(11) NOT NULL, `us_id` int(11) NOT NULL, `active` enum('0','1') NOT NULL DEFAULT …

Member Avatar for diafol
0
116
Member Avatar for szagarella

Hi at all. I'm a new user of jsp and I've a problem. I would execute certain operations every X seconds in my jsp project like check data into mySql DB; I use a TimerTask java class and it's ok. But if I would update the UI inside the run …

Member Avatar for Philippe.Lahaie
0
253
Member Avatar for TIM_M_91

Hi guys what I want to do is once the user has entered the id number it displays the results for the particular record. This works fine however what would I need to do to the following code so if the id number does not exist it produces an error …

Member Avatar for Philippe.Lahaie
0
132
Member Avatar for utkarshsahu

I am a beginner in learning assembly language. I wanted to know which assembler would be best to use between NASM and MASM in today's context. Also, can you give a link to documentation on these assemblers?And tutorial specific for these assembler (as assembly is not standardized)

Member Avatar for utkarshsahu
0
3K
Member Avatar for Black Knight

Right, my program ran perfectly fine with the line [CODE]JLabel headerImage = new JLabel(new ImageIcon(img));[/CODE] But as soon as i put it into a JAR file it has problems, i have searched the inet for soloutions and there isnt much out there for apps, loats for applets though, but none …

Member Avatar for joyal
0
1K
Member Avatar for krishnisilva

hi , i have a textbox control in one sheet and a range of data in another sheet in the same file. how do i copy the range of data in paste it in the textbox control? appreciate a reply thanks

Member Avatar for krishnisilva
0
198
Member Avatar for availalble4you

Can you please help me out on my project?, its like a phonebook on cellphone it should be display the ADD CONTACTS, DELETE, EDIT, SAVE, VIEW, SEARCH. I sunno how to edit and delete the contacts can you help me on this.. i came out on this,.. #include<iostream.h> #include<conio.h> void …

Member Avatar for Labdabeta
0
138

The End.