ADO.NET in Disconnected Mode

ADO.NET in Disconnected ModeYou see how ADO.NET differs from its predecessor when you start working in disconnected mode. ADO 2.x permits you to work in disconnected mode using client-side static recordsets opened in optimistic batch update mode. This was one of the great new features of ADO that has proved to be a winner in client/ server applications of any size. As a matter of fact, working in disconnected mode is the most scalable technique you can adopt because it takes resources on the client (instead of on the server) and, above all, it doesn”t enforce any locks on database tables (except for the short-lived locks that are created during the update operation).
Read more

Working with Data in ASP.NET 2.0 - Querying Data with the SqlDataSource Control

Working with Data in ASP.NET 2.0 - Querying Data with the SqlDataSource ControlAll of the tutorials we’ve examined so far have used a tiered architecture consisting of presentation, Business Logic, and Data Access layers. The Data Access Layer (DAL) was crafted in the first tutorial (Creating a Data Access Layer) and the Business Logic Layer in the second (Creating a Business Logic Layer). Starting with the Displaying Data With the ObjectDataSource tutorial, we saw how to use ASP.NET 2.0’s new ObjectDataSource control to declaratively interface with the architecture from the presentation layer. While all of the tutorials so far have used the architecture to work with data, it is also possible to access, insert, update, and delete database data directly from an ASP.NET page, bypassing the architecture. Doing so places the specific database queries and business logic directly in the web page. For sufficiently large or complex applications, designing, implementing, and using a tiered architecture is vitally important for the success, updatability, and maintainability of the application. Developing a robust architecture, however, can be overkill when creating exceedingly simple, oneoff applications.
Read more

Using Visual Basic in Arc8 Raster Processing Form Example

This is a VERY simplistic introduction to customizing Arc8 with VB (or VBA) partly because I don’t fully understand what’s going on and partly because it seems like it’s going to be a steep learning curve if you’re not used to VB or COM programming.

We’re going to be using one of Arc8’s sample forms to play around with some grid processing and visualization. It uses a form with many different control objects to create this functionality. This should build upon Deanna’s presentation of using the various controls and changing their associated properties. Now, we will put the VB code “behind” these controls so that the events generated by clicking buttons, sliding bars, etc. do something.
Read more

CREATE A CUSTOM TAB USING VISUAL BASIC

This tutorial explains how to create and embed your own activex component in 3dcreate using visual basic. Objectives the objective of this tutorial is to create a simple activex component and embed it into 3dcreate.
Creating the activex component
1. Create the ActiveX component and give it a unique name
1.1 Start Visual Basic and create a new ActiveX control project.
1.2 Change the project name to ComTutorial1, through ‘Projects > Project1 Properties’.
1.3 Change the ActiveX component name to Tab, through the Properties window.
Now the component has a unique name, which will be used to identify it later.
Read more

Introducing Visual Basic .NET

Visual Basic .NET provides a powerful, yet safe environment for creating MS-Windows applications. In earlier times, you had to be a C++ wizard to create high-performance Windows applications, and you had to know a great deal about the Win32 API (Application Programmers Interface). Previous versions of Visual Basic were easy to learn, but lacked the full power of object-oriented languages. The current version has all the power of languages like C++ and Java, and retains the drag-and-drop developers interface that has made Visual Basic so popular.
Read more

Next Page →