|
|
|
|
|
Total Hits: 11 | Today: 0
|
Author: Mahmut SARIHAN
|
Rating:
|
|

You can face some issues with Sharepoint Server Crawl Rules. It doesn't work properly in some cases, especially when you define rules to include data. I will explains this by using an example. In this case MOSS will not crawl data which starts with http://moss:8080/Products/computers/ url. There is no problem. How about just the otherwise? In my portal there are thousands of lists, documents, libraries and sites and I want MOSS to crawl just some lists that I want. In my scenario I want MOSS to ...
|
|
|
|
Total Hits: 26 | Today: 1
|
Author: kheaton
|
Rating:
|
|

I had this problem at work; I needed to send a notification via Lotus Notes Email with a description of the error (ex.Message) and the name of the file that contained the error. Example: looking up values in a database that are not supplied in an XML file that I use to create a pipe delimited flat file going to another system. This would cause the flat file to not be processed; it would instead be moved to an error folder, and an event log entry would be created. Of course, this doesn't help the...
|
|
|
|
Total Hits: 20 | Today: 0
|
Author: Steven A. Lowe
|
Rating:
|
|

While researching the behavior of unhandled exceptions in .NET 2.0 applications for the CALM project, one of the more surprising and frustrating findings was the way in which unhandled exceptions in secondary threads tend to kill the application or be completely ignored! Unhandled exceptions in secondary threads (threads that you create explicitly) will kill the application, even if you have an unhandled exception event handler (plus the contextual information, i.e., which thread, is lost). Unha...
|
|
|
|
Total Hits: 70 | Today: 0
|
Author: Brian Mains
|
Rating:
|
|

In this article, Brian examines extension methods and how they can be used with .NET Framework applications. He begins with a short introduction and then provides a detailed explanation of the application of extension methods with the help of source code in C#....
|
|
|
|
Total Hits: 55 | Today: 0
|
Author: Simon Segal
|
Rating:
|
|

SQLXML 3.0 provides a very useful object library designed to take advantage of the XML features in SQL Server. The Library in question 'SqlXml' is to be found in the Microsoft.Data namespace and is typically installed with a default path of C:\Program Files\SQLXML 3.0\bin\Microsoft.Data.SqlXml.dll when you install the SQLXML 3.0 msi install. With this library it is possible to write managed code that leverages the TSQL "http://www.microsoft.com/mspress/books/sampchap/5178a.asp" target=_blank>FOR...
|
|
|
|
Total Hits: 42 | Today: 0
|
Author: Rafael Agundis
|
Rating:
|
|

CodeForms Lite v4.0 is a high tech tool for all programmers that will let you design, on a WYSIWYG environment and using the drop a drag method, the documents that you need to print with your projects, that is, You design any complex document on the editor, and CodeForms Lite v4.0 will create in one step and free of royalties, ready to use Source Code to print your documents with professional quality....
|
|
|
|
Total Hits: 70 | Today: 0
|
Author: Wilson, Drew
|
Rating:
|
|

There are already quite a few articles about dynamic expression evaluation using .NET. What I want to show here is a new twist on the idea by using the DynamicMethod class in the System.Reflection.Emit namespace. In my research I've found two main ways to tackle runtime expression evaluation: compile .NET code using the System.CodeDom namespace or write a parser. There are pros and cons with each method but I knew I didn't want to have to write a parser since .NET can already parse C# and will d...
|
|
|
|
Total Hits: 32 | Today: 0
|
Author: Dana LeBeau.
|
Rating:
|
|

If you do a search on CodeProject for "expression evaluation", you'll find several good articles and different techniques for trying to accomplish this in .NET. Like the solution I'm presenting here, they all have their advantages and disadvantages. Perhaps in the near future, we'll have a secure, fast, and easy-to-use solution that stands above the token parsers, CodeDOM manipulators, and DynamicMethod examples of today. Expression evaluation may even be a by-product of the dynamic language cra...
|
|
|
|
Total Hits: 72 | Today: 0
|
Author: Matteo Mike Peluso
|
Rating:
|
|

In the last few months, I worked on a component that visualizes 3D objects. This component uses MS DirectX and, of course, needs a reference to its DLLs. When I had to test this component, I created a project on the same solution, I added my component to the form, and I saw that Visual Studio automatically added the necessary references to the new project: this was exactly what I expected. On the contrary, when I tried to do the same thing on a new solution, using, as any customer, directly the ...
|
|
|
|
Total Hits: 85 | Today: 0
|
Author: J. Dunlap
|
Rating:
|
|

Introduces C# 3’s lambda expressions and expression trees in an easy-to-understand way, and describes their benefits and uses. Also touches on anonymous delegates. This article will introduce you to lambda expressions and expression trees – two new related features coming up in the newest version of C# and the .NET runtime. You will learn how to create them, and how to use them to enhance and simplify your C# code. Knowledge of the concepts behind delegates in the .NET framework is assumed.
|
|
|
|
Total Hits: 27 | Today: 1
|
Author: valdok
|
Rating:
|
|

Not a long time ago, I've posted an article that describes a technique to optimize frequent dynamic allocations of a constant size.
A few days ago, I talked to my friend and occasionally this subject came up. He told me: "In such cases, instead of deleting the unneeded blocks, I just store them in a linked list, and then reuse them again".
Impressing, isn't it? This method is even simpler than what I've invented, and its advantage is that the caching pool can grow dynamically witho...
|
|
|
|
Total Hits: 245 | Today: 0
|
Author: Ricardo Cuello
|
Rating:
|
|

Due to the fact .NET CheckedListBox does not have out of the box binding facilities, the present article implements an extension of the ChekedListBox which can be bindable. Also, it implements the DisplayMember and ValueMember properties in order to get an array of id's containing the respectives cheked items....
|
|
|
|
Total Hits: 33 | Today: 1
|
Author: Tamer Oz
|
Rating:
|
|

ExtendedDataTable is a component which provides more functionality compared to native .Net Framework DataTable. It is also platform independent, you can use it with web or windows applications. It is developed by .Net Framework 2.0 and .Net Framework 3.5, you can download both versions from this page. Let's look what functionalities ExtendedDataTable provides;...
|
|
|
|
Total Hits: 39 | Today: 0
|
Author: Giorgi Dalakishvili
|
Rating:
|
|

The program presented here allows you to draw different graphics and to embed graphics into an executable. When you run that executable, it will produce exactly the same drawing on the desktop. What's more, you will see the graphics being drawn. So, you can draw or write something using your mouse in different colors and different widths, build an executable file and send it to someone. When they run it, it will reproduce everything you have drawn....
|
|
|
|
Total Hits: 28 | Today: 0
|
Author: Riad MS Afyouni
|
Rating:
|
|

This article basically illustrates how to create an Internet Explorer context menu item upon installation using C#. Usually such projects are not standalone, and are included upon other features, but this will show a step by step guide to create one....
|
|
|
|
Total Hits: 41 | Today: 0
|
Author: Marc Clifton
|
Rating:
|
|

This article demonstrates, within the growing AAL framework, the use of XML to control the visual layout of forms, controls within forms, and the management of events. As in the previous article, which discussed XML driven menus generated at runtime, this article focuses on XML driven GUI elements. Within the context of the .NET environment, this includes forms (MDI, SDI, dialog), controls contained within forms, form/control event specification, and data container association....
|
|
|
|
Total Hits: 28 | Today: 1
|
Author: J. Dunlap
|
Rating:
|
|

This article aims to show you what goes on behind the "magic" that the compiler does when you declare a simple event member in a class. It is meant as a beginner article to answer a frequently-asked question, so please don't vote it down just because it is very basic....
|
|
|
|
Total Hits: 67 | Today: 0
|
Author: Chetan Kudalkar
|
Rating:
|
|

Method overriding in C# is a feature like the virtual function in C++. Method overriding is a feature that allows you to invoke functions (that have the same signatures) that belong to different classes in the same hierarchy of inheritance using the base class reference. C# makes use of two keywords: virtual and overrides to accomplish Method overriding. Let's understand this through small examples....
|
|
|
|
Total Hits: 66 | Today: 0
|
Author: Softomatix
|
Rating:
|
|

This article is a very simple introduction on writing a Windows Form application for the Microsoft.NET framework using C#. The sample application demonstrates how to create and layout controls on a simple form and the handling of mouse click events. The application displays a form showing attributes of a file. This form is similar to the properties dialog box of a file (Right click on a file and Click on Properties menu item). Since attributes of a file will be shown, the sample will show how to...
|
|
|
|
Total Hits: 38 | Today: 1
|
Author: Ajit Mungale
|
Rating:
|
|

With this project you get an idea about the following :-
* How to use various dialogs in C#. o For opening and saving file o For changing Forecolor and Backcolor o For Print-Layout and Printing * How to do copy/paste using clipboard and without clipboard. (Code commented for w/o clipboard) * How to use windows registry for saving default setting of notepad. * Reading and writing text file....
|
|
|
|
|
|