132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for leedsy7

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
Member Avatar for Henry Schubel
0
1K
Member Avatar for Ryuji5864

[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++
Member Avatar for Ancient Dragon
0
139
Member Avatar for chandanapapa

Can anyone pls help me to generate random numbers without using any API???

Software Development api java
Member Avatar for jwenting
0
106
Member Avatar for nurulshidanoni

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++
Member Avatar for localp
0
152
Member Avatar for krish_kooll

how to obtain query execution time? i need for mysql query in java... does anyone know

Software Development java
Member Avatar for krish_kooll
0
85
Member Avatar for ninjabreadman

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++
Member Avatar for ninjabreadman
0
87
Member Avatar for anifeelings

[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++
Member Avatar for Nick Evan
0
218
Member Avatar for Glitch100

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
Member Avatar for Ancient Dragon
0
129
Member Avatar for abcd_nima

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
Member Avatar for hammerhead
0
162
Member Avatar for DumbBlonde89

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
Member Avatar for DumbBlonde89
0
121
Member Avatar for foolishdrift

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++
Member Avatar for iamthwee
0
182
Member Avatar for hkarthik

Hi everybody, I am new to j2me. Can anybody tell me how to start working with j2me.

Software Development java
Member Avatar for Samudricka
0
107
Member Avatar for srinivasan34

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
Member Avatar for mitrmkar
0
221
Member Avatar for november_pooh

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
Member Avatar for Jx_Man
0
90
Member Avatar for pranavdv

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
Member Avatar for Jx_Man
0
136
Member Avatar for Genuis Man

[B]i need someone to tell me how can i use flex tool ?[/B]

Software Development
Member Avatar for Jx_Man
0
98
Member Avatar for addi

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
Member Avatar for Jx_Man
0
315
Member Avatar for aim

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? …

Software Development image java
Member Avatar for aim
0
113
Member Avatar for swapna7999

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
Member Avatar for swapna7999
0
76
Member Avatar for Moporho

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++
Member Avatar for Moporho
0
146
Member Avatar for Vedj3

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
Member Avatar for Jx_Man
0
983
Member Avatar for kushyer

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
Member Avatar for kushyer
0
551
Member Avatar for glfnfvr

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
Member Avatar for glfnfvr
0
128
Member Avatar for WonderWomen204

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++
Member Avatar for WonderWomen204
0
132
Member Avatar for Duanea2k

can any one help me with magic sqaure

Software Development c++
Member Avatar for gazoo
0
96
Member Avatar for godevars

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
Member Avatar for katharnakh
0
2K
Member Avatar for laharven

[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++
Member Avatar for laharven
0
253
Member Avatar for mikky05v

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++
Member Avatar for Ancient Dragon
0
98
Member Avatar for cpp_noobsauce

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
Member Avatar for Ancient Dragon
0
116
Member Avatar for kushyer

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 …

Software Development python tkinter ubuntu
Member Avatar for kushyer
0
297
Member Avatar for phalaris_trip

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++
Member Avatar for phalaris_trip
0
102
Member Avatar for tm5054

[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++
Member Avatar for Ancient Dragon
0
101
Member Avatar for max8888

[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++
Member Avatar for max8888
0
204
Member Avatar for lespitts

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?

Software Development delphi pascal
Member Avatar for Micheus
0
100
Member Avatar for BBustos

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. …

Software Development c++ display
Member Avatar for Ancient Dragon
0
121
Member Avatar for ecostas

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
Member Avatar for Micheus
0
500
Member Avatar for rustyboy

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
Member Avatar for rustyboy
0
78
Member Avatar for lostandfound

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
Member Avatar for lostandfound
0
199
Member Avatar for KimJack

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
Member Avatar for Ezzaral
0
122
Member Avatar for lostandfound

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
Member Avatar for lostandfound
0
343
Member Avatar for a1eio

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 …

Software Development gui python tkinter
Member Avatar for bumsfeld
0
108
Member Avatar for buddha527

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++
Member Avatar for vmanes
0
2K
Member Avatar for natd

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
Member Avatar for natd
0
812
Member Avatar for CodeBoy101

Hi I need an example of how threads are coded and implemented in Dev-C++, any help would be greatly appreciated. :)

Software Development c++
Member Avatar for CodeBoy101
0
189
Member Avatar for Black Magic

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++
Member Avatar for Narue
0
138
Member Avatar for woseng

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
Member Avatar for steve585
0
68
Member Avatar for bschmitt78

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++
Member Avatar for Ancient Dragon
0
198
Member Avatar for ar31an

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++
Member Avatar for hammerhead
0
107
Member Avatar for jayverene

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
Member Avatar for jayverene
0
86
Member Avatar for Yogesh Sharma

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
Member Avatar for choudhuryshouvi
0
986

The End.