Return to site

Visual Basic 2017 Code Samples

broken image


VB.NET Excel examples

For example, if you enter./project1/./.txt, that will search for all.txt files under the project1/ root folder. Visual Studio Code 64-bit builds are now available on Windows for the Stable release! They come in the usual Setup Installer format as well as a ZIP archive. VB.NET examples for Excel add-in developers. How to develop plug-ins for Excel 2019, 2016, 2013, 2010, Excel 2003 - 2000 command bar buttons in Visual Basic.NET. Output: Write First Program in Visual basic. How to Concat two string in Visual basic. + or the & operator is used to Concat two or more string in Visual basic. Below is the code to Concat two string in visual basic. Which contains 3 strings str1, str2,str3. Visual Basic Code Snippets and Utilities 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. Revealing the passwords behind asterisks in Internet Explorer.

2017 Visual Basic Download

On this page you will find a set of HowTo samples that can help you to get started with add-in development for Excel 2019, 2016, 2013, 2010 and lower:

Iron man 2 game download for pc highly compressed. And here are a few more VB.NET examples for other applications of the Microsoft Office 2019 - 2000 suite:

Excel extensions: COM add-in, RTD server

How to develop a COM add-in for Microsoft Office (Excel, Word and PowerPoint)

Visual Basic 2017 Code Samples Pdf

This sample shared COM add-in for Excel, Word and PowerPoint shows how you can use Add-in Express for Office and .net to add custom command bars and command bar controls, place new controls onto Office Ribbon tabs, create custom task panes, handle application-level events and more.
Download COM addin

How to customize Microsoft Excel ribbon and toolbar

See how to create custom ribbons and toolbars for Excel and how to integrate with an existing Excel tab.
Download add-in

How to customize Excel main menu, context menus and Backstage view

VB.NET sample shows how to create a custom context menu for Excel 2019, 2016, 2013, 2010, 2007 and lower; how to add your own Backstage view item and how to customize the main menu in Excel 2003 - 2000.
Download sample

How to build your first Excel RTD server in VB.NET

See how to build an RTD server step-by-step in the Developer's Guide. The RTD server project is written in Visual Basic .NET. See also a video showing how to create an RTD server.
Download RTD server

Working with Excel Object model

How to handle the WorkbookBeforeSave event

How to create a custom event when Excel calculation mode changes

This VB.NET Excel addin example provides a solution for missing event that should occur then the user changes the calculation mode.
Download addin

How to find the last used cell (row or column) in Excel

This Visual Basic sample explains some reliable methods for finding the last used cell in an Excel worksheet or a range.
Download Find Last Cell add-in

How to populate Excel workbooks and ranges with arrays

VB.NET code example shows how to use arrays to populate Excel with data; how to fill array with a query or range and insert into a worksheet, and more.
Download Populate with Arrays add-in

How to work with Excel tables & ranges using VB.NET

This sample Excel addin demonstrates how work with tables and ranges: create a new table or a range, insert a column or a row, sort, filter and more.
Download Excel Tables and Ranges add-in

How to work with Excel pivot tables

VB.NET code example shows how to automate pivot tables in Excel: create a PivotTable, add calculated fields, display or hide a field; delete, refresh or clear a pivot table; create a pivot chart and more.
Download Excel PivotTables Add-in

Advanced Excel Task Panes

How to show and hide Excel Task Panes programmatically

This Visual Basic .NET Excel sample demonstrates how to set the visibility of an advanced task pane to make it show up from the command bar.
Download VB.NET sample

How to switch between several task panes programmatically

Visual Basic 2017 Code Samples

This addin shows how you can use several custom task panes in one position and switch between them programmatically.
Download example

How to show an advanced Excel task pane dynamically

The Excel VB.NET add-in shows how to build a context-dependent custom task pane. The plug-in shows a task pane when cell A1 contains any value.
Download plug-in

3) Put.xorpad files you generated on 3DS from SD root into 'xorpads' folder, press 'Convert 3DS ROM to CIA' button, select folder with.3ds files and wait for program to finish. Version 4.3, 2015-07-03- Added zero-key encrypted ROM support, no xorpad. 3DS Hacks - Convert 3DS ROMs to.cia Nintendo 3DS games can often be found in the.3ds format, which is intended for emulators like Citra. Nintendo 3DS consoles cannot load.3ds ROM files, however they can be converted to.cia format which can be installed on hacked 3DS consoles with FBI. 3ds simple cia converter 4 3.

How to re-size an Excel task pane in VB.NET

This Visual Basic .NET example shows how you can resize your custom form using Advanced Task Panes for Excel 2019 - 2000. To change the form size programmatically, you set the splitter to none. Otherwise, only the user can resize the task pane using the splitter.
Download sample plugin

User-defined functions

How to develop Excel Automation add-in

See how to create Excel Automation add-ins step-by-step in the Developer's Guide. The sample is written in VB.NET.
Download Automation add-in

How to develop XLL add-in

This sample project demonstrates how you can build an XLL addin in Visual Studio. You can find a detail description of this example in the Developer's Guide: How to create an XLL add-in.
Download XLL addin

Note. You can find plenty more HowTo examples on our technical blog. Be sure to check it out, we add new HowTo samples every week.

C# / .NET Code Samples
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

Visual Basic 2017 Code Samples Free

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.
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 2017 Code Samples Download

Visual Basic Code Snippets and Utilities

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.

Free Visual Basic Code Examples

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




broken image