- 101 Visual Basic And C# Code Samples Pdf
- Visual Basic C# Download
- 101 Visual Basic And C# Code Samples Download
- Visual Basic C# Tutorials
- Visual C++ Code Samples
- Visual Studio 101
Visual Basic is regarded as the third generation event-driven programming language. It was released in 1987. Being the first visual development tool from Microsoft, it is considered as one of the most powerful programming languages. As compared to other computer programming languages, such as, C, C++, it is easy to learn and understand, provided that one has determination and dedication to do so.
101 Visual Basic And C# Code Samples Pdf
Browse code samples. Get started with Microsoft developer tools and technologies. Explore our samples and discover the things you can build. A binary search algorithm in visual basic: a c# overloaded method to calculate an md5 hash in visual basic: a c# rss feed retriever sample in visual basic: a calendar example similar to windows date and time properties in visual basic: a class for searching datagrids in visual basic: a class for system, logical drivers, memory, display drivers. Kent is a Professor of Computer Science, teaching both traditional and online classes. He has taught a number of computer programming languages, including C, C, Java, Visual Basic, and Assembly. He is the published author of several computer-programming books, including 'Visual Basic 2005 Demystified' and 'C Demystified.' Explore VS Code features in the Interactive Editor Playground. User Interface - View the documentation for VS Code. Setup Overview - Documentation for getting up and running with VS Code, including platform specific setup. Keyboard Shortcuts - Customize your own shortcuts, download a reference sheet, or install a Keymap extension. Visual Basic Sample Codes Ebook. Visual Basic Sample Codes E-Book is written by our tutor, Dr.Liew. It comprises 258 pages of captivating contents and 48 fascinating Sample Codes.Perfect source of reference for your VB projects. Check it out by clicking the book picture.
Visual basic programming language allows programmers to create software interface and codes in an easy to use graphical environment. VB is the combination of different components that are used on forms having specific attributes and actions with the help of those components. On the one hand it allows programmers to develop widows based applications rapidly; on the other hand, it helps greatly in accessing data bases, using ADO while letting the programmers use ActiveX controls and various objects. While it is intended more to develop applications, it is also useful for games development for particular or limited purposes, unlike C++ that is more suitable for developing games.
As compared to other languages, Visual basic may be slower though, yet it is flexible and it can be rightly said that things that are difficult in other languages are comparatively easier in visual basic programming language. It may also be said that, since it is one of the most popular programming languages, lots of related books and material and other resources are available and can be accessed for developing programming skills at visual basic programming language conveniently.
One of the most important things to be considered with regard to programming in Visual basic is that the structure of VB is designed in a way that allows programmers to create executable code – Exe files. It enables programmers to develop programs that can be used as front end to databases. Besides, it’s with the help of visual basic tools, one can change the abstract ideas into programs or into the whole software while it allows revising and modifying the programs fittingly.
Once you have advanced your skills at visual basic programming language, you can move to develop your skills at other languages, such as, VB script. However, it all depends upon your interest and desire. It must be noted that the sole objective of any computer programming language is to save time and efforts of the users while making their lives easier. Visual Basic is one of the most important programming languages having a powerful front-end tool which is able to achieve simple and complex business requisites in and effective and efficient manner.
C# / .NET Code Samples |
Visual Basic C# Download
DotNetResourcesExtract v1.00 DotNetResourcesExtract is a small utility that scan dll/exe files of .NET applications, and extract all .NET embedded resources (Bitmaps, Gifs, HTML files, and so on) stored in them into the folder that you specify. |
Visual C++ Code Samples And Utilities |
Source Code Samples |
Changing the screen brightness programmingly - By using the Gamma Ramp API Some video cards allows you to programmingly modify the Gamma Ramp values.You can use this feature to change the brightness of the entire screen. |
Preventing application crash by using exception handling mechanism When a program does something wrong, for example, reading from invalid memory address,the operating system displays a 'crash' window with information about the problem that caused the exception,and terminates the application. This sample project demonstrates how to avoidthis kind of crashes, display your own exception information window,and allow the user to continue running the application after the exception occurred. |
Moving items up and down in a ListView control. In some occasions, you might want to allow the user the change the order of items in the ListView, by moving the selected items up and down. In the API of ListView control, there is no support for swapping between 2 items. The only way to do that, is by manually swapping all data of the items, including the lParam value and all columns ! |
Displaying 'Browse Folders' dialog with the default folder selected. The 'Browse For Folder' dialog allows the user to select a folder from all available local drives and network resources. This code snippet demonstrate how to display this dialog-box. |
Displaying the 'Properties' of a file or folder. When you select a file or folder in Explorer window, and choose 'Properties' from the menu, you get the properties window that contains some essential information about the file: The size of file, created date, modified date, attributes, and so on.It's possible to display this properties window programmatically, by using the ShellExecuteEx API function. |
Enumerating Windows credentials with CredEnumerate function This code sample enumerates all credentials of the current logged on user,and dump them into the standard output. |
101 Visual Basic And C# Code Samples Download
Utilities With Full Source Code |
ExeInfo v1.01 The ExeInfo utility shows general information about executable files (*.exe), dynamic-link libraries (*.dll),ocx files, and drivers files. |
AtNow v1.1 AtNow is a command-line utility that schedules programs and commands to run in the near future. |
WinExplorer v1.30 WinExplorer is a utility that shows all system's windows in hierarchical display. For every window in the hierarchy, you can view its properties, like handle, class name, caption, size, position and more. You can also modify some properties, like Caption and Visible/Enable. |
Visual Basic Code Snippets and Utilities |
Visual Basic C# Tutorials
Visual C++ Code Samples
In the following section, you can find a variety of Visual Basic code samples. For every sample, you can download the entire project for opening in Visual Basic 6.0.
Visual Studio 101
Revealing the passwords behind asterisks in Internet Explorer This small utility reveals the passwords stored behind the asterisks in the web pages of Internet Explorer 5.0 and above. |
Creating a real console application in Visual Basic ! Although the Visual Basic compiler doesn't allow officially to create console applications, it's possible to do it with a simple trick. Read more >> |
Revealing the passwords behind asterisks This code snippet scans all opened windows, and reveals the passwordsbehind the password text-boxes. |
Access 95/97 Password Revealer This small utility reveals the database password of Microsoft Access files. It works only with version 95 and 97 of Microsoft Access. |
System resources in Windows 95/98 This code snippet shows the percentages of free system resources in Windows 95 and Windows 98. |
Fast string concatenation With this class, you can concatenate small strings into one big string in faster way than the standard '&' operator. |
Using bidi32.dll for Logical-Visual conversion This code snippet is designated for using in bidirectional systems only (Hebrew and Arabic). It uses the functions in bidi32.dll to convert strings from Visual to Logical and from Logical to Visual. |
Painting a Gradient between 2 colors on a form This code snippet shows how to paint a gradient on a form using Win32 API. |
Drawing a rotated text on a form This code snippet demonstrate how to draw a rotated text on a form. |
Creating a circle shaped window This code snippet demonstrates how to create a circle shaped window, by using a few Win32 API calls. |
Web client tester With this small utility, you can send HTTP queries and see how the servers responds to those queries. |
Faster items adding in ComboBox This code snippet shows you how to add combo items with Win32 API. It's much faster than using the AddItem method of VB. |
Faster items adding in ComboBox (with item data) This code snippet shows you how to add combo items (both strings and items data) with Win32 API. It's much faster than using the AddItem method of VB. |
Executing Control Panel applets This code snippet shows how to run standard Control Panel applets (Display Properties, Reginal Settings, Mouse Properties, and more)from Visual Basic code. |
Converting network drive-based path to universal path name This code snippet shows how to use the WNetGetUniversalName for convertingnetwork drive-based path (Like I:windows) to universal path name (Like MyComputercwindows) |
Opening special Explorer windows This code snippet shows you how to open special Explorer windows, like My Computer, Control Panel, Printers, Fonts and more... |
DoEvents alternative function This code snippet shows how to create an alternative function for the standard DoEvents function. |
Registering and using a new window class This code snippet shows you how to register a new window class in Visual Basic anduse that class to create new windows, and show them on a form. |
Displaying and using a dialog box from external DLL file This code sample shows you how to display a dialog box from external DLL file.In this sample, the standard 'Run' dialog of Microsoft Windows is shown on the screen. |
Displaying the 'Shut Down Windows' dialog This code snippet displays the 'Shut Down Windows' by using undocumented API in shell32.dll |
Getting the filename of an ActiveX class name |