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 1 of 2) 52 Result(s) found 


Change the application priority
Total Hit (1859) The application's priority - and more in general the thread's priority - indicates how the application is "important" for the CPU. The more the priority is hight the more the CPU will dedicate his time to execute it. In .NET the priority of a thread is indicated to the Thread.Priority property. B ....Read More
Check whether Microsoft Word is installed
Total Hit (2040) The .NET frameworks provides a set of classes that let you work with the Registry, so it is quite easy to create routine that looks for specific keys to determine whether a program is installed or not. For example, the following code checks whether Microsoft Word is installed on the local computer: ....Read More
Create a command-line filter utility
Total Hit (1811) The Console class exposes two properties that make it very simple to create command-line utilities that work as filters, exactly like the FIND and MORE utilities that are provided with the operating system. The Console.In property returns a TextReader object that reads from the standard input channe ....Read More
Determine the Windows version
Total Hit (1951) You don't need to call any Windows API function in VB.NET to determine which version of Windows your application is running on, because this information is exposed by the Environment.OSVersion property. For example, if you run this code under Windows 2000: «Code LangId=2» Console.WriteLine(Envir ....Read More
Determine type and number of CPUs
Total Hit (3393) There is no method call that directly retuns information about the number and type of installed CPU(s). However, this information is stored in a few environment variables, so it's just a matter of extracting it with the Environment.GetEnvironmentVariable method: «Code LangId=2» ' this code is me ....Read More
Duplicate the SET operating system command
Total Hit (1651) The Environment.GetEnvironmentVariables property returns the list of all the environment variables, as an IDictionary object. If you want to display them sorted by their name, as the SET command does at the prompt, you need the following tricky code: «Code LangId=2» ' Get all the variables, as a ....Read More
Launch another process in a specified directory
Total Hit (1781) The System.Diagnostics.Process class provides several methods to launch and controls other Windows processes. For example, the following code sample shows how to run Notepad, pass arguments to it, and run it from inside a given intial directory: «Code LangId=2» ' this code assumes that you have ....Read More
List all COM components on local machine
Total Hit (1890) The following routine parses the registry and lists all the installed COM components: «Code LangId=2» ' this code assumes that you have used this Imports statement ' Imports Microsoft.Win32 ' Print ProgID, CLSID, and path of all the COM components ' installed on this computer. Sub DisplayC ....Read More
List all running Windows processes
Total Hit (1854) The System.Diagnostics.Process class exposes the GetProcesses static method, that returns a list of all running processes. It is quite easy to leverage this feature to display all running processes in a ListBox or ComboBox control: «Code LangId=2» ' This code assume that you've used the followin ....Read More
Prevent a second process instance from running
Total Hit (2014) VB6 developers can use the App.PrevInstance property to check whether there is another instance of the same process already running on the current machine. This property isn't available any longer in VB.NET, so you must retrieve this information by using the properties of the Process object. The ....Read More
Retrieve information about the current user
Total Hit (1595) You can easily retrieve information about the current user by means of a few properties of the Environment class. The Environment.UserName returns the name of the user; the Environment.UserInteractive property returns True if the user is an interactive user; the UserDomainName returns the user's dom ....Read More
Retrieve Windows and System directories
Total Hit (2118) In VB.NET you don't need to call the GetWindowsDirectory and GetSystemDirectory API functions to retrieve the path the Windows and System directories. Retrieving the System directory is as simple as calling the Environment.SystemDirectory property: «Code LangId=2» Dim sysDir As String = Environm ....Read More
Retrieving special system paths
Total Hit (1702) The GetFolderPath method of the Environment class lets you retrieve the path of several important system directories. For example, here's how you determine the path of the Desktop directory for the current user: «Code LangId=2» Console.WriteLine(Environment.GetFolderPath _ (Environment.Spec ....Read More
Wait for a process to terminate
Total Hit (1974) You can use the VB.NET Shell command (in the Microsoft.VisualBasic namespace) to run an external process and wait for its termination, but you can get better control if you work directly with the Process class in the System.Diagnostics namespace. You can start a process with the Start static method ....Read More
Write a console utility to kill a process
Total Hit (1827) The System.Diagnostics.Process class exposes two methods that let you kill a process: CloseMainWindow should be used with processes that have a graphical interface, whereas the Kill method should be used for apps without a user interface (or those whose main window is disable and can't process the W ....Read More
Write a console utility to list processes
Total Hit (3032) The Process class provides all you need to create a command-line utility that lists all the processes running on the system and all the related information. This utility is therefore similar to the Windows Task Manager, except you can run it from the command prompt. All processes are sorted alphabet ....Read More
Showing help
Total Hit (1774) The System.Windows.Forms.Help class encapsulates the HTML Help 1.0 engine and lets you display the index, the search page, or a specific topic in an HTML file in HTML Help format or a compiled help file (.chm) authored with the HTML Help Workshop or some third party tool. This class exposes two ....Read More
AddToRecentDocs - Adding a file to the list of recent documents
Total Hit (1803)
BrowseForFoldersDialog - A class to display the BrowseForFolders dialog box
Total Hit (1637)
ChangeDriveIcon - Changing the icon of a drive
Total Hit (1951)
CheckWindowsUser - Check whether a username/password pair is correct
Total Hit (2328)
ClearIEHistory - Clearing the Internet Explorer's history
Total Hit (1650)
ClearRunHistory - Clearing the Run history
Total Hit (1737)
ClipboardGetText - Retrieving the text in the clipboard
Total Hit (2285)
ClipboardSetText - Copying or appending text to the clipboard
Total Hit (3327)
CompactPathToControl - Shorten a path by using ellipses
Total Hit (2085)
CreateFileAssociation - Creating a new file association
Total Hit (3449)
DeleteFileAssociation - Deleting a file association
Total Hit (2827)
EmptyRecycleBin - Empty all the files in the Recycle Bin
Total Hit (2021)
GetApplicationPath - Retrieving the path of a Windows application
Total Hit (1858)

(Page 1 of 2) 52 Result(s) found  1 2

Recommanded Links


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

© 2008 BinaryWorld LLC. All rights reserved.