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

(Page 50 of 133) 3985 Result(s) found 

 

How to sort string Array using CompareString API
Total Hit (3064) 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
Working with NT EventLog - Part 2 (Implementing CEventLog Class, Creating Event Source)
Total Hit (9743) «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 (5902) «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 (8394) «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 (3996) 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 (8161) 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 (2359) «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 (2290) 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 (16296) 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 (6780) 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 (5234) 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 (4621) 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 (4533) 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 (7402) 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 (3140) 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 (5464) 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 (2457) «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 (6467) «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
Transparent form (glass effect)
Total Hit (2501) This example will show you how to create a transparent form. «b»Step-By-step example«/b» - Create a standard exe project - Add the following code in form1 «code LangId=1»Option Explicit Private Declare Function CreateRectRgn Lib "gdi32" ( _ ByVal X1 As Long, ByVal Y1 As Long, ByVal ....Read More
Rating
How to create pattern brush from bitmap or picture object ?
Total Hit (6459) In this article we will learn how to use CreatePatternBrush along with CreateBitmap API. CreateBitmap can be used to create a memory bitmap of specified width, height and Bits/Pixel. CreatePatternBrush can create a pattern brush based of Bitmap. You can also use VB Picture object as a bitmap handle. ....Read More
Rating
How to resize window accurately to get desired client area ?
Total Hit (7430) Sometimes you might get unexpected window size when you resize or assign different height or width. To resize or change window height/width accurately based on required client area you can use AdjustWindowRect or AdjustWindowRectEx api. You can pass required client area as a RECT parameter to Adjus ....Read More
Rating
How to use CopyImage API to create a resized monochrome image from the color image ?
Total Hit (8681) In some situation you can find CopyImage API very useful. CopyImage can create a new resized monochrome bitmap using single API call. «b»Step-By-Step Example«/b» - Create a standard exe project - Place two picturebox controls and two command buttons - Place the following code in form1 «cod ....Read More
Rating
How to send message over network with specified machinename/username/domainname ?
Total Hit (3638) «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
How to block/unblock keyboard and mouse input ?
Total Hit (5304) 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 (3334) 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 (3263) 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 (4694) 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 (5316) 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 (7317) «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
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 (1970) 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


(Page 50 of 133) 3985 Result(s) found  ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 ...

Recommanded Links

 

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

© 2008 BinaryWorld LLC. All rights reserved.