132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for paulablanca

Hello! I am just wondering if someone can help me to generate a bar graph where in the x and y values are coming from a sql database. Thank you very much and God Bless. :)

Software Development vb.net
Member Avatar for paulablanca
0
88
Member Avatar for debasishgang7

I am using python in win32 enviornment.i wanna add extra library for using serial port.So i have downloaded the lib for windows env. The package is installing fine.But when ever i import serial following error i get.Can anyone please help me out... [CODE]>>> import serial Traceback (most recent call last): …

Software Development python
Member Avatar for debasishgang7
0
198
Member Avatar for VasquezPL

Hi guys..I try to automate outlook..it works great ..the problem is that I use office14 at home, and my company (where I need my program to work) uses office12... I was told that to make it possible to run on office12 and later, I need to get msoutl.olb from office12. …

Software Development c# microsoft-office
Member Avatar for VasquezPL
0
316
Member Avatar for rookanga

Im trying to make a fast food program on which the user will input the amount that he has, then he will click on what he wants, by using check boxes. There are 7 different check boxes with 7 different amounts of money. I got an idea on what to …

Software Development finance vb.net
Member Avatar for rookanga
0
953
Member Avatar for VasquezPL

I have found a solution here: [url]http://support.microsoft.com/kb/220600[/url] The problem is that its for MFC..I dunno how to create wrapper for .net C++/CLI I cannot add it via class wizard. using #import produces error: [CODE]Error 1 error C2812: #import is not supported with /clr:pure and /clr:safe[/CODE] I want to use automate …

Software Development c++
Member Avatar for VasquezPL
0
451
Member Avatar for kur3k

Hello, how i can creat menu in wx.ListCtrl(), for example when i double click in item list, i return menu like for wx.Menu().

Software Development python
Member Avatar for kur3k
0
864
Member Avatar for desert564

though the maortgagae cals works correctly the answers are not i columns [code] import java.io.*; import static java.lang.Math.*; import java.util.Scanner; import java.text.DecimalFormat; import java.text.NumberFormat; /** * @(#)AmortWeek3.java * * AmortWeek3 application * * @author * Week 3-Service Request SR-mf-003 * Change Request 1 * Display breakdown of monthly payments * …

Software Development java
Member Avatar for mKorbel
0
176
Member Avatar for muhile

here is my xml file i need help in creating an XSLT file to display it as HTML i a browser, the resulting output should deal with as many jobs as are returned and be simpla and clear to view in a table structure [CODE]<?xml version="1.0" encoding="UTF-8"?> <!--XML for XSLT--> …

Software Development data-structure xml
Member Avatar for xml_looser
0
189
Member Avatar for HelloMe

Im planing to have several Methods that will display the question and the answer choices to their coresponding labels and cmdButtons. But somehow i get the error message "void is an invalid type for the variable" when i want to create my method below of my code (i commented the …

Software Development java java-swing
Member Avatar for HelloMe
0
4K
Member Avatar for shinsengumi

Can anyone tell me what's wrong with my program below? I'm creating a program that writes every character(byte) from a buffer to a FILE until the number of bytes written is equal to the size of the buffer. [CODE] char *next; int character; int byteswritten = 0; next = buf; …

Software Development c file-system
Member Avatar for shinsengumi
0
219
Member Avatar for battlex2010

Hello every one i have a text file containing following data(it is a config file for another program): [pos] 100 [lastsave] 10 How do i replace the value of [pos] i.e 100 with 200?? Thanks BattleX

Software Development vb.net
Member Avatar for battlex2010
0
179
Member Avatar for subith86

while i was learning about global variables I did some trials and found one problem. Here goes my code. [CODE]int cows = 10; //global variable void farm1() { int cows; cout<<"in farm1, cows="<<cows<<endl; cows++; } int main() { //cout<<"in main, cows="<<cows<<endl; farm1(); //cout<<"back in main, cows="<<cows<<endl; } [/CODE] Here line …

Software Development c++
Member Avatar for mike_2000_17
0
189
Member Avatar for karthiyayiniyp

me doing attendance project in vb... i need to send automatic SMS from e-mail to phone number...... please help me .... and post some sample codings tooo...

Software Development visual-basic
Member Avatar for trilok31
0
833
Member Avatar for RicardoE

So I writed a complete software, and I included one custom file in the installer to hold some settings the program will need to run. The thing is that the program will need to write to this file when the user changes settings. When I run the program from Visual …

Software Development visual-studio
Member Avatar for Momerath
0
198
Member Avatar for Khoanyneosr

[CODE] #include <iostream> #include <ctime> #include <cstdlib> #include <string> #include <algorithm> using namespace std; //Types and Arrays string word[16] = {"GOLDFISH", "COMPUTER", "ANONYMOUS", "JACKET", "SHARP", "SERVICE", "EFFORT", "CHARACTER", "CHANGE", "WITHOUT", "PRODUCT", "UNFOLDS", "MUSIC", "MOMENT", "LIFETIME", "PROVIDE"}; char guess[50]; static const char Y= 'Y'; static const char N= 'N'; char ans; …

Software Development algorithm c++
Member Avatar for Khoanyneosr
0
132
Member Avatar for debasishgang7

hi all, I am trying to make a prog. which will download image from a web site.But the problem is the dynamic nature of the web site. The url is like [url]http://www.site.com/image.aspx?id=445[/url] If i wanna access image 1,2 or anything i can change the id and i can view the …

Software Development image python web-browser
Member Avatar for debasishgang7
0
462
Member Avatar for m16piggy

Hello, I am a begginer in VB.NET programming and would like to know some most likely simple things to help me out on my next project. What I would like to know how to do is; Make my application remember an activation serial Make a user login with a 'New …

Software Development operating-system vb.net
Member Avatar for RenanLazarotto
0
207
Member Avatar for prateekmeharia

i am using a template which is working fine with mozilla, but it shows allignment problems with safari, is there any code to make templates cross - browser compatible.

Software Development python
Member Avatar for wulaishiwo
0
87
Member Avatar for zarifin99ska

Hi. I have a form contain 10 checkbox. how to count total checkboxes that has been checked? i search over the internet but not found any solution. please help me. i found a code, but when i apply it on my project it says "Unable to cast object of type …

Software Development vb.net
Member Avatar for codeorder
0
2K
Member Avatar for progr

I am having problems accessing a variable from one class to another. [CODE] class Player(pygame.sprite.Sprite): def rotateShip(self, rotAmt): radians = self.rotation * math.pi / 180 [/CODE] I am trying to use the variable radians from class Player to another class. radians only exists in 'rotateShip'. Thanks for your help in …

Software Development oop python
Member Avatar for Gribouillis
0
154
Member Avatar for code07

(1,1) (1,2) (1,3) (2,1) (2,2) (2,3) (3,1) (3,2) (3,3) (1) (2) (3) (4) (5) (6) (7) (8) (9)

Software Development java
Member Avatar for Taywin
0
94
Member Avatar for mitrious

I've implemented a version of the String class (named Str) and I was implementing the getline fucntion of the getline function that's what I got [CODE]void* getline(std::istream& is, Str& s){ s.clear(); char c; if(is){ while(is.get(c)) s.push_back(c); return s.begin(); } return NULL; } [/CODE] I used void* so I would be …

Software Development c++
Member Avatar for mitrious
0
356
Member Avatar for Xan

hi.. im an amateur in java and im having problems in switch statements.. i would appreciate if you would help me solve this problem.. [B]Problem:[COLOR="Red"] Write a java program that will let the user input 2 colors and display the result color..[/COLOR] [/B] [COLOR="Green"][B] This is what i come up …

Software Development java
Member Avatar for Taywin
0
916
Member Avatar for sanam_1

HOW DO YOU READ A .JAVA FILE frm da same src folden...

Software Development java
Member Avatar for jon.kiparsky
0
64
Member Avatar for gingerfish

here is my code: [CODE]//if any of errprLists is not equal to 0, then initialWieght equals newWeight if(errorList[0]!=0 || errorList[1]!=0 || errorList[2]!=0 || errorList[3]!=0) { for(int i=0; i<row; i++) { initialWeight[i] = newWeight[i]; } } //break the loop if all errors equal 0 //--------------------------------------------------------------------------- else if(errorList[0]==0 && errorList[1]==0 && errorList[2]==0 …

Software Development java
Member Avatar for gingerfish
0
177
Member Avatar for pandaEater

I'm having some difficulty figuring out how to delete the objects I new'ed during run-time. I'm using a heterogeneous collection. Simplified Example: [CODE] const int SIZE = 4; myBase* objs[SIZE]; objs[0] = new myChild1(); objs[1] = new myChild2(); objs[2] = new myChild3(); objs[3] = new myBase(); //I tried: for(int i …

Software Development c++
Member Avatar for pandaEater
0
109
Member Avatar for Rimojenkins

I'm getting a segmentation fault at this line. So far, my program has classes. A blahpod with class of songs in them. Then there is the node class. I call the operator= which is supposed to put one pod into another. It looks like so [CODE]bobcatPod bp2( bp1 );[/CODE] That …

Software Development c++ linked-list seo
Member Avatar for Rimojenkins
0
160
Member Avatar for LevyDee

[code] std::string headerInfo = " "; //Verify stream is still in good condition if(streamReader->good()) { streamReader->ignore(fileSize, ':'); //work arounds =) v------------v streamReader->getline(&headerInfo[0], sizeof(headerInfo), '\n'); } else { //Error } return headerInfo; [/code] The first parameter of getline wants a char* to store the data, so instead of creating an array …

Software Development c++
Member Avatar for LevyDee
0
103
Member Avatar for Sean87

Hi all, I can't figure out how to select a child node when I already know its parent [Index] and the child's [Index] itself. Imagine a treeview like this: + Parent[0] |--- Child [0] |--- Child [1] + Parent[1] |--- Child [0] |--- Child [1] |--- Child [2] So how …

Software Development
Member Avatar for Momerath
0
536
Member Avatar for Dee1004

Hi everybody. I'm very new in programming languages and I have this project that from an input text file writes the frequency of the lemmas in the output file. I need to modify this and to make it work for an directory with text files as an input. I think …

Software Development java
Member Avatar for mKorbel
0
219
Member Avatar for Tinee

I found this somewhere on some website. Would you care to decode it, like explain why, when, and how they used the codes? The only part I didn't get is how did they get "largest_1" and "largest_2" by doing this. I see that it loops to find it but does …

Software Development c++
Member Avatar for Tinee
0
317
Member Avatar for Zvjezdan23

I am doing Yahtzee and I need help creating a hold function. can anyone help me?

Software Development c++
Member Avatar for WaltP
0
184
Member Avatar for NewOrder

i have a winform, and i added class, but when i added it, i got mistakes on the static classes i have inside. basically, it converts the code automatically to a form once it is located inside WinFormApplication1 and i dont know how to interact between the code and what …

Software Development promotion visual-studio
Member Avatar for Momerath
0
391
Member Avatar for sheennave

[CODE] Rectangle ^ClientResolution = gcnew Rectangle(); ClientResolution = Screen::GetBounds(); float CurrentWidth = 1366 ; float CurrentHeight = 768; float RatioWidth = ((float)ClientResolution->Width / (float)CurrentWidth ); float RatioHeight =((float)ClientResolution->Height / (float)CurrentHeight); this->Scale(RatioWidth,RatioHeight); [/CODE] error C2661: 'System::Windows::Forms:: Screen::GetBounds' : no overloaded function takes 0 arguments Any help would be much appreciated.

Software Development c++
Member Avatar for sheennave
0
217
Member Avatar for efronefron

Hi this is an assignment for my computer science lab. It is weird because if I compile and run with my c compiler from ubuntu gcc4.4, it works perfectly. But if I compile with the university's server (I connect with SSH) it messes up The main purpose of the program …

Software Development c open-source ubuntu
Member Avatar for efronefron
0
288
Member Avatar for desert564

any time a number is present in a word inflate its value by 1........ for eg, input anyone up four tennis output anytwo up five elevennis

Software Development java
Member Avatar for monarchmk
0
105
Member Avatar for mxrider

I have this problem i had to do for school and im a little confused on what i should put in my first while loop for my program. Thanks for any help pointing me in the right direction! Heres the problem. [url]http://img546.imageshack.us/img546/7454/problemfk.jpg[/url] and heres the code i have so far. …

Software Development c++
Member Avatar for ravenous
0
146
Member Avatar for tomtetlaw

Is there any function that allows me to completely remove and [I]deallocate[/I] all contents of a std::map? The functions [icode]clear()[/icode] only removes all elements, it doesn't free any memory.

Software Development c++
Member Avatar for Rashakil Fol
0
6K
Member Avatar for CanaznFTW

Currently I'm having an issue with a homework problem although I'm not asking for the answer. I Just want to see if anyone is able to help me trouble shoot my issue... Issue: - ArrayPointer.cpp: In function ‘int* duplicate(int*, int)’: - ArrayPointer.cpp:62: error: expected `;' before ‘list’ - Line 6 …

Software Development c++
Member Avatar for floatingDivs
0
134
Member Avatar for MrCapuchino

Hello I have created a Regex to remove invalid characters in a string: Here it is: [CODE] Regex replace_invalid_caracters = new Regex(@"[\\|/|*|+|-|%|=|^|@|#|$|!|~|`|?|<|>|:|(|)|{|}|;|,|_|]"); [/CODE] The thing is that then I use it in a method to remove this invalid characters. It manages to remove all invalid characters except for "-". I …

Software Development regex
Member Avatar for MrCapuchino
0
147
Member Avatar for mluu510

Hi, I am trying to write a small program that would permute a list of binary numbers to the nth bits. Some reason, the code is not compiling. Also, I am using Visual Studio C++ 2010 Express. When i attempt to compile a code, it doesn't highlight where the errors …

Software Development c++ visual-studio
Member Avatar for mrnutty
0
143
Member Avatar for desert564

i really need help with this program i am finding a saddle number of a 2-d array which is the min value in a particular column and maximum value in its row.......and my error with the code is arrayindexoutofboundexception eg input num=4 7 6 9 10 5 3 4 6 …

Software Development java
Member Avatar for desert564
0
95
Member Avatar for arezz09

i get this error when add database source...anyone help me...[ATTACH]19437[/ATTACH]

Software Development vb.net
Member Avatar for arezz09
0
87
Member Avatar for Jessurider

In c# programming if we include function call within the button click with definition more than 20 lines..........does it improves the performance (speed) of the program when compared with writing that 20lines within the button click function ...............

Software Development
Member Avatar for ddanbe
0
115
Member Avatar for Eekhoorn

I've this very stupid litle problem. I want to populate a combobox with numbers ranging from 00 to 99. But when I ad them with a loop as an integer the first ten numbers apear only with one digit. I wonder, how can I ad a second digit to them …

Software Development vb.net
Member Avatar for Eekhoorn
0
140
Member Avatar for anu07

I am using borland compiler 3.0,is there any way such that the output window will close on its own after the required functions has been completed by the program?

Software Development c++
Member Avatar for WaltP
0
51
Member Avatar for burningflower

Hey peeps, I want to simply compile this program but i keep getting the error message: java.lang.ArrayIndexOutOfBoundsException Any help? :) [CODE] import java.util.ArrayList; import org.htmlparser.util.*; import org.htmlparser.*; import org.htmlparser.tags.*; import org.htmlparser.filters.*; public class you { static String s; static ArrayList <String> filter(String s,ArrayList <String> m) { ArrayList <String> m1= new …

Software Development java
Member Avatar for JamesCherrill
0
218
Member Avatar for smslive2

Hi Guys, Please i need someone who could hlp me write a simple ATM program for accepting PIN, Checking Balance and Withdrawing..

Software Development java
Member Avatar for Taywin
0
413
Member Avatar for imhiya

[CODE]class Node { public: string name; list<string> edges; };[/CODE] [CODE]list<Node> nodes;[/CODE] Hello, Can you help. I used this class that you gave but i've struggling to add anything. I tried nodes.name.push_back(str); but no use, and also i tried nodes::name.push_back(str); i also tried to compare sections by trying nodes[i].name == temp; …

Software Development c++
Member Avatar for mrnutty
0
149
Member Avatar for ntrncx

what is wrong with my code? in inputs like "radar" or "tttt" should say its palindrome. [CODE]#include <iostream> using namespace std; bool testpalindrome(string,int,int); int main() { string wordX; bool result; cout<<"Enter string: "; getline(cin,wordX); result=testpalindrome(wordX,wordX.length()-1,0); result==true ? cout<<"\nthe string is palindrome!" : cout<<"\nthe string is NOT palindrome!\n"; } bool testpalindrome(string …

Software Development c++
Member Avatar for ntrncx
0
364

The End.