8,298 Topics

Member Avatar for
Member Avatar for Pranshu_1

I'm getting an error X#=0D,CS=0A97 IP=000001D1.The NTVDM CPU has encountered an unhandled exception . I wrote exactly the same program, but still i'm getting an error! Can you please tell me where the error has occured? Because i'm not able to find out! I'm Using Windows 7. http://www.4shared.com/file/xvAIAHNz/TELEPHON.html http://www.4shared.com/file/2SOg9Kqs/TELEPHON.html This …

Member Avatar for deceptikon
0
198
Member Avatar for cambalinho

template <typename a, typename ... b> class events { public: typedef std::function<void( a arg, b ... argx)> OnSomethingHandler; events(OnSomethingHandler Handler) { handlers_.push_back(Handler); } void operator ()() { for(auto i = handlers_.begin(); i != handlers_.end(); ++i) (*i)(); } private: std::vector<OnSomethingHandler> handlers_; void AddHandler(OnSomethingHandler Handler) { handlers_.push_back(Handler); } void TriggerEvents() { for(auto …

Member Avatar for cambalinho
0
794
Member Avatar for dws.ash04

hi :)) just wanna ask if it is possible to retrieve a database table with images and show it in a datagridview? to further explain it, uhmm. I have an access database the fields are Document, Dateuploaded, type and comment The data type of Document field is OLE object. and …

Member Avatar for ddanbe
0
171
Member Avatar for Ahmed.C

Hey Guys! I was just wondering if anyone here does Wp7 development? I'm new to C# and hoping if there are poeple who work with Windows Phone 7 Development.

Member Avatar for Roche_Fi
0
101
Member Avatar for smdjilani

I have created lot of c files and i executed them,but i can run the executed files only in terminal.... can we have a direct c code,on clicking the exicuted file it should open its new window and work.... How should i create it,please help me..

Member Avatar for rubberman
0
103
Member Avatar for ScubaSam

Hi everyone, I need some help, I don't know where and how to begin and I'm seeking for some advice. Problem: I need to design a custom C# library to better manage a client list for internal projects. The library must be capable of importing data in a textfile(clients.txt) into …

Member Avatar for Ketsuekiame
0
293
Member Avatar for beastie805

I need help reading a bool function from my HW assignment, I am not asking you to do complete my assignment for me. All I need help with is reading my bool function in main. Thank you for looking #include<iostream> #include<fstream> #include<string> using namespace std; struct StudentType {string studentName; int …

Member Avatar for beastie805
0
688
Member Avatar for fheppell

I have some c# code using the tweetsharp library and when I run it with mono it gives this error: Missing method .ctor in assembly /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/TweetSharp.dll, type System.Runtime.CompilerServices.ExtensionAttribute Can't find custom attr constructor image: /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/TweetSharp.dll mtoken: 0x0a000019 Missing method ToList in assembly /home/freddy/rubystack-1.9.3-16/apache2/htdocs/yrs/c_backend/ConsoleApplication1.exe, type System.Linq.Enumerable Unhandled Exception: System.IO.FileNotFoundException: Could not …

Member Avatar for deceptikon
0
312
Member Avatar for coiseng

I'm just curious why my application actually crashes after it compute the area of a cross. I output is correct but it crashes after it calculation is done. cross.cpp void Cross::setCrossCord() { for (int i=0; i<=12; i++) { cout << "Please enter x-ordinate of pt " << i+1 << ": …

Member Avatar for kal_crazy
0
459
Member Avatar for Jerry_3

I have made this form and my teacher wants me to change some of my code to where Each of the mortgage calculations which are presently in the Execute Button Click event are to be moved into their own method which will be called in the button click event. What …

Member Avatar for ddanbe
0
215
Member Avatar for Richard_10

I am using the 3 files of code from the C++ book Chapter 11 and 11.8 Case Study:A Date Class with both cpp files and header file my questoion is how do i (add overloaded operator for "--" (pre and post), "-=", and ">>". For ">>", user expected to type …

Member Avatar for mike_2000_17
0
293
Member Avatar for darrylnuyda

Helloo, Good day Everyone, Can I anyone help me? Here is my problem. I am newbies in C# development, I am Interesting to learn, searching to google and go to youtube, download lynda tutorials it's help a lot of me. But I'm on the problem that I can't not resolve. …

Member Avatar for darrylnuyda
0
4K
Member Avatar for HunainHafeez

connection pooling in asp.net 8 minutes ago|LINK i searched and read many posts on google about CONNECTION POOLING, it says that it's an temporary memory to keep all then database connections and are used when requests are made to use it but i couldn't figure out its exact meaning like …

Member Avatar for HunainHafeez
0
376
Member Avatar for josiahemmy

Dear Programmer, I was asked to develop a console programme that reads an integer n and a list of up to 5 divisors (also integers) from the console and computes the sum of all integers up to (but excluding) n which are divisible by any of the five divisors. For …

Member Avatar for pitic
0
165
Member Avatar for prabhakar78

i am having combobox in the each cells of the datagrid when i select others from the combobox i want to add textbox in the same cell of that datagrid if anyone knows how to do it give some code sample

Member Avatar for pitic
0
437
Member Avatar for gingank

Dear All, I want to ask it is possible to do that in c# winform? I got two table which to joint together than display it into one datagridview ? My program is once i key in tag no in the textbox it will display out the result into datagridview …

Member Avatar for Ketsuekiame
0
71
Member Avatar for priyamtheone

I have an MDI application containing an MdiParent form and few MdiChild forms. The MdiParent has a fixed MenuStrip, a fixed ToolStrip and a fixed StatusStrip. The MdiChild forms have one or more ToolStrips and a StatusStrip along with other controls in them. The ToolStrips and the StatusStrip of the …

0
250
Member Avatar for zeeshanmughal

I am creating a software for my company in C#. The working process is like this. 1: we write information in an Excel file. 2: Then we go to the website (Company's customer support page) there is only one search box. and we search after appropriate information. it gives us …

Member Avatar for doaa.foudah
0
746
Member Avatar for mkash

can any1 help me with my code because i cant delete and copy a folder but i can copy and delete other file extensions in my code. it would be a great help if you can help me with this cause im new in c++...thank you and godbless. code for …

Member Avatar for tinstaafl
0
275
Member Avatar for josephwakiro

STAR WAYS BUSES is a new bus that wants to launch services in city A but to ease its work it needspre-paid tickets.it plans to use zonal pricingsystems as follows; i).ticket price per day between zone 2 and 1 is $2000 ii).ticket price per day betweenzone 3 and 1 is …

Member Avatar for morad jbilo
0
167
Member Avatar for AlWreikat

I want to write a C code that reads billions of integers from a text file. Each integer is of length 10 digits (e.g. -2311872000). then I build a linked list to store these integers.how could I do that ?

Member Avatar for rubberman
0
535
Member Avatar for fashxfreak

A, B, C, and D are two-dimensional arrays , all of the same size ,and all of type double . I need code fragment that computes D = A + B + C, where each element of D is the sum of the corresponding elements of A, B and C. Also two …

Member Avatar for rubberman
0
122
Member Avatar for wendas

Totally a newbie question.. Sorry. My co-worker & myself are seeing that C# is the prefered language over VB. We would like to change, but right now it is only to make sure we are more marketable as our company is going down the tubes. We cannot go to our …

Member Avatar for Momerath
0
276
Member Avatar for suryawanshi
Member Avatar for mslittle1

The following is my homework assigment. I have it more or less complete. I would like feedback from the community on what I can improve in the program. Basically, before I hand it in to my professor, I want a fresh pair eyes to take a look at it. There's …

Member Avatar for ddanbe
0
8K
Member Avatar for KushMishra

Hi All, I am working on a page that creates a dynamic MySql query with the selected fields at the run time and for this I want to take a combobox with few checkboxes so that based on their selection I can fetch the query result and populate them into …

Member Avatar for KushMishra
1
8K
Member Avatar for TizDeath

I am completely lost in my C# class and need some help. Here are the program specs, i just don't even know where to start. Thanks Create an application containing a large wide List box control, a Read button, and an Exit button. Selecting the Read button shall cause the …

Member Avatar for Schol-R-LEA
0
218
Member Avatar for prabhakar78

hi in my application i want the user to select only time from the datepicker i don't know how to display only time in datetime picker if any one have any idea give some code sample

Member Avatar for prabhakar78
0
2K
Member Avatar for suhasgh

Evil Nation A is angry and plans to launch N guided-missiles at the peaceful Nation B in an attempt to wipe out all of Nation B’s people. Nation A’s missile i will arrive in nation B at the time ti. Missile i communicates with its headquarters by unique radio signals …

Member Avatar for nerandell
-1
275
Member Avatar for KushMishra

Hi All, I am creating a dynamic GroupBox through C# and want to change only the header font and not all the fonts in that. GroupBox myGroupBox = new GroupBox(); myGroupBox.Header = mychk.Content.ToString(); myGroupBox.Content = myStack; Here, *myGroupBox.FontWeight* changes all the contents inside the *myGroupBox* but how to change only …

Member Avatar for KushMishra
1
2K
Member Avatar for Andy_3

Write a C++ program that calculates the balance of a savings account at the end of a month period. The program should read from a file (bank.dat, downloadable from blackboard) the account number, the current balance and the account type. Depending on the account type, a different annual interest rate …

Member Avatar for Moschops
0
208
Member Avatar for intelharsh

Hello people, I am using zbar library to detect barcode. I am able to compile and run their sample code in main.cpp Now if I make a class and include <zbar.h> in the header of that class, I get the following error : /usr/local/include/zbar/Exception.h:144: error: the default argument for parameter …

Member Avatar for intelharsh
0
603
Member Avatar for prabhakar78

hi i am validating cells in the datagrid in datagrid celleditending event. if the validation fails message is diplayed in the message box when i click ok in the message box the focus move to the previous row .i want the focus in the current validated cell i try this …

Member Avatar for tinstaafl
0
312
Member Avatar for Nines

how do i put a password, change password on my code because everytime i put it in, my program don't shows it it just jumping to my selection menu, and how do i delete informations that ive put on my program? this is my code. thank you in advance. [CODE] …

Member Avatar for kdevesh
0
4K
Member Avatar for Dannyv79

I have an idea that has been growing and have been learning all of the necessary languages, methods, technologies etc. to get this idea put into reality. However there is so much out there that I don't know if I am going down the road that a rookie would take, …

Member Avatar for naina125
0
224
Member Avatar for coolsdudes1992

i am confused about "Checked" in C#. I know it use for overflow checking. Can we use it for undeflow ? Or there is some thing else which an be use for underflow.

Member Avatar for ddanbe
0
167
Member Avatar for redkowloon

Hi all, My lecturer give an assignment Calculate student assessment and final exam work . The program can accept a name , registration no, course code and couse name as an input Input mark :- Final Exams : 40% Quizes : 15% Test : 15% Lab Exercise : 30% Sum …

Member Avatar for Schol-R-LEA
0
217
Member Avatar for strongard63

there is something that I can not understand in the following code: int main() { int count = 0; int x=125; while(x!=0) { count++; x=x/10; } } if x is 125 so x=x/10 gives 125=12,5 which is something odd and impossible. what is the meaning of x=x/10??? what is x=x/10????? …

Member Avatar for strongard63
0
2K
Member Avatar for Payal Gupta

Hello to all Below is my simple code. The problem is they are again and again showing that sum and i does not exist in the current context. I am not getting my problem how to correct the code.I am new learner of c# so please explain it also. namespace …

Member Avatar for KushMishra
0
997
Member Avatar for prabhakar78

i am having combobox inside each cell of an datagrid.the combobox is in cellediting template and also having textblock which is in datatemplate.what i want now is when i select the item from the combobox the selected item has to be pass to the textblock in the same cell.i tried …

Member Avatar for KushMishra
0
691
Member Avatar for riyamanavalan@g
Member Avatar for ddanbe

Yes, I know Fibonacci(=sun of a good man) again. Most famous for his series, but who among you all, know that he was the man who introduced to the Western world, the Arabic numeral system(including zero) in 1202 A.D.? The Italian merchands of those days adored it. It was far …

Member Avatar for Triryche
2
580
Member Avatar for ddanbe

The luxuries we now have in the amount of pixels on a screen to draw some amazing graphs with, were lacking in the early days of computing. Most of the time you had to resort to rude printed output. It wasn’t that bad always. Sometimes it was and still is …

Member Avatar for ddanbe
1
3K
Member Avatar for TalentedIndividual

hello fellow programmers, i am doing an assignment for class and i am having a bit of trouble. So the assignments reads Given two sorted (in ascending order) lists of size M and N, write an O(M+N) algorithm to find the sorted (also in ascending order) union of the two …

Member Avatar for tinstaafl
0
535
Member Avatar for skyyadav

I have to find the permutation of vector of integers. I need to implement and interleave function vector<vector<int> > interleave(int x , const vector<int> & v); Using interleave we can implement a permute function. vector<vector<int> > permute(size_t n); that returns a vector containing of the first n positive nos. I …

Member Avatar for skyyadav
0
147
Member Avatar for bumbumpaw

please do help me to use prepared statement to load the result in datagridview. Please give me some examples.thanks in dvance :D

Member Avatar for ddanbe
0
67
Member Avatar for ravi_forum

Sir, I wanted to know the implementation code for krushkal algorithm in C++. Anyone can help me to give the code. ThnQ

Member Avatar for naamurad
2
2K
Member Avatar for mating.basalo

[create a data file] [Appened Record] [Edit a Record] [Display a Single Record] [Browse all record] [Exit] program discription mini grading system w\ccompute your final grade. create a data file named studrec.txt accepts the ff. feilds info: ID no Last name First name mmiddle name Quizes and grades Q1 Q2 …

Member Avatar for nikita sen
0
165
Member Avatar for aminM#

please give me c# code of ... http://barnamenevis.org/attachment.php?attachmentid=111446&d=1380790743 more about... http://barnamenevis.org/attachment.php?attachmentid=111445&d=1380790714 sample... http://barnamenevis.org/attachment.php?attachmentid=111447&d=1380790759

Member Avatar for aminM#
-2
213
Member Avatar for Stpdoug

Hey guys i am having trouble with creating a Parent class(gameobject) for two other child classes(player,location) both of the child classes can access data from the parent class, and work well independently but once i include the h file for the child classes together in main.cpp i get the compiler …

Member Avatar for UFOOOOOOOOOOO
0
358

The End.