CProgrammingTrends Home Page About iEntry Article Archive News WebProWorld Forums Jayde iEntry Contact Advertise Downloads iEntry
05.05.04

Advanced File Explorer using C# and Windows Forms
The aim is to create an application which (enhanced windows explorer) consists a tree view where
someone can see the files available in the existing drives up to certain levels. (In this case 4). You
can easily change it to any level you want. Also when someone selects a file from the tree view, we
need to display the different properties of this file in the labels in the group box. Then when he
user selects some file and presses the Compress button, the file gets compressed and like wise it is
to be decompressed.

I create a windows application with a tree view showing the files in the drives as in fig 1.The user can expand the up to 4 levels to see the files/directories.
Read The Whole Article


EJBs for Everyone: Consume EJBs in .NET Using C# and a Web Service
The complexity involved in building enterprise-class apps is, unfortunately, beyond the skill-set of
your average developer. It requires the consideration of a lot more than your actual application logic. The framework on which your application resides needs to handle high traffic, availability, and performance—all before you even write the specifics of your application! Done correctly, the framework takes care of the broad requirements of performance and scalability, leaving your developers free to write applications that are concerned only with their application-specific logic.

Architects generally face a fork in the road in the planning stages when designing an enterprise
system. Should you build all of it yourselves? Going down to the level of threading models, messaging
queues, object pools, and database connection pools? Or should you use an off-the-shelf enterprise
application framework? This is where the J2EE spec, and more importantly the application server that
implements this spec, comes in handy. If you choose to use an application server such as WebSphere, Weblogic, or JBoss, the infrastructure is already built for you. More importantly, it is tested and proven in many environments. In many cases, this is clearly a better option than trying to grow your own and test, deploy, and maintain it.
Read The Whole Article

TabletPCNotes.com SecurityConfig.com

Insights into the .NET Architecture:A Conversation with Eric Gunnerson
Eric Gunnerson, the C# Compiler Program Manager at Microsoft, talks with Bruce Eckel and Bill Venners about several architectural design decisions in .NET, including multiple inheritance of interface, the emphasis on messaging over mobile code, internal access in assemblies, and the side-by-side execution answer to DLL Hell.

Eric Gunnerson, after having previously worked at a large Seattle aerospace company, a medium-sized PC database company, and a small VMS utility software company, joined Microsoft in the fall of 1994. After several years working on Microsoft's C++ compiler quality assurance team, including three years as the test lead on the Visual C++ compiler, Gunnerson took on a new assignment: testing the compiler of Microsoft's new language, C#. To more effectively perform his quality assurance role, Gunnerson joined the C# design team, where he spent several years working with Anders Hejslberg, Peter Golde, Scott Wiltamuth, Peter Solich, and Todd Proebsting on the design of C#. In 2002, after the initial release of Visual Studio.NET, Gunnerson switched from quality assurance to program management. He is currently the C# Compiler Program Manager. He is author of A Programmer's Introduction to C# (APress,
2001), and writes a column for MSDN, Working with C#.
Read The Whole Article

C# Tip: Forcing Garbage Collection in .NET
There might be times in your application when you want to force the .NET Garbage Collector (GC) to spin through all unused objects and de-allocate them. The method for accomplishing this task is the GC.Collect method. When you call GC.Collect, the GC will run each object's finalizer on a separate thread. Therefore, another method to keep in mind is GC.WaitForPendingFinalizers. This synchronous method that will not return until the GC.Collect has finished its work.
Read The Whole Article


Crafting ASP.NET User Controls in C#Builder
Building user controls in ASP.NET offers a huge boost in productivity for web developers. ASP.NET user controls are reusable objects that you can create with the C#Builder visual designer and add to multiple pages on your web site. You can drag-and-drop other controls into a user control or build your own content as needed.

Initializing User Controls

To get started with building a user control, you'll need to create a new ASP.NET application. (My InformIT article "Building ASP.NET Applications with C#Builder for Microsoft .NET" has more guidance on how to set up an ASP.NET application and other useful features of the C#Builder web development environment.) When the ASP.NET application project is ready, you'll be able to add a user control.
Read The Whole Article

Pointers in C# and writing Unsafe code
Together, unsafe code and pointers enable C# to be used to create applications that you might normally associate with C++: high-performance, systems code. Moreover, the inclusion of unsafe code and pointers gives C# capabilities that are lacking in Java.

Managed Code

In general, when you write a C# program, you are creating what is called managed code. Managed Code is executed under the control of the Common Language Runtime.
Read The Whole Article



Read this Newsletter at: http://www.cprogrammingtrends.com/2004/0505.html
Free Newsletters
Part of the iEntry Network
over 4 million subscribers
CProg.Trends
SysAdminNews
DevWebPro

Send me relevant info on products and services.







-- CProgrammingTrends is an iEntry, Inc. publication --
iEntry, Inc. 880 Corporate Drive, Lexington, KY 40503
2004 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal


archives | advertising info | news headlines | free newsletters | comments/feedback | submit article