132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for PythonNewbie2

Hey guys, I really appreciate your help so far! :) This one is a tough beast... I don't even know how to approach it. Let me give you a summary version and a detailed version. Summary version: There are all sorts of these XML files scattered within a bunch of …

Software Development python xml
Member Avatar for Beat_Slayer
0
186
Member Avatar for capsitan

Hello, I really need help with my payroll program. I just need to input the name, wage, hours, and then get an output with the results. The output needs to show employee name, rate, wage, and total pay. here is what I have written so far. Please help! I am …

Software Development java
Member Avatar for NormR1
0
159
Member Avatar for VB 2012

Ii it possible to have a list-box that adds shortcuts of programs and runs them :-/

Software Development vb.net
Member Avatar for VB 2012
0
94
Member Avatar for keeda

Need help with following date conversion: I have my dates as 08/02/2010 and I want to convert into 8/2/2010, incase date is 18/12/2010 I want to be same way. Please guide me.

Software Development shell-scripting
Member Avatar for cfajohnson
0
79
Member Avatar for mr3army

Hi Im trying to get this code to fill in the forms (works without the code making the error) i have tried and tried but i have no clue can you please point out the problem and show me the solution or a fix i am being pushed to the …

Software Development assembly web-browser
Member Avatar for Geekitygeek
0
4K
Member Avatar for darknoobie

Im having trouble understanding offsets in computer science. SO far i know that the segment registers work along with the offset registers like this segment_register:Offset_register. Not sure if this is right but would this be the same 0:10 where 0 is the start of a segment of memory and 10 …

Software Development assembly
Member Avatar for NotNull
0
3K
Member Avatar for gaurav_13191

I have the following code to find first and second largest elements of an array: [CODE] using namespace std; #include<iostream> #include<conio.h> #include<cstdio> #include<string.h> int* create(int); int maximum(int *,int); int second_max(int *,int); void freememory(int*); int main(void) { int *p,size; cout<<"Enter size of the array:"; cin>>size; p=create(size); cout<<"\nMaximum elemnt in the array …

Software Development c++
Member Avatar for gaurav_13191
0
102
Member Avatar for NickDX

Hi, i´ve been studying WinApi for some time now, and have actually managed to create some stuff in c++ with Visual 2010 Express. Now, after creating my Menu, I wanted one of its functions to open a Form i've inserted through "Add New Item -> Windows Form". The problem is, …

Software Development c++
Member Avatar for Frederick2
0
188
Member Avatar for TrustyTony

I found one interesting site while I was fooling around ... I mean Googling around: [url]http://python-history.blogspot.com/[/url] Maybe you would like to check it out. One of the guys blogging is quite famous in these circles: Guido van Rossum.

Software Development python
Member Avatar for TrustyTony
0
153
Member Avatar for Cristiane

model small .data x db "enter a no. $" y db "factorial $" .code .startup mov ah,09h lea dx,x int 21h mov ah,01h int 21h sub al,30h mov bl,0ah mul bl mov bl,al mov ah,01h int 21h sub al,30h add al,bl mov ah,09h lea dx,y int 21h mov bl,al l: …

Software Development assembly
Member Avatar for NotNull
0
187
Member Avatar for suguna07

Hi everyone, Can someone help me to solve this question? im attaching the question as i cant post the matrix here. Thank you

Software Development java matrix-multiplication
Member Avatar for Xufyan
0
69
Member Avatar for empyrean

Hello all i am using datagrid and it doesnot have auto numbering. so i used the following method to number in rowheader but the problem is the numbers are repeating and when they sort a column they are rearranging themselves..please suggest a way out for me In XAML page i …

Software Development c#
Member Avatar for ddanbe
0
2K
Member Avatar for Lord_Migit

Hey folks im having some trouble with a roulette wheel selection that im programming for a genetic algorithm. I decided to do it slightly differently to the standard Roulette wheel, primarilty because its highly likley in standard version that the fittest solution will mate with itself. And that just seems …

Software Development algorithm c++
Member Avatar for vijayan121
0
393
Member Avatar for Garrett2011

suppose we have following function: [CODE]void someFunction(int * araye){ for (int i=0;i<5;i++) cout <<araye[i]<<' '; cout <<'\n'; }[/CODE] can we pass an array to this function by following syntax, under upcoming c++0x standards? : [CODE]someFunction({1,2,3,4,5});[/CODE] if that's true, will we even be able to use this syntax in any case …

Software Development c++
Member Avatar for vijayan121
0
263
Member Avatar for PixelExchange

Hello everyone. I have managed to connect a winsock client to a server application; however, I do not know how to display the results that are recieved inside of my "recv" buffer as a unified string, as apposed to the char array format it is currently in. I would like …

Software Development c++ client-server display
Member Avatar for PixelExchange
0
157
Member Avatar for java_programmer

I am writing a program which will read a properties file. I craeted the properties file and placed it in the same location of the class file. But when I am trying to run the program from eclipse, it can't find the properties file, but if I specify the full …

Software Development file-system java
Member Avatar for ~s.o.s~
0
1K
Member Avatar for mguttman

I am trying to implement an application in which a Perl script uses Win32::OLE to populate a spreadsheet from a database and present it to the user. The user is then free to modify the spreadsheet [I]manually[/I]. The modified data is then required to update the database. We would prefer …

Software Development microsoft-office perl
Member Avatar for mguttman
0
365
Member Avatar for merse

The Developer Studio compiles my code with no error and no warning, but I do not include the needed libraries. Maybe some standard libraries are loaded by default, but I cannot find in the settings, and dont know which ones! Can you help me?

Software Development c++
Member Avatar for merse
0
80
Member Avatar for Pundia

Hello, I'm new to this forum. Right now I'm developing a software based on Genetic Algorithms. I really have almost none experience, and I have a question. First of, this software is a prototype, a template. So the user can choose between a lot of choices (types of crossing and …

Software Development engineering vb.net
Member Avatar for Oxiegen
0
219
Member Avatar for samanthalynn

Hi Everyone. Am new to this forum. ------------------------------------------------------ [URL="http://www.sangamgrouphotels.com/"]Hotels in Kanyakumari[/URL] [URL="http://www.sangamgrouphotels.com/ayurvedha-treatment"]Kanyakumari Hotels[/URL]

Software Development c
Member Avatar for engg_fahd
0
88
Member Avatar for magician89

write aprogram in c++ to read the tokens in one at a time ,if it is integer,push it on stack, if it is binary operator, pop two elements from the stack, apply the operator to the two elements and push the result back on the stack?? please help me to …

Software Development c++
Member Avatar for aman rathi
0
153
Member Avatar for gaurav_13191

Hi.. I am new to Dani web and would like to know the problem in the following code: [CODE] #include<iostream.h> #include<conio.h> void insertion_sort(int *p); int main() { int a[20],j; cout<<"\nEnter contents of array:"; for(int k=0;k<20;k++) { cin>>a[k]; } insertion_sort(a); return 0; } void insertion_sort(int *p) { int h,key; for(int i=2;i<20;i++) …

Software Development c++
Member Avatar for gaurav_13191
0
93
Member Avatar for baki100

Hi i'm stuck on this script that i'm busy writing and have no idea where to start. I need a script that connects to a secure ftp, downloads files and store it on my local pc. has anyone done something similar and which modules should i be looking at.

Software Development file-system python
Member Avatar for baki100
0
107
Member Avatar for newyawk

Hi, I have a file that has about 65000 lines and three columns. I need to read in the first 2 columns until line 112960. I then need to write the 12960 lines of 2 columns to a file. This needs to be repeated for about 600 files... I then …

Software Development file-system python
Member Avatar for woooee
0
180
Member Avatar for cjmartin

For my application we use scan guns to scan barcodes to do various things. My issue is with tabbing. We scan a barcode that represents the ">" sign. When focus is on the combobox box and they scan the ">" sign it places the ">" in the combobox. How can …

Software Development java java-swing
Member Avatar for cjmartin
0
147
Member Avatar for programming2010

i have consistently asked for help but none so far. Kindly assist me to get the data grid view items saved into a database.below is code for what av done so far Regards. [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace …

Software Development open-source
Member Avatar for finito
0
844
Member Avatar for Dcurvez

good morning guys I have a question that am hoping someone can answer for me I am using vs 2008, and have put the sql database into a program that is being built. the database fields all work fine...I am able to make entries, save it, close it out and …

Software Development sql vb.net
Member Avatar for Dcurvez
0
106
Member Avatar for judithSampathwa

Hi there, I have used the below code to format an int value to a mask text box in C#. How can I avoid replacing the zeros in between the the numbers other than the zero’s in the front of the number. How can I do this, as an example …

Software Development c#
Member Avatar for Geekitygeek
0
294
Member Avatar for gor.irina

I'm very new to Java and I'm basically teaching myself. I'm writing a program where I need to plot some values. I have a while loop and I need to print x and y values to a text file that I can later graph using gnuplot. If someone can help …

Software Development java
Member Avatar for java_programmer
0
137
Member Avatar for kuchi

hi I can change dictionary values but I can't figure out to change the keys.. here is the scenario I want.. A dictionary is coming like this {'fstn':'Tim','lstn':'Parker','mdl':'W','dob':'19801201'} now I need to change to {'FIRST_NAME':'Tim','LAST_NAME':'Parker','MIDDLE_NAME':'W', 'BIRTH_DATE':'19801201'} please help me to change the keys..

Software Development python
Member Avatar for kuchi
0
360
Member Avatar for johnnyturbo3

Hi, I'm currently writing an application using VS C++, Qt, and SQLite. I have a user interface where the user uses a series of combo boxes to select certain criteria that they want to fetch from the database. When this dialog closes, all of the combo boxes selected text (string …

Software Development c++ gui qt sqlite user-interface
Member Avatar for johnnyturbo3
0
333
Member Avatar for Mirage'

[CODE][/CODE][COLOR="Green"][B][/B][/COLOR]Hi everyone! Question??? I have created a source code for converting Decimal numbers to Binary. I haven't done this in a while so I need a litte help on figuring out what is wrong with my code. The problem is I enter the JOptionPane class in order to prompt the …

Software Development java java-swing
Member Avatar for Mirage'
0
234
Member Avatar for kuchi

Hi I'm very new to Python Language, I'm getting this error "AttributeError: 'str' object has no attribute 'internalSplit'" and don't understand why. please check the following code.. [CODE] sourceAction = str(sourceAction); identityInfoDict = dict(identityInfo); for key in identityInfoDict.keys(): if(key.find("GENESYS_DATA") >= 0): intDict = self.internalSplit(key,identityInfoDict)[/CODE] and the internalSplit is a function …

Software Development python
Member Avatar for kuchi
0
4K
Member Avatar for sitajaf

Hi there, thanx everyone who contributed last time. I got a simple way to make the server chat with a connected client. But the problems now are: 1. how do i get the know of the other users who are online. 2. how do i get get clients communicate independently …

Software Development client-server java
Member Avatar for NormR1
0
109
Member Avatar for spadusca

Is it possible to load in a txt file into java, but from a folder in say the c: drive - as opposed to placing the text file in the java project itself? Thanks in advance for any help

Software Development java
Member Avatar for JamesCherrill
0
150
Member Avatar for frogboy77

Hey there folks. New at this so forgive any mistakes, first post. I'm beginning to learn c++. Not so easy. After reading a few threads went to project euler. Problem i have is problem 3. " The prime factors of 13195 are 5,7,13 and 29. What is the largest prime …

Software Development c++
Member Avatar for frogboy77
0
723
Member Avatar for prem2

Hi, I have used HashMap in my program.I need to know the capacity of the HashMap. Now i am currently storing 5000 records in hashmap.I need to know the Maximum capacity. Thank you, With Regards, Prem

Software Development java
Member Avatar for JamesCherrill
0
92
Member Avatar for azfarhus

I am trying to call a web service (smartermail) which return some information (single or multiple). I am able to call the service but I dont know how to read the response/returned values? Can someone give me hints please.

Software Development
Member Avatar for PierlucSS
0
153
Member Avatar for starlight849

Hello. I am having a problem. I am attempting to gather a group of file names from a directory. I am able to do this. I tested the code by having the list populate into a listbox and all desired items were added to the list. Here is my code: …

Software Development file-system vb.net
Member Avatar for starlight849
0
161
Member Avatar for judithSampathwa

Hi, I have a question relating to excel sheets in C#. I have a button in a datagridview in C#, how can I open an excel sheet when I click on the button. And then when the excel sheet opens I need to edit it, so how can I open …

Software Development c# microsoft-office
Member Avatar for nick.crane
0
95
Member Avatar for jtaylor-bye

Evening all. I have decided to try my hand at programming in python. I have tried some of the tutorials on the web but none of them really hold my interest for long. I am looking for a tutorial that covers all the basics and goes quite indepth. All the …

Software Development python
Member Avatar for lrh9
0
138
Member Avatar for man in a can

Hi Folks, I have been searching to find a reglular expression that deals with decimal points, they are not mentioned on the Sun Tutorials for Regular Expressions. Basically im trying to verify that a string taken in from a screen matches the format of (15).99. This is not for my …

Software Development java
Member Avatar for eerol
0
2K
Member Avatar for let us c

hi i want to display pascals triangle on computer screen.the pascals triangle goes like this. and what is logic. 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 and so on.

Software Development c++ display pascal
Member Avatar for sunyifei23
0
161
Member Avatar for rhodi

I'm new to Python and I'm having a problem I can't explain. While running: [CODE] >>> open('word.txt') [/CODE] it returns: No such file or directory: 'words.txt', even if I have both files saved in the same place. I've tried entering the entire file location, but still no luck. Any help …

Software Development python
Member Avatar for vegaseat
0
87
Member Avatar for karthikcyano

Hi, I had 2 Template columns in a Datagrid, each column contains a Textbox. The user can enter the values and it should be saved. I wanna add a new row if a user clicks add new button. After Entering the values in the textboxes (inside the Datagrid) if he …

Software Development asp asp.net
Member Avatar for navyjax2
0
3K
Member Avatar for SiraRaven

I'm try to go through a file that's formatted as follows: f 5//10 3//2 6//3 f 9//3 20//15 3/20 etc. I want to pull out the numbers, subtract them by some set number, and then output them. I'm using a scanner to read each line of the file, but next …

Software Development java
Member Avatar for masijade
0
131
Member Avatar for kibr987

Hi, I made a digital thermometer some time ago using PIC microcontroller. I would like to conncet it to my PC via serial port. I want to write some thing in C# to be able to achive that. I am having problem in designing the graphics in C#. I have …

Software Development c#
Member Avatar for kibr987
0
102
Member Avatar for r14r

I have command string and want to find a pattern in it.If present i have to remove certain characters and retain the other characters as it is in the command string. [code=c++] string aDir("bin/kwp-init start -t1 -uwelcome@mails.com -ppasstoks@123 -v"); string search_char ("@"); size_t found=0; found = aDir.find_first_of(search_char); cout <<"@ is …

Software Development c++
Member Avatar for sundip
0
118
Member Avatar for charlie81

This is the assignment-Write a C#.NET (call it Lab7) that performs the following: The program contains an array that holds 10 ZIP codes to which a company delivers. Prompt the user of the program to input a ZIP code and then display a message on screen that indicates whether the …

Software Development
Member Avatar for mvkotekar
0
162
Member Avatar for rocky_kuet

#include<fstream.h> #include<iostream.h> #include<conio.h> #include<dos.h> #include<stdio.h> class ALARM { public : struct time t; int m,h,a,b; void resetalarm() { ofstream x("D:\\hour.txt"),y("D:\\minute.txt"); a=0,b=0; x<<a;y<<b; x.close();y.close(); } void setalarm() { ofstream x("D:\\hour.txt"),y("D:\\minute.txt"); cout<<"\n\n\t\t\t\tEnter hour\n"; cin>>a; cout<<"\n\n\t\t\t\tEnter minute\n"; cin>>b; x<<a;y<<b; x.close();y.close(); } void alarmmatch() { ifstream i("D:\\hour.txt"),j("D:\\minute.txt"); i>>a; j>>b; i.close();j.close(); gettime(&t); m=t.ti_min,h=t.ti_hour; if(h==a&&m==b) {cout<<"\n\n\t\t\t\tTime …

Software Development c++
Member Avatar for nbaztec
0
2K

The End.