132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arezz09

i hve create checkbox in listview.. how to export check item in list view to crystal report, so i can print item that i hve check.....anyone..

Software Development listview vb.net
Member Avatar for arezz09
0
101
Member Avatar for DaniwebOS

I'm trying to run this program all together without it being separated into header files and cpp files. Run the program, it just says there's syntax errors. Another problem I'm getting is when the program actually runs, the second event's data arguments don't do anything at all... [CODE]#include <iostream> #include …

Software Development c++
Member Avatar for VernonDozier
0
436
Member Avatar for hughesadam_87

Hello all, I've tried to find this problem in past threads, so sorry if this is a repost. I have a large file with regular data. The file is too large for me to open it all at once, so I need to split it into evenly (preferred) spaced output …

Software Development python
Member Avatar for Gribouillis
0
297
Member Avatar for Mitchell VB 6

Hello, I have a form in my VB 6 program which has 6 labels; which are.. Unit 7 Mark: Unit 8 Mark: Unit 9 Mark: Unit 10 Mark: Unit 13 Mark: Unit 14 Mark: To the right of them I have 6 text boxes where the user enters a mark …

Software Development visual-basic
Member Avatar for debasisdas
0
83
Member Avatar for poloblue

Good Afternoon, I'm having trouble with a school assignment. The assignment entails: Write the implementation of the function subsequence for the orderedArrayListType class. Also write a program to test your function. Prototype: bool orderedArrayListType::subSequence (orderedArrayListType &S,orderedArrayListType &L); Definition: subsequence returns true if S is a subsequence of L, false otherwise. …

Software Development c++
Member Avatar for poloblue
0
159
Member Avatar for bluerdanblue08

Hi to everyone! I am new in programming and I'm making an application that can filter records on datagrid from the user's input in textbox..I tried this code that I also got here.. But I'm getting an error..please help me..thanks in advance.. ERROR MESSAGE: An unhandled exception of type 'System.InvalidOperationException' …

Software Development dataset open-source vb.net
Member Avatar for debasisdas
0
401
Member Avatar for highflyer8

Hi, if I run the following code and press L on the screen, I should be getting a leapfrog.txt textfile. But I only see my previous euler.txt. What is wrong with the code. Thanks in advance for any help. [CODE]#include <iostream> #include <fstream> #include <cmath> #include "H:\Visual Studio 2008\Projects\section2\threevector.h" using …

Software Development c++ visual-studio
Member Avatar for thelamb
0
151
Member Avatar for Planetdune

Hey all, I'm currently having a file I want to open using a program. The system does NOT have the file-extension associated with said program. However using the standard "let me choose what program to use" box when trying to open the file and selecting the program it runs just …

Software Development delphi pascal
Member Avatar for dlhale
0
151
Member Avatar for wiredtoawall

I am trying to make a code for shuffling a deck of 52 cards no jokers. I have generated a deck and I plan on randomly inputing all the values into another array as my shuffling. How should I do that? [CODE]program game; var Deck : Array [1..4,1..13] of integer; …

Software Development pascal
Member Avatar for dlhale
0
395
Member Avatar for sarge66

I'm new to programing and any help would not only be appreciated but would probably help me pass this class. Exercise 1: Implement a Resistor Class Objective: Create a C++ console application that utilizes the core concepts of designing and creating classes, objects, properties and methods. Overview: Create and test …

Software Development c++ objective-c
Member Avatar for pseudorandom21
0
936
Member Avatar for MWE_QUE

I'm getting errors, and I'm not sure why. Any help would be appreciated. I'm working on this program and when I put the ActionListener for the comboBox it blows up. I chose a topic from the comboBox that will pick a file to be read. When I comment out lines …

Software Development gui java java-swing
Member Avatar for MWE_QUE
0
145
Member Avatar for Kath_Fish

I want to ask how to combine two text file and read in the rich text box..? [CODE] String rd = ""; private void CLICK2_Click(object sender, EventArgs e) { string file1 = @"C:\Users\Fish\Desktop\fyp-coding\sample1.txt"; string file2 = @"C:\Users\Fish\Desktop\fyp-coding\sample2.txt"; FileStream fs1 = null; FileStream fs2 = null; try { fs1 = File.Open(file1, …

Software Development file-system
Member Avatar for agugglez
0
267
Member Avatar for Jessurider

hey i've created a counting mechanism project............in the attached project there is two labels label1 & label2.........on pressing the numberpad1 and numberpad3 keys, the count increments and decrements simultaneously which is been displayed in the corresponding labels (see the attached project)........ can anyone tell me an another method to do …

Software Development c#
Member Avatar for agugglez
0
170
Member Avatar for DarkLightning7

I have an interface built in javafx but it currently does nothing it just looks nice. How do you download files from the web in javafx or java? How do you create files on the users system in java or javafx? How do you place downloaded files in the created …

Software Development file-system java operating-system
Member Avatar for DarkLightning7
0
286
Member Avatar for rwarlord

I am having a hard time deciding whether to use pointers or not in my nested data structures. Memory and CPU efficiencies are important as I am dealing with data files of sizes on the order of gigabytes. I have decided to use several classes that are nested in a …

Software Development c++ visual-studio
Member Avatar for rwarlord
0
408
Member Avatar for pseudorandom21

First of all, what is a "data source", the kind that can be attached to a "DataGridView", what are they used for, and how can I use one?

Software Development
Member Avatar for Momerath
0
329
Member Avatar for asif49

My question is based on class relationships. I've written code for 2 classes, one of the "public int..." bits in 1 class has a variable which holds the cost of something. In the other class a variable holds the weight of something. I want to multiply the weight with the …

Software Development java
Member Avatar for DarkLightning7
0
91
Member Avatar for Annettest

I have a vector of strings. Each vector element/string is a name, like: Mother_Hen. I want to remove the _ and replace it with a space. Does anyone know how to do this? I have tried using find, but have had no success (I get no result). Thank you for …

Software Development c++
Member Avatar for srivairam
0
165
Member Avatar for sara90

hello every body i want to know how to save a linked list int a text file and how to load a file in a linked list ?? any one can help me and give me a simple example code thanks in advance

Software Development c++ linked-list
Member Avatar for template<>
0
121
Member Avatar for clutchkiller

The question is in the title. Rather then making a call to the OS, is there a more efficient way to do this? Thanks Edit: Just though of something else to. Does Sleep(2000); make a call to the OS as well? If so is there another way to do this …

Software Development c++
Member Avatar for Narue
0
2K
Member Avatar for forhacksf

I need a little help please,here is my question: How can I get the current index in a jComboBox? I searched it on google and i cant seem to find any answer. I need to get the index of the item that I select from a Combobox. Please help

Software Development java
Member Avatar for JamesCherrill
0
253
Member Avatar for anumash

My code compiles successfully but doesn't run why?? What problem whatsoever is with the syntax????? [CODE]import java.util.Scanner; public class uppercase{ public static void main(String args){ Scanner in=new Scanner(System.in); System.out.println("Enter string:"); String str=in.nextLine(); for(int i=0;i<str.length();i++) {if(i!=str.length()-1&&str.charAt(i+1)>='a'&&str.charAt(i+1)<='z'&&str.charAt(i)==' ') { str = Character.toUpperCase(str.charAt(i)) + str.substring(i+1); } } if(str.charAt(0)>='a'&&str.charAt(0)<='z') str = Character.toUpperCase(str.charAt(0)) + str.substring(1); …

Software Development java
Member Avatar for sam.udo
0
151
Member Avatar for markdean.expres

Guys how do I save settings of a form like its background color, fonstyle, sontsize etc. I cannot save them as string or text into my access database.

Software Development vb.net
Member Avatar for PdotWang
0
196
Member Avatar for Wolxhound90

Hey all, I am trying to make a form that is blank and will add in 2 comboboxes, a textbox, 2 buttons and a checkbox next to each other in a row. I want the controls to be part of an array, so that all controls on a row are …

Software Development vb.net visual-basic
Member Avatar for PdotWang
0
192
Member Avatar for PM312

i have just installed VB2008 EXPRESS EDITION. i have added com component msflexgrid ,Getting error with this component An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) how to resolve this.

Software Development vb.net
0
52
Member Avatar for programing

hi i am answer this question , but i didnt know what the errore with cast represent uppercase letters, lowercase letters and a considerable variety of special symbols. C++ uses small integers internally to represent each different character. The set of characters a computer uses and the corresponding integer representations …

Software Development java
Member Avatar for programing
0
176
Member Avatar for turt2live

Hello, I recently took up a challenge to make a full screen pong game in java. So far it is full screen, it does the basics (bouncing off floor/roof/paddles) with a minor point system. I also added support for every 20 seconds it speeds up the ball by 1pixel per …

Software Development java
Member Avatar for turt2live
0
314
Member Avatar for ekailan

I have this line of code in my program which works fine except that the memory utilization is high I need to convert all parts to dynamic allocation but i have error at this line strcpy_s(p,sizeof(p), line.c_str()); [CODE][/CODE] the original code is : [CODE] ifstream inFile1, inFile2; string pattern,text,line; cout<<"Enter …

Software Development c++
Member Avatar for Sky Diploma
0
165
Member Avatar for Sky Diploma

Hey Guys, I am developing an APP using WxWidgets and some other cross platform frameworks. Then there is a new need into the project to use Bluetooth as a transmitter of Data between 2 devices. I have been using the Mingw compiler all along for developing my app and suddenly …

Software Development api c++
Member Avatar for jonsca
0
768
Member Avatar for abelLazm

hello all i want to use shortcut keys ro call different functions in my window application... i have called functions on form_keypress and form_keydown... at the same time i m using a textbox and i want to limit user to enter only numeric data in the textbox but the problem …

Software Development
Member Avatar for abelLazm
0
125
Member Avatar for Jaseem Ahmed

i am trying to generate a tree view from database, but i after 10 days, i could not fine any way, how to populate, i have tried alot... please help me... i have 2 tables of database.. i contains the parent nodes, and other contain the child node.. e.g [CODE]first …

Software Development visual-basic
Member Avatar for debasisdas
0
251
Member Avatar for Nimitmak

Guys ,i got this code in my project ,but i didnt understand most of it ,if any body can understand then please add comments in it to understand. [CODE] Private Sub cmdclose_Click() Unload Me Unload recoform frmmain.Show frmmain.Image1.Picture = LoadPicture(imagefile) frmmain.cmdont.Enabled = True frmmain.cmdpre.Enabled = True frmmain.cmdrecognize.Enabled = True End …

Software Development visual-basic
Member Avatar for Jx_Man
0
301
Member Avatar for Mkmd13

Hey Im sure everyone is familiar with the game connect four right? Well I am trying to make it in Java right now but I am stuck right now. Can anyone help me with this? Here is the question straight from the book: Connect four is a two player board …

Software Development gui java
Member Avatar for Mkmd13
0
473
Member Avatar for TheChozen

hi I have been tryingto make the columnheader of a listview fixed so the user want be able to modify it manually by mouse scrolling but i couldnt find any solution een giving it a fix width didnt work so any ideas i would be thankfull

Software Development listview visual-basic
Member Avatar for TheChozen
0
176
Member Avatar for opawix

guys i just ask some questions about making a dev c++ codes in ascending numbers order. executing the first number then the next number increasing the number adds to it. its like a loop. tnx guys for d help. any help. pls. im needing dis for my defend. im starting …

Software Development c++
Member Avatar for jonsca
0
172
Member Avatar for mcodesmart

Hello All, I am working with a program the reads data from a file and plots it to a graph in real time. My stream is coming from a microcontroller output and I am building an interface to display the data. I am using stream reader in my routine, but …

Software Development file-stream
Member Avatar for Momerath
0
320
Member Avatar for DJSAN10

in which language are definitions of built in functions like printf written...assembly or C?

Software Development assembly c
Member Avatar for DJSAN10
0
161
Member Avatar for plang007

In the function largest, it works correctly for numbers greater than 2 such as 3, but does not give me the correct results for numbers 1 and 2 when entered. How would I fix this. [CODE]#include <iostream> #include <cmath> #include <iomanip> #include <fstream> #include <string> using namespace std; int nexta(int …

Software Development c c# c++
Member Avatar for Arbus
0
234
Member Avatar for Jbvo

I have been looking for an answer for the last few hours on google with no success. I am trying to create a program that will determine what file to open from user input. For example: names of the text files are xaa through xzz. The text files contain integers …

Software Development c c# c++ file-system
Member Avatar for Jbvo
0
314
Member Avatar for Ronnie147

Hello I'm trying to create a program that reads a number(which is the amount of pairs) then you input the pairs and then for each pair it prints the prime numbers between the 2 numbers of the pair.Here's the code: [CODE=c++] #include <iostream> using namespace std; class Prime { int …

Software Development c++
Member Avatar for Zjarek
0
204
Member Avatar for horserider

i m doing my final year project on "PC Maintenance Utilities" . Plz suggest me one good name for my project. it contains following modules: Junk Cleaner Privacy cleaner(browsers) Uninstaller Startup Auto shutdown/reminder System restore service manager process manager security tools Duplicate file finder disk analyzer empty folder analyzer and …

Software Development vb.net
Member Avatar for codeorder
0
91
Member Avatar for lianpiau

who can help me?? I got a datagridview, one of column in datagridview is checkbox call Finish. So that, when the Finish checkbox is checkbox, I want certain row background color become yellow color. when each time I run the program, it will display yellow color when that row Finish …

Software Development c c# c++ dataset
Member Avatar for lianpiau
0
2K
Member Avatar for Fo.katia

An acronyum is a word formed by taking the firs letters of the words in a phrase and making a word for them. I need to write a program tha tallows the user to type in a phrase and then outputs the acronyum in uppercase for that phrase. This is …

Software Development python
Member Avatar for griswolf
0
144
Member Avatar for nadleeh

so im tryna save input from stdin to a node. but every time i run the loop it resets whats in my node. idk if that makes sense.. heres my code.. [CODE] #include <stdio.h> #include <string.h> #include <stdlib.h> struct queue_node { char word[11]; struct queue_node *next; } node; struct queue_node …

Software Development c queue
Member Avatar for Ancient Dragon
0
101
Member Avatar for annitaz

Sort the list using quick sort with the middle element as pivot. Show the state of the list after each call to the partition procedure. Pivot = 5 Smallindex = i Index = j ⇒ j ≤ 5 (pivot) 11 8 9 4 2 5 3 12 6 10 7 …

Software Development c++
Member Avatar for rubberman
0
103
Member Avatar for lochnessmonster

ok so for most of my error handling i throw and exception and log the info of the error to a file...my question is...what should i do if the program/system is unable to log it to a file? should i throw an uncatched exception? should i just call exit()? i …

Software Development c++
Member Avatar for rubberman
0
107
Member Avatar for hansoppa

One DNA strand gatcctccat atacaacggt atctccacct caggtttaga tctcaacaac ggaaccattg ccgacatgag acagttaggt atcgtcgaga gttacaagct aaaacgagca gtagtcagct [COLOR="Red"]DNA reads [/COLOR] gatcctccat [COLOR="red"]ata[/COLOR] ggt atctccacct [COLOR="red"]ata[/COLOR]caacggt [COLOR="red"]atc[/COLOR] cct caggtttaga [COLOR="red"]atc[/COLOR]tccacct [COLOR="red"]cag[/COLOR] aga tctcaacaac [COLOR="red"]cag[/COLOR]gtttaga [COLOR="red"]tct[/COLOR] aac ggaaccattg [COLOR="red"]tct[/COLOR]caacaac [COLOR="red"]gga[/COLOR] aac ggaaccattg [COLOR="red"]gga[/COLOR]accattg [COLOR="red"]ccg[/COLOR] gag acagttaggt [COLOR="red"]ccg[/COLOR]acatgag aca ggt atcgtcgaga acagttaggt atc aga gttacaagct …

Software Development c++
Member Avatar for rubberman
0
111
Member Avatar for horserider

how can i add color to the TabControl..? we can add color to the TabPage but how to Tab control.

Software Development vb.net
Member Avatar for Unhnd_Exception
0
1K
Member Avatar for usg

I have a problem with <that> tag.My code this like this: <category> <pattern>HELLO</pattern> <template> <random> <li>Hello there, wellcome to counselling service</li> <li>Hello there what is your name?</li> </random></template> </category> <category> <pattern>_ NAME IS *</pattern> <that>HELLO THERE WHAT IS YOUR NAME</that> <template>Nice to meet you<set name="name"><star index="2"/></set></template> </category> But it does …

Software Development
Member Avatar for Sadun89
0
244
Member Avatar for Huntondoom

Here is the problem Im currently having: I save a Text that is made in a Richtextbox which save it contents in .rtf when I open it loads the .rtf into the richtextbox (rtf is the make up for the text (like font and color)) but the textbox shows no …

Software Development vb.net
Member Avatar for codeorder
0
88

The End.