132,726 Archived Topics
Remove Filter ![]() | |
Hello everyone, I am looking for an example of a call to bind.exe. The documentation on this platform sdk program is unclear. I would like to bind an .exe file to a specific .dll. How should I code the bind command? Please don't ask me to enter " bind /?" … Software Development c | |
Hello! I have written this dialog to connect to a MySQL database. It asks for the Username and Password, and it should use this data to connect to the database. [CODE]#! /usr/bin/env python # pwd.py import wx, MySQLdb class LoginDlg(wx.Dialog): def __init__(self): wx.Dialog.__init__(self, None, -1, 'Login', size=(250,150)) # widgets userLbl … | |
I find the concepts in pointers to an array very confusing in the context of using them in functions. Here in this case I am trying to get a whole array from a function. The whole array is generated within the function. Obviously my code is hopelessly nonsensical. [CODE]#include <iostream> … Software Development c++ | |
Hello, I'm trying to understand linked list but i'm having problems with the way my text describes one aspect. This is the problem i'm having: The text says: //If there are no nodes in the list make newNode the first node and then test it like this: head =NULL; if … Software Development c++ linked-list | |
Does anyone have a way to change the background color of every other row in a table with xsl-fo. I'm using nFOP to create pdf's and have accomplished most everything I've needed but would like to have say every other row have a light gray background. If I statically set … | |
Okay, so yet another post here due to my utter confusion with this language...in all honesty, this isn't a question about threading, per say, lemme just demonstrate what I mean. This: [CODE]class RevoiceThread( threading.Thread ): def run (self): print "Remember to replace this line with the actual code" [/CODE] is … Software Development open-source python | |
[QUOTE]Hi guys, I just want to know on how will I add a Checkbox in each row of my datagridview. First I used a datatable to get all the values from my database and then pass it all to the datagridview. What I want to happen is at the first … Software Development vb.net | |
I am trying to connect from Eclipse to a database in SQL server 2008. However, i am unable to and the following error message is thrown(see attached image). Can somebody help? | |
Hi! I am having a problem with the project I am working on. The project will have more than one query; however, I cannot get the simple one to work yet. I have a form with two text boxes and a button. I also have an Access database that I … Software Development microsoft-access sql vb.net | |
Hello I am just learning Java. I have some elmentary questions. In my code below there are 3 errors that occur: - How do I declare a string array of size 5 in Java correctly? - How do I cin :p, take in a string array element. Ie, in C++ … Software Development java | |
Hi! I´m working with multiband TIF files and some of them have double data type. I need to modify some pixels from int (0-255) values to double values; problem is that my original image has int values, so it always rounds new values to int. That´s why I want to … Software Development java | |
Hello! I need help with this program.. Me and my friend are working on a simple inventory system. The program works well, but we don't know how to retrieve the and delete the data that we inputed. Thanks for helping! Here's our code: [CODE]#include<iostream.h> #include<conio.h> #include<fstream.h> #include<stdio.h> #include<string.h> #include<dos.h> #include<stdlib.h> … Software Development c++ | |
| |
how to search xml files in complete hard disk and display it's file name. if double click any file name then it will open a note pad(view the source coed) and another option is open the browser(Internet Explore,any browser) [COLOR="Green"][B]please write the code[/B][/COLOR] Thank you....... Software Development open-source vb.net xml | |
Hello all, For this program (assignment), the user enters the names of five students, and their respective four test scores. The program will then average the scores, and display them for the user. Part of the requirement for the program is that we use five single-dimensional arrays of 'doubles' to … Software Development c++ | |
Hello everyone I am making a code to take a binary code and then embed it within the first row of a picture. Then with that another function takes it out of the picture and converts it into decimal. The problem is that I am pretty sure I did it … Software Development java | |
how can i print numbers on the screen by using tasm Software Development assembly | |
Hi to all. Could you guys help me with a little program. There is something wrong with tahat and can't find that. That's the code: [code=c] /* An employee is paid at rate of 16.78$ per hour for the first 40 hours worked in a week. Any hours over that … Software Development c++ | |
I wish to create a class of text boxes (I could use an array but I'd rather use a class). How do I assign the class a parent (much like textBox.Parent = someForm, etc.)? Thanks, Software Development | |
I'm a newbie to python and I have a problem. My problem is that I have a CSV file with hundreds and hundreds of rows of data. Each row contains temperature data that has been recorded daily. What I want to do is try to extract certain rows of data … Software Development python | |
Defining a Class Define the class rectangle. It's constructor takes a pair of numbers representing the top-left corner, and two other numbers representing the width and height. It has the following methods: * getBottomright() - return the bottom right corner as a pair of numbers. * move(p) - move the … Software Development python | |
I'm quite new in Python. I've been trying to solve this IndexError but couldn't get the answer yet. Need you guys advice or help. I want to extract the sentence matched with the keyword strSearch from 5gm-007 file(just text file). The error occured in "[COLOR="Red"]str5gram = lines[a][/COLOR]". here is the … Software Development python | |
please can anyone help my with my project I can't do it in one day the lecturer just asked us to do in this week so if anyone do it for me I will not forget this favor in my entire life . the link of the project [url]http://uploading.com/files/fc1abaa1/ICS%2B102%2B-%2BLab%2BProject.doc/[/url] this … Software Development java | |
Hi, I am facing an error in Internet Explorer.. ('eNew' is null or not an object)..and my project UI was not getting displayed correctly.. I don't know where the problem is..?? whether with the browser or what...?? Please someone help me..:( Thanks in advance.. Jyothi Software Development java | |
Okay this program is really pissing me off! After line 95, the member variable is suddenly getting changed (That is, the 2nd string). Even after looking at it for 3 hours, I've failed to crack it :( Please help me out guys! [CODE] # include <iostream> # include <cstring> using … Software Development c++ | |
Good evening! I am currently working with a program that does basic arithmetic with polynomials that can have rational coefficients. I was able to come up with seperate classes and implementation files for my two classes, Polynomial.h and Rational.h. I can run two different programs, one for each class, fine. … Software Development c++ | |
Hello :) is it possible in vb.net for a datagrid to take input???I have always known it to behave as a window to the database..If it's possible,how is it done?? Thanks in advance for the result of my queries!:) Software Development vb.net | |
Im quite new to C#, please forgive me if my question is stupid. Im currently doing a project (alarm clock) and encounter some problems. I need to know is there anyway to change the Time ("6:02") from textbox or other means instead of changing it from the source code itself. … Software Development | |
how to add some text to existing text file without erasing current data? Software Development | |
Good afternoon, i'm getting an error when I compile "undefined reference to 'TestScores:theAverage(int *,int)" I'm not sure what the compiler is telling me. Any assistance is welcomed. Art header // this is the header file for class TestScores #ifndef TESTSCORES_H #define TESTSCORES_H //this idea with this class is to take … | |
Hello everyone I am making a code to create a fractal using the turtle class in java. The problem is that the fractal string doesn't seem to be registering through the if and else if statements. What I would like to know is if that is the problem...or something else...Thanks … Software Development java | |
I'm taking on a new project and was hoping to get some help. I recently helped complete a Java application in which the user enters various inputs (of the type double or string)into text fields. The application then saves these inputs into a text document which is then used for … Software Development java java-netbeans | |
Hi, does somebody knows how to convert the password input so it does not appear to the screen as what we type and it appears as special characters like******. thanks! Software Development visual-basic | |
Hello all, I recently made a mysql database using python and imported an excel file into the database. However, I am having some issues with some of the python. Using the following code, I have selected 11 numbers from a table in the database. # c.execute('SELECT REF_PNL FROM actual_data_table WHERE … Software Development microsoft-office mysql python | |
I am writing this program for class and it compiles fine but when i debug it it gives me an assertion failure any suggestions would be welcomed i need it to output 20 random sentences. [CODE]#include "stdafx.h" #include <iostream> #include <cstdlib> #include <ctime> #include <cctype> using namespace std; const char … Software Development c++ | |
Hey I have a question regarding datagridview cells, I have made made the rows that display data from the database as read only, but the thing is when I click on one of the cells an event triggers out, I have coded for cellcontentclick, cellvalidating, currentcelldirtystatechanged, editingcontrolshowing. When I clik … Software Development vb.net | |
Hello everyone, First of all sorry for my English. How can I rename headers in dataGridView? When I press on Find button all works just fine. I get the information wich I want. But headers of columns in dataGridView have names just like in database (PersonID, Name_Person,... ). I would … | |
I found this little program for a game in a book. [CODE]class Tank (object): def _init_(self, name): self.name = name self.alive = True self.ammo = 5 self.armor = 60[/CODE] It is named tank.py When I import it in python and I try to add [CODE]my_tank = Tank("Bob")[/CODE] Python gives an … Software Development python | |
Hi everybody, how to make listview selection; i wanna make multi selection in listview ; but don't want to use ctrl key . eg; if i select 1st item , make highlight it. And then if i select 3rd item, 1st item still highlighted and 3rd item highlighted as well. … Software Development listview | |
My form1 has datagridview, that is populated by a dataset. I want to pass the selected value of the datagridview to my other form which is form2. How could I do this? Software Development dataset | |
Hello! I am trying to redirect the stdout following the example in [URL="http://www.blog.pythonlibrary.org/2009/01/01/wxpython-redirecting-stdout-stderr/"]http://www.blog.pythonlibrary.org/2009/01/01/wxpython-redirecting-stdout-stderr/[/URL]. My code has some loops, and I would like the function to redirect stdout each time the loop is repeated, as it happens when running the code with the command line. However, it seems that in this … Software Development python | |
I have a code wherein I pass a whole array to a function. Is it possible to do exactly the same thing using pointers? [CODE]#include <iostream> using namespace std; void func(int array[]); int main() { int array[] = {10,20,30,40}; func(array); cin.get(); return 0; } void func(int array[]) { cout << … Software Development c++ | |
I've done an example of 'template specialization'. Here is the code: [code] // template specialization #include <iostream> using namespace std; // class template: template <class T> class mycontainer { private: T element; public: // only prototype mycontainer (T); T increase (); }; // class method definition template <class T> mycontainer<T> … Software Development c++ | |
Wanting to create an error handling function, I want it to return the line without having to pass an int value for it. I've seen functions given to me in books and so forth do it, but I have no idea how to get that value. Software Development c++ visual-studio | |
How can I execute some code when the user closes the application? Where do I put this code? Software Development | |
Okay, this puzzle the hell out of me. I've got 2 different sets of code, one which works, one which doesn't. They are both very similar, and I can't see what is causing the problem. Code that works: [CODE] public static void main(String[] args) { PropertyConfigurator.configure("log4j.properties"); new Settings().globalSettings(args[0]); logger.info("Read settings … | |
Dear all. Thanks for you kind and generous supporting. From the String s="<hell <world </world </hell"; I wanted push the elements "<hello, <world" into stack, and pop off if current element equal to peek element in stack. Question: Even stack.peek().equals(CURRENT ELEMENT), why can not pop off, but occurs error?? Please … Software Development java | |
can u please help me? this was my teacher's project for us! i really dont know what to do! Software Development c++ | |
can someone tell me how to do this??? i have a product category in a combobox and the associated product codes in a list box. i'm using oracle for backend. the combobox on form loading shows the product categories from oracle database. but the product category is not a primary … Software Development oracle visual-basic |
The End.