Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

Submitted By : Nayan Patel  (Member Since : 5/26/2004 12:23:06 PM)

Job Description : He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting.
View all (893) submissions by this author  (Birth Date : 7/14/1981 )

How to sort string Array using CompareString API
Total Hit (3173) CompareString compares two strings and determines which one would come first in an alphabetic sort. Although this function can use a number of different comparisons, by default it conducts a case-sensitive word sort. In a word sort, all symbols except hyphens and apostrophes come before the letter " ....Read More
Rating
How to draw left/center/right aligned text for a given rectangle area ?
Total Hit (4027) This sample code will show you how to use DrawText and DrawTextEx along with some Rectangle menupulation APIs like SetRect, SetRectEmpty, OffsetRect and CopyRect. DrawText is very useful api when you want to draw text within a rectangle boundary and you want to specify various option (i.e alignment ....Read More
Rating
Example of rectangle APIs
Total Hit (2524) This sample code will show you how to work with basic Rectangle manipulation APIs to do some math operations with Rectangles. «b»Step-By-Step Example«/b» - Create a standard exe project - Add one timer control on the form1 - Add the following code in form1 «code LangId=1»Option Explicit ....Read More
Rating
Working with GDI Brush Object
Total Hit (5485) A brush is a graphics tool that applications use to paint the interior of polygons, ellipses, and paths. Drawing applications use brushes to paint shapes; word processing applications use brushes to paint rules; computer-aided design (CAD) applications use brushes to paint the interiors of cross-sec ....Read More
Rating
System.UnauthorizedAccessException: Access to the path "C:\Inetpub\MySite" is denied.
Total Hit (2748) ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically «b»{MACHINE}\ASPNET«/b» on IIS 5 or «b»NETWORK SERVICE«/b»on IIS 6) that is used if the application is not imper ....Read More
Rating
Working with NT EventLog - Part 2 (Implementing CEventLog Class, Creating Event Source)
Total Hit (9920) «b»«a href='CodeDetail.aspx?CodeId=3716'»<< Previous Article«/a»«/b» | «b»«a href='CodeDetail.aspx?CodeId=3724'»Next Article >>«/a»«/b» In my previous article «b»«a href='CodeDetail.aspx?CodeId=3716'»Working with NT EventLog - Part 1 (Introduction, Event Source, Message Files)«/a»«/b» you learned ....Read More
Rating
Working with NT EventLog - Part 3 (Implementing CEventLog Class, Writing to EventLog)
Total Hit (6031) «b»«a href='CodeDetail.aspx?CodeId=3718'»<< Previous Article«/a»«/b» | «b»«a href='CodeDetail.aspx?CodeId=3725'»Next Article >>«/a»«/b» In my previous article «b»«a href='CodeDetail.aspx?CodeId=3718'»Working with NT EventLog - Part 2 (Implementing CEventLog Class, Creating Event Source)«/a»«/b» y ....Read More
Rating
Working with NT EventLog - Part 4 (Implementing CEventLog Class, Reading from EventLog)
Total Hit (8554) «b»«a href='CodeDetail.aspx?CodeId=3724'»<< Previous Article«/a»«/b» | «b»Next Article >>«/b» In my previous article «b»«a href='CodeDetail.aspx?CodeId=3724'»Working with NT EventLog - Part 3 (Implementing CEventLog Class, Writing to EventLog)«/a»«/b» you learned how to write to the EventLog. Thi ....Read More
Rating
How to enumerate available monitor on your system ?
Total Hit (4099) If you are working with multiple monitors then this example will show you how to enumerate available monitors on your sytem and retrive properties of monitor. «b»Step-By-Step Example«/b» - Create a standard exe project - Add one Module to project - Place one textbox on form1, set MultiLine=T ....Read More
Rating
Change Resolution of a specified monitor using ChangeDisplaySettingsEx.
Total Hit (8296) To change resolution of your primary display device you can use ChangeDisplaySettings API but if you are working with multiple monitors and you want to change resolution of a specified monitor then you have to use ChangeDisplaySettingsEx API. You can specify Display device name while calling ChangeD ....Read More
Rating
Working with string APIs
Total Hit (2420) «code LangId=1»Private Declare Function lstrcat Lib "kernel32" Alias "lstrcatA" ( _ ByVal lpString1 As String, _ ByVal lpString2 As String) As Long Private Declare Function lstrcmp Lib "kernel32" Alias "lstrcmpA" ( _ ByVal lpString1 As String, _ ByVal lpString2 ....Read More
Rating
How to convert all accent char to normal char (Only for win2k)?
Total Hit (2347) This example will show you how to convert all accent characters to normal character. «b»Step-By-Step Example«/b» - Create a standard exe project - Add the following code in form1 «code LangId=1»Private Declare Function FoldString _ Lib "kernel32" Alias "FoldStringA" ( _ ByVal dwMapFlags ....Read More
Rating
How to show/hide taskbar, desktop icons and start button ?
Total Hit (16563) This sample code will show you how to use FindWindow api to get handle to various window by window title. If you have window handle then you can use APIs like ShowWindow, SetWindowPos and many more to perform various operations (e.g. hide/show, resize etc.) to that window. «b»Step-By-Step Exampl ....Read More
Rating
How to create MenuBar, Submenu and MenuItem with events at runtime using API ?
Total Hit (6959) This article give you basic guideline about creating menu at runtime. I will also explain how to subclass Mouse Move and Mouse Click events of created items. «b»Creating Menubar«/b» MenuBar is the main menu of your form. Any window can have only one menubar. You can use CreateMenu API to crea ....Read More
Rating
How to display shortcut PopupMenu generated at runtime ?
Total Hit (5394) This article will show you simple demo of creating and displaying popup menu using TrackPopupMenu api. You will learn the following items from this sample code. «UL»«LI»How to create PopupMenu, MenuItems and Submenu at runtime using CreatePopupMenu and AppendMenu APIs «LI»How to display popupmen ....Read More
Rating
How to add your own menu item in System menu ?
Total Hit (4753) This sample code will show you - How to add a new menuitem in the system menu using InsertMenuItem API - How to respond to the events generated by new menuitem with the subclassing technique - How to get/set item state using GetMenuState and SetMenuItemInfo APIs - How to remove menuitem from ....Read More
Rating
Split menu into multiple columns if dont fit and Auto Mouse move/click event demo
Total Hit (4630) This code is a combo of two great piece of code. From this example you will learn the following items - How to generate various mouse events using mouse_event API - How display shortcut menu created at runtime using CreatePopupMenu and TrackPopupMenu APIs - How to use MF_MENUBARBREAK flag to sp ....Read More
Rating
How to use LoadMenu and LoadMenuIndirect API to load menu from Resource or Memory buffer ?
Total Hit (7575) In this article you will learn - How to use LoadLibraryEx and FreeLibrary APIs to load/unload Dll/Exe resources - How to use LoadMenuIndirect API to load menu from memory buffer - How to use LoadMenu API to load menu stored in DLL or Exe resource - How to use TrackPopupMenu to display popup menu ....Read More
Rating
How to display choose color dialogbox with custom color added at runtime ?
Total Hit (3221) VB Common dialog box control does not support adding custom color programatically at runtime. You have to use ChooseColor API to get this functionality. Here is the example «b»Step-By-Step Example«/b» - Create a standard exe project - Add one commandbutton - Add the following code in form1 ....Read More
Rating
Show ChooseFont dialogbox using API
Total Hit (5564) You can use ChooseFont API to show Font selection common dialogbox. This API will eliminate the need of Common Dialog ActiveX control which comes with Visual Basic. «b»Step-By-Step Example«/b» - Create a standard exe project - Add one commandbutton on the form1 - Add the following code in fo ....Read More
Rating
Drawing Chord using API
Total Hit (2527) «b»About Chords«/b» A chord is a region bounded by the intersection of an ellipse and a line segment called a secant. The following illustration shows a chord drawn by using the Chord function. When calling Chord, an application supplies the coordinates of the upper-left and lower-right corne ....Read More
Rating
Working with LZ (Lempel-Ziv) compression APIs
Total Hit (6599) «b»Lempel-Ziv compression«/b» is a lossless compression algorithm, which means that no data is lost when compressing and decompressing the file, as opposed to lossy compression algorithms such as JPEG, where some data is lost each time data compression and decompression occur. NTFS volumes support f ....Read More
Rating
How to send message over network with specified machinename/username/domainname ?
Total Hit (3731) «code LangId=1»'Description: Send to msg to a machine on a Windows NT domain ' similar to that of the notification msg from printer spooler 'Note: Use with care to avoid a broadcasting to all workstations on the domain ' if you do not want to Declare Function NetMessageBufferSend L ....Read More
Rating
This is a link to a different site Take full control of writing to the NT event logs, and create the message and category files you need.
Total Hit (2077) Creating event log messages is a necessity for any nontrivial application running on the NT platform. Not only is the event log Microsoft's recommended method for capturing warnings and errors, but many vendors have embraced it, and an active tools market helps you capture and analyze the event log ....Read More
Rating
How to block/unblock keyboard and mouse input ?
Total Hit (5404) You can use BlockInput to block keyboard and mouse. Pass true to block and false to unblock keyboard and mouse. «b»Step-By-Step Example«/b» - Create a standard exe project - Place the following code in form1 «code LangId=1»Private Declare Function BlockInput Lib "user32" (ByVal fBlock As Long) ....Read More
Rating
How to send a specific windows message to all windows ?
Total Hit (3426) Many times we need to send a specific message to other applications or windows itself to notify regarding some event. Windows provides a function called BroadcastSystemMessage. The BroadcastSystemMessage function sends a message to the specified recipients. The recipients can be applications, instal ....Read More
Rating
How to Write Multiple String to Windows NT EventLog ?
Total Hit (3347) This example code will show you how to write to EventLog. If you have defined Message with multiple parameter substitutions then you have to pass pointer to array of string pointers....!!! Sounds little complicate huhhhhh.. Lets see actual code to clear this confusion. Note : Before you write to ....Read More
Rating
How to convert UCT (Universal Coordinated Time) to Local Date/Time and vice-versa.
Total Hit (4769) Many times you might be in situation where you have convert UTC time to Local time and Local time to UTC time. Here is the example how to do that. «b»Step-By-Step Example«/b» - Create a standard exe project - Add the following code in form code window «code LangId=1»Option Explicit Priva ....Read More
Rating
How to use FormatMessage API to format string with placeholder (para with %)
Total Hit (5561) FormatMessage is a very powerful API. In this article we will explore possible use of FormatMessage API. Some possible use of FormatMessage api is «UL»«LI»Getting API error description from Error Code «LI»Reading Message String from Resource of DLL or Exe «LI»Replacing placeholders in a string w ....Read More
Rating
Working with NT EventLog - Part 1 (Introduction, Event Source, Message Files)
Total Hit (7540) «b»<< Previous Article«/b» | «b»«a href='CodeDetail.aspx?CodeId=3718'»Next Article >>«/a»«/b» In this series of articles you will learn everything you need to build VB class to handle EventLog. Unfortunately in VB6 there is no inbuilt functionality to get full power of EventLog. VB6 has 2 functio ....Read More
Rating


(Page 13 of 133) 3968 Result(s) found  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ...

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.