132,726 Archived Topics
Remove Filter ![]() | |
Hi there. I'm a newbie and am having what I'm sure is an easily corrected issue. I am using JFileChooser in one class to select a file that I would like to to have passed onto another class for file reading. [CODE] private String selectFileOpen(String title) { JFileChooser fileopen = … Software Development java | |
Hi, please assist; I'm trying to read a text file located on a url, and that file information is separatedby tabs, and some cases the results on it are null values, depending on the systems performance. now, I can't read it if all values are tabs, especially the last values, … Software Development file-system hard-drive java | |
Hello! I have been playing around with python and mysql, and I have started thinking about creating a database to record my bird sights. For connection purposes, I have programmed this class [CODE]class LoginDlg(wx.Dialog): def __init__(self): wx.Dialog.__init__(self, None, -1, 'Login to Ornithobase 1.0b', size=(250,150)) def comboLogin(): import MySQLdb db= MySQLdb.connect(host='localhost', … Software Development database-design python | |
I'm wondering whether it is possible to declare a global variable in a click event. I need to declare an array of a specific size. The specific size is generated using a series of IF statements. I only need to know how to declare it. Thanks in advance I'm using … Software Development vb.net visual-basic visual-studio | |
hi all, I'm new to the linux programming first of all. I just wrote this program. [code] #include <fcntl.h> #include <stdio.h> #include <iostream> #include <string> using namespace std ; int main(int argc,char **argv) { /* open the file */ string _path_name = "./file"; string _return ; int fd=open(_path_name.c_str() ,O_RDONLY); /* … Software Development c++ | |
hey, i am using a datagrid view calender column in a form, i add all the details of it to the database.(such as the due date as 08/20/2010) and then when i come and open it in the next day try to edit it, it gives an error saying "Argument … Software Development vb.net | |
I have a problem that i have tried my best to solve.. but its not working well in my program i take both integer and character inputs. [B]when typing fast i noticed that, when a user accidentally enters a character instead of integer or integer instead of character the program … Software Development c++ | |
I've got a slight problem with a function I'm writing. I'm trying to pass a 2d array to a function whose sole purpose is to display the contents of said array. Now, what I'm about to give you all compiles, but my compiler (bloodshed's dev-c++ v4.9.9.2) is giving me "warnings". … Software Development c | |
Ok.. so I just started python (just = 3 hours ago). I have basic input and output set. Hell I even understand slicing and stuff (OMG SUBSTRINGS SO MUCH EASIER ON PYTHON :O ) but Im finding it not so easy to understand how to use for loops (silly me. … Software Development programming-construct python | |
I have developed a C++ CGI which runs fine on Apache on Win32. I would like to deploy the program onto linux. My plan is to install Wubi (i.e. Ubuntu) and compile the CGI there so that it will work on the linux server. But before I do, I need … | |
[B]Context[/B] I'm retrieving data from Google Analytics (via the python-googleanalytics library, as Google's API is way too complex for me right now) and putting that data into a table using an HTML library. Python experience: very low. [B]Problem[/B] I have this: [u'string', u'string'] [integer] [u'string', u'string'] [integer] [u'string', u'string'] [integer] … Software Development api google-api python seo | |
Below is working code from my application. All I'm pulling back from the table is is IDX and an associated string. [B]ls[/B] is a List<T> of the same class [B]tmpINC[/B] is an instance of. When I test tmpINC before adding it to the list, the data in IDX and Name … Software Development | |
Hi friends, I have separated Red, Green and Blue color from a bitmap image and stored it in grayscale (obviously). Now I want to know how can I merge it so that I can get the exact previous colour, when I am merging them by reading its color values it … Software Development | |
Hello all I have gride view named gv and bind it through gv.datasource and i am working on windows application with C# after binding it works ok and show all values but i want one extra clumn with some image like magnifying glass along with each row so while i … Software Development | |
hi there, i have a datagrid view which has a calender column. in the datagridview row the calender column icon in the datagridview cell does not show, it appears as a datagridview text box,when you double click on the datagridview calender column cell,the datagridview calender column will display the calender … Software Development vb.net | |
Hi guys i have a new kind of error , i never seen before . Error Message is[CODE] Cannot update Program database "e:\ganesh_projects\Framework\Framework\debug\vc90.pdp . [/CODE] I am a fresher so any one tell what the problem is Software Development c++ | |
Hi. I want to sort the keys of my dictionary. The keys are consisted of list of 3 different numbers, for instance - (0, 5, 0) So I want to sort them first over key[2], then over key[1] and then over key[0] Then to print the value accorfing to the … Software Development python | |
i am trying to insert a 2 integer values into the linked list, but the program keeps crashing after it gets to inserting into a linked list. [CODE] struct termNode { int coeff; int exp; termNode * link; }; void insertHead(int c, int e, termNode * & P) { termNode … Software Development c++ linked-list | |
Please check the line(s) of code after the comments '//this is the line of code in question... '. I want to know if this is the proper way to use the std::ostream operator<< in multi-inheritance? Basically I want the derived object(dog) to call the base object's std::ostream operators without hard-coding … Software Development c++ | |
Hi guys, I want to search a customer when i press an alphabet 'a' it should search and show drop down list of all customer those name start with 'a'. Please please help thanks in advance. Software Development vb.net | |
I have VB6 code which I inherited and modified to run an instrument and calculate information from the collected data. That code is distributed to many locations throughout my company, but the personnel at those locations are not skilled in adjusting settings. On older PCs, the instruments were connected to … Software Development visual-basic | |
[CODE] import java.io.*; import java.util.*; import java.text.*; //-------------------------------------------------------------------------------------------------------------------------------------------------- public class KateAug17{ private static StringBuffer buffer; private static BufferedReader input1=null; public static String [] arrayM1 = new String [10000]; public static Double [][] coordinates1 = new Double [10000][4]; public static Double [][] coordinates2 = new Double [10000][10]; public static String [] … Software Development java | |
I am looking to allow the user to submit a polynomial such as +3x^6 +2x^2 +9x^0 into a set of variables which would be sent to a linked list. What is the best way to separate the variables to allow them to be looked at individually. So that: C E … Software Development c++ linked-list | |
Is there any recommended books, websites or practices that i can do to improve my c++? I decide to become a great programmer in the future! Software Development c++ | |
I want new a array,such as double *dou=new double[600*600*900] but in the case of "WIN32",vs compliler likely could't support new a array exceed 2G if I want to new the array above, how to do? Software Development c++ | |
I have been given a program to write in java but inspite of thinking hard I have not been albe to get the logic for doing it. Here's the problem- I am given n dice which are rolled simultaneously and one of the possible sum of the dice. The program … Software Development java | |
I'm not sure about what I did, but........ [url]http://i33.tinypic.com/2vjr87b.png[/url] How do I get rid of those green arrows? Software Development | |
I 'm not quite sure if i did the right way but i just couldn't get the right value for my codes....can anyone figure out the problem? [CODE]for(int x = 0; x<myvector.size();x++) { if(number.compare(0,2,myvector[x],0,2)==0) //compare number(user's input) to the line read from getline { checknumber = true; cout<<"passing compare++"<<endl;//if same … Software Development c++ | |
Hi everyone, I'm new here but have found it super useful to search the forums when encountering problems so I have been in the background. I am however really stuck with bitsets and have not been able to find a relevant post here or on the internet. My issues is … Software Development c++ | |
Hello! I have defined a function to create a combo box to log into a database [CODE]def comboLogin(): import MySQLdb db= MySQLdb.connect(host='localhost', user='root' , passwd='acrsci00', db='Ornithobase') self.cursor = db.cursor() sql = '''select Username from Users''' self.cursor.execute(sql) result = self.cursor.fetchall() result2 = [] x = 0 for record in result: for … Software Development python | |
i want to make a program that used to enter 7-digit number and determine the largest , smallest and the median and average of the seven number and as for know i tink i got it but there something wrong again in my program can you chek it out and … Software Development c++ | |
I have written a program that works well on xp. However when I install it on vista it crashes. I simply used publish and don't really know where to start looking. I have checked and net framework is on vista pc. Any help welcome please. Software Development | |
How can I clear the form without closing after a msgbox appears in visual basic 5? Software Development visual-basic | |
Looking for 'unqualified exec is not allowed in function' lead here... This is a collaborative thing... so here's all of the code (some parts just description of eventual 'future' implementation) for a [I]universal code parser[/I] (biiig name for a smaaaall thing, that is not working at all yet, and is … Software Development operating-system python | |
I am getting so much errors in php. I couldn't understand why. I re-checked all code but I am getting strange errors. The code below is provided to you under mit/x11 license for modification and distribution. ALL DERIVATIVES ARE WELCOME! :) Here is the code: [code=php] <html><head><link href="style.css" rel="stylesheet" type="text/css" … Software Development apache html-css php postgresql | |
hi all, im doing web using java.there is input n output in that page.everytime i want to change the input, i have to open new window.so, i want to settle that problem with just refresh the page.but i dont now how.anyone here can help? thanks for advance...... Software Development java | |
Hey all! I'm working on a project at the moment that uses WPF with C#. It has 4 tab pages (view, add, edit, delete records). On the view tab page, there is a listview that displays the database (SQL using linq-to-sql) records from a particular table (lets call it 'customers'). … Software Development listview | |
Hi , I am currently doing a university project 'creation of a web mining tool to gather information about individuals and classify them semantically'. I am currently lost and don't know how to start. Does any one have tutorials links that explain how to use java to connect to website … Software Development java | |
Visual Basic 2008 Hey i was wondering if it was possilbe to change the colour of text in a textbox through a button in a simple text editor that i am working on any help would be appreciated. cheers Software Development gui vb.net visual-basic | |
Hi everybody, In standard C++, two pair objects (pair <int, int>) are equal when the first and the second member of the pair are equal. Would it be possible to redifine the pair so that to pairs would be equal when only the second terms are equal? Thanks a lot … Software Development c++ | |
I compiled a HelloWorld example using QtJambi. But on running it, it said "[B]failed to unpack native libraries[/B]. The complete error was : [CODE]daud@daud-laptop:~$ java -d32 com.trolltech.examples.tutorial.HelloWorld Exception in thread "main" java.lang.ExceptionInInitializerError at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:60) at com.trolltech.examples.tutorial.HelloWorld.main(HelloWorld.java:58) Caused by: java.lang.RuntimeException: Loading library failed, progress so far: Unpacking .jar file: 'qtjambi-linux32-gcc-4.6.3.jar' Checking … | |
HI every one, I need to do a course project for software architecture which should be implementable and is compulsoraily an ieee or acm paper. The areas given for us are: agile s/w developement,extreme programming,cloud computing,web services,generic programming,testing... can u guys suggest any thing in it Software Development c++ cloud-computing software-architecture | |
![]() | how can I input a console-entered string into multiple structure variables? I have the following structure: [code=c]struct MyTime {int hours, minutes, seconds;};[/code] and need to prompt a user to enter a time in format hours:minutes:seconds and then store that time into the structure directly i.e. I can't input a string … Software Development c++ ![]() |
hi all i'm a Beginner in c# coding. i want to design a home application that will run on a single pc i want to design a menu strip but not like the menu bar that appear above the window(file,edit,view,...) my idea in design is that the menu appear in … Software Development c# java javascript | |
Hi, I have a project which calls an internal jar included in it´s classpath. At a certain moment my code makes this call: [CODE] Runtime.getRuntime().exec("java -jar ./jars/myJar.jar"); [/CODE] It works when running from Netbeans, but when I make "clean and build" and then execute the new jar ( outside of … Software Development java java-netbeans | |
Hi, I have been practising some OOP and have encountered this error `" cannot resolve symbol - variable MyInput"` I wonder wat's wrong...here is part of my code: public class BorrowMortgage { //Main method public static void main (String[] args) { //Create one borrower Borrower borrower = new Borrower( ); … | |
[CODE]// pointers to base class #include <iostream> using namespace std; class CPolygon { protected: int width, height; public: void set_values (int a, int b) { width=a; height=b; } }; class CRectangle: public CPolygon { public: int area () { return (width * height); } }; class CTriangle: public CPolygon { … Software Development c++ | |
Hello, I am new to this site and to C++. I have been following a tutorial on how to make a Tetris clone in SDL and C++ from the following site : [URL="http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html"]http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html[/URL] When i was finished going through it all and sorting through all the petty errors I had … | |
Hi, I am currently using ms word template .dot to create a ms word document. My current goal is to create .xml file to be used for quickbook sdk input (qbxml). I am using ms word 2003 and I can save those .dot as a .xml document, but it is … Software Development microsoft-office xml | |
im trying to make it so that the discount box will only accept numeric input to 2dp, and i know the code is roughly solid, but when i run the code, it says CashTransaction has no attribute discount input, and i have been tinkering with this code for the better … Software Development python |
The End.