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 40 of 54) 1607 Result(s) found 

 

How to add path to the PATH environment variable using VB/VBScript
Total Hit (5392) Many times we need to add application path to the existing environment PATH variable. This can be very tedious job if you have to do for several machine. I came up with some handy script which makes my life easy and hopefully you can use too. The sample code was used in VB6 but you can use it wit ....Read More
Rating
Get list of installed ODBC drivers using ODBC API.
Total Hit (7767) Here is a small code snippet to list all installed ODBC Drivers (name and attribute). On my machine I got the following output. «code LangId=0» SQL Server UsageCount=3 : SQLLevel=1 : FileUsage=0 : DriverODBCVer=02.50 : ConnectFunctions=YYY : APILevel=2 : CPTimeout=60 -------------------------- ....Read More
Rating
How to Add/Delete Printer Programatically using API?
Total Hit (28794) This article will show you step by step approch to Add and Delete Printer Programatically without any user interaction. When writing a Win32 application that installs a network printer connection, you must take into consideration differences in printing if the application will be run under both W ....Read More
Rating
ShowOpenFileDialog - Show a Open File common dialog
Total Hit (4953)
Rating
CheckRegistryKey - Return True if a Registry key exists
Total Hit (2718)
Rating
CloseDosWindow - Close a Ms-Dos console window
Total Hit (2575)
Rating
HashTable - a class module for storing (key,value) pairs
Total Hit (2529)
Rating
ForceTextBoxCase - Set a textbox's upper/lowercase style
Total Hit (1991) «Code LangId=1»Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" _ (ByVal hWnd As Long, ByVal nIndex As Long) As Long Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _ (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) A ....Read More
Rating
ShortPathName - Convert a long file name to 8.3 format
Total Hit (3236) «Code LangId=1»Private Declare Function GetShortPathName Lib "kernel32" Alias _ "GetShortPathNameA" (ByVal lpszLongPath As String, _ ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long Const MAX_PATH = 260 ' Convert a long file/path name to a short 8.3 name ' the path m ....Read More
Rating
Join - A replacement for VB6's Join function under VB4 and VB5
Total Hit (1631) «Code LangId=1» ' A replacement for the Join function under VB4 and VB5 Function Join(arr() As String, ByVal Delimiter As String) As String Dim index As Long For index = LBound(arr) To UBound(arr) - 1 Join = Join & arr(index) & Delimiter Next Join = Join & arr(UBound ....Read More
Rating
Ceiling - The integer equal or higher than a given value
Total Hit (2609) «Code LangId=1»' Returns the integer equal or higher than its argument Function Ceiling(Number As Double) As Long Ceiling = -Int(-Number) End Function «/Code»
Rating
Power2 - A power of 2
Total Hit (1738) «Code LangId=1» ' Raise 2 to a power ' the exponent must be in the range [0,31] Function Power2(ByVal exponent As Long) As Long Static res(0 To 31) As Long Dim i As Long ' rule out errors If exponent < 0 Or exponent > 31 Then Err.Raise 5 ' initialize the arr ....Read More
Rating
How to perform a distributed query using a linked server on SQL Server
Total Hit (2473) One of the neatest features in SQL Server 7 and later versions is the capability to query external data sources through their OLE DB providers, in other words behaving exactly as an ordinary OLE DB data consumer. Queries performed in this way are known as distributed queries and can be implemented t ....Read More
Rating
Sending Email Using CDO and MAPI
Total Hit (4014) Sending emails via code used to be cool, but now it is a necessity. Below is code to send email via CDO. If the CDO call fails, it will send using MAPI. NOTE: You must have CDO for NT referenced in your project for this to work. «Code LangId=1» ' Sends an email to the appropriate person(s) ' ' ....Read More
Rating
The fastest way to append contents to a TextBox control
Total Hit (1918) The most intuitive way to append a string to the current contents of a TextBox is through the & string operator, as in: «Code LangId=1» Text1.Text = Text1.Text & "more text" «/Code» However, you can reach the same result about 4 times faster with the following method: «Code LangId=1» Tex ....Read More
Rating
Running an EXE at a particular position with particular dimensions.
Total Hit (3349) This sample code will show you how to control a shelled application using API. I have used several tricks in this sample code. Once you know these tricks, you can also use them in your programs. This code will open «b»Notepad«/b» at a specified position with specified window size. You will also ....Read More
Rating
This is a link to a different site Listening for and accepting connection requests
Total Hit (2738) What the title of this article is talking about? Who is listening? Why should it accept any requests? To answer these questions just imagine that you are going to develop a server application that servers one or many client applications via a network. You'll find out that you know nothing about how ....Read More
Rating
This is a link to a different site Tying a Treeview and Listview Together via the Tag Property
Total Hit (889) Unlike most of the other treeview and listview code examples here on VBnet, this one doesn't use APIs. Its creation was prompted by a newsgroup question by someone wanting to have a treeview and listview with similar items, and to behave such that when the user selected a treeview item, the correspo ....Read More
Rating
This is a link to a different site Toggling Checkbox Visibility in a Treeview
Total Hit (871) So now that the ability to display checkboxes has been added to the application (Adding Checkboxes to a TreeView via API), there may be times when it is desirable to hide this functionality. Simply resetting the TVS_CHECKBOXES flag does not do this, as the state image icons are still attached to the ....Read More
Rating
This is a link to a different site Obtaining the Combo Box Edit Window Handle
Total Hit (1428) This method shows how you can obtain the handle to the edit portion of a combo box using the FindWindowEx API. Unlike the GetComboBoxInfo method linked above, this method will work with all versions of Windows 95/98/NT4/2000/XP so far released. As a further check against the handle returned, you c ....Read More
Rating
This is a link to a different site Subclassing and Responding to Notifications from the ListView Header
Total Hit (942) Here is a means to track the activity when a user is interacting with a ListView control's ColumnHeaders.
Rating
This is a link to a different site Creating a Common Control Progress Bar via API
Total Hit (873) The advantages of this implementation are obviously beneficial. First and foremost the need to distribute Comctl32.ocx with an application is eliminated, reducing distribution size. Also an application's memory footprint is significantly reduced by not loading an ActiveX control. And finally, there ....Read More
Rating
This is a link to a different site Cellular Automata - Catalytic Reactions
Total Hit (834) This sample shows demonstrates a cellular automata which was initially designed to mimic catalytic reactions and in particular the Belousov-Zhabotinsky or "Clock" reaction. It produces a great variety of continuously varying, wave-like patterns.
Rating
This is a link to a different site vbAccelerator ComboBoxEx Control
Total Hit (1643) This article presents an implementation of the Common Controls ComboBoxEx control from scratch in Visual Basic. Although this control is available with some versions of VB, this version provides a number of enhancements including pre-built styles (drive picking, font picking, colour picking) and hel ....Read More
Rating
This is a link to a different site vbAccelerator Drop-Down and Popup Form Control
Total Hit (1771) This control allows you to use any form as a drop-down window, and optionally to drag the form off and float it over the form. The form behaves just like the drop-down windows in Office, albeit you cannot currently dock them (yet!) The code includes a VB titlebar modifier class which ensures that an ....Read More
Rating
This is a link to a different site Shell an application and wait asynchronously for completion
Total Hit (2617) Surprisingly often it comes in handy to be able to shell another application and wait for it to complete. This sample shows what I think is the best way to do it. At least, this method has been totally reliable for me. Its better than some methods I have seen because the application isn't frozen whi ....Read More
Rating
This is a link to a different site Drawing with XP Visual Styles
Total Hit (1701) This sample demonstrates using the UxTheme API calls to draw the various objects provided by current Windows XP Theme. This can be a very powerful and simple technique to providing the latest UI effects in controls and applications, as demonstrated by the No Status Bar and No Progress Bar samples. ....Read More
Rating
This is a link to a different site Reading and Saving .ICO files and resources in VB
Total Hit (2235) VB allows you to load an save .ICO files through the LoadPicture and SavePicture methods, which are implemented in the StdPicture object. Unfortunately, this object was really written for 16 bit Windows and doesn't understand Win32 icons at all. A .ICO resource can contain many different images, at ....Read More
Rating
This is a link to a different site Receive clipboard change notifications and get full control over reading, writing and adding formats
Total Hit (2394) The VB Clipboard object gives you quick and easy access to simple clipboard functions. But the Win32 API clipboard object offers a lot more flexibility and functionality. This article presents classes to use custom clipboard formats and receive notifications when the clipboard contents change. ....Read More
Rating
This is a link to a different site Common Dialog Hooks - Create a VB Style Open Project Dialog
Total Hit (1246) This sample, completely rewritten from an original sample at this site by Mark Grimes (kapag@tir.com), demonstrates how to create a full VB-style Open project dialog by taking advantage of the Hook support provided in the CommonDialog/Direct DLL component. ....Read More
Rating


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

Recommanded Links

 

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

© 2008 BinaryWorld LLC. All rights reserved.