Atlanta Custom Software Development 

   Search        Code/Page

User Login



Forgot the Password?
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
VB VB (1648) (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

(Page 9 of 54) 1607 Result(s) found 


Printing the contents of a picturebox, including (most) controls, to a printer
Total Hit (3058) API Declarations «Code LangId=1» Option Explicit Private Declare Function SendMessage Lib "user32.dll" Alias _ "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, _ ByVal wParam As Long, ByVal lParam As Long) As Long Private Const WM_PAINT = &HF Private Const WM_PRINT = &H317 ....Read More
Working with Resource file
Total Hit (4327) Resource file is embedded into you compiled exe, dll, ocx etc. You can store Icon, Cursor, AVI, GIF, Bitmap word document or any thing you want. VB provides few function to access application resource but these functions (LoadResData, LoadResPicture and LoadResString) not enough if you want more fle ....Read More
How to retrive IP Configuration of local machine (just like ipconfig.exe)
Total Hit (4475) This article illustrates how to programmatically retrieve IP configuration information similar to the IPCONFIG.EXE utility. It demonstrates how to use the IP Helper APIs GetNetworkParams() and GetAdaptersInfo() from Visual Basic. The libraries called by the code sample in this article are only s ....Read More
How to add your own menu item in System menu ?
Total Hit (3398) 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
How to Write Multiple String to Windows NT EventLog ?
Total Hit (2499) 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
Setting Default Printer
Total Hit (1704)
IsSystemFontSmall - Determine if system font is small or large
Total Hit (1546)
MinimizeAllWindows - Minimize and restore all windows
Total Hit (1881)
Rotator - A class for printing rotated text to screen or the printer
Total Hit (3268)
TimeToSeconds - Convert a time value into a number of seconds
Total Hit (2631) «Code LangId=1»' Converts a time value to a numeric value in seconds ' Example: ' MsgBox TimeToSeconds(TimeSerial(3, 5, 20)) --> 11120 Function TimeToSeconds(ByVal newTime As Date) As Long TimeToSeconds = Hour(newTime) * 3600 + Minute(newTime) * 60 + Second _ (newTime) ....Read More
RandomString - Generate a random string using a mask
Total Hit (1577) «Code LangId=1»' generate a random string ' ' the mask can contain the following special chars ' ? : any ASCII character (1-127) ' # : a digit ' A : an alphabetic char ' N : an alphanumeric char ' H : an hex char ' all other chars are taken literally ' Example: a random-ge ....Read More
BinToDec - Convert from binary to decimal
Total Hit (2877) «Code LangId=1»' convert from binary to decimal ' Function BinToDec(value As String) As Long Dim result As Long, i As Integer, exponent As Integer For i = Len(value) To 1 Step -1 Select Case Asc(Mid$(value, i, 1)) Case 48 ' "0", do nothing Case 4 ....Read More
Any2Dec - Convert from any numeric base to decimal
Total Hit (2170) «Code LangId=1»' convert from any base to decimal ' BASE can be in the range 2-36 Function Any2Dec(ByVal otherBaseNumber As String, ByVal base As Integer) As Long Dim index As Long Dim digits As String Dim digitValue As Long ' check base If base < 2 Or base > 36 T ....Read More
Generating IDL code to overcome binary compatibility issues
Total Hit (2513) Among the different COM details that VB hides to the programmers, one of the most problematic one is that it doesn't let you take control on interface GUIDs. Binary compatibility settings in VB try to make you follow COM rules (as a fact breaking such rules with the interface forward mechanism it si ....Read More
Hide the application in the Task List dialog
Total Hit (2318) As you know, when you press CTRL+ALT+CANC the Task List window appears. This dialog allows you to see all the running processes and also to terminate them. If you don't want that your application be closed, you can prevent the application from being displayed in the Task List dialog, by using the Re ....Read More
Determine the Windows version (without any API call)
Total Hit (2049) You can use the GetVersion or GetVersionEx API functions to determine which Windows version the application is running on. However, there is a much simpler solution, based on the fact that Windows NT creates an environment variable named "OS" while Windows 95/98 don't. So you can quickly discern bet ....Read More
Copy the contents of the WebBrowser control to the Clipboard
Total Hit (5210) To programmatically copy text from the WebBrowser control you can use its ExecWB method, to which you must pass the OLECMDID_COPY constant as its first argument. WebBrowser1.ExecWB OLECMDID_COPY, OLECMDEXECOPT_DODEFAULT You can also select the entire WebBrowser's contents by invoking the Exec ....Read More
Copy a directory tree
Total Hit (2020) Creating a VB routine that copies a whole directory tree can be a time-consuming job, but fortunately you don't have to do it. In fact, you can quickly create an entire folder, including all its subfolders, using the CopyFolder method of the FileSystemObject object, that is exposed by the Microsoft ....Read More
Logging under a different name makes your add-ins disappear
Total Hit (1449) After you install Visual Basic and log on to the machine as a different user (with or without administrator privileges), you cannot see any Add-Ins in the Add-In dialog in Visual Basic. I ran across this problem when I logged in and installed VB6 on NT Workstation under my User, for a developer ....Read More
Use Sleep API to add pauses to your programs
Total Hit (2970) Don't use an empty For...Next loop to add pauses to your programs; instead, use the Sleep API function, that releases the CPU and lets other apps in the system effectively multitask: «Code LangId=1» Declare Sub Sleep Lib "kernel32" (ByVal milliseconds As Long) ' pause for 5 seconds Sleep 5000 ....Read More
Static Variables are slower than Dynamic ones
Total Hit (2497) Referencing a static local variable in a procedure is 2-3 times slower than a regular local, dynamic variable; if you want to really speed up your procedures, convert all static variables into module-level variables. The only drawback to this approach is that the procedure become less self-conta ....Read More
Tunnel graphical effect
Total Hit (1196) Usage «Code LangId=1» 'Create a Form and place this code inside 'Sorry but the comments are in german :(( Option Explicit Dim offx% ' x-offset zur mitte Dim offy% ' y-offset zur mitte Dim anz% ' anzahl sterne Dim bahnx%(100, 180) ....Read More
Compact and Repair Access MDB.
Total Hit (1864) Following code requires Microsoft DAO 3.6 reference. To add this reference goto Project->Reference example: «Code LangId=1» Call DBCompact("OLt.mdb", "tmpOLT.mdb", , , ";pwd=mypwd") «/Code»
This is a link to a different site DNS Inside Out (DNS Client sample application)
Total Hit (1791) Today we are going to find out what is going on behind the scenes when our application calls such Winsock API functions as gethostbyname and gethostbyaddr. In other words, we’ll explore the communication session model between a client application and a DNS server. Afterwards, you’ll be able to devel ....Read More
This is a link to a different site How to create folder on remote machine using WMI
Total Hit (787) Hey, AN. Life is full of mysteries. To name one, what possessed somebody to think that the world was clamoring for Clamato juice, an unholy concoction combining tomato juice and clam juice? (As long as we’re on the subject: clam juice?) To name another, why is it that neither the FileSystemObject no ....Read More
This is a link to a different site Pre-selecting a Folder using the Browse Callback
Total Hit (937) Add a callback routine to your VB5/6 code to allow pre-selecting of a file system object when displaying the Browse for Folders dialog. Added version-detecting code and necessary changes to allow the String method to function on NT
This is a link to a different site Enumerating Windows Fonts with Preview
Total Hit (844) This is the code required to enumerate the system fonts into a listbox using a callback routine, and provide a sizeable preview of the font selected.
This is a link to a different site ComCtl32.DLL HotKey Control
Total Hit (588) The hotkey control is one of the controls provided as part of COMCTL32.DLL, but, being of somewhat limited utility, has never found its way into Visual Basic's controls. If you need one, however, it does the job really well. When it has focus, you can press CTRL, ALT and SHIFT key combinations, ....Read More
This is a link to a different site Custom Drag-Drop Images Using ImageLists
Total Hit (1622) The standard VB drag-drop functionality provides a cursor to indicate that a drag-drop function is in progress. This article demonstrates how to add an image of the object being dragged to the drag-drop control, in the same way that Explorer does using the ImageList APIs. ....Read More
This is a link to a different site Complete Registry control
Total Hit (1491) The cRegistry class is an easy, self-contained way to get complete access to the Windows registry. Simple methods allow you to create, enumerate and delete keys and values in the registry, without restriction. You can even read/write binary data to the registry. To see how powerful this library is, ....Read More

(Page 9 of 54) 1607 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 ...

Recommanded Links


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

© 2008 BinaryWorld LLC. All rights reserved.