132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for allynm

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
Member Avatar for Ancient Dragon
0
179
Member Avatar for acrocephalus

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 …

Software Development mysql python
Member Avatar for griswolf
0
211
Member Avatar for ontherocks

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++
Member Avatar for ontherocks
0
129
Member Avatar for aikiart7

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
Member Avatar for aikiart7
0
108
Member Avatar for Cory_Brown

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 …

Software Development pdf xml
Member Avatar for floatingDivs
0
1K
Member Avatar for Tarkenfire

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
Member Avatar for Tarkenfire
0
229
Member Avatar for Lee21

[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
Member Avatar for Oxiegen
0
211
Member Avatar for raghujosh

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?

Software Development java sql
Member Avatar for raghujosh
0
359
Member Avatar for rhonda2010

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
Member Avatar for JSS at MSSU
0
861
Member Avatar for gretty

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
Member Avatar for tong1
0
214
Member Avatar for sportinguista

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
Member Avatar for sportinguista
0
345
Member Avatar for megz_03

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++
Member Avatar for Ancient Dragon
0
252
Member Avatar for developer@india

what is the size of boolean data type in java?

Software Development java
Member Avatar for ~s.o.s~
0
223
Member Avatar for tamil.veera

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
0
31
Member Avatar for vandadm

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++
Member Avatar for tesuji
0
211
Member Avatar for emcyroyale

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
Member Avatar for NormR1
0
144
Member Avatar for c00l

how can i print numbers on the screen by using tasm

Software Development assembly
Member Avatar for gacha23
0
170
Member Avatar for mauro21pl

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++
Member Avatar for gacha23
0
880
Member Avatar for ecoloney

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
Member Avatar for Geekitygeek
0
96
Member Avatar for stompper33

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
Member Avatar for Beat_Slayer
0
3K
Member Avatar for john125

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
Member Avatar for Beat_Slayer
0
2K
Member Avatar for Sky Choi

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
Member Avatar for Beat_Slayer
0
228
Member Avatar for uraion

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
Member Avatar for javaAddict
0
96
Member Avatar for nagajyothi

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
Member Avatar for javaAddict
0
99
Member Avatar for xavier666

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++
Member Avatar for xavier666
0
146
Member Avatar for DamienCurr

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++
Member Avatar for StuXYZ
0
1K
Member Avatar for gracea

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
Member Avatar for santhosh6am
0
66
Member Avatar for DizzyHead

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
Member Avatar for DizzyHead
0
100
Member Avatar for y2kshane

how to add some text to existing text file without erasing current data?

Software Development
Member Avatar for y2kshane
0
157
Member Avatar for aikiart7

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 …

Software Development c c++
Member Avatar for aikiart7
0
223
Member Avatar for emcyroyale

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
Member Avatar for Ezzaral
0
132
Member Avatar for cac186

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
Member Avatar for NormR1
0
291
Member Avatar for VBNew

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
Member Avatar for Aslam Mansoor
0
168
Member Avatar for ronparker

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
Member Avatar for vegaseat
0
973
Member Avatar for mike42intn

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++
Member Avatar for mike42intn
0
232
Member Avatar for judithSampathwa

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
Member Avatar for judithSampathwa
0
488
Member Avatar for MatejM

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 …

Software Development c# vb.net
Member Avatar for PierlucSS
0
458
Member Avatar for Laurence26

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
Member Avatar for umbuty
0
173
Member Avatar for octavia

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
Member Avatar for PierlucSS
0
296
Member Avatar for AngelicOne

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
Member Avatar for SHatcher
0
1K
Member Avatar for jasleen12345

i have a program in which i have to input 2 2-d arrays and then compare the elements of both. executing for loop again and again is making the program long. can i make it short. can we pass an array into a function?

Software Development c++
Member Avatar for dusktreader
0
86
Member Avatar for acrocephalus

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
Member Avatar for TrustyTony
0
866
Member Avatar for ontherocks

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++
Member Avatar for ontherocks
0
158
Member Avatar for chaienbungbu

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++
Member Avatar for major_tom3
0
236
Member Avatar for ChaseRLewis

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
Member Avatar for ChaseRLewis
0
128
Member Avatar for buster2209

How can I execute some code when the user closes the application? Where do I put this code?

Software Development
Member Avatar for buster2209
0
102
Member Avatar for P00dle

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 …

Software Development java puzzle
Member Avatar for jon.kiparsky
0
567
Member Avatar for tedtdu

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
Member Avatar for jon.kiparsky
0
283
Member Avatar for lil.jeantle

can u please help me? this was my teacher's project for us! i really dont know what to do!

Software Development c++
Member Avatar for Fbody
0
85
Member Avatar for shalini_roy

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
Member Avatar for agrothe
0
417

The End.