132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Luckymeera

I have a simple Rectangle drawn on Canvas. How can I retrieve the color on the Canvas AFTER the Oval is drawn without using Image, say, at the coordinate (100,100) ??? could anyone help plz...

Software Development python
Member Avatar for vegaseat
0
123
Member Avatar for romilana

I would be pleased if some could help me with a scripts using telnetlib to enable save web pages. Hope to hear from you soon

Software Development python
Member Avatar for jlm699
0
109
Member Avatar for san245

The following function returns a list of all prime numbers up to the figure supplied to it (n). Example: [code=python] import math def prime(n): answer = [] if n < 2: return answer for loop in range(2, n+1): isPrime = True upper = int(math.sqrt(loop))+1 for i in range(2, upper): if …

Software Development python
Member Avatar for jlm699
0
145
Member Avatar for guest7

Hi, i have few programs which i have compiled using "make all". When i debug the main program, during debugging i get the following message : ****Stepping over inlined function code.*** As a result i am unable to debug the program line by line. The debugging is random. I am …

Software Development c++
Member Avatar for StuXYZ
0
97
Member Avatar for leegeorg07

hey again i started to look at the time module a lot and i made this program: [ICODE]import time time.clock a = 0 print('hello') while a < 10000: print(a) a+=1 a = time.clock() print(a) [/ICODE] but i dont understand what a means so can you help me please

Software Development python
Member Avatar for mn_kthompson
0
124
Member Avatar for complete

What is the point of using set and get in C Sharp? It seems variables are used differently in this language than in C++. For some reason, you have to have a static variable defined like this: public static uint Somenum { set { m_somenum = value; } get { …

Software Development
Member Avatar for ddanbe
0
137
Member Avatar for dannybarh

i need a random generator. it should be able to generate serial #s along side. any website in mind? please help.:yawn:

Software Development c++
Member Avatar for StuXYZ
0
137
Member Avatar for LucyB

Hi all... Basically I'm wondering how I complete a loop based on the number of times a user requests it. For instance, I'm doing an employee system that works out pay based on hours. There are lots of rules/criteria about what they pay is recieved based on the input hours. …

Software Development c++
Member Avatar for LucyB
0
86
Member Avatar for tulsi_apr03

In Project Contains huge data. In a table nearly 1.5 lac records are there.Those records Contains First Name,LastName,and Father Name. My problem is to find duplicate Records based on the names. Moreover i want to search these records Quickly. any solution is there for quick accessing Can anybody give the …

Software Development java
Member Avatar for PoovenM
0
149
Member Avatar for No Pain No Gain

Currently my users download a database outside my app then from within it they can add the database to their main database. Now I want to have the app download and add the database all at once. If I change the file extension to .txt the code below downloads the …

Software Development file-system visual-basic
Member Avatar for No Pain No Gain
0
282
Member Avatar for lameassthemity

I'm writing a class planner, where the user is given the opportunity to enter certain information about their classes and have it printed back to them upon request. The problem I'm having is that whenever I enter any text into the input with a space in it, it returns me …

Software Development c++ perl
Member Avatar for zalezog
0
134
Member Avatar for csharplearner

Hi all, Is there a way to check what is the error for not displaying the code correctly while practising it in a website? Just like when the s/c is compiled in the vs editor. I tried using trace.axd but i found it less helpful. when i wanted to make …

Software Development c#
Member Avatar for csharplearner
0
86
Member Avatar for davidi

Hi, I've tried to find an answer to this everywhere but to now avail.... I have an XML/XSL file that displays a webpage. The XSL has : [I]<!--Refresh the page every X seconds--> <META http-equiv="Refresh"> <xsl:attribute name="content"> <xsl:value-of select="//PageRefreshOverride"></xsl:value-of> </xsl:attribute> </META>[/I] because I want the page to refresh every few …

Software Development xml
Member Avatar for davidi
0
282
Member Avatar for RahulV

Hai, I have a multi-line TextBox (Text1), whenever i click a button (cmdPrint) the contents of this Text1 should be printed out to a Printer selected using a Comon Dialog Box (cdlgPrint). Can u help! An explanation to ur codes will be highly appreciated. Thanks.

Software Development printer visual-basic
Member Avatar for Comatose
0
256
Member Avatar for Toulinwoek

I have a help file (.chm), and I want to be able to perform a seemingly simple operation of having that file open when the user selects "Contents" from the "Help" menu. I have added the proper object to the project and set it's namespace property to the location of …

Software Development file-system
Member Avatar for pankajmk
0
285
Member Avatar for sirihoney

I really wonder whether the diff command can be implemented in c++.. But i need the code for tht..anyone please help... Sirisha.

Software Development c++ unix
Member Avatar for Salem
0
50
Member Avatar for DmD

hey, im trying to use the mpg123 library to extract the sound data from the mp3 file.... ive used this example to decode the file: [url]http://mpg123.de/api/mpg123__to__wav_8c-source.shtml[/url] i can extract the info about the file but the actual sound data im having troubles.... because it doenst give me the whole data …

Software Development api c++
Member Avatar for Salem
0
285
Member Avatar for revenge2

I need help understanding classes better. [CODE=Python] class person: def sayHi(self): print('hello world!') p=person() p.sayHi() [/CODE] here what is the use of 'self'?, I've read two tuts on this but don't quite understand fully.... [CODE=Python] class person: def _init_(self, name): self.name=name def sayHi(self): print('hello, my name is', self.name) p=person('rs') p.sayHi() …

Software Development python
Member Avatar for sneekula
0
220
Member Avatar for peter_budo

I know I should probably post this in Web Services of Web Development, but this may be beneficial to others that are trying to lean something about it too. I'm getting lot of strange behaviour from this assignment that at this point I'm willing to throw it away and never …

Software Development client-server java web-server
Member Avatar for peter_budo
0
195
Member Avatar for ribena500

Hi, I am using this code: int total = 0; for (i = 0; i < 3; i++) { total+=hours_run[i]; cout <<"\n"<<total; } The aim of this code is too add up the hours run by the 3 people who enter the values. The code above produces some weird results. …

Software Development c++
Member Avatar for ribena500
0
92
Member Avatar for sonia sardana

Hi frnds, I want to run Multiple Skype .I have used the foll. code. But its not working. Ca somebody help me in getting out where I M wrong [b]Steps-[/b] [code] 1. right click on the desktop, select new/text document 2. name it Skype2.bat 3. right click skype2.bat, select /edit …

Software Development vb.net
Member Avatar for Comatose
0
183
Member Avatar for smelf1

I am able to read the data from the application event logs but when i try the security i get an error Requested registry access is not allowed. {"Cannot open log security on machine .. Windows has not provided an error code."} {"A required privilege is not held by the …

Software Development vb.net windows-vista
Member Avatar for smelf1
0
162
Member Avatar for k12

Hello I am trying to create a combo box that would display data from a dataset, and also a 'Please Select' as the first item. I have written the following code which derives from a combo box and it works fine in visual studio 2003 but in 2008 would not …

Software Development dataset vb.net visual-studio
Member Avatar for k12
0
150
Member Avatar for t_yalthis

hi everybody, my connection code is like this: Set conn = New ADODB.Connection With conn .ConnectionString = "Provider = Microsoft.JET.OLEDB.4.0; data source = C:\Documents and Settings\kullaniciadi\Desktop\reservation97.mdb; persist security info = false" .Open End With This database (reservation97.mdb) is going to be moved to a server.. How is going to be …

Software Development open-source visual-basic
Member Avatar for Comatose
0
668
Member Avatar for cVz

After a lot of testing etc, i decided to move away from the 3rd party FTP classes and use the standard Microsoft FtpWebRequest for faster speeds etc... What i want to do is list the directories in a treeview! Now here's my code : [code] try { FTPRequest = (FtpWebRequest)WebRequest.Create("ftp://iwantstringsman"); …

Software Development
Member Avatar for Antenka
0
179
Member Avatar for resystor

I am new to assembly. I have writtem a program for my Z80. I have successfully assembled it. How do I make it to an EXE file?

Software Development assembly
Member Avatar for BlackSun
0
3K
Member Avatar for jimchong

Hi, I am just start programming by using C# not longer time,there are few thing i don't understand. 1) I have a task that need me to access to the database in the server. Can i know what coding what i should use in the C# webform for me to …

Software Development c c# c++ dataset microsoft-access open-source
Member Avatar for LizR
0
120
Member Avatar for ronjustincase

i need a help in my project to print the bill in vb6 can anybody help me regards

Software Development visual-basic
Member Avatar for kain_mcbride
0
142
Member Avatar for murderotica

Hello there, I have created and application where the items in a ListView will be dragged and dropped over the desktop. So far, I was able to implement the drag but cannot drop the item. The function I used should be detected by windows but it cannot register the drop …

Software Development listview
Member Avatar for LizR
0
138
Member Avatar for anud18

hi....i m actually developing a tool which uses access as the database source...i hv created 2 coloumns in the database....username and password....now in my tool i need to ask the user fr his username and password....if it matches with any of the combinations stored in the database then the user …

Software Development visual-basic
Member Avatar for sackymatt
0
205
Member Avatar for Diamonddrake

I am working on a quick launch style application. I am storing file paths, and icon captions in arrays. I am trying to keep the feel of a standalone application. So any method for saving the data should be able to be located some where relatively hidden from the user, …

Software Development xml
Member Avatar for LizR
0
100
Member Avatar for vikashkumar051

Hi, I am pasting here code for finding path using Dijkstra algorithm. [icode] #include <stdio.h> #include <limits.h> #include <assert.h> typedef enum {false, true} bool; /* The order is rather important to get the boolean values right. */ typedef char *string; #define oo UINT_MAX /* infinity is represented as the maximum …

Software Development algorithm c++
Member Avatar for vikashkumar051
0
764
Member Avatar for B@nkai77

I am trying to create an all in one program which basically has three drop down boxes(combo boxes) and an Installer button for each. I want to be able to scroll through any three list and hit the install button to make it happen. I have been searching around for …

Software Development visual-basic
Member Avatar for Teme64
0
139
Member Avatar for Datsun90

Dear all, I have created an SQL Server 2005 Express database using the database explorer of VB.Net 2005, and selected to copy the database to the application folder. I can successfully connect and update the tables using Visual Basic ready tools (such as datagrid). But when I try to connect …

Software Development vb.net visual-basic
Member Avatar for sierrainfo
0
144
Member Avatar for cppnewb

Hi. I was just wondering what you thought about C++ and windows development. I'll post a pie chart daily as long as people continue to respond. The Question: What do you think about C++ and windows development.? A - You should only learn C++ B- You should only learn Windows …

Software Development c++
Member Avatar for Rashakil Fol
0
112
Member Avatar for vampke

I'm following a course on vb.net and have visual studio 2008 from my school (msdn program) Unfortunately I'm having serious problems: apparently I can't use a lot of the common references. Eg.: If I try to use My.Computer.... the IDE does not recognise this. Same thing for System.Data... He gives …

Software Development ide vb.net visual-studio
Member Avatar for waynespangler
0
144
Member Avatar for guest7

Hi, I am getting the following error while compiling: "Undefined symbols: "main_class::binary(int, std::vector<int, std::allocator<int> >&, int)", referenced from: main_class::identity(int, int, int)in test_sat.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [test] Error 1" Following is the code : [ICODE]int main_class::identity(int rowno, int size_row, int loop_iterate) { …

Software Development c++
0
50
Member Avatar for shamila08

Hello dear all. i need a help where i'm try to calculate execution time for my program. seem i have a problem with how to set it up. [code=cplusplus] #include <iostream> #include <time.h> #include <sys/timeb.h> typedef int tRow[10]; int N, i; int x[100], xi[100]; /* The permutation and its inverse …

Software Development c++
Member Avatar for shamila08
0
153
Member Avatar for gsingh2011

I'm trying to run a program using a python program. The program is supposed to run the program, get the output, and write it to a text file. The program being run (which is an exe), takes one argument, so I used: subprocess.call(["path", "arg"]) This works fine, but the problem …

Software Development python
Member Avatar for BearofNH
0
469
Member Avatar for david7

[QUOTE=ArkM;657823]You are welcome![/QUOTE] Simulation of an Airport Runway An airport is developing a computer simulation of air-traffic control, which handles events such as landings and take-offs. It is a small busy airport with only one runway. In each unit of time one plane can land or one plane can take …

Software Development c++ queue
Member Avatar for Freaky_Chris
0
271
Member Avatar for serkan sendur

i want to create a document using apache xml parser, can you guys provide me with sample code? After creating the document in the memory, i want to save it as an xml file.

Software Development apache c++ xml
Member Avatar for Comatose
0
99
Member Avatar for HarryGabriel91

Hi! I want to write a program, which calculates and draws the path of a planet around a sun. Actually it just draws the planet and the sun (and the velocity and the gravity force vectors). The sun is still, it doesn't move, just the planet is moving. The planet …

Software Development c++ opengl
Member Avatar for MosaicFuneral
0
143
Member Avatar for Cyberbanana1

Hi. I take a c++ class in school and we use Borland 5 as our compiler. At home, i have windows visual studio 9.0 installed. We normally just make programs that run inside the command prompt, but we are beginning work on doing things visually. My question is, whats the …

Software Development c++ visual-studio
Member Avatar for dmanw100
0
84
Member Avatar for csaawariya

hi..i am having problem in writing a function which returns a boolean value if the linked list is circular or not...the linked list is singly...moreover the circular means here not simply last node next is first node but linked list can be circular from any node to any node... i …

Software Development c++ linked-list
Member Avatar for StuXYZ
0
125
Member Avatar for int3grate

Hi all, I'm relatively new to python (I've been writing python code for about half a year now) and I'm trying to figure out how to use "seek" on larger files. I'm doing some work with large hard disk image files, and the raw devices themselves. I need the ability …

Software Development api operating-system python windows-api
Member Avatar for woooee
0
291
Member Avatar for Phil++

Hey, what I am trying to do is change the way I assign a title on a dos command prompt, so basically change the title input from: [CODE] system("TITLE welcome to my page"); [/CODE] to: [CODE] title("Welcome to my page"); [/CODE] I have tried to code it however there are …

Software Development c++
Member Avatar for Phil++
0
113
Member Avatar for massivefermion

Hi men 1-I wanna ask that how an OP works.I mean you install and launch a software on an OP.But you launch an OP on what.and how is programming an OP? 2-How can i define a function that the number of its parameters is infinite. 3-The difference of programming for …

Software Development c++
Member Avatar for Salem
0
99
Member Avatar for Phil++

Ok, so I am working on a project that changes: [CODE] cout << "this is a test script"; cin >> test [/CODE] to [CODE] say ("hiya"); input (name); [/CODE] It works fine but theres one problem, I don't want to code it into a complier like dev c++ I want …

Software Development c++
Member Avatar for VernonDozier
0
110
Member Avatar for Mashimar

I have a big table contain a mobile numbers, I need to count each mobile number, how many time it was entered to my table?

Software Development vb.net
Member Avatar for dyadarling
0
174
Member Avatar for malg

Could anyone tell me how to programmatically list the filenames of all open office files (winword.doc files, excel.xls files) ?

Software Development vb.net
Member Avatar for samir_ibrahim
0
112

The End.