199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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? | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
I want to know how to write a program to obtain sum of the first and last digit of a number? | |
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. ![]() | |
hello everybody; i want to know that how i will open another gui when i click on a button?? thnx | |
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 … | |
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 … | |
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 … ![]() | |
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] … | |
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 … | |
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. … | |
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 … | |
![]() | This snippet shows you how to connect to a database using ODBC in vb.net 2005 |
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 … | |
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" { … | |
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 … | |
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 … | |
Hi there.. In sleep(5000) what type of data is 5000??? Is that an integer or byte or something. Thanks in advance | |
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 … | |
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 | |
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 … | |
Can anyone tell me what is "mutual exclusion" and give a simple algorithm for it?? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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(); … | |
I need a "Page Recommendation" or "send this page to friend" Scripts | |
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. | |
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 … | |
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. | |
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 … | |
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 … | |
Hi frnds, I want activate the textbox when i select the particular checkbox in php.Anybody know send that coding ...... | |
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 … | |
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 … | |
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 … | |
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 … |
The End.