199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for atikah8890

Hi all. It's been a while since I last worked with PHP. Hope someone can help me with this, because a few things aren't working :( First thing first. I'm doing an expense tracking system. User will be able to track their spendings according to month and year. Since it's …

Member Avatar for atikah8890
0
107
Member Avatar for deva89

Sir, I am currently doing a project on "Pharmacy Management System". My question is "Can I used DataGridView to show the items that i have searched and the rest won't be visible??" If yes then can anyone give me the code for search button?? I have used the following code …

Member Avatar for kamilacbe
0
158
Member Avatar for RMelnikas

Hi, Don't know if this is the right part of the forum. (please move if incorrect) My Question is about E-Commerce, I am experienced in web development but have been recently asked to make a client a E-Commerce website where they could sell their goods. They are wanting something customisable …

Member Avatar for rotten69
0
164
Member Avatar for qball_irl

Hello Everyone, This is my first post and im sure this community can help. [B]Issue:[/B]I'm trying to create an authentication script for the first time, I am inserting Data into a table and trying to retrieve it again on the same page but instead of retrieving the latest id it …

Member Avatar for qball_irl
0
116
Member Avatar for init

Hi. I'm creating an interface using the Tkinter library, but I seem to be having some issues with placing 3 buttons BELOW 3 buttons which are on top. All buttons should be inside the second LabelFrame. I've looked all over and I can't seem to figure out why the other …

Member Avatar for Ismatus3
0
1K
Member Avatar for gitech

Hai friends, Is it possible to do auto update in j2me. For example, when the user run the application, it connects to server to see if there is new version available. If yes, than first step is to inform the user with popup or alarm. The first step is not …

Member Avatar for peter_budo
0
237
Member Avatar for Ismatus3

hello friends As the tittle say , i just would like to know if there is possibilities to change the graphisme of the Button : color , form , insert image on the Button ... , Thank you for answering , good luck :) .

Member Avatar for Ismatus3
0
216
Member Avatar for Ismatus3

hello friends , I just don't know , why in using Crontab it don't execute a code python that contain : [CODE]execfile("Backup1.py")[/CODE] my code is nouveau_fichier2.py : [CODE]#!/usr/bin/python #-*- coding:Utf-8-*- # -*- coding: cp1252 -*- import os print 'helo' #os.system("sudo chmod 777 /home/ismail/Bureau/Test/20111214") execfile("Backup1.py")[/CODE] and my crontab file after "crontab …

Member Avatar for Ismatus3
0
184
Member Avatar for sbrohee

Dear all, I am busy implementing a small program and I'd like to work with threads. First of all, I'd like to specify that I am certainly not an expert user of C++ (I often use Perl -ouch- but in this case, Perl was far too slow for the program …

Member Avatar for sbrohee
0
310
Member Avatar for jankeifer

can anyone please help me in to creating a client-server using this game? [CODE]#include <iostream> #include <iomanip> #include <map> #include <time.h> #include <cstdlib> using namespace std; //displays the instruction of the game void displayInst(){ for ( int b = 0; b < 28; b++ ) cout << "* "; cout …

Member Avatar for vijayan121
0
150
Member Avatar for pseudorandom21

If ASIO had better documentation I could probably have found for myself an answer, but instead... Is there a way to determine bytes available to read using the asio::ip::tcp::iostream ? I really like the tcp iostream because it's super-easy to use, but I haven't found it exactly feature-packed. Does it …

Member Avatar for vijayan121
0
181
Member Avatar for rotten69

Hi everyone, Could anyone please tell me why that line in the if-statement body is breaking the method? [CODE] static int [] doubleMe(int [] list){ int [] y= list; int c = 0; int [] w; for (int i= 0; i < list.length; i++){ c = list[i]; if (c % …

Member Avatar for rotten69
0
185
Member Avatar for daniwaber

Can anyone suggest a code used to print a certain text from and RTF box with different formatting for different words. Also, can I print preview it and page setup it. I tried to use the print dialogs but could not do it. Please help:)

Member Avatar for G_Waddell
0
116
Member Avatar for nsyncpilu

Hy , I have a table , in which i am adding new rows , after 6 rows with data I want to add a empty row with the background color red then another 6 rows with white background [CODE]private void populate(){ DefaultTableModel model = (DefaultTableModel) table.getModel(); int i,j; for(j=0;j<6;j++){ …

Member Avatar for nsyncpilu
0
1K
Member Avatar for solomon_13000

I attempted to add new row but it does not seem too work. Did I do something wrong? [B][U]Pricing.html[/U][/B] [CODE] <HTML> <HEAD> <TITLE></TITLE> <SCRIPT SRC="jquery-1.7.1.js" LANGUAGE="text/javascript"></SCRIPT> <SCRIPT SRC="addRow.js" LANGUAGE="text/javascript"></SCRIPT> </HEAD> <BODY> <TABLE> <THEAD> <TR> <TH bgcolor="#33CC00">Select</TH> <TH bgcolor="#33CC00">Quantity</TH> <TH bgcolor="#33CC00">Inner Packaging</TH> <TH bgcolor="#33CC00">Quantity</TH> <TH bgcolor="#33CC00">Outer Packaging</TH> <TH bgcolor="#33CC00">Price</TH> <TH bgcolor="#33CC00">Minimum …

Member Avatar for solomon_13000
0
227
Member Avatar for ddellostritto

Hi all - I'm starting out as a designer and have some knowledge in php development. I've designed a registration system for my company and we've had 3 people that have had problems out of 73 successes - 4.1% (Problems meaning that they registered but the data just didn't get …

Member Avatar for pritaeas
0
201
Member Avatar for pankaj.garg

Dear All, Screen Size of my deployment screen is larger than my development screen. If i try to set my form size larger than my development screen size, IDE doesnot accepts this. Please let me know How can I use a form larger than my development screen Size? Pankaj

Member Avatar for pankaj.garg
0
1K
Member Avatar for riahc3

Hey Is it possible to run a Java Servlet that loads a .html page that has a bunch of JS scripts in it? I know how to load a normal .html page (I believe it is correct) but not sure if it works if it has Javascript as well. Thanks.

Member Avatar for riahc3
0
636
Member Avatar for imrandavidm
Member Avatar for MugANDGlass

[CODE]void search() { char id[12]; node *p = head; system("cls"); { cout<<"Search ID: "; cin>>id; } while ((p!=NULL) && (strcmp(id,p->id)!=0)) { p = p->next; } if(p==NULL) { cout<<"No such ID in our list"<<endl; delete p; } else cout<<"We have this ID in our list"<<endl; } void remove() { char id[12]; …

Member Avatar for v3ga
0
158
Member Avatar for karthik_ppts

How to do site search in a website? for example if we search a keyword in search box of the daniweb it will give the result from daniweb site only. like that i want to do in my website.

Member Avatar for karthik_ppts
0
123
Member Avatar for trektrak

Anyone tried this before ? [URL="http://http://smssync.ushahidi.com/"]http://smssync.ushahidi.com/[/URL] I've tried the given php sample...but it's not working ... False payload something....

Member Avatar for rotten69
0
78
Member Avatar for manhthaodn

For the purpose of control and improvement program. I need to catch the Exception. I don't know what to do below: 1. Control exception what set in the program and send notice to the developer (via Email) Best Regards!

Member Avatar for manhthaodn
0
121
Member Avatar for MugANDGlass

[CODE]void Load() { book *newptr,*p,*q; string id,title,author,year,price,date; ifstream file1; head = NULL; file1.open("books.txt"); if (file1.fail()) { cout << "Error opening file.\n"; exit(1); } while (!file1.eof()) { newptr = new book; // getline(file1,id); getline(file1,title); getline(file1,author); getline(file1,year); getline(file1,price); getline(file1,date); //copy values from the file to the newptr newptr->id.assign (id) ; newptr->title.assign (title) …

Member Avatar for MugANDGlass
0
360
Member Avatar for queenz68

I'm in an intro programming class and have a problem. Hoping someone can assist me. What I'm trying to do is import a data file and have it read the array in reverse order. That part I have. The second thing I'm trying to do is have it total the …

Member Avatar for queenz68
0
99
Member Avatar for ces06546

Making an airplane seating map and the code does not break after the number 88 is selected and does not print our the array, any help? Thanks [CODE]import java.util.*; import java.util.Scanner; public class AirplaneSeats { public static void main(String[] args) { char[][] seats = new char[13][4]; char filledseat = 'x'; …

Member Avatar for zeroliken
0
1K
Member Avatar for Hiiero

I am loading a set of integers int a binary which is no problem, its when Im trying to increase their frequencies I am running into some difficulties. As it stands the program crashs if any of the numbers repeat themselves, any suggestions? [CODE] void BST::insert(int d) { tree_node* t …

Member Avatar for mrnutty
0
136
Member Avatar for csharp_user

I made a listview that display names using a streamreader. When I select a name and delete it the name that was below in the list will then take the information of the deleted name when it's displayed in the textboxes which shows name, address and email. How can I …

Member Avatar for csharp_user
0
184
Member Avatar for veelasong

I am having trouble parsing xml files using ElementTree after the python code is turned into .exe using cx_freeze. [CODE] from xml.etree import ElementTree file1 = 'file1' file2 = 'file2' tree1 = ElementTree.parse(file1) tree2 = ElementTree.parse(file2) print 'Done' [/CODE] It works fine with the .py file, but after I made …

Member Avatar for veelasong
0
418
Member Avatar for sodha125

I need to make multiple choice and a switch statement is used to check for correct answers. Also introduce a random element whereby the user can roll a dice and skip the following question if he gets a 6 (other rewards/penalties can be introduced for different dice values). this is …

Member Avatar for Chuckleluck
0
2K
Member Avatar for hueikar

Good morning, All I am going to place the tag propeties at each node. And the tag content will be file path. But my coding is not working..Can someone help me.. Thnx. My code to generate treenode tag properties from xml is as below: [CODE] Private Sub AddTreeViewChildNodes(ByVal parent_nodes As …

Member Avatar for hueikar
0
102
Member Avatar for SteveyD

Not sure if I am explaining this correctly but here goes.. I am working on a .dll that depending on a value determined at startup, will select which method to use next. At the very beginning of this dll, [CODE]private string _Ver = Application.ProductVersion;[/CODE] Now if _Ver < 2 then …

Member Avatar for thines01
0
90
Member Avatar for n3red

Hi, I it possible to implement an ActionListener to a global or local variable so that if variable changes the Listener performed a certain function / method etc.. I am working on a GUI application i am guessing there has to be a better solution than wrapping my main code …

Member Avatar for hfx642
0
1K
Member Avatar for legodadda

Flip Vertical and Print Code: Printer.PaintPicture Picture1.Picture, 0, Picture1.ScaleHeight, _ Picture1.ScaleWidth, -Picture1.ScaleHeight, 0, 0, Picture1.ScaleWidth, _ Picture1.ScaleHeight, vbSrcCopy I have seen this code in various places on the web but it does not seem to work. I am trying to get a label to flip to the vertical. Any help …

Member Avatar for BitBlt
0
352
Member Avatar for BKoehler

I am having an issue. I keep getting the following error: [B]Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\test\banners\banner1.jpg on line 1[/B]. What I am trying to do is dynamically not only change content, but change a banner in the header section of code to correspond with the content. My …

Member Avatar for qazplm114477
0
307
Member Avatar for Jim887

[CODE] void init(); void tim(); int str; int per; int tou; int rea; int qui; int wou; void main() { init(); tim(); cout<<"\nPerception-" <<per<<"\nStrength -"<<str<<"\ntoughness -"<<tou<<"\nWounds -"<<wou<<"\nQuickness -"<<qui<<"\nReactions -"<<rea; system ("pause"); } void init() { cout<<"You have 45 points to put into stats"<<"\nPerception-1pts. per \nStrength -2pts. per \ntoughness -4pts. per …

Member Avatar for Moschops
0
115
Member Avatar for g1skyfire

Here's a sample of the excel data: column A: partnumber AL-01-BLT AL-01-ATV AL-01-BRS AL-01-BAR column B: price 20 21 40 45 When the user selects the partnumber in combobox1 and combobox2, it should add the total price and output it in label1.. For some reason I'm getting an error now …

Member Avatar for g1skyfire
0
162
Member Avatar for oldezwe

Here is my code... [CODE]import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; public class example1{ public static void main(String[] args) { try { Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","user","password"); Statement state = (Statement) con.createStatement(); String username = "John"; String password = "John1"; int experience = 0; int level = 1; String insert = "INSERT …

Member Avatar for vadriaan
0
215
Member Avatar for LateNightCoder

In the program i am currently building, i need to do a frequency analysis of the letter occurance in a string I know how to do this in c++ and the code for that is [CODE]#include <iostream> using namespace std; // Function to increment the letter count in the counters …

Member Avatar for thines01
0
234
Member Avatar for desert564

pls help me with this the user enters a number n.consider the sequence from 1 through n in ascending order.insert either '+' or'-' between each of the digits so that the resultant sum is zero. for eg: input=7 output= 1+2-3+4-5-6+7=0 1+2-3-4+5+6-7=0 1-2+3+4-5+6-7=0 1-2-3-4-5+6+7=0 however when i programmed it i only …

Member Avatar for NormR1
0
186
Member Avatar for vijay4

am able to draw different programs on swings using mouse drag.but if i draw one diagram the previous diagram is getting vanished. how to avoid that ? i want to have all the drawn diagrams on the screen [CODE]import java.util.*; import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.awt.Graphics; class draw1 …

Member Avatar for NormR1
0
161
Member Avatar for tgr0ss83

Not the prettiest edits, but does the job, and it's fast :) Sorry Cereal, i know it's like taking crayon to a Picasso :) [CODE]<?php $file = "http://mis.nyiso.com/public/realtime/realtime_gen_lbmp.csv"; $f = fopen($file, "r"); $ln= 0; $theData=array(); $nyc = array(); $millwood = array(); $hudvl = array(); $dunwood = array(); $nycLmp = array(); …

0
78
Member Avatar for deanus

Hi, I'm doing a project with java using the console and I'd like to perform some actions (such as printing to the screen etc) while waiting for input. I was planning to accomplish this by using unbuffered input, by polling the keyboard and performing other actions alternatively, but apparently retrieving …

Member Avatar for JamesCherrill
0
86
Member Avatar for Hiiero

The program below makes two classes that when calling their generate functions in a .cpp file generates a list of soldiers and then a separate list of skills, I want to combine these 2 lists,that way you can say Soldier 1 has skill 1,4,7 while Soldier 2 has 3,4,5,6,7,8. How …

Member Avatar for thines01
0
157
Member Avatar for pythonstudent11

What I'm trying to do is read a line from a file containing some data that includes a person's first and last name, their hourly wage and the number of hours they worked, and then writing to a seperate file their last name, first name: wage. The input file looks …

Member Avatar for pythonstudent11
0
334
Member Avatar for geaclaesson

Hi guys, Used this forum a bit today to find answers for a bit of scripting that I'm attempting. It's been 5-6 years since I last did anything like this, so bear with me. My question is; why does this generate results from Dec 12 2011 and not from Dec …

Member Avatar for geaclaesson
0
576
Member Avatar for Lemony Lime

So, this seems like it should be the default to me... if you're going to make your own picture for a button, I don't see why you'd want the default border around it, but I can't for the life of me figure out how to get rid of it. I …

Member Avatar for vegaseat
0
2K
Member Avatar for skp03

With the help of VB.net how to lock a computer screen using a form do anybody know please let me know

Member Avatar for Reverend Jim
0
436
Member Avatar for stranger_on_way

I want to open up a link (of another site) on new page in iframe. For example when the link on page A is clicked, it opens a new window(Page b) of same website and make the link of another site to open in iframe.. Please help....

Member Avatar for diafol
0
191
Member Avatar for Buppy

Hi, I have data like this - [CODE] Someting Object ( [_values:protected] => Array ( [key1] => something, [key2] => something else, etc... [/CODE] How do i access that _values:protected part? I tried $name->_values:protected['key1'], but it gives me an error. Thanks

Member Avatar for diafol
0
151

The End.