132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ixuz

Hello I have had this problem for a while now, I am getting bluescreen when I start my debug.exe from my debug folder manually, but I do not get bluescreen when compiling and starting from C::B. But there is an exception, my program only bluescreens if I start it before …

Software Development c++
Member Avatar for Salem
0
194
Member Avatar for indianapple89

How do I read individual cell data from an excel sheet? I know how to extract the data from the .xls file and bind it to a gridview. But how do i extract data from a particular cell or column and save it in a local variable for instance. I …

Software Development
Member Avatar for ddanbe
0
91
Member Avatar for SoulMazer

So, I always thought that it was possible to return dictionaries in Python. I was wanting to do this because I would prefer not to use globals. However, I am having trouble with returning my dictionary. Code: [code=python] #!/usr/bin/python # 6/9/09 def loadWords(): pathstart = "/home/foo/Documents/PyScripts/Vocab/Lists/" print "What is the …

Software Development python
Member Avatar for jlm699
0
104
Member Avatar for sap_maniam

Hi Gurus I wanted to learn perl and I need to know how can I install perl, c compiler etc. I have two Pcs with me one runs on Windows NT and other with Windows Vista. Could some one suggest me step by step guide including the softwares to be …

Software Development perl windows-vista
Member Avatar for KevinADC
0
137
Member Avatar for njparton

I've been tearing my hair out for 2 days over this, hopefully someone here can help me. I'm trying to scrape the price data off the following webpage: [URL="http://www.morningstar.co.uk/UK/snapshot/snapshot.aspx?lang=en-GB&id=F0GBR04S4X"]http://www.morningstar.co.uk/UK/snapshot/snapshot.aspx?lang=en-GB&id=F0GBR04S4X[/URL] The value I want currently stands at 6.19 (i.e. the NAV value on the right hand side). I currently have a …

Software Development python regex
Member Avatar for njparton
0
202
Member Avatar for aru211285

i need to extract the number part from the string which looks like "(7 r 8digits).txt". i need to store this found string in some variable, but i am confused wih the groups twhether o get the string as group() or group(1). Pattern p = Pattern.compile("\b[0-9]{7,8}\b"); Matcher matcher = p.matcher("num"); …

Software Development java
Member Avatar for Ezzaral
0
113
Member Avatar for serkan sendur

this is not a question, but a code snippet. i attach the project as well. Form1.cs : [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.IO; namespace copyAllWaveFiles { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void …

Software Development
Member Avatar for serkan sendur
0
102
Member Avatar for serkan sendur

this is not a question, but an application to find common lines among text files, as long as you click "read new text file" button, it compares it to the listview and removes the uncommon items from the listview. I find this application very useful, hope you will like it …

Software Development listview
Member Avatar for serkan sendur
0
267
Member Avatar for sivak

when we use interfaces in real time .net example....can any one explain me in detail?

Software Development
Member Avatar for serkan sendur
0
120
Member Avatar for serkan sendur

hi, i need to search the text file for lines repeatedly. so i want to read the text file into memory and iterate through lines. i am able to iterate as follows but, for the next search i need to iterate from the beginning which will require data transfer between …

Software Development hard-drive
Member Avatar for Mortu
0
176
Member Avatar for daniel_ahuk

Hi all.. I'am newbie in java programming.. I need help to compare two images in java... Plss help me.. Thx for your appreciates.. ^^

Software Development java
Member Avatar for BinodSuman
0
201
Member Avatar for George2

Hello everyone, I am working on a dictionary application implementation. I have question about a string pattern matching algorithm implementation. In this algorithm, * can be used to match any sequence of characters. The input is string s1 and string s2, the algorithm using s2 to match s1, and the …

Software Development algorithm java
Member Avatar for javaAddict
0
447
Member Avatar for Loony064

Hey Everyone I have a client who uses a Micrsoft Access Application for their business. One of the reports that the program has, is a label type report. The report recieves the following parameters: 1. Number of blank labels to skip (should the user want to not print the first …

Software Development visual-basic
Member Avatar for Loony064
0
118
Member Avatar for senzacionale

How can i write regex to get all words in string. Example - Travel in Egipt (travel, in, Egipt) - london cca 300 EUR (x cca y eur, where x is londox and y is 300) What regex must look like for this two examples? I need two regex but …

Software Development regex
Member Avatar for serkan sendur
0
82
Member Avatar for vishalag

Hi, I want to pass tree as an argument to other function in C. I am able to pass the tree comfortably,but how do I access the children of the tree in the called function??? TIA Best Regards Vishal Agarwal

Software Development c++
Member Avatar for Sky Diploma
0
114
Member Avatar for suthab

Hi All, I am trying to read a file line by line. If a line contains the following character ':' then that line will be parsed word by word and put in a list. I am trying to do that but the head pointer is changed when we go to …

Software Development c
Member Avatar for kvprajapati
0
123
Member Avatar for mem81

Hi all, With your help I have a perfectly working console application. Now I need to do it a bit more flexible. So far I have the file paths for all files involved in the applications execution hardcoded.I need to be able to execute the console application from anywhere. i.e …

Software Development file-stream vb.net xml
Member Avatar for kvprajapati
0
148
Member Avatar for TerabyteST

Hello. I'm having trouble about drawing a border around a listctrl [code]"""Main module for psutils GUI""" __version__ = "$Revision: 8 $" # $Source$ import random import wx import psutil ID_EXIT = 110 class MainGUIFrame(wx.Frame): """Main frame. Shows processes and graph""" def __init__(self): """Initialization of the frame""" wx.Frame.__init__(self, None, -1, "psutils", …

Software Development gui python
Member Avatar for TerabyteST
0
348
Member Avatar for sravan953

Can somebody tell me the code for: a-(a^3(power of 3)/a)+a^5/a-a^7/7........n The code has to contain only for, if, while and other basic statements....please help me!

Software Development java
Member Avatar for javaAddict
0
86
Member Avatar for Megalan

Hello everyone, i have one simple question. How to port forward udp port? I've successfully forwarded tcp port (that was easy), but i just can't understand how i can do this for udp port. Maybe someone can give code example? ps i'm trying to make 2-way port forwarding ( client …

Software Development client-server tcp-udp
Member Avatar for Megalan
0
167
Member Avatar for yazooney

Hi, I have, for example, the memory address of a double value which is: 245CEA20 I need to do something like this: [CODE]double * value = 0; value+= 0x245CEA20; std::cout << value << std::endl;[/CODE] I get a value like 22E75100 which is wrong even if you convert it to decimal …

Software Development c++
Member Avatar for yazooney
0
3K
Member Avatar for Manjidotnet

Hi, How to deploy a windows application with crystal report? I have developed it with VS 2008 on C#. Crystal report on it is 10.5. While i created set up and installed, reports are not working and an exception occured as follows The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. …

Software Development
Member Avatar for kvprajapati
0
344
Member Avatar for praveenrajmat

Hi All, I need to print documents ( MS-DOC, PDF, Plain Text ) using Java API. I do not need window for configuring number of pages to be print etc etc.. Whatever the file specified should be printed. I checked with [CODE]printerJob.print();[/CODE] from java API and able to print simple …

Software Development api java pdf
Member Avatar for JamesCherrill
0
170
Member Avatar for Chris1971

Hi All, this is my first post as a member of the forum so firstly nice to meet u all, secondly if this posted in the wrong place, many apologies Admin. My problem and query is this I have been asked to find out the most appropriate language for a …

Software Development algorithm delphi encryption pascal
Member Avatar for sknake
0
50
Member Avatar for lexusdominus

Hey. I have to say this is the first time ive been totally stumped by c++. I cant exit this loop. this code is from a function that takes a string filename, an int mode, and a char print. It takes a textfile looking like this: somesite.netinfoaboutsomesite someothersite.orgdataonsomeothersite yetanotherrandomsite.edurandomchars and …

Software Development c++ ios
Member Avatar for lexusdominus
0
142
Member Avatar for timb89

[code] bool isReverse(string s1,string s2) // pre : none // post : returns true if s1 is reverse of s2 and otherwise false { if (s1.length() != s2.length()) { return false; } int size = s1.length(); int count = 0; else { for (int i = 0; i < size; …

Software Development c++
Member Avatar for ArkM
0
108
Member Avatar for gnobber

Hi, im just beginning c++ and been reading regarding cin and cout. After reading the chapter, I just got curious what acually a stream is. It is said in some as a series of characters. In a site: "A stream is an abstraction that represents a device on which input …

Software Development c++ printer
Member Avatar for sai sushma
0
154
Member Avatar for nustian

Q:- create a class in which you will declare a pointer to int . This variable will be defined n allocated memory in the constructor. Create a destructor of the class where this memory will be deallocated. Using this class do the following: 1) In the main function create an …

Software Development c++
Member Avatar for ArkM
0
148
Member Avatar for nustian

salam, i want to change my C++ code to UML model. How can i do so is there any software. please tell me. thanx.

Software Development c++
Member Avatar for ithelp
0
67
Member Avatar for sravan953

Hey guys.. I have been making a random password maker, which makes a password of 8 characters length, but I am encountering a problem. Here'e the code I used: [CODE]import random list=['a','b','c','d','e','f','g','h','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','!','@','#','$','%','^','&','*'] randlist='' a=1 def password(): while a<=8: randlist+=random.choice(list) a+=1 return password() print randlist print 'Are you satisfied with your …

Software Development python
Member Avatar for lllllIllIlllI
0
121
Member Avatar for puk

Hi, im writing an application in java that collects a number consisting of 5 digits,for example, 11234 from the user. The problem i have is that i want to separate the individual digits and display them separated by 3 spaces. thank you in advance for your help.

Software Development java
Member Avatar for javaAddict
0
82
Member Avatar for Web_Sailor

Hi, I have to add a mouse over event and mouse click event in my rectangles that I draw while taking the values from an input file. Now since I am taking rectangle height and width from the input text file as well I also want to take a text …

Software Development image java
Member Avatar for Web_Sailor
0
167
Member Avatar for zoro007

Hello, I have file name is file.txt inside it this lines line1=hello world line2=hello web line3=hello egy I want print full lines start with line2= like in linux command cat file.txt | grep "line2=" this code will print full line --> line2=hello web And if any one have books in …

Software Development python
Member Avatar for siddhant3s
0
127
Member Avatar for mundetas

Please help. i have an application made in C# using ms studio 2008. I have created the data source from my access 2003 database. But every time I select the data in the crystal report wizard. It only displays the fields from the database I have connected but not the …

Software Development
Member Avatar for mundetas
0
77
Member Avatar for lloydsbackyard

hello, i have a code below and i dont know how to make a string input for me to input hte name of the student...kindly check it out... [code=java] import java.io.*; public class io { public static InputStreamReader reader = new InputStreamReader(System.in); public static BufferedReader input= new BufferedReader(reader); public static …

Software Development java
Member Avatar for lloydsbackyard
0
159
Member Avatar for deostroll
Member Avatar for ArkM
0
107
Member Avatar for Aseem_Pandey

can long long store 12 digit numbers. Its showing in my comp that limit of long long is 9223372036854775807, but then it's showing too large when i declare it like this: long long num; i don't want to store in array. My seniors told that long long will do but …

Software Development c++
Member Avatar for siddhant3s
0
269
Member Avatar for jesseb07

hello, got a quick question regarding stack overflow (I honestly don't know if this is more suited for a wxWidgets forum, once you see what I mean, but I figured I'd try here first). I was tweaking my linked list class and testing it in a testing harness program I …

Software Development c++ gui linked-list
Member Avatar for jesseb07
0
261
Member Avatar for RobinTheHood

Can someone please, please, please give me the syntax in vb 2008 for referencing records on a parent form, I’ve been trying to do this for ages and can’t work it out or find help that answers this. I’m new to VS and vb2008 so please excuse any errors in …

Software Development dataset vb.net
Member Avatar for dlplenin
0
96
Member Avatar for yun

Stanford cs249a Meterial (Object-Oriented Programming from a Modeling and Simulation) -------------------------------------------------------------------------------- From where i can get the below Meterial?? if any one have the below plz send me or give me a link... i really need these lectures.. Thx & regards. Required Reading Chapter 1: Software Husbandry and Software Development …

Software Development c++ pdf
Member Avatar for Stinomus
0
438
Member Avatar for NathanOliver

Hi i am building a program that will take the text of a supplied file and encrypt using a password then save the encrypted text in another file. To decrypt the file you must provide the same password used to create the file. the program encrypts the text at a …

Software Development c++
Member Avatar for NathanOliver
0
152
Member Avatar for alka123456

I have got a log file as follows The log file has the following format : Date/Time, Severity, Module(the number after the process name is the process id) and finally the diagnostic message as an example : dd/mm/yyyy HH:mm:ss.mmm Severity Module Message ======================= ======== ====== ======= 17-11-2008 17:01:17.590 SUCCESS wmlumberjack.exe:940 System …

Software Development c++
Member Avatar for NathanOliver
0
239
Member Avatar for serkan sendur

this is not a question, but an application to compare two text files line by line. i attach the project to this post, i also attach two sample text files to compare. these two text files contain the names of the .wav files that comes ready with devices, HandHeld Dolphin …

Software Development listview
0
220
Member Avatar for senzacionale

Hi to all. I have one problem I try to parse some string and get data from it. For example i have three strings "Greece about 2 weeks", "greece" and "grece about 500 eur" Now i want to define regular expressions and check for right format. I need data like …

Software Development regex
Member Avatar for ddanbe
0
125
Member Avatar for rolinski

Hi! I split lines on tabs (fields). I would like Perl to print first filed in parenthesis. My script is the following: open (INP, "input.txt") or die "Can't open input: $!\n"; open (OUT, ">>output.txt") or die "Can't open output: $!\n"; while ($line = <INP>) { chomp ($line); @field = split …

Software Development perl
Member Avatar for KevinADC
0
313
Member Avatar for hughesadam_87

Hey everyone, I wrote a code which runs a game of rock paper scissors, and each time you lose, it counts down until at 0, it exits. The only way I've been able to exit the code is to throw in a 'sys.exit()' command. I hear there are better ways …

Software Development python
Member Avatar for hughesadam_87
0
150
Member Avatar for theashman88

Alright so I'm trying to insert a few superscripts into a program. I'm working to try and recreate a math problem. I tried googling how to insert superscripts, then tried how to insert Unicode into a console application, but I didn't get much luck. Anyone have any ideas. By the …

Software Development c++
Member Avatar for theashman88
0
124
Member Avatar for daino

When initializing a constant data member in a given class with a constructor, does the act of initializing that constant data member (providing it with a value) actually stop you from assigning it the value you wanted to give it later on in the program? My understanding is that a …

Software Development c c# c++
Member Avatar for dwks
0
165
Member Avatar for rockinsteve

How do I get these 2 programs to work together (ie have one call the other.) Thought of using the first to call the external one but then thought it better to combine the 2 ????? Can't seem to get it working yet the second one works on it's own. …

Software Development delphi gui pascal
Member Avatar for FlamingClaw
0
117
Member Avatar for travis67

Hi, I am developing one application in c#, where I have to manage file transfer between my applications. The applications can communicate sending strings to each other. The idea is to read file and put that in one string, which can be sent over the network using streams. Of course, …

Software Development file-system
Member Avatar for travis67
0
87

The End.