199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for snehil_khanor

hi, I'm working on a an app that uses access database so.. while making the setup file i added the file in the application folder along with the .exe file that uses it.. but after installation the .exe file is not able to alter the database as the user is …

Member Avatar for Momerath
0
135
Member Avatar for yap_1991

Hi all, I've created a GUI layout for what I am supposed to do. I have 2 combo boxes in the GUI and both serves the same function. The both of them needs to be able to drop-down the list of files from one of my folders. Hence, I just …

Member Avatar for masijade
0
1K
Member Avatar for Krimi

i was wondering if its possible to change the look of the buttons? [url]http://peecee.dk/index.php?id=80239&noresize=yes[/url] the left one is how it looks in Netbeans and the right one is how it looks when i run it. i dont like the one to the right :/ is there any way to change …

Member Avatar for masijade
0
173
Member Avatar for king_koder

I tried to generate permutations by using itertools module but its not working. [CODE=python] >>>print(permutations([1,2,3],3)) <itertools.permutations object at 0xa917c5c> [/CODE] Why is it so? and how do I make it work properly?

Member Avatar for slate
0
196
Member Avatar for daviddoria

When trying to pass a template parameter to another template, I am getting an 'invalid template parameter' error. I even tried to force it with 'typename' with no success. Can anyone see what's wrong with this? [code] #include <itkImage.h> #include <itkImageFileWriter.h> #include <itkRescaleIntensityImageFilter.h> template <class T> void WriteImage(typename T::Pointer image, …

Member Avatar for Fbody
0
4K
Member Avatar for sparkle85

Hello, I need some help with the following script: [CODE] if ! [ -f ${APATH}/myfile.txt ];then echo $(date +%Y%m%d"_"%H%M%S)": Nu am gasit fisierul ${APATH}/myfile.txt" ps -fxu pin | grep "/usr/local/coreutils/bin/tail -f ${LOG_PATH}/x.log$" | awk '{system("kill "$2)}' cat ${LOG_PATH}/x.log | sed -n -e '/LONG/{x;1!p;g;;}' -e h > ${APATH}/myfile.txt /usr/local/coreutils/bin/tail -f ${LOG_PATH}/x.log …

Member Avatar for JeoSaurus
0
165
Member Avatar for CanadianGSX

First off, system specs : MAC OSX, PHP 5 and MySQL 5.1.51 Trying something very simple and for the life of me it just won't work... HTML Form Code: Filename : AG_test_DB.html [CODE] <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>AG test</title> </head> <body> <form method="post" action="add.php"> <input name="fname" type="text"> <input …

Member Avatar for CanadianGSX
0
291
Member Avatar for hnnh_km

hi so i need to write a rock paper scissors game. when played in the command prompt it should look something like this user input is in [B]bold[/B] press q at any time to quit please choose rock(r), paper(p) or scissors(s): [B]r[/B] computer chose paper. you lose! your score: 0 …

Member Avatar for woooee
0
142
Member Avatar for gunderjj

I am having a problem of getting a variable passed from one page to another. On the first page there is a drop down menu populated by sql. [CODE] $result = mysql_query ("select Name from dba.wx_faq_backup where Name like '%dev%' group by Name") or die (mysql_error()); //$result = mysql_query ("select …

Member Avatar for gunderjj
0
172
Member Avatar for babylonlion

Hi, This is what the program does: -reads data (stock symbols, open price, closing price, high price, low price, previous price, and volume ) from a text file -do some calculation to produce percent gain/loss for each stock and produce closing assets -produce a list ordered by percent gain/loss and …

Member Avatar for frogboy77
0
2K
Member Avatar for tgreer

I'm coding a project in C#, VS2010, using SQL Express 2008 as the data source. Whenever any other application connects to the database (such as Management Studio), the next time my C# application runs, it cannot access the database. The error is "Operating system error 32". Unable to open the …

Member Avatar for Momerath
0
130
Member Avatar for LianaN

Hi! I've downloaded the MySQL Server 5.1 and developed a small database using the MySQL Command Line Client. However, now I must update a structure of some tables, include some foreign keys, etc. In my opinion, it is not very comfortable to use the MySQL Command Line Client and the …

Member Avatar for LianaN
0
183
Member Avatar for smithag261

I want to know how to write a program to obtain sum of the first and last digit of a number?

Member Avatar for arkoenig
0
233
Member Avatar for johnwoods87

Hi I'm new to python, I need a little help, i need to write a function that's has a radius parameter and retunes the circumference of the circle. anyone that's able to help ? sorry its not a lot of info to go on.

Member Avatar for catintp
0
126
Member Avatar for 080346

hello everybody; i want to know that how i will open another gui when i click on a button?? thnx

Member Avatar for javaAddict
0
4K
Member Avatar for jakizak

Hi guys, me again. Having an issue with a multiple select form object that is generated through PHP and retrieves and displays MYSQL values. it displays and retrieves correctly and PHP produces is correctly, however, the form submission to post the values to MYSQL do not, instead it posts the …

Member Avatar for jakizak
0
202
Member Avatar for kahaj

I'm trying to perl -w the following: [code] #bonus.cgi - calculates a bonus amount and rcreates a dynamic web page which contains form data & a bonus amount print "Content-type: text/html\n\n"; use CGI qw(:standard); #prevent Perl from creating undeclared variables use strict; #declare variables my ($name, $sales, $rate, $bonus); #assign …

Member Avatar for d5e5
0
357
Member Avatar for Dragazarth

Im new to php so I decided to make site to test what i have learnt so far, nothing fancy just a test of php skills.. So I created a MySQL database (also new to), with a schema called items, a table called things, with 10 columns, idthings being the …

Member Avatar for diafol
0
859
Member Avatar for Potato.Head

Hi to all, I need to embed a mov file in a HTML file, the problem I found is that the Quicktime player is window mode and I need it windowless, I check not found a property to set it windowless, for windows media player exist the following property: [code] …

Member Avatar for jphilippe
0
159
Member Avatar for Sam56

Alrighty guys, so say I have something like this: cout <<"hello"; cout <<"how ya doin?"; cout <<"goodbye."; i know that it is somehow possile to write it something like this: cout <<"hello"; <<"how ya doin?"; <<"goodbye."; How would one properly format the block of code with only one cout? I …

Member Avatar for hiddepolen
0
87
Member Avatar for ptemedia

Hi I have been searching many forums including this one and not found the answer to this anywhere (sorry if it has been and I have missed it) I have a drop-down list in my website. The user can use this to browse the categories and then select a product. …

Member Avatar for ptemedia
0
477
Member Avatar for Leppie

Advice sought? Hi, I'm trying to create a program that when run ten times (closing inbetween) then throws up a message. My thoughts on this is to get my application to create a dat file storing 0 (Zero) in it, then have my application read the dat file for input …

Member Avatar for Fbody
0
212
Member Avatar for iamthwee
Member Avatar for sukanya1990
0
5K
Member Avatar for bluem1

Team - I am in the beginning of a new project. I need to be able to present a list of records on an .aspx page. (This isn't a problem.) and when the "details" link is clicked it woudl show the full record etc. (again, not a problem) Problem? I …

Member Avatar for bluem1
0
165
Member Avatar for Th13teen

Hey, I'm fairly new to VB and haven't done this kind of thing with code before... I would like to read values set in a string that's retrieved from the Web, I've already got the string in a string called Webdata. The string is like so... [CODE]"Info" { "Name" { …

Member Avatar for Th13teen
0
151
Member Avatar for chris evans

Hi im working on views that can help me navigate through records in a table. i have managed to execute an sql string to select the table i.e "select * from Users" i however want to build a "Previous" and "Next" command on the view but im mixed up on …

Member Avatar for AndreRet
0
100
Member Avatar for Buffalo101

Hello, I want to use a JTable for displaying data loaded from a .txt file. The problem is that I don't see any methods for inserting a row. The code NetBeans generates is this: [code=java] jScrollPane1 = new javax.swing.JScrollPane(); tabel = new javax.swing.JTable(); label1 = new javax.swing.JLabel(); jButton1 = new …

Member Avatar for Buffalo101
0
2K
Member Avatar for sonakrish

Hi there.. In sleep(5000) what type of data is 5000??? Is that an integer or byte or something. Thanks in advance

Member Avatar for masijade
0
122
Member Avatar for Richard Kerr

I'm writing a small application to retrieve a playlist from Windows Media Player and I'd like to display the associated album art. I can't find any reference to where the album art is stored in relation to the album currently in the playlist. The code I'm using is fairly simple …

Member Avatar for JJCollins
0
503
Member Avatar for gikonyo

i am trying to submit a form to the mysql database using php the following error is resulting. Error: Unknown column 'unit1_code' in 'field list' what could be the problem

Member Avatar for pritaeas
0
84
Member Avatar for mangel.murti

Hi ,all i have two field one is checkin date and other is checkout date . i have table structure as i attached jpg file here. when user enter dates i have to show his season on the basis of hotel id? note:user can enter any date checkin date and …

Member Avatar for smantscheff
0
75
Member Avatar for kangkan_14

Can anyone tell me what is "mutual exclusion" and give a simple algorithm for it??

Member Avatar for Dhruv Gairola
0
286
Member Avatar for Xcelled194

Hi all, I'm designing a web page in ASPX. I have a few textboxes where the user enters the number of items, and a label that shows what they would currently pay if they checked out at that moment. I need help using a UpdatePanel to refresh the label when …

Member Avatar for vuyiswamb
0
90
Member Avatar for Encrypted

Hey guys.. I have a foreach loop (with multiple variables inside of it) and I need to collect the variables, as well as other content, and store it into a single string so I can output it into an email. Has anyone done something similar to this before? Here's some …

Member Avatar for Encrypted
0
97
Member Avatar for dorien

Hello, I need to find repeated sequences within a vector. I have been thinking about using search, as is described [URL="http://www.cplusplus.com/reference/algorithm/search/"]here[/URL]. But this uses an array to search, I don't need to use extra memory, as I am seaching for sequences [B]within[/B] the same vector. Any suggestions on how to …

Member Avatar for dorien
0
2K
Member Avatar for pythonbegin

Hi All Hope you all are ok. I have a query on calculating frequency distribution. I have seven different files like the one I have attached which contains items as below in example. I want to know total how many times each pair occurs combining all these files. ex 208015_at …

Member Avatar for TrustyTony
0
195
Member Avatar for yeticannotski

Following the Python3 Tutorial for non-programmers I took on the exercise of creating "quit" and "lock/log out" options for a very simple program, as follows (comments in the code are pretty dumb and obvious, but they are notes for mydumbself): [CODE]#!/usr/bin/python3 # Filename: lockunlock.py password = str() logged = 2 …

Member Avatar for yeticannotski
0
187
Member Avatar for gikonyo

i am trying to connect a form to mysql database by using php code,but once a click submit button to submit the form this is the error am getting. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the …

Member Avatar for gikonyo
0
127
Member Avatar for TheWhite

[code] public class TEST extends JFrame{ ... blah, blah..... private void launch(){ setBounds(200, 200, 100, 100); setDefaultCloseOperation(EXIT_ON_CLOSE); JPanel greenPanel = new JPanel(); greenPanel.setSize(70, 70); //<---- xNot resize the greenPanel greenPanel.setBackground(Color.green); JPanel yellowPanel = new JPanel(); yellowPanel.setSize(50, 50); //<-- xNot resize yellowPanel in greenPanel yellowPanel.setBackground(Color.yellow); greenPanel.add(yellowPanel); JPanel bluePanel = new JPanel(); …

Member Avatar for Azeerazly
0
200
Member Avatar for RoseMary3
Member Avatar for RoseMary3
0
93
Member Avatar for Naveed_786

When i mahe setup using setup and deployment wizard it make the setup perfectly but when i try to install it gives me error what is the best way to make a setup and run it perfectlly please help.

Member Avatar for AndreRet
0
104
Member Avatar for Anika123

Hi I am doing a game design course and am in my last year. The title of this thread is the title I have chosen for my final year project. My aim is to produce a program that will mimic the effects of weather conditions on a model in an …

Member Avatar for fansi099
0
100
Member Avatar for king_koder

How do I sort a list in Python alphabetically? The code that is used for Python 2 doesn't seem to work: [CODE=python] mylist.sort() [/CODE] Since the file I'm working with has all text in the same case, case doesn't matter here. Please help. Thanks.

Member Avatar for king_koder
0
231
Member Avatar for joshisumitnet

Dear Friends, I want to know that how can we compare two hebrew string in MySQL database? I tried and search a lot on net but still could not found the answer. My website is dealing with Hebrew(main) and English as well. So please let me know How can I …

Member Avatar for smantscheff
0
570
Member Avatar for superchica08

hello I have done this program that prompts the user to input the length of the sides of a triangle and outputs the shape of the triangle. Using an enumeration type, triangleType, that has the values scalene, isosceles, equilateral, and notTriangle. so the problem i ma having with the program …

Member Avatar for superchica08
0
246
Member Avatar for sugikrish

Hi frnds, I want activate the textbox when i select the particular checkbox in php.Anybody know send that coding ......

Member Avatar for billy147
0
241
Member Avatar for louiscos77

Hi guys; Just like I said in the <title>, How can I install JBullet in Netbeans? Do I need to write the Monotone commands? 1:0 case:1 then how do I get the mtn commands, is just because it shows this output<< "mtn" is not recognized as an internal or external …

Member Avatar for SgtMe
0
141
Member Avatar for Pandamonium

Hi I am trying to write a program that asks the user for a 2 digit number and then takes that number and prints out its english name. ex: 45 Forty - Five The problem I am having at the moment is that I cant figure out how to seperate …

Member Avatar for griswolf
0
113
Member Avatar for powerteens001

I have a registration sort of page in my application. It has lots of textboxes,dropdowns and many other controls on it. Out of them some are mandatory and others are not. Form will be submitted only if mandatory fields are filled. Mandatory fields are differentiated from others by using specific …

Member Avatar for powerteens001
0
782
Member Avatar for azzman

This is what I have so far. This is a two player game. I need to make it a one player game (player vs. computer). I am also trying to make the computer smart.. for example, if there is an open corner, then it should take that spot. Basically, the …

Member Avatar for griswolf
0
446

The End.