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 (1647)
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

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
Rating
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
Rating
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
Rating
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
Rating
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
Rating
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
Rating
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
Rating
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
Rating
Change the Screen Resolution
Total Hit (779) Change the screen resolution from VB using the EnumDisplaySettings and ChangeDisplaySettings APIs.
Rating
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
Rating
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
Rating
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
Rating
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.
Rating
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.
Rating
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.
Rating
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.
Rating
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 "dd.mm.yy". Convert to the proper date format based on the locale.
Rating
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!
Rating
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.
Rating
Create a System DSN
Total Hit (527) Programmatically create a system Data Source Name
Rating
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
Rating
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
Rating
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
Rating
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
Rating
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
Rating
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
Rating


Recommanded Links

 

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

© 2008 BinaryWorld LLC. All rights reserved.