devxlogo

The Latest

ClipboardGetText – Retrieving the text in the clipboard

‘ Get the text in the clipboardFunction ClipboardGetText() As String Return CStr(Clipboard.GetDataObject().GetData(DataFormats.Text))End Function Related Posts Apple watchOS 11 discontinues support for three modelsHow AI is Shaping Digital TransformationOracle Unveils Project

Take Charge and Initialize Your Own Data

nlike most other programming languages, C++ by default doesn’t initialize automatic variables. Consequently, uninitialized auto variables and aggregates have an indeterminate value. Due to insufficient familiarity with the correct syntax

VB 2 HTML ActiveX converter

This component is intended to take valid Visual Basic source code an convert it to properly colorized HTML with procedure seperators. The input can either be a file of any

Well-structured XML Goes Cosmopolitan

t is sometimes challenging to create and organize XML documents. This is even more true if the document content needs to be presented in several different languages. It creates unwanted

General-purpose Water Dissolves XML Complexity

XML is not all it could be. Despite all its promise for free data exchange among disparate applications, Web application developers still contend with XML’s shortcomings: it’s too verbose, it’s

Mozilla Firefox Raises the Browser Bar

or the past several years, browser development for Windows has been more or less stalled. Sure, there have been under-the-hood improvements; but the basic browsing feature set has remained nearly

Dynamically Change the Year in Your Source Code

This little bit of code is great for doing stuff like “COPYRIGHT 1998?(present year).” It saves Webmasters from having to cull through their source code looking for the year (every

Select Areas Within a Graphics Window

Graphics applications sometimes require users to select a rectangular region of a picture or drawing visually. You need to provide a resizing box manipulated by the pointer at run time

Automate GAC and COM operations

This add-in for VS.NET 2003 automatically:  1) Registers the assembly in the GAC right after it has been built.  2) Exports types to COM: produces the type library (and registers

Adding external commands to VS.NET’s Tools menu

The VS.NET’s Tools menu can be customized with your own commands, to launch external programs. For example, you may want to have a command that opens the current project’s folder

Creating custom help filters

If you open the VS.NET documentation (either from within the IDE or by clicking the respective icon under the Start | Programs| Microsoft Visual Studio 2003 folder) you can use

Get the Drive Serial Number

You can get the serial number of your hard drive, floppy disk, or CD-ROM easily without any additional ActiveX component. First, start a VB project, add a standard module, and