Atlanta Custom Software Development 

   Search        Code/Page

User Login



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

Enumerate the Ports available in the Local System or in a Remote PC using the EnumPorts API call
Total Hit (1070) API Declarations «Code LangId=1» Option Explicit 'API calls Private Declare Function EnumPorts Lib "winspool.drv" Alias "EnumPortsA" (ByVal pName As String, ByVal Level As Long, ByVal lpbPorts As Long, ByVal cbBuf As Long, pcbNeeded As Long, pcReturned As Long) As Long Private Declare Funct ....Read More
Interprocess communication using DDE (Dynamic Data Exchange) - Part1
Total Hit (6250) Microsoft Windows provides several methods for transferring data between applications. One method is to use the Dynamic Data Exchange (DDE) protocol. The DDE protocol is a set of messages and guidelines. It sends messages between applications that share data and uses shared memory to exchange data b ....Read More
Interprocess communication using DDE (Dynamic Data Exchange) - Part2
Total Hit (4100) In our previous article «b»«a href='CodeDetail.aspx?CodeId=3767'»Interprocess communication using DDE (Dynamic Data Exchange) - Part1«/a»«/b» of this this series we learned about basic concept of DDE and we also saw that how to implement DDE Server using DDEML Apis. Now in this article I will show y ....Read More
How to run system clock slower/faster ?
Total Hit (2878) In this article we will have lots of fun with system clock. I will explain you how to retrive and change your system clock setting to make your system clock slower/faster using SetSystemTimeAdjustment and GetSystemTimeAdjustment APIs. You will also learn how to assign special privilege to an applica ....Read More
How to enumerate available monitor on your system ?
Total Hit (1494) 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
Change Resolution of a specified monitor using ChangeDisplaySettingsEx.
Total Hit (3805) 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
How to use Named Pipes in a Visual Basic 32-bit Program ?
Total Hit (2881) Visual Basic can create applications that communicate to other processes by means of Named Pipes. The Named Pipe must be created on Windows 2000 or Windows NT; however, you can read from and write to that pipe from any 32-bit platform. This article demonstrates Client/Server communication using a ....Read More
How to shutdown remote machine on a network using API.
Total Hit (1862) This demo will show you how to shutdown remote machine in a specified interval. When you shutdown machine you will see following warning message. «BR»«P Align=center»«img src='/Main/Articles/Lang1/Cat3/Code3580/image3580_1.gif'/»«/P»«BR» «b»For Quick Demo«/b» 1. Start a new project in Vis ....Read More
Change the Screen Resolution
Total Hit (779) Change the screen resolution from VB using the EnumDisplaySettings and ChangeDisplaySettings APIs.
Code Based Timers
Total Hit (701) Create a code based timer that's more accurate with better resolution than VB's Timer control. The timer resides in an ActiveX DLL and doesn't need to be sited on a form. You can use it in applications that run unattended and that have no visual interface. Also make counting timers and timers that c ....Read More
Create Your Own Screen Saver or Start an Existing Screen Saver
Total Hit (638) Create a code based timer that's more accurate with better resolution than VB's Timer control. The timer resides in an ActiveX DLL and doesn't need to be sited on a form. You can use it in applications that run unattended and that have no visual interface. Also make counting timers and timers that c ....Read More
Determining Memory Statistics and System Resources
Total Hit (810) Retrieve the current state of the system's memory using the GlobalMemoryStatus function. On Windows 9x machines you can determine the system resource values displayed in Explorer's Help About dialog by using the Resource Meter's Rsrc32.dll. Use this info to determine to if there are enough reources ....Read More
Disable Ctrl-Alt-Delete, Alt-Tab and Ctrl-Esc Key Sequences
Total Hit (873) Prevent users from rebooting a PC by telling Windows the screen saver is running. Stop Ctrl-Esc and the Windows key from displaying the Start Menu.
System Metrics Information
Total Hit (666) The GetSystemMetrics function returns a wealth of information including the width and height of the screen, window, icon, border, caption, scroll bar elements and more.
System Parameters Information
Total Hit (635) The SystemParametersInfo function queries systemwide parameters and provides information about the mouse, keyboard, desktop, icons size, screen saver,... This example also demonstrates how to get the Window's version using GetVersionEx.
Add Your Application's Icon to the System Tray
Total Hit (688) Add your application's icon to the System Tray and respond to mouse events occurring on your system tray icon. Work with ActiveX components from the system tray. Normally this is not possible due to the way Windows handles Remote Procedure Calls.
Locale Aware Date Format
Total Hit (686) Get the Locale specific Date and Number formats. If your regional settings are set to German, the standard date looks like "". Convert to the proper date format based on the locale.
List and Change Window's Date Formats
Total Hit (720) Enumerate all Long and Short Date formats currently defined on your system. Create new ones and change them on the fly!
Synchronize Your System's Time With an NTP Server
Total Hit (620) Retrieve the time from a public Network Time Protocol (NTP) server via the Winsock control then use it set your PC's time.
Create a System DSN
Total Hit (527) Programmatically create a system Data Source Name
This is a link to a different site Enumerating the Installed and Supported System Locales
Total Hit (421) In addition to locale information pertaining to the current system setting, the EnumSystemLocales API provides the means to enumerate via callbacks all supported or installed national language support for a given system. Armed with the country LCID's returned by the call, an application can retrieve ....Read More
This is a link to a different site Forcing a local or remote NT system to reboot
Total Hit (1196) Under Windows NT, you can force a timed system shutdown on either the local machine or a remote network machine. This code tip shows how to do it. You can specifiy how long it will be before the machine will be shutdown in seconds (a zero value shuts down immediately), how remorseless the shutdown p ....Read More
This is a link to a different site Detecting Windows Settings Changes
Total Hit (989) This tip demonstrates how to detect windows settings changes in your application. You will need to have installed and registered the Subclassing and Timer Assistant (SSubTmr.DLL for VB5 and SSubTmr6.DLL for VB6), available from this site at Subclassing without the crashes to run this sample. ....Read More
This is a link to a different site How to Shutdown the System in Windows 9x and NT
Total Hit (1198) This tip demonstrates how to shutdown, logoff and/or reboot a system. Shutting down a Windows 9x system is very straightforward - just one API call to ExitWindowsEx is all that is required. However, under NT it is a little more tricky. By default, no application processes under Windows NT have the p ....Read More
This is a link to a different site Working with Multiple Monitors
Total Hit (1400) Windows 98/2000 systems and above provide support for multiple monitors. This is a great thing except that it messes up old programs which attempt to do things like centre Windows or otherwise restrict their position to the visible area of the screen. This tip provides some simple code to allow you ....Read More
This is a link to a different site Another way to launch a Control Panel Extension...
Total Hit (531) Private Sub Command1_Click() StartCPLApp "DESK.CPL" End Sub

Recommanded Links


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

© 2008 BinaryWorld LLC. All rights reserved.