132,726 Archived Topics
Remove Filter ![]() | |
Can anyone provide me with code on how to Delete a row from a list box?? lstReorder.RemoveItem (index) I believe is the right code. However this does not actually do anything by itself. How do i tell the program what the index refers to? ie what the index is? for … Software Development visual-basic | |
[code] #include "stdafx.h" #include <fstream> #include <iostream> #include <string> #include <cmath> #include <iomanip> using namespace std; const string ID = "- CS 1361, Spring 2008 - Lab 39"; void PrintDblArray (double[],int,ofstream&); int Smallest(double[],int); int main() { int i; double n, arr[50]; ifstream fin; ofstream fout; cout << "Running Lab 35 … Software Development c++ | |
Can anyone pls help me to generate random numbers without using any API??? | |
i have this data..but how to sort the data in descending order together with the examid? [U]examid total[/U] 1: 25 2: 20 3: 46 4: 56 5: 12 6: 22 7: 20 8: 18 Software Development c++ | |
how to obtain query execution time? i need for mysql query in java... does anyone know Software Development java | |
Hello all, this is my first post here. I've been working as an assistant product manager at a software developer for 18 months, and I'm looking to put my resume out there within the next 6 months, as a either a product manager, or as an APM in a larger … Software Development c++ | |
[B]Define the class Student which has name (char name[20]) and age(int). Define the default constructor, member functions get_data() for taking the name and age of the Student, print() for displaying the data of Student. i hv tried it.. am new to this language, am learning, this is what i had … Software Development c++ | |
Hi all Well this is my first post, and this looks like a good site to ask... Basically, i have Visual Studio 2008, without a clue on using it- My Request: To gain aid in making a program which does and has the following features- Drop down menu which contains … Software Development c++ visual-studio | |
iam a 1st yr b.e stucent.i was attending my c.p lab viva.i was asked to write a program that would exchange 2 variables without using a third variable.i could'nt do it.i know how to exchange the values by using a third variable.someone please answer this question. Software Development c | |
So I took the instructors example. His is to print a report for Tree, Quantity, Unity Cost, Total cost. I need to make a program that has book name, total quantity sold, total sales. I changed the in file names in his example to what my file names are and … Software Development python | |
Hey guys, I'm working on a problem where I need to use the direct-search method to find the intervals of the roots and bisection method to find the roots of the following equation x^3-3.5x^2+3.48x-0.85. Here is the code I have so far, the problem I'm getting is when the code … Software Development c++ ![]() | |
Hi everybody, I am new to j2me. Can anybody tell me how to start working with j2me. Software Development java | |
Hi ALL I am Srinivasan S Saripalli. I have a VC++ doubt which I have notified below. Hope you can give me a solution. I have developed a ATL,COM 32-bit Service and in the Service I am implementing Timer functionality using either `SetWaitableTimer` or `CreateWaitableTimer`. When I compile my Service … Software Development c++ visual-studio | |
i write a program that it needed to get a couple string from string. e.g : November -> i want to get "vem" only... how i can do this?? any help will be appreciated thank you Software Development vb.net | |
please help that how to add data of one field of database to the combo box. i attached one rar file with this. check that Software Development visual-basic | |
hello... i' m doing registration license system... i need source code that can search due date by their month... and i want to list their date with companies name.. how to combine two table in database?? because i want use the combine to search and display the data.. Software Development visual-basic | |
How to do programming in Image processing in java? I have searched on it.I got info abt JAI.But Can i get detail documentation or another library for image matching code in java. I want to match two JPEG images in java.That images are of birds. Can any1 help me out? … | |
is it possible to pass the value of a text box and the caption of a label from one form to another Software Development visual-basic | |
I am trying to get my 2d array to total up values. It is laid out perfectly, but my values do not calculate. Is my math wrong? Please help?? [code] #include <iostream> using std::cout; using std::cin; using std::endl; #include <iomanip> using std::setw; int main() { const int DAY = 7; … Software Development c++ | |
I am stuck on Visual Basic problem regarding combo boxes. The question states: [I]Assume that the Simple combo box appears as shown and that the Sorted property is set to True. Give a statement or statements that will carry out the stated task. The combo box contains: Dante Goethe Moliere … Software Development vb.net visual-basic | |
I've found that althought my fonts are fine everywhere else, they're blocky when I Tkinter. I have an LCD screen, and I'm using Xubuntu with Gnome. They work fine in WxPython. It seems like Tkinter doesn't allow for sub-pixel rendering or such (at least automatically). Is there some way to … Software Development operating-system python tkinter ubuntu | |
I am trying to write a code that asks for a date in a user form text box and then takes that date and looks for it in a range. Once it finds that date I want to enter the data from the second text box in a cell on … Software Development visual-basic | |
Hey there. It's Erinn and I just have a quick question about my assignment that I am working on. I have everything right except for one part...don't u hate that...lol. Anyway, here is the code and assignment below. Sorry there is no code, but it's been a long day and … Software Development c++ | |
Here's one I haven't been able to find an answer to. I have 4 arrays: @array1, @array2, @array3, @array4. I ran code to compare the values of 2 arrays to see number of values in common: [CODE]use strict; use warnings; my (%union, %intersect); foreach my $e (@array1, @array2) { $union{$e}++ … Software Development perl | |
[COLOR="red"]Hey guys, I have just convert my coding from vb to c++. However when i paste the codings inside another new project, it could be debugged but the designer view shows me error.[/COLOR] "C++ CodeDOM parser error: Internal Error Hide at Microsoft.VisualC.CppCodeParser.OnMethodPopulateStatements(Object sender, EventArgs e) at System.CodeDom.CodeMemberMethod.get_Statements() at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, … Software Development c++ | |
create a program to produce a tableof cosines for given angles. Note that the program is to read an input file and write outputto an output file. You should prepare many input files and an input file that includes a negative number and a value between 90o and 180o among … Software Development c++ | |
Heres the problem: A scientist has been conducting experiments and recording results of those experiments. Two pieces of data per experiment have been recorded: temperature in degrees Celsius and a concentration ratio (in the range – 0.5 to 2.0). Validate user inputs. heres what I have: Part1 - Writing to … Software Development c++ file-system | |
I'm using Xubuntu, and I've found that I can't change text control foreground colors in WxPython, on this Linux. They change fine in Windows. They won't change in Xubuntu—it doesn't matter if I use Xfce, Gnome, or KDE; it's the same. It's always black (very problematic when you have a … | |
I would like to create a specialisation of.. template <typename CEnemy_Ty> class CEnemyManager {}; ..for a class called CTank which is a CEnemy But by defining.. template <> class CEnemyManager<CTank>{} ..it means I have to copy+paste huge chunks of unchanged code, just to change say one or two functions. By … Software Development c++ | |
[code] #include <string> #include <iostream> using namespace std; int main() { int loanAmount[10]; int numMonths[10]; string keepGoing; int counter = 0; do { cout << "Please enter a loan amount: "; cin >> loanAmount[counter]; cout << "Please enter the number of months: "; cin >> numMonths[counter]; counter++; cout << endl … Software Development c++ | |
[code=cplusplus] PROC bHook(LPSTR BaseLibraryName, LPSTR BaseFunctionName, PROC NewFunctionPointer, bool UnHook, PROC Custom) { PROC hBaseProc; return hBaseProc; } BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: OutputDebugString("--------Detour dll Load!"); bHook("KERNEL32.DLL", "CopyFileW", (PROC)MyCopyFileW, false, 0); break; case DLL_THREAD_ATTACH: break; case DLL_THREAD_DETACH: break; case … Software Development c++ | |
I am new to Delphi - in spite of looking at numerous text books, I cannot find a simple way of printing a screen shoot. Is there one? ![]() | |
I'm having problems with my DisplayEntry function. What this program is supposed to do it display numbers that have been validated earlier in the program. The problem is it is displaying random numbers stored in the computer. I'm gonna include the struct declarations, the function call, and the actual function. … | |
Hi. If I define a lookup field, there will be a corresponding pick-list in the dbgrid. Is there a way to open this pick-list with the keyboard, instead of clicking on it? Otherwise I may have to use a TDBlookupcombobox in every column with a pick-list, because the user may … Software Development pascal ![]() | |
I'm new in MYSQL is there anybody who is expert in MSQL as backend and VB6 as front end please i'll be willing to study espcially on the connection. How and what are the procedures? Thanks a lot in advance...hope to share also my little ideas soon... Software Development mysql visual-basic | |
Hi again, In my previous thread regarding Combo box at runtime I had not forseen the problems I would experience introducing a variable to the code. [CODE]Private Sub Form_Load() Set myconn = New ADODB.Connection myconn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Documents and Settings\Gareth Powell\Desktop\db2.mdb" myconn.Open Set mycomm = New ADODB.Command Set … Software Development open-source visual-basic | |
Hello All, How can I get the information that corresponds with the containsKey to be put into the hashtable. I am checking to see if a hashtable contains a key. If it does how can I put that key along with its value into a second hashtable. Snippet of code: … Software Development java | |
Hi all, What I need to do is populate a combo box at runtime according to specific inputs from other forms.The code listed below is a seperate trial and works OK. I would like to know if I am overdoing the code thing for what I am achieving. [CODE]Private Sub … Software Development open-source visual-basic | |
Hi all! Just wondering if it was possible to be able to create a Tkinter window that can handle files being 'dropped' on it. What i want is to be able to drag a file from an explorer window to a widget on my program (probably an Entry widget) and … | |
Hello, I need help adding two arrays of different sizes [i.e. 3005 + 305 = 3310 ]. I am sorry but I do not have any code to post because I am completely lost on how to even go about starting this, so any hints or help on what to … Software Development c++ | |
I am having trouble reversing the words in a sentence. For example "a line of text" should be printed "text of line a". So far I can only print the last word, it is probably obvious but at the minute i just can't see how to do it. Any help … Software Development c | |
Hi I need an example of how threads are coded and implemented in Dev-C++, any help would be greatly appreciated. :) Software Development c++ | |
Hey, I was just mucking around when using rand() and noticed every time it comes out as a output of 41? [CODE=C++]#include <iostream> using namespace std; int main() { unsigned int randomNumber; unsigned int guess; unsigned int guesses; randomNumber = rand(); cout << randomNumber << endl; system("PAUSE > nul"); }[/CODE] … Software Development c++ | |
I am trying to create an alert in Vb.6 code that tells the user to make purchase since he has riched limit of the product Software Development visual-basic | |
![]() | Hello, I need to provide 2 overloaded constructors, each one displaying a date in a different format. Below is my class implementations, header file and main() function code snippets. The code is followed by the compilation error I get. I have tried a number of things, mainly changing the order … Software Development c++ |
Write a program that determines the day number (1 to 366) in a year for a date that is provided as input in the format dd-mm-yyyy. As an example, 01-01-2000 is day 1. 31-12-2001 is day 365. 31-12-2000 is day 366 because 2000 is the leap year. A year is … Software Development c++ | |
HI I am new to .py and I am having a bit of trouble making the rooms and items do what I want any help will be much appreciated. : ) [code=python] print """ TIBBYS LITTLE ADVENTURE EPISODE ONE Tibby the cat wakes up and is hungry, he decides to … Software Development python | |
steps i Follow- 1) Go to Control panel-->Admintrative Tools-->Double -click Data sources(ODBC)-->click Add button-->I choose SQL server(last option), Is it right or wrong option for connecting to SQL 2000.Then a new screen appears Create a New dataSource-->in name textbox,we can write anyname--Right or wrong. suppose i enter sonia, & my … Software Development sql visual-basic |
The End.