199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tusharbhatia

Hi, thanks for helping. All this code does is remove the checked items. I want to remove it from one listview box and transfer it to another. Is that possible? [CODE]Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click With ListView1 If .CheckedItems.Count > 0 Then For …

Member Avatar for jlego
0
453
Member Avatar for nvidia123

Hi, i am new to c# and i am trying to develop a form to display the calander which works fine. I am trying to make it so that when the user selects any date from my MonthCalander control, it is then displayed in a messasge box. The trouble i'm …

Member Avatar for nvidia123
0
126
Member Avatar for lasl0w

Hey all, I'm writing a program that is an address book using an AVL Node structure (which was provided). I defined the [I]contact[/I] class as the ItemType of the data to be inserted in each node. Initially I encountered a Segmentation fault that occured during the assignment from the AVLClass …

Member Avatar for lasl0w
0
993
Member Avatar for CGober

This code block downloads images from a website.. I used WebClient at one time and I had used DownloadFileAsync combined with my own event handler to send the main form the message that a file was downloaded. Now I am using HttpWebRequest to try and improve download speed, however I …

Member Avatar for alc6379
0
106
Member Avatar for ilyaz

I have the following segment inside my XSLT transform: [CODE] <property name="Value"><xsl:value-of select="for $index in ...[/CODE] msxsl.exe produces the following error: [I]Code: 0x80004005 Expected token 'EOF' found '$'. for -->$<--index in ...[/I] Is this a syntax error? The code before the shown segment seems to be fine. What am I …

Member Avatar for iceandrews
0
121
Member Avatar for NevadaSam

Replacing a field separator during a read. I want to replace a pipe symbol (|) field seperator with a tab when I print the contents of records in a file. This is my text file:[quote]Jeremiah Stein|LW89W|1|U Patty Smith|JJ12R|2|W[/quote] The cgi script I wrote will read it and print it out …

Member Avatar for d5e5
0
384
Member Avatar for yasar2002

Please advise me on any good performance monitoring softwares for Oracle Database. Budget is no issue. I want to find and fix performance bottlenecks in Oracle Database (Oracle 9i Rel2), as well as generate graphs on statistics collected over a period of time. At present I am evaluating: 1) Spotlight® …

Member Avatar for br_astronut
0
389
Member Avatar for ajst

Hi there, I'm currently struggerling to come up with a game concept and need some thoughts or ideas. 1)My criterea are that it can't be a graphicle game so needs to be text based or very light on using images. 2)Must be 2D mainly to conincide with point 1 3)my …

Member Avatar for SgtMe
0
214
Member Avatar for terabyte

Which is the best way to make a plataform-independent perl app, I tried Perl Packer but it seems it wont work on windows, I don't want to use activestate? what are my alternatives?

Member Avatar for terabyte
0
153
Member Avatar for acv528k

This one seems really simple but for some reason I'm not getting it! Here's the problem: USING A FOR LOOP, read 4 lines of input from the user and display it on the screen. I made my code, which works, but it only reads the first line the user has …

Member Avatar for alexchen
0
145
Member Avatar for TrueCoding

Im not sure what Ive done wrong but I'm trying to display my array but the program keeps ending so I cant see if its actually working. Im sure its a little mistake - Any help or suggestions will be appreciated. [CODE] # include <stdio.h> # define MAX 100 int …

Member Avatar for Adak
0
109
Member Avatar for daviddoria

I want to have a template function like this: [code] template <class T> void CreateBlankPatch(typename T::Pointer patch, unsigned int sideLength) { CreateConstantPatch(patch, typename T::PixelType::Zero(), sideLength); } [/code] It works fine as long as Zero() is defined for the class T. However, with POD types, this is clearly not the case. …

Member Avatar for daviddoria
0
169
Member Avatar for phantomD

Hi, first post on the site and I hope I'll explain this properly: I'm tasked with creating a TicTacToe Applet using a JButton array. What I can't figure out is the problem I'm having with either setText or getSource (last bit of code). Can someone point out what I've done …

Member Avatar for phantomD
0
246
Member Avatar for Simplified

Hi All I was hoping for some advice based on the pool of experience here at Daniweb. I've been teaching myself to program in Python and I'm starting to get the hang of it, now I'm able to write small programs to automate administrative tasks as well as some complex …

Member Avatar for Simplified
0
107
Member Avatar for ace8957

Hey everybody, So I though that I understood linked lists and arrays well enough to make a hash table with separate chaining. Theoretically, it seems trivial, but I am getting a runtime error. The error appears to arise from the line head = heads[i], where head is a node pointer …

Member Avatar for Agni
0
186
Member Avatar for k2k

set v1=%e:\file1\file0% set v2=%c:\file1\file0% set v3=%d:\file3\file4% cd %v1% and do something cd %v2% and do something cd %v3% and do something I just want to set a variable = path and cd to it later, since I have multiple pathes, i would like to cd to diff variables instead of …

Member Avatar for k2k
0
172
Member Avatar for elizabeth mwash

am so confused...wen you use save dialog....you only get the dialog and wen i say save, it saves....my problem is, wen you go back to the folder to check the file saved....nothin is there....i want to know how you can save a file to a certain folder and wen saved …

Member Avatar for JOSheaIV
0
186
Member Avatar for aanders5

Ok, so first off this code is insanely messy and very very long. So if anyone has any ideas on how I can reduce all the variables and make it just run nicer that would be nice. I have been trying many different types of layouts and saving forms and …

Member Avatar for aanders5
0
218
Member Avatar for Wolf CCMLG

Hi, I am loading in a dictionary text file of English words, but I am not supposed to load any words if they contain an apostrophe. I am loading them in as strings, and I cannot figure out how not to load the string if it contains an apostrophe. Here …

Member Avatar for Wolf CCMLG
0
231
Member Avatar for GroundedWatts

I am making a list box with two input numbers, Run button, Clear button and Increment/Decrement button. What i'm trying to get it to do is the user inputs a number into textbox1 and a number into textbox2, then clicks run. The numbers then display in ascending or descending order …

Member Avatar for Mitja Bonca
0
104
Member Avatar for bufospro

Hi all, I want to read a file. The file is like that : 20 20 1 5 6 20 21 1 2 3 21 22 2 4 6 20 20 2 3 5 20 21 6 5 2 21 22 1 6 7 .... and I would like every …

Member Avatar for bufospro
0
123
Member Avatar for jlego

someone told me that i should stick with method #2, interested in getting feedback here. form2 has an id that form1 passes in order to load information from. method #1 has a public integer that form 1 passes to form 2 [CODE] class form1 private sub button1_click form2.id = 1 …

Member Avatar for jlego
0
112
Member Avatar for SoftwareGuy

Hi. This should be very easy for you guys, but I still can't get it visualized in my mind. Here's what I'm trying to do: [CODE] if (flag) for (i = 0; i < 10; i++) {LARGE_BLOCK_OF_CODE (that visits an array in order)} else for (i = 9; i >= …

Member Avatar for SoftwareGuy
0
199
Member Avatar for moroccanplaya

i cant break out of this loop its driving me crazzy!! [CODE] while (1) { printf("please type in the path for the file you want to archive\n"); scanf("%s",&original_file); open_pointer = fopen( original_file, "rb"); original_pointer = fopen(original_file,"rb"); copy_pointer = fopen( archive_name,"ab"); if (copy_pointer NULL) { printf("\n copied successfull"); puts("\nenter x to …

Member Avatar for moroccanplaya
0
155
Member Avatar for shinsengumi

Hi everyone! I'm transferring my C program that I created from Linux to WindowsXP. I would like to know what I need to download/install in Windows in order to compile and successfully run the program? Also, will I need to change some parts of the source code? I used socket …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for abuka

I've got this header and cpp.And I would like to insert this operator overloading to this .h and .cpp file. but I always got errors. Operator OVERLOADING : [CODE]istream& operator>>(istream& in, Focista& jatekos) { cout << "Add meg a focista tulajdonsagait. " << endl; cout << "Nev: " << endl; …

Member Avatar for abuka
0
236
Member Avatar for Plastix!!

can anyone upload a simple modular example in c (They would include .c files and .h files please) i am currently working on modularization but i have a problem when it comes to the main.c and main.h. . . its an assignment. i just want to reference and work on …

Member Avatar for ravenous
0
71
Member Avatar for sayyad786i

hi, I want to create a pdf from excel sheet using visual basic 6.0. Can you people help me describing or sending me a ready codes regarding the same. Thanks with regards, Sayyad H.A. India.

Member Avatar for pbunkers
0
4K
Member Avatar for hanttaha

[CODE]//I have a problem with my program, // the function rank to find rank of a matrix //cannot return the result //somebody help me to correct it! #include<iostream.h> #include<math.h> #include<iomanip.h> class matrix { int n,m; double A[6][6]; public: //..... friend int rank(matrix); }; int rank(matrix B) { int i, j, …

Member Avatar for ravenous
0
3K
Member Avatar for davehere

hello, I need to display contents with their tags, and in same page all the tags of the page contents the problem is having a limit on contents doesn't work if join tags on them (the number of tags change the number of select contents) [B]THE TABLES ========== [/B] I …

Member Avatar for davehere
0
212
Member Avatar for kevintse

[CODE]#include <iostream> using namespace std; const char* foo() { return "Hello"; } const char* bar() { const char* s = "world"; return s; } void print(const char* s) { cout << s << endl; } int main () { cout << foo() << endl; print(bar()); return 0; }[/CODE] Can I …

Member Avatar for kevintse
0
129
Member Avatar for coroll

Hi, I want to put color piker in a form. Does visual studio 2008 provide such a tool or does any one know how to put a color piker. Please help me. Thanks

Member Avatar for coroll
0
117
Member Avatar for saadi06

hello can any one help me i have a code for pagination and it is working properly but i want give it a condition that if the first page is shown then nothing should be displayed and if the data is on the second page then the pagination should start …

Member Avatar for davehere
0
113
Member Avatar for CanofCornInfini

Hello, I am new to C and not really sure how to do this. This program extracts and prints the rightmost digit of the integer portion of a float, and I need to convert it but I'm not sure how. [CODE]#include <stdio.h> void main (void) { float num; int rightdigit; …

Member Avatar for Shankye
0
155
Member Avatar for skorm909

i was wondering how i can make it so i do something like: [CODE]cout << "Press any key to continue." << endl;[/CODE] what kind of code do i need to put it so that the program dosnt do anything until someone presses any key on the keyboard?

Member Avatar for vsvivek796
0
229
Member Avatar for salty11

I need some help with this program, im obviously not so good with this stuff, but since this is the only one i haev left to make i thought i would ask some of you guys for help the problem is: Write separate programs to do the following: 1) Convert …

Member Avatar for mrnutty
0
255
Member Avatar for Tiancailee

Hi i am mostly done with my assignment where u have to make a simple object viewer. one of the requirements require you to use multiple instantiation of objects from the same class which i do not know what to do about it. This is my code for main.cpp [code] …

Member Avatar for Tiancailee
0
176
Member Avatar for bangor_boy

Hi, I have write a method to save amounts, the method has 1 argument which is where the amounts returned by a toString should be saved as text. I have no idea what to do and my searching on google or text books has been not helpful :( [CODE]public void …

Member Avatar for jon.kiparsky
0
128
Member Avatar for kapilsolanki84

i am using devc++ compiler. using c code created the window but its blank . now to write data something on it. like (say)write(create) the output of my own program into that window.in c. guide me pl.[CODE]. in this i have not inserted my own code. this code is used …

Member Avatar for WolfPack
0
217
Member Avatar for cthoes

why we use static in main and String[] args as arugment of main [CODE] public static void main (String[] args) [/CODE] can u explain me following static member functions should not refer to objects of that class. But we can access static functions through classname itself

Member Avatar for Mitja Bonca
0
152
Member Avatar for JeremyJ

Hi, I need to download URL's to a file using C++ code. Does anyone know of a library, compatible with Windows, that will do this? I know about CURL, but after spending days trying to configure LibCurl using Cygwin I'm ready to give up. A friend has been able to …

Member Avatar for JeremyJ
0
930
Member Avatar for dspjm

What's wrong with the program? It went wrong when i print the numbers in the lists. After i prints the last number, it didn't stop, and the program went into wrong memory. Eager for your answer: [CODE] #include <stdio.h> #include <malloc.h> #define NULL 0 typedef int ELEMNT_TYPE; typedef struct node …

Member Avatar for ckoy
0
126
Member Avatar for rocktea

i want express graph as adjacency matrix but 2 element of graph have more 1 street should element of adjacency matrix have more 1 value .i don't know express ? who know guidance for me?

Member Avatar for alwaysLearning0
0
105
Member Avatar for JDenham377

Hi, I am trying to disable a button until a condition is met in my program. I have two numeric up down boxes and a button, but I want to have the button disabled until the two numeric up down boxes have a number higher than 0 in both of …

Member Avatar for Mitja Bonca
0
945
Member Avatar for Ossehaas

Ok here is the problem, I got a 2 column page and I need the background color of a fo:block-container to flow like this: 1. Left column: left side page to center page 2. Right column: center page to right side page 3. Top: where block-container starts 3. Bottom: bottom …

Member Avatar for Ossehaas
0
522
Member Avatar for patibikash

I have a text file having randomize numbers. ->first read the file in asp.net ->then count how much time the number will repeated in that text file ->and also display the time taking to read the file Please help if any body has the answer.

Member Avatar for searchec
0
117
Member Avatar for bklynman01

I'm using VB.net 2008... Within the program, there is a button that opens a file inside of a second form ([ICODE]DocViewFrm[/ICODE]) and it works fine the first time around. Within this new window, there is a button that uses [ICODE]Me.Close()[/ICODE] to close the window and return to the main window. …

Member Avatar for bklynman01
0
202
Member Avatar for robotnixon

Hey everyone. I have a mysql project that requires only some basic queries except one. Nothing more challenging than some really basic select/insert statements. No problem there. But the one complex one isn't working out. I typically work a little with SQL server and wrote the following at work in …

Member Avatar for robotnixon
0
177
Member Avatar for mikev9359

I am trying to change a program from an IF loop to a WHILE loop. The program started in Ch.05. It was modified in Ch.06 to an IF loop & now must be changed to a WHILE. I got it down to 2 errors and am totally lost. Maybe a …

Member Avatar for jon.kiparsky
0
175
Member Avatar for Nahdir

Hello, I am having trouble with using polymorphism: [CODE] #include <list> #include <iostream> class a { virtual void foo() { std::cout << "a" }; } class b { void foo() { std::cout << "b" }; std::list<a> listOfA; b objectOfB; listOfA.push_front(objectOfB); for (std::list<a>::iterator it = listOfA.begin(); it != listOfA.end(); ++it) it->foo(); …

Member Avatar for Nahdir
0
94

The End.