dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Visual Basic > Windows > Windows APIs

Windows APIs

12 of 12     Previous     Next
Use the Cassia .NET Library to Detect Users Connected to Windows Server
by Deepak Choudhari
Thanks to the Cassia .NET Library, you can programmatically detect the users connected to Windows Server without using PInvoke to call the Windows Terminal Services API.
Build One Application Version for Both Windows XP and Windows Vista
by Shao Voon
You don't have to compile two different versions to get applications that run correctly under both Windows XP and Windows Vista.
Using SetForegroundWindow on Windows Owned by Other Processes
by Alexander Ocher
Find out how to specify which window should appear in the foreground—even if it's running on a different thread.
Open Any File from Code
by Pavana Shireesha
Using the Windows ShellExecute API, you can run any application or open any file whose extension is associated with an application.
Fast Way to Create and Send Email
by Loris Marcon
Take advantage of the installed mail client to simplify sending email from VB.
Truncate a Path String
by Srinath MS
Currently, there is no .NET class that provides this functionality. The workaround is to use the Windows Shell function (PathCompactPathEx).
Set the Computer's Name Through .NET
by Srinath MS
Learn how to set your computer's name using the SetComputerName function, which is available in kernel32.dll
Associate a File Extension to a Program
by Andre Portugal
This tip is an addendum to a previous tip demonstrating how to use CreateFileAssociation to associate a file extension.
Make Your Mouse Pointer Tremble
by Frederico Cebrian
To make your mouse pointer appear to be trembling, you first create a form with ScaleMode = 3 - Pixel. Then use the code in this tip.
Disable the Standard Window Close (X) Button
by Hany Saad
This code disables the X button in the window form.
Implement the Portable Sleep Function in Linux and Windows
by Elsayed Elghadban
Find out how to run the Windows Sleep API call in Linux.
Converting a String to a GUID
by Sachin Kainth
Learn about this simple way to convert a string, which is in the correct GUID format, into a GUID.
12 of 12     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date