132,726 Archived Topics
Remove Filter ![]() | |
I did this code to compare to Delphi code in Delphi forum [URL="http://www.daniweb.com/software-development/pascal-and-delphi/threads/357771"]TListBox and sorting[/URL] which ran in my computer compiled in free Lazarus environment at time 7,235 s for generate and insert to listbox, 13,265 s sorting the listbox. | |
hi, basically im designing an online backup system for my final year project. It will be an (asp.net/c#) web application which allows users to backup their files to a remote server. Each user will have their own account where they can login to backup files, view files backed up etc.... … Software Development asp.net web-server | |
Is it some one hwo know how to open a form. I want to show form2 when some one presses button1? Software Development | |
Hi Guys, I have a problem with selecting several item from a combobox which are suppose to call same method. let's say I have a combobox populated like this list One Two Three Four Five Six Now I would like to let if user select one of these three option … Software Development | |
Is changing the currentLoc variable with an [B]IF[/B] statement a bad way to terminate this loop below? I'm told: [I]"...something in the loop body must cause the expression to become false at some time. One of the things you do not do ever, is write an if statement to change … Software Development c++ | |
I want to resize font of all windows form control when i change screen resolution...I am able to resize all the controls but font resize driving me nuts....Please help me as soon as possible if anybody knows..thanks in advance.... Software Development vb.net ![]() | |
This program accepts input in the form of a String of names and grades. It picks out the names and picks out the grades and puts them in seperate arrays. Then it needs to output them together sorted by grades and then by names. I can get the Grade Order … Software Development java java-swing | |
i am working on a virtual make-up software and the only thing i lack to totally finish it is the lipstick part. is there a way that i can trace the edges of the lips of the picture that im editing and fill its insides with colors from a colordialog … Software Development vb.net ![]() | |
Hi, i made a class in a win form app in c#. I want to open the class/degbue it when someone presses button3. How do i do that? Software Development | |
Hello everyone, Is it possible to use controls of other applications using c#? I mean for example i run realplayer music player or any other application. Now is it possible to access file menu or edit menu or tools of these application using c#. i.e on a button click i … Software Development c# | |
Hi all, I've setup a class within my software package to read generic text files. For this, I'm using the getline( ) function and then parsing each line for specific types of files. In setting this up, I've come across the ACSII incompatibilities between Windows systems and Unix systems. I … Software Development c++ mac-software operating-system unix | |
Whats up Guys? How do you make this program work for all string inputs? It reads only 5 and 6 letter words and outputs it in an X formation. 1) For example: Input Hello Output: H o e l l e l H o 2) For example: Input: Doctor Output: … Software Development python | |
import java.text.*; // format output import java.util.*; // Scanner class public class gpa { public static void main(String[] args) { DecimalFormat num=new DecimalFormat("#######.00"); // Create format for name num (courseName) DecimalFormat gpaNum=new DecimalFormat("##.00"); // Create format for name gpaNum (gpa) // variable names gpaNum gpa=0; // grade point average double … Software Development java | |
Whats up guys? I need help my code is not working too great could someone please help me? My Input should be : 03/12 hello there My Output should be : March the 12th: hello there It needs to work for January, February, March, April, May and June. And all … Software Development python | |
I'm working on a simple recursion function that takes a number and then adds the digits together, say 12345 = 1+2+3.....=15 I have that part: [CODE] int DigitSum(int number, int sum){ //if the remainder of the number / 10 is 0, return the sum if(number % 10 <= 0){ return … Software Development c++ | |
Ok, so I have images for my applet, but when I upload it online, none of the images appear. When I add an image, they are all Image Icons for Labels, and I just browse to the folder on my desktop, selected the image, and hit ok. It then shows … | |
Hey everyone, I am writing a GUI that allows a person to enter all their own numbers into an array, then they can search the array for any number they want. I have it almost completely written except for two compile errors I can't figure out The first one is … Software Development gui java java-swing | |
Hello there everyone. I am in need of assistance in writing a code for my program. What I have to do is write a code to generate the following: (1) * ** *** **** ***** (2) ***** **** *** ** * (3) ***** **** *** ** * (4) * ** … Software Development c | |
hello guys, write a program which calculates the volume of a cube or of a sfere. the user gives the side of the cube or the radius of the sfere • the user gives the shape as string • the shape will be sfere or cube otherwise will print "wrong … Software Development | |
is there any way to implement auto complete in a jtable cell. i checked for selectin a part of the text in the cell like the option in jtextfield. but seems that there is no option for that in jtable. please guide me in any one of the above.... Software Development java | |
Hi to all, I have a severe problem with memory when executing my application. At start it merely uses about 14.000 K without doing anything. Then, when the main code starts in a seperate thread, it spikes up to 700.000 K (observed in TaskManager). Program in question is an implementation … Software Development motherboards-cpu-ram vb.net | |
working on a 32bit architecture and i'm adding two arrays together slot by slot into a third array so if I have 3,4,4 and 4,4,4 in the arrays the third array should contain 7,8,8 at the end of the function I was able to pass in the arrays correctly and … Software Development assembly | |
I've been trying all day to write an array into a file but it doesnt work. The code I'm using is: [CODE] fstream myfile; myfile.open ("array.txt"); for(int i=0;i<=9;i++) { for (j=0; j<9; j++) myfile<<array[i][j]<<endl; } myfile.close();[/CODE] What am I doing wrong? This works if I knew what I was writing … Software Development c++ | |
hi, I have a button control problem: [CODE] public void Display1() { listbox.Items.Clear(); Dictionary<string, double> sortList2 = new Dictionary<string, double>(); Dictionary<string, double> sortList8 = new Dictionary<string, double>(); string getText = textBox2.Text; Array arr; StringReader re1 = new StringReader(getText); string[] firstString = new string[textBox2.Lines.Length]; string[] secondString = new string[Comset2.Items.Count]; sortList8.Clear(); foreach … Software Development | |
I have to create an app that computes the amount income tax that a person has to pay, depending on salary. Income tax should be calculated for each portion of income in each range. Here are the following income ranges and taxe rates: Not over $7825=10%income tax $7825-31852 = 15%income … Software Development pay-per-click vb.net | |
Hi i have a C++ DLL. What i am doing is that i am passing memory address to my C++ dll where it write message on that address and i want to read the message from that memory address. Here is my C++ function. [code] int _stdcall Test(int res, wchar_t … Software Development vb.net | |
Whenever I try to compile my Song class I get a ton of linker error messages. I'm using the Dev-C++ compiler. Here's my code: //The header file [CODE]#include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; class Song { public: Song(); Song(string title, string artist, string album); void … Software Development c++ | |
Hey everyone, I am writing a program that needs to take 10 integers and display them, then it needs to sort them in order from lowest to highest and then display them again. I was trying to use selection sort to sort them, but I think I set it up … Software Development java | |
ETA: okay take two, I thought I had the problem fixed, turn out no. Okay so I'm a student on work term teaching myself C++ coming from a background in Java, having done that for the past two years in school. I'm having a tough time with some concepts and … | |
Hey everyone, I am writing a program that requires me to use an array to find the mode of 10 numbers. I have working except I want it to just print the mode, but it keeps printing every number I enter. Any suggestions? Thanks in advance. [CODE] import TerminalIO.KeyboardReader; public … Software Development java | |
[CODE]hi , once gain i need a suggestion from the expert, the prob is that i have 400 folder(folderxyz) in a given directory, and each folder contains some file . now i want to open directory , open each folder one by one and read the files present in it … Software Development python | |
Hello, folks! So i'm trying to add a tooltip to a treenode, But with no luck. I've tried things like: [CODE]Treeview.nodes(0).tooltiptext = "Hello" [/CODE] Software Development vb.net | |
Hi everyone, I have a 2d array whith 50000 lines and 14 columns, and I have to sum/multiply each value of a column for a fixes numbers, like this: a[1][14] = 0 a[1][14] + 2 = 2 a[2][14] = 2 a[2][14] + 2 = 4 a[3][14] = 5 a[3][14] + … Software Development c++ | |
I tried to fixed and figure out to move bottom and top for swap. it won't move. [code] private void topbutton_Click(object sender, EventArgs e) { int moveSpace = postProcesslistBox.SelectedIndex; int ItemIndexOfItemToMove = postProcesslistBox.SelectedIndex; if (this.postProcesslistBox.SelectedIndex != 0) { for (int i = ItemIndexOfItemToMove; i != 0; i--) { Swap(i, i … Software Development | |
I'm trying to display some text in a JTextArea I have set up in a simple GUI. Easy right? That's what I thought, but I'm clearly not that advanced at Java. The hook is the information I want to display in the JTextArea is in a text file (file.txt). Right … Software Development gui java java-swing | |
I have problem i must make Drag & drop calculator,help please? Software Development | |
Hello, I have been using the python dictionary to create a multidimensional array. I recently stumbled upon the numpy module's array which creates a multidimensional list. Can we store string variables in this array module? or is there other ways in python to create a multidimensional list? Thanks Software Development python | |
Hello ,I have one problem making one simple program(actually I am new in this language). So I have two webbrowsers.How I can every New Window that is opened in webbrowser1 to be opened in webbrowser2 instead? Thanks in advance Software Development | |
hi, I downloaded a solution of a ribbon menu tool and used it by adding an existing project in my original solution. When i opened my solution on another computer the ribbon menu tool gives an error that The project file cannot be nfound and the solution is unavialable. What … Software Development | |
can any one help me to how to create avl tree of strings in c Software Development c | |
Trying to understand two dimensional vector and was wondering if anyone could help me out on a sorting code for this so that it numbers 0-9 people, gets x number with each of them and then outputs the person (number) ate x pancakes - But in descending or ascending order. … Software Development c++ | |
Hello I am currently stuck on trying to collect some string items from a richtextbox and then count how many items there are. I then want to relocate one of the string items if there are more than three into another richtextbox. I currently have been attempting to capture the … Software Development vb.net | |
I have read that OO supplies it's own python and uno.py [for 3.3 under ..\basis\program] - but there are ways to incorporate it into your current version such that a script can issue [COLOR="Green"]import uno[/COLOR] w/out issue. I have tried scripts that supposedly permit this and tried to work through … Software Development python | |
The dictionary part isnt working. can anybody help?? [CODE] string path = @"C:\1\"; string[] file1_Lines = File.ReadAllLines(path + @"TraceSet.csv"); string file2 = File.ReadAllText(path + @"SBoxOutput.csv"); string[] file2_Lines = file2.Split(new string[]{"\r\n"}, StringSplitOptions.RemoveEmptyEntries); //creating 2 lists for average values of file1 and file2: List<float> averageFile1 = new List<float>(); List<float> averageFile2 = new … Software Development | |
Hello... I'm learning win32 api programming, and I can't figure out how the vsprintf (va_list, va_start, va_end) function works in the following code: [CODE]/*----------------------------------------------------- SCRNSIZE.C -- Displays screen size in a message box (c) Charles Petzold, 1998 -----------------------------------------------------*/ #include <windows.h> #include <tchar.h> #include <stdio.h> int CDECL MessageBoxPrintf (TCHAR * szCaption, … Software Development api c windows-api | |
I have a text box which I search SQL server which returns to values based on the text I pass the SP and then I want to add to the list box items so here is my code below the DataTable contains the item I want to return in the … | |
I have a batch file that sets JAVA_HOME, PATH and CLASSPATH and calls a jar file. The last line in the batch file is "java -classpath test.jar test %1". When I run the batch file from the command line, using a paramater, the parameter displays in the console as expected. … | |
hello Can any one please tell me how to highlight a selected row in C1TrueDbGrid Software Development |
The End.