Geeks With Blogs

@GeeketteMai
  • GeeketteMai Someone try to send me a virus to ruin my computer. I hope I don't make any your guy mad , I mean no harm to anyone :-) about 1181 days ago
  • GeeketteMai I like this: "http://bit.ly/cd14ZO " one 1 blog can others blogs show the same nice like the first on. Instead it showed the entire links? about 1185 days ago
  • GeeketteMai First time using the Wii for work out :-) today!! about 1187 days ago
  • GeeketteMai Good night in 14 min and 12 second for sample twitter-search-monitor application complete download. Hope is worth it :( about 1188 days ago

News Internet - .Net user group technical events, emerging .Net technologies;
General - Eco-travel, health and fitness, current events;
Community - Active volunteer with Hands On Miami, Non-Profit Ways;
.Net Framework - Detected 3.5 SP1 .NET Framework. No update needed ;
creative zen converter

Geekette Mai Blog C#/VB.NET
Using static regular expression instance (C#)
In the .NET Framework and C# programming language. You can use a static variable initializer at the class level to instantiate the regular expression with the new operator. Then, you can access the Regex by its identifier and call methods such as Match, Matches, and IsMatch on it. Static regular expressions show a performance advantage in timing tests. Also, static fields do not have an instance expression, so resolving the location of their memory storage is slightly faster. using System; using ......

Posted On Saturday, February 6, 2010 10:10 AM

Static property in the C#
you can get and set static properties in a static class in a C# program. Note that to use a static property with a backing store field, you must also specify that the backing store be static. The program does not demonstrate this use. The program shows the automatically implemented property syntax in the static bool property. using System; static class Settings { public static int DayNumber { get { return DateTime.Today.Day; } } public static string DayName { get { return DateTime.Today.DayOfWeek.To... ......

Posted On Saturday, February 6, 2010 10:06 AM

Static fields and instance fields in the C#
Static fields do not depend on an instance expression and therefore require one fewer level of indirection on each load and store; instance fields therefore result in more instructions being executed and slightly worse performance. Here we compare instance fields in a class to static fields in a class declaration. Static fields are simpler because they do not require that extra level of indirection, and this is reflected in better performance. using System; using System.Diagnostics; class Test1 { ......

Posted On Saturday, February 6, 2010 10:02 AM

Using static constructors in C#
Microsoft and many developers warn that static constructors on a type impose a substantial overhead. Static constructors are also called type initializers, because they refer to types, not instances. Here we test static constructors in the C# language and determine if they are useful. Static constructer performance in C# Class 1: Has static constructor Time: 3208 ms Class 2: No static constructor Time: 319 ms Using static constructors Most classes you use will likely not have static constructors. ......

Posted On Saturday, February 6, 2010 9:54 AM

How to use C# Static String Usage
In the C# programming language. Static strings have many differences with regular strings, such as instance strings and local variables. They are tied to the type declaration rather than the object instance. Here we look at an example of using static strings in a C# program, and then discuss some of their advantages and compare them to other kinds of strings. When you use the static keyword on a string, you indicate that you only need one string reference, which can point to only one object at a ......

Posted On Saturday, February 6, 2010 9:44 AM

user interface, Toolbox, Common Controls, Properties, Pictures,and Containers
I am refreshing myself how to prgramming in VB again :-) The user interface is a very important part of any program: This is how people use your program it needs to look good and do its job well. Most important for beginner is how to use the Toolbox and how to make controls like buttons and checkboxes fit on the form better. Toolbox is where you will find all of things to add to your user interface like buttons and labels. If you don't see it (it's usually on the left) you can make it appear by clicking ......

Posted On Thursday, January 14, 2010 9:26 PM

What is C#?
Tuesday, January 30, 2007 11:04:18 AM mhn002 Posts: 126 Gold Poster C# Questions 1.1 What is C#? C# is a programming language designed by Microsoft. It is loosely based on C/C++, and bears a striking similarity to Java. Microsoft describe C# as follows: "C# is a simple, modern, object oriented, and type-safe programming language derived from C and C++. C# (pronounced 'C sharp') is firmly planted in the C and C++ family tree of languages, and will immediately be familiar to C and C++ programmers. ......

Posted On Sunday, April 29, 2007 2:23 AM

VBA FAQ
1. What does a "type mismatch" error mean? It means that you are trying to compare apples with oranges! You may have a statement such as: If member-ID = user-request-ID THEN... where you are trying to compare two data items. The error means, quite simply, that the two values are not the same data type. Possibly one is text and the other is numeric. The same error will occur for assignment statements where you are assigning a value to an item of a different data type, or if you are calling a procedure ......

Posted On Sunday, March 18, 2007 4:03 PM

Creating a Windows Forms Application
Developers will create Windows Forms applications much like they do Visual Basic-based forms today (although with Windows Forms, they get the same level of productivity in all of the languages in Visual Studio, not just Visual Basic). In the following image, you can see that a design surface is used to visually lay out the form with rich controls. To edit source code, developers simply double-click a control and the source editor will appear, enabling quick access to the full event model for the ......

Posted On Friday, June 9, 2006 9:12 AM

VB6/VB.NET Resource files III
Custom Resources The "Big Deal" with custom resources is that you normally have to provide a way to process them in your program code. As Microsoft states it, "This usually requires the use of Windows API calls." That's what we'll do. The example we'll use is a fast way to load an array with a series of constant values. Remember that the resource file is included into your project, so if the values that you need to load change, you'll have to use a more traditional approach such as a sequential file ......

Posted On Friday, June 2, 2006 4:25 PM

VB6/VB.NET Resource files II
VB6 supports A string table editor ("Edit String Tables...") Custom cursors - "CUR" files ("Add Cursor...") Custom icons - "ICO" files ("Add Icon...") Custom bitmaps - "BMP" files ("Add Bitmap...") Programmer defined resources ("Add Custom Resource...") VB 6 provides a simple editor for strings but you have to have a file created in another tool for all of the other choices. For example, you could create a BMP file using the simple Windows Paint program. Each resource in the resource file is identified ......

Posted On Friday, June 2, 2006 4:23 PM

VB6/VB.NET Resource files I
After Visual Basic students learn all about loops and conditional statements and subroutines and so forth, one of the next things that they often ask about is, "How do I add a bitmap, a wav file, a custom cursor or some other special effect?" One answer is resource files. When you add a file using Visual Studio resource files, they're integrated directly into your Visual Basic project for maximum execution speed and minimum hassle packaging and deploying your application. Resource files are available ......

Posted On Friday, June 2, 2006 4:20 PM

VB.NET Resources - Faster, Smarter, Stronger
Demonstrated how to use resource files in VB 6. Resource files let you add a bitmap, a wav file, a custom cursor or some other special effect to your Visual Basic project. Microsoft defines them this way, "A resource is any nonexecutable data that is logically deployed with an application." The main advantage of resource files is that they're integrated directly into your Visual Basic project for maximum execution speed and minimum hassle packaging and deploying your application. Although VB 6 has ......

Posted On Friday, June 2, 2006 4:17 PM

Excel Automation Samples
Automate Excel Report generation, populate DataGrids and perform high performance Excel compatible calculations without Excel. Excel Reporting Easily create richly formatted Excel reports without Excel With the wide adoption of Microsoft Excel in so many business settings, there is no substitute for taking advantage of what spreadsheets have to offer. With SpreadsheetGear for .NET, your Windows and ASP.NET applications instantly gain the ability to create, read, modify, calculate and write Excel ......

Posted On Friday, June 2, 2006 3:46 PM

When a new version of your application is available
Users get notified as they run the older version. Now, when you investigate the files in the bin\release folder, you should find a copy of VBDemo.dll. It's this copy that your application will use, rather than the globally registered copy. At this point, remove the net—that is, unregister VBDemo again. Run the application, and amazingly, it continues to work. This time, the application displays the current path, because the component is running from within the current path. Because Visual Studio ......

Posted On Friday, June 2, 2006 3:36 PM

Windows Forms Enhancements
Runtime errors are easy to diagnose using the new Exception Assistant. Visual Studio 2005 adds many new features in the area of Windows Forms, both at design and run time; there are simply too many to mention them all here. Two of these features make it far easier to lay out forms just the way you want them—snap lines and in-place property editing. Snap lines make it easy to align controls with other controls as you layout forms. You might want to align a new control with the top of one control ......

Posted On Friday, June 2, 2006 3:32 PM

IntelliSense code snippets
The new code snippet feature, IntelliSense code snippets, allows you to right-click within the Visual Basic code editor, and select from a hierarchical list of tasks you're most likely to want to accomplish. Selecting a task inserts the prewritten code into your source file for you. Figure 2 shows this feature in action. Figure 2. Use IntelliSense code snippets within Visual Studio to simplify your coding process. Once you've inserted the code snippet, you have the option to fix up items such as ......

Posted On Friday, June 2, 2006 3:30 PM

Visual Basic 2005
Visual Studio 2005 and Visual Basic 2005 add many features and tools that make your development experience more productive. The following sections outline just a few. The My Namespace Imagine being able to find the functionality you need within the huge set of classes available as part of the .NET Framework immediately. Imagine using a single reference to accomplish goals that would otherwise require many lines of code. Imagine being more productive than you could ever have been programming in previous ......

Posted On Friday, June 2, 2006 3:27 PM

Taking advance of the form event model in VB.NET 2005
Normally when you write a code, you create procedures that you own code calls, as necessary. You create parameters and their types, and you determine the return value, if any. In an Event driven Environment, like windows, your application must be able to react to things that happens while the application runs. For example when a user clicks a button, or types of a key, your application may have to take a particular action. Think of these occurrences as “interesting things” happening ......

Posted On Friday, June 2, 2006 12:46 PM

VB Sources

Click on  “VB Sources”.  line above.  Check it out another favor VB sources links from me

 

Posted On Monday, May 29, 2006 4:37 PM

Visual Basic and gained a lot of expertise thereafter
Visual Basic and gained a lot of expertise thereafter Since 1999 I programmed in Basic which was quite different. It used to be procedural and linear, which means the logic flow was controlled with GOTO commands and each line of code was numbered. A lot later in 2000 I started working with Visual Basic and gained a lot of expertise thereafter. My Visual Basic (VB) projects were primarily related to data management systems, which I built with MS Access database back end. Some of them were made in ......

Posted On Sunday, May 28, 2006 8:10 PM

Being proficient with Visual Basic and other development tools
One of my most recent accomplishments include ASP.NET, ADO.NET and VB.NET One of my most recent accomplishments include ASP.NET, ADO.NET and VB.NET which I switched my interest to in 2005. I took formal Microsoft certified classes and although I didn't have as many years of experience with these technologies as with other development tools like ColdFusion, MS SQL server or Visual Basic, for example, I was able to grasp the idea and start building applications very soon. Many years of experience with ......

Posted On Sunday, May 28, 2006 7:59 PM

Copyright © Mai Nguyen | Powered by: GeeksWithBlogs.net | Join free