Mag-aral online!
Access Expert125x125
Cheap Web Hosting at 1.99 USD a month!

Online Advertising

Online Advertising

Online Advertising

Online Advertising







Programming

Free WinForms Controls

The Accordion style Navgation pane is a WinForms control that allows you to create multiple panes which are stacked on each other. Only one of the panes is expanded at a time. The accordion navigation pane ships with 15 professionally designed themes including Office and Vista style themes


Free WinForms NavigationPane Continue reading…


Advanced Techniques To Avoid And Detect Deadlocks In .NET Apps

This item was filled under [ Programming, TIPS AND TRICKS ]

Contents

Deadlocks 101
Other Subtle Deadlock Examples
Avoiding Deadlocks with Lock Leveling
Detecting and Breaking Deadlocks
The Algorithms
Spelunking Through the Hosting APIs
Wait Graph Construction and Traversal
Custom Deadlock Host in Action
Wrap-Up

Continue reading…


Mysql in visual basic Sample Source Code

  1. 'Here I create a variable named MySQL as a new connection object for MySQL
  2. Global MySQL As New MySQL_CONNECTION
  3.  
  4. Private Function MySQL_Connect() As Boolean
  5. Dim res_MySQL As MYSQL_CONNECTION_STATE
  6.  
  7. MySQL_Connect = False
  8. res_MySQL = MySQL.OpenConnection("server", "username", "password", "database", 3306, CLIENT_COMPRESS)
  9.  
  10. If res_MySQL = MY_CONN_OPEN Then
  11. MySQL_Connect = True
  12. End Function
  13.  
  14. ' Query -> MySQL query to execute.
  15. ' CloseRS -> Optional. Close recordset created after executing Query.
  16. ' RS -> Optional. Reference to externaly created variable, declared as MYSQL_RS. If not closed, it will be available to the program after the query is executed.
  17. ' lAffected -> Optional. Numer of rows affected after te Query.
  18. Public Sub SQLQuery(ByVal Query As String, Optional ByVal CloseRS As Boolean = False, Optional ByRef RS As MYSQL_RS, Optional ByRef lAffected As Long)
  19. Dim ERR As MYSQL_ERR
  20.  
  21. Set RS = MySQL.Execute(Query, lAffected)
  22. Set ERR = MySQL.Error
  23.  
  24. If ERR.Number <> 0 Then
  25. ' Handle any eventual errors that occurred during MySQL query
  26. End If
  27. ERR.Clear
  28. Set ERR = Nothing
  29.  
  30. If CloseRS Then
  31. RS.CloseRecordset
  32. Set RS = Nothing
  33. End If
  34. End Sub
  35. Continue reading...

Complete Comparison for VB.NET and C#

This item was filled under [ Programming, TIPS AND TRICKS ]

Complete Comparison for VB.NET and C#

Contents

1. Introduction
2. Advantages of both languages
3. Keyword Differences
4. Data types Differences
5. Operators Differences
6. Programming Difference
7. New Features of both languages in 2005 version
8. Conclusion
9. History
Continue reading…


E-World UI – Free controls (2.0.6) for ASP.NET

Custom Server Controls

Below are the controls that I’ve been working on, find out more information by clicking on the control name. If you wish to download the controls immediately, head over to the downloads page.
trans E World UI – Free controls (2.0.6) for ASP.NET Continue reading…


Integrate Google Maps into Flash CS4

Integrate Google Maps into Flash CS4

One of the most important skills for Flash developers to learn is how to utilize the vast collections of Web APIs that are available for services such as Flickr, Twitter, Facebook, and mapping using either Google or Yahoo. In this tutorial you’ll learn how to integrate Google Maps into your Flash application using just a few lines of code.

Continue reading…


ASP.NET JW FLV Flash Video Player Control

ASP.NET JW FLV Flash Video Player Control

How to use ASP.NET JW FLV Flash Video Player Control

To use control, unzip downloaded package and add reference in your web project to JW-FLV-Player-Control.dll. After that, place the control to the web form. On the web form control is not rendered correctly. It looks like in image bellow. Continue reading…


Compact and Repair MS Access Database using ADO and JRO

Compact and Repair MS Access Database using ADO and JRO

This function uses the Microsoft Jet and Replication ObjectsLibrary (part of ADO) to compact and repair a Microsoft Accessdatabase. A project reference is required to the Microsoft Jetand Replication Objects Library.You may want to add error handling to this procedure, or tothe function that calls it as the compact and repair may fail,for instance, if exclusive access cannot be gained to thesource database.

Continue reading…


Compact and Repair Access Database using C# and late binding

This item was filled under [ Programming, TIPS AND TRICKS ]

Introduction

This code compacts and repairs an MS Access database from a C# .NET application, no matter if it’s a simple “.mdb”, or a “.mdw”-secured workgroup-shared DB. It performs exactly the same operation as “Tools – Database Utils – Compact and Repair Database…” menu item in the MS Access application. The code uses “late binding” (creating COM-objects in memory at runtime), and that’s why you don’t need any annoying interop COM references in your project. You don’t even need MS Office installed. Just make sure you have a Jet Engine (Jet is included in MDAC package, which comes with any Windows installation starting from NT 4).

Continue reading…


Full particle animation using the AS (flash)

This item was filled under [ Graphics And Multimedia, Programming, TIPS AND TRICKS ]

Full particle animation using the AS

Using this thoroughly explained, detailed flash lesson, I will explain to you how to create advanced and full particle animation using the Action Script code and some special flash tips and tricks. You can use this animation for any flash header, banner or for some other flash components. Using this lesson, you will also learn how to design particle shape, how to convert any object into a Movie Clip Symbol, how to apply action script code on it, how to animate it, duplicate it and much more! Let’s start!

Continue reading…