132,726 Archived Topics
Remove Filter ![]() | |
Complex numbers are seldom used in daily life, altough you could say that every real number is complex, but with the imaginary part equal to zero. And btw. "complex" is a bit of a misnomer, perhaps we should call them "easies", because often they make it easier to perform certain … Software Development mathematics | |
Sample 1: Private Sub Get_URL() Dim AddressText As String = HttpContext.Current.Request.Url.AbsoluteUri.ToString ComboBox1.Text = AddressText End Sub Sample 2: Private Sub Get_URL() Dim AddressText As String = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser)Url.ToString ComboBox1.Text = AddressText End Sub Neither of them successfully displayed a URL in my ComboBox. Any Help? Thanks. Software Development vb.net | |
I want to learn about `def` because that looks very the most intriguing how you can make it kind of like reusable but when I was learning I had come some problems with understanding def main(): #renewable code main() if __name__ == "__main__": main() I don't understand what `__name__` and … Software Development python | |
Hello Everybody How can store name of dynamically created checkbox in a String array when I don't know how many checkbox will user select at runtime. Say I have 10 dynamic checkboxes and out of 10 user select 6 checkboxes randomly now how can get the name of those selected … Software Development dataset | |
Well I need help one of the two questions which are similar to the topic I'm asking. The first question that I solve was "Taller method should return true if the tree on which the method is invoked has a greater height than the tree passes as a paramter". public … Software Development java | |
Hey, Does anyone see anything wrong with this? I don't know what's up, it's throwing the IOException everyt time even though the mp3 is in the source folder. (I tried .wav as well). I'm trying to place this in a GUI, but testing it seperately first. import java.io.*; import sun.audio.*; … Software Development audio file-stream gui java java-swing | |
I am a beginner but my problem with this game is that when i enter east it said it going to north. here my code for my main and parser also when i enter a word then it quit the game so how do i make it stay open to … Software Development c++ | |
Dear All I am trying to create groupbox dynamically and these GB will create on selection on checkbox. Means I have 5 check boxes now if I select 1st CB then 1 GB with some other dynamic checkbox shall be created, if I select 3rd check then another GB shall … Software Development dataset | |
So i believe i got my prefix working, now i'm trying to get my postfix working so that the class object happy should have its day increased by 1. Not sure whats wrong. Maybe the way it receives the month and day in the constructor? main #include <iostream> #include <string> … Software Development c++ | |
Hi I wonder how to count the backup files I have. If I say like this 1: making backup OK 2: making backup OK 3: now is the question how to count the backup files so I can remove some of them or kill one Bonzo Software Development visual-basic | |
Hi I downloaded keyboard event and its work very fine. Its capture all keystroke and print it. My question is how can we do it to save to file (for example C: \log.txt) instead to print out . To write out f=open('c:\log.txt','w') but where can I put it :)? import … Software Development python | |
Hi...! I'm Workihng on Snake And Laddet Game... the player roll the dice and it's get a new position,an image will show the player position on the screen in the next turn image will move to a new position but the last picture is still in it's position how can … Software Development image | |
I have a access database from where I am populating the datagridview on button click event. but what I exactly I want to add record of access database in datagridview when button is clicked. Means on 1st click 1 record should be add in datagridview, on 2nd click another record … | |
I am getting this error when inserting a query into the SQL tab of a database, it only adds 2 tables when it is supposed to add more, but the error is stopping it? Screenshot: http://gyazo.com/b62b31137708228beb791ed6c8ad01ea Query im inserting: http://pastebin.com/rMJeA0Xb Software: MySQL Software version: 5.1.68-cll - MySQL Community Server (GPL) … | |
when I run eclipse (just downloaded the 32 bit version from the website) it gives an error dialog that says 'a java runtime enviroment or java development kit just be available in order to run Eclipse. No java virtual machine was found after searching the following locations: " and it … Software Development java | |
HI all, I am trying to validate the input in my tic-tac-toe program. I had a good look around on the net and tried a few combinations, but I couldn't get anywhere. Some people seem to be using methods like hasNextInt(), some other a try and catch statement. I tried … Software Development java | |
So I have to make a java program that lets you enter test scores and then displays the test scores back to you showing the number of A's, B's' C's, 'D's F's entered based on the numbers put into the program. The program is supposed to end when you enter … Software Development java | |
Hello everyone. I am trying to compile this simple code using gcc under Cygwin terminal. //A function that just returns a value// int my_function() { return 0xbaba; } I saved the code as basic.c I issue the command $gcc basic.c in the Cygwin terminal And I get the error: gcc: … Software Development shell-scripting | |
Hi. I'm having some touble printing year. Here is the code where I expected an output of "Year: 2013" time_t tm; time(&tm); struct tm ts; errno_t err = localtime_s(&ts,&tm); cout << "Year:\t" << ts.tm_year << endl; But what I get is "Year: 113" Appreciate any help offered. Software Development c++ | |
Problem 1 : does anyone have any knowledge about genetic algorithm? Problem 2 : what development tools should I use to develop the timetable? For example : tools for back-end code and tools for Interface. Software Development algorithm | |
**I am trying to read the records from and to a CSV file in C. Of course i want to stop when I have read all the records. If I use a for loop it works perfect except I have to know how many records there are. if I change … Software Development c | |
hey there, I have created this simple app that makes use of a Robot instance. It is a network app that I control using telnet. I have tried it in two different computers. It works fine. However, in one of my computers, I manage to start my robot app through … Software Development java operating-system oracle | |
I kept getting an segmentation fault, so I think I need to decrease memory usage but I am unsure of how. I am using the Sieve of Atkins to calculate prime numbers and then testing the primes against 600851475143 (Project Euler). Here is my code so far: #include <iostream> #include … Software Development c++ | |
Which courses can I take on internet for free to become a software engineer? I am actually a civil engineering student.But I want to become a software engineer. But my computer knowledge is little. Please help me. Software Development engineering | |
can you tell me the approach that i have k*n nodes where k,n are integers and no two adjacent nodes can have same colours and i want to colour the trees with n colours. (i am making trees not graphs.) thanks. any help will be appreciated. Software Development c | |
Hi The problem is when I have open the common dialog and press the cancel button I got error code 32755 say that I have pressed the cancel button and i halts On Error GoTo MnuNamnD_click_exit With dlgDemo .CancelError = True .InitDir = mstrLastDir .Flags = cdlOFNHideReadOnly .fileName = .FileTitle … Software Development visual-basic | |
I am making a program that does synthetic division, except for it is not showing the quotient only the remainder. I have checked my for loops so many times, and I can't understant what is happening here is my code: import java.util.*; import java.lang.*; class synthetic { static Scanner userInput … Software Development java programming-construct | |
I have an email programme that works sometimes, but mostly comes up with a general Mapi failure. I am at a loss as to the reason, but it may be a good idea to not use the mapi controls anymore if it is going to cause errors. I have looked … | |
i have tried so much to understnd this problem but can't able to get it.. plxx tell me how it will b solve or atleast give me syntax.!! this is the header file that i had made.. // A 2-dimensional point class! // Coordinates are double-precision floating point. class Point … | |
How do i pass file name ("chosenFileName") from sample2 class to sample1 class? An example would be nice. here's some code from sample 2 class - private void openFile( ) { JFileChooser chooser; int status; chooser = new JFileChooser( ); status = chooser.showOpenDialog(null); if (status == JFileChooser.APPROVE_OPTION) readSource(chooser.getSelectedFile()); else JOptionPane.showMessageDialog(null, … Software Development java | |
I have two textfields which are formatted for dates, i want to retrieve data from the database within a period of days which the two textfields stand for the "from" and "to" dates.Can anybody help me out? select distinct courseId,courseName,description,Date,amount from course where date>='2013/05/11' and date<='2013/05/11' for the SQL queries … Software Development java | |
Hellow, I'm an intermediate VB.Net programmer and I need assistant to get a project done. I have a request as follows. 1. Confirm that source files exist (the text files) Obtain value of field, Location in File_Locations table where code = 'TEST'. If the source files don't exists in this … Software Development vb.net | |
Hey guys and gals. I'm looking for a little help here. I am throughly lost as to how to do this program. Keep in mind I am not asking for someone to do it.... although the though is crossing my mind lol. I'm just looking for pushes in the right … Software Development c++ | |
Let me start by saying I'm a noob. I want to get input from a text file through gui and perform some actions.the last time I did it I used command line argument to pass file name to get file input. The code in quote. It works when I uncomment … | |
I am looking to finish up this program for class. I'm lost when it comes to arrays and I've read all the course work, the book, etc. The question is how do you increase an array element at the position? using namespace std; int main() { int quantity[4][5], warehouse, product; … | |
Here I am using askopenfile to upload a (text)file, I also wanted to display the file name next to the upload button and then I want to read its contents and convert it to another language. Say for example if the document is in English I want to convert it … Software Development file-system python | |
I have a serious problem with my game right now, after each kill I get the game starts lagging more and more. I thought it was because he was drawing the same thing twice and stuff and went trough some functions that was useless. But I cleaned it up as … | |
I am trying to create breakout game like this below. http://www.2dplay.com/break-out/break-out-play.htm I like how when balls bounces on paddle you have control over where it is goings. i need help creating some thing like this //this is my code for when ball touch the paddle(player). i have divide the paddle … Software Development java | |
Hi, I'm working on an assignment for programming class where we're supposed to create a method that takes the contents from a text file (one giant string) and stores them piece by piece in a linked list. I'm a little stuck and not sure where to go from here, or … Software Development file-system java linked-list | |
hi how do i create a list contaiing one or more customers from the below xml <?xml version="1.0" encoding="UTF-8"?> <customers> <customer> <first>string</first> <last>string</last> </customer> <customer> <first>string</first> <last>string</last> </customer> <customer> <first>string</first> <last>string</last> </customer> </customers> i am new to writing xsd schemas, appreciate a reply thanks Software Development xml | |
![]() | I've checked through the newest C++ Primer a bit, but it doesn't feel like it fits me that much seeing as I would like it to have more focus on exercises (or something that progresses from a small program to a bigger and more advanced program, you catch my drift) … Software Development c++ |
Hi i've been working on a piece of homework we're I've been asked to implement a 2d grid in opengl and extend Dijkstra's algorithm to A star, so far i've been able to get the 2d grid running with Dijkstra's algorithm with not too many problems but my current extenstion … Software Development algorithm c++ data-structure opengl | |
Hi Daniweb people I have a really stupid question, strangely it has been keeping me busy for several days now and i just cant help but to ask for help... ive searched the whole of the MSDN libraries but no code seems to work for this I am making an … Software Development delphi | |
How do I specify a mouseDown eventhandler to dynaically creted Tpanels? My intention is to create a number of panels, like tiles, and move them around on the Form I have created a design time TPanel and copied its OnMouseDown event and saved it as PanelMouseDown. My code: Pan:=TPanel.Create(Form2); Pan.Height:=60; … Software Development pascal | |
When I was going through a program of my friends, suddenly I came across a strange for loop, I was wondering about the for loop since then, the loop looked like this for(1=0,ii=result.length;i<ii;i++) Is this for loop a valid for loop? Can any one please help me? Software Development java | |
Hi I wonder how to create a Mru list of the last open mdb file in app.path and how to numerate this in order of used Lenny Software Development visual-basic | |
Where can I find iostream.h ON THE INTERNET basically, I know how to use iostream.h, but I need to download it. I am not going to download a new compiler. I do not need any tips on how to include it in my program. Just where to find it. I … Software Development c++ | |
I need some help with this one. i have a few code samples I have found on the internet, however, when I attempt to use them I get errors, and nothing really works. What I'm trying to do is get the text of a message box, and the contents of … Software Development api vb.net windows-api |
The End.