Posts

Showing posts from November, 2009

Nepali comedy

nepali comedy nepali funny and smile nepal funny video in nepali comedy in nepali have fun in nepali what a joke in nepali nepali video

nepali jokes and fun

Image
गाउँबाट भर्खरै शहर आएका एउटा केटा पसलमा गएछ: केटा: साहुजी, यहाँ के-के पाइन्छ ? साहुजी: यहाँ कोक, फेन्टा, पेप्सी... सबै पाइन्छ । केटा: त्यसोभए मलाई कोक र पेप्सी गरेर एक पाथी राख्दिनुस न । एउटा बालकले आफ्ना बाबासँग सोधेछन्: बालक: बाबा, फेवाताल कहाँ छ ? (हतारिँदै) बुबा: छोरा, घरको सबै कुरा तिम्रो आमालाई थाहा हुन्छ, उसैले कतै राखेकी होली । दुई प्रेमी प्रेमीका कोठामा बसिरहेका बेला प्रेमीले अकष्मात बत्ती निभाए: प्रेमीका: तिमीले के गरेको यो ? बत्ती बाल मलाई डर लाग्छ । प्रेमी: तिमी नडराउन प्रिय, म छँदै छु नि । प्रेमीका: तिमी भएर त डराएको नि । नव विवाहित दम्पति शहर जान बस चढेछन्, बसमा भिँडभाँड भएकाले युवकले युवतीलाई अँगालो हालेर उभिएको थियो: त्यो देखेर कण्डक्टरले भन्यो: ऐ दाई, बस्न नपाए पनि त्यो दिदीलाई राम्रोसँग उभिन त दिनुस् । युवक: अगि तपाँईले नै भनेको होईन, आफ्नो सामानको सुरक्षा आफैले गर्नु भनेर ? श्यामे: मैले मोबाइलमा नम्बर डायल गर्‌यो कि एउटी केटीले मलाई जिस्क्याउँछे यार । रामे: हो र ? के भन्छे त ? श्यामे: तिमी आफै सुन न । रामे ले सुन्छ “माफ गर्नुहोला तपाँईले सम्पर्क गर्नुभएको

nepali jokes

ग्राहक:-यदि मैले यो चिठ्ठी आज पोष्ट गरे भने पर्सी र पोखरा पुग्छ नि हैन? पोष्ट मास्टर:- जरुर, किन नपुग्नु। ग्राहक:-म बाजी राखछु यो पुग्दैन। पोष्ट मास्टर:- किन पुग्दैन? ग्राहक:- किनकि यसको ठेगाना काठमाण्डौको छ। बाख्रा र सुङगुरको बस्ने ठाऊ नभएकोले गर्दा उनिहरुले शिवजीको तपस्या गरेछन्। शिवजी प्रसन्न भएर प्रकट हुनुभएछ र सोध्नु भयो:- मेरा प्यारा बालक, तिमीहरुलाई के आपत पर्यो? सुङगुर:-हामीलाई बस्नको लागि खोर भएन। हामीलाई दया गर्नुहोस्। शिवजी:- ल! मैले बनाइदिएको त्यत्रो खोर कै त? बाख्रा:- त्यो त प्रकाश ओझाले भत्काइदियो नि। शिक्षक:- तलाई गधा ! यति पनि आउदैन? राम:- सर पनि खाली गधा गधा मात्र भन्नुहुन्छ, कहिले पनि राम भनेर बोलाउनुहुन्न। (अर्को दिन सरको अगाडी डाक्टर लिएर आउछ) नमस्ते सर! शिक्षक:- अनिँ त गधाले चाँहि डाक्टर किन बोलाको नि? राम:- के गर्नु सर तपाई मलाई गधा मात्र देख्नुहुन्छ, त्यहि भएर तपाईको आँखा देखाउन ल्याएको नि। बिद्यार्थी:- सर मलाई जसरी भएपनि पास गराइदिनुहोस्। अहिले पास भइन भने मेरो त जहाजै डुब्छ। शिक्षक:- स्कुल आउदा लुरुलुरु हिडेर आउछौ, साइकल त छैन तिम्रो जहाज डोब्छ भन्छौ? जज:- तिमी

Earn online

Image
1 Online Jobs for Indians.Online Data Entry Jobs.Earn Rs.50000 monthly !No Investment. Free to Join ! ONLY FOR INDIANS http://www.netjobs4all.com/ 2 http://www.cashfiesta.com/php/join.php?ref=rupaknpl The easiest way to make more money is to let others make them for you. Cashfiesta pays you for your referrals up to the 8 th level. See for yourself how much you can earn, click on the Fiesta Calculator

An A-Z Index of the SQL Server 2005 database

An A-Z Index of the SQL Server 2005 database Aggregate - CREATE AGGREGATE - DROP AGGREGATE Application Role - CREATE APPLICATION ROLE - ALTER APPLICATION ROLE - DROP APPLICATION ROLE Assembly - CREATE ASSEMBLY - ALTER ASSEMBLY - DROP ASSEMBLY ALTER AUTHORIZATION BACKUP BACKUP CERTIFICATE BEGIN [DIALOG [CONVERSATION]] Certificate - ALTER CERTIFICATE - CREATE CERTIFICATE - DROP CERTIFICATE CHECKPOINT COMMIT Contract - CREATE CONTRACT - DROP CONTRACT Credential - CREATE CREDENTIAL - ALTER CREDENTIAL - DROP CREDENTIAL Database - CREATE DATABASE - ALTER DATABASE - DROP DATABASE DBCC CHECKALLOC - Check consistency of disk allocation. DBCC CHECKCATALOG - Check catalog consistency DBCC CHECKCONSTRAINTS - Check integrity of table constraints. DBCC CHECKDB - Check allocation, and integrity of all objects. DBCC CHECKFILEGRO

Programmatic Updates to the Registry

Image
Programmatic Updates to the Registry You can update the registry from within your application. This is most useful when saving application information that may change from session to session. For example, you may want your application to save the placement and size of the application window as well as options selected by the user. MFC provides registry support through member functions of the CWinApp class. For more sophisticated manipulation of the registry, use API calls, as described below. Registry Support in MFC To programmatically work with data in the registry, the first step is to call CWinApp::SetRegistryKey . AppWizard will include a call to this function in your CWinApp -derived InitInstance function. BOOL CMyApp::InitInstance() { //... SetRegistryKey("_T("Local AppWizard-Generated Applications")); //... } SetRegistryKey is used to select the "Company Name" key in the registry. You, as a developer, will

Schema Numbering

Image
Schema Numbering Over time, and given changes in versions, a program often changes the data set contained within its document class. This could become a source of serious errors, because a file saved with a previous version of a program could be erroneously loaded into a newer version. For example, suppose a document contains a pointer to an object of class CSerializedPhrase , version 1. If the class CSerializedPhrase is then updated to version 2 to include additional data members, the application must keep the document from inadvertently using the new version, or errors will result. To guard against version changes that cause errors, your application can use and check a schema number, which represents the version of the dataset composition or format of your serializable class. When you change the data members in the serializable class, you should also change the schema number of that class. In order to take advantage of schema numbering, there are issues to be handled in

Serializing Data Structures

Serializing Data Structures Arbitrary data structures can be serialized by using the member functions CArchive::Write and CArchive::Read . Each of these functions takes as parameters a pointer to a buffer and the number of bytes to transfer. The following code example uses these functions to serialize a LOGFONT data structure: void CMyFont::Serialize(CArchive& ar) { LOGFONT logfont; if (ar.IsStoring()) { // call user function to initialize the structure. InitLogFont(&logfont); ar.Write(&logfont, sizeof(logfont)); } else { ar.Read(&logfont, sizeof(logfont)); // call user function to save the structure. SaveLogFont(&logfont); } } Serializing Class Objects Class objects can be serialized if they have been derived from CObject and have overridden the Serialize member fu

Opening a New File

Opening a New File When a user chooses the New command on the File menu in an AppWizard-generated application, the default framework behavior is as follows. 1. Checks whether the current document has been modified and, if so, prompts the user to save it. Saves the current document if the user says yes. 2. Removes the contents of the old document. 3. Creates a new document. Virtual Functions to Manage Document Creation The CDocument class provides two virtual functions that can be overridden to provide for handling the document-creation process. CDocument::OnNewDocument is called by the framework as part of the New command. The default implementation of this function calls DeleteContents to empty the document, and then marks the document as clean. You can override this function to do per-document initialization instead of placing this code in the constructor for your document class. CDocument::DeleteContents empties the document wit

Implementing Persistence

Image
Implementing Persistence Application persistence is the act of saving information about the application between program sessions. MFC provides support for two forms of persistence: serialization and application-state persistence. Serialization is a mechanism for preserving application data and consists of streaming data out to a data file. MFC provides much of the structure for implementing serialization through its application framework . The developer completes the serialization structure by implementing application-specific code to serialize the data that is to be preserved. Application-state persistence saves information about the user's session. The state information that is saved depends upon the application and can include such information as the application window's size and position on the desktop and any operating modes that the user last selected, as well as an application's option settings. While serialization saves data to a data file, state persi

Creating Class Templates

Image
Creating Class Templates Class templates are useful for creating abstract data types, which can then be used to create classes based on specific data types. For example, you can use a linked list template to parameterize the data that is held at each of the link list's nodes. You can use class templates to create collection templates, create new data types, and modify existing data types. This section includes the following topics: Class Template Syntax Class templates are composed of three elements: ® The template keyword ® A comma-delimited list of formal parameters, enclosed in angle brackets ( <> ) ® The class definition A class that is generated from a template is sometimes called a templated class. You can use class templates to modify existing classes. For example, you can define a class template that adds reference counting to an object as follows: template <class T> class TCount { int m_count; T m_type; public: TCount(

Template Libraries

Template Libraries Visual C++ provides two libraries of templates: the Active Template Library (ATL) and the Standard Template Library (STL). Template libraries such as ATL and STL differ from traditional C++ class libraries in that they are typically supplied only as source code (or as source code with a small supporting run-time library) and are not inherently hierarchical in structure. Rather than deriving from a class to get the functionality you want, you instantiate a class from a template. Active Template Library The Active Template Library is a set of templates with which you can easily create small, fast Component Object Model (COM) objects. ATL supports key COM features, including: ® Stock implementations of the interfaces IUnknown , IClassFactory , IClassFactory2 , and IDispatch ® Dual interfaces ® Standard COM enumerator interfaces ® Connection points ® Tear-off interfaces ® ActiveX controls You can use ATL code to create single-threaded obj

Adding a Property Sheet to an Application

Image
Lab 9.3: Adding a Property Sheet to an आप्प्लिकतिओन In this lab you will learn how to create a property sheet and set the member variables for the property sheet class for later retrieval। Estimated time to complete this lab: 30 minutes To complete the exercises in this lab, you must have the required software. For detailed information about the labs and setup for the labs, see Labs in this course. Objectives After completing this lab, you will be able to: ® Use the Component Gallery to create a property sheet. ® Use the Dialog editor to build pages for the property sheet. ® Link pages together using CPropertyPage and CPropertySheet . ® Update an application and its registry from a property sheet. Prerequisites There are no prerequisites for this lab. Exercises The following exercises provide practice working with the concepts and techniques covered in this chapter. ® Exercise 1: Creating the Property Sheet Template In this exercise, you will use the property sh