Understanding VS.NET public and private assemblies
As you might have noticed, the Add Reference dialog in Visual Studio displays all the assemblies in the GAC, which brings up the following question: is there a way to
As you might have noticed, the Add Reference dialog in Visual Studio displays all the assemblies in the GAC, which brings up the following question: is there a way to
It often happens that you need to swap the operands of an assignment. For example, say that you have this set of assignments: p1.FirstName = m_FirstNamep1.LastName = m_LastName and later
Thanks to Visual Studio.NET macros, it is quite simple to automate the task of transforming a Public field into a Property with the same name that accesses a private field
When you’re working with the Visual Studio .NET code editor, typing a Try keyword plus the Enter key automatically creates the End Try statement. The following simple macro does something
Nothing beats ILDASM when it’s time to understand what your VB.NET or C# compiler actually emits. In this case you should prepare a desktop shortcut to ILDASM so that you
Persisting an array of data in a SQL Server DB is usually considered quite difficult. The common solution is to use a master detail table, but this leads to a
‘ Download the HTML source code at the specified URL’ You can optionally specify the username/password credentials,’ in case the page uses Basic Authentication’ Returns a null string if any
emember the movie, ‘Who is Killing the Great Chefs of Europe?‘ This B-film was released in the late 70’s and its plot parallels the current trend in IT today. No,
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
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
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
Enum FormatMemorySizeUnits BestGuess Bytes Kilobytes Megabytes GigabytesEnd Enum’ convert a number of bytes into Kbytes, Megabytes, or GigabytesFunction FormatMemorySize(ByVal value As Long, _ ByVal unit As FormatMemorySizeUnits, Optional ByVal decimalDigits
Enum FormatColumnAlignment Left Center RightEnd Enum’ format a value in a column of given width and with specified alignment’ using the specified pad character Function FormatValue(ByVal value As String, ByVal
t first glance, bringing peer-to-peer capabilities to mobile wireless devices may appear to impose a needless layer of complexity on the already complex task of providing remote access. This concept
SQL Server experts know that the DB engine never accesses directly the data pages on disk; rather it uses a special module called “Cache Manager”. It is possible, by using
ASP.NET doesn’t provide a built-in method for giving a control the input focus when the page loads. In fact, you can assign the TabIndex properties to controls on a page,
‘ A variant of the Split function, that offers the following improvements’ You can pass text qualifier as the third argument and optionally specify’ to treat consecutive occurrences of delimiters
Thanks to COM Interop, you can still use the Microsoft Script Control from VB.NET and any other .NET language. To do so, you must add a reference to the Microsoft
Unlike previous Visual Basic versions, under VB.NET you can’t use the Len function to calculate the length of a Structure or a class. However, it is easy to get this
The System.Collections.Specialized.BitVector32 structure can be used to store up to 32 boolean values, or a set of small integers that can take up to 32 consecutive bits. The BitVector32 is
.NET Boolean values require 4 bytes each, as opposed to the 2 byte taken under previous VB versions. When creating very large Boolean arrays this extra memory impacts negatively on
If you’re using a COM object through COM Interop you should be aware that the object isn’t released as soon as you set it to Nothing, as it happens with
I love the way VB Related Posts Understanding the Collection.removeIf MethodDiscovering the Reason for Poor Query PerformanceThis AI Make You RichIBM to Focus on Java, Node.js and SwiftHow to Change
This function computes the number of elements of any one-dimensional array?it sure beats ripping open the SAFEARRAY array descriptor. Use it when you Related Posts Get Current Language of SQL
An (undocumented) feature of VB Related Posts Accelerate Mobile Pages with AMPTypes of Indexes that Exist in SQLMicrosoft Has More Open Source Contributors Than Any Other OrganizationRapid Battery Fire Surge
In .NET, strings are immutable: When you pass them out to an API, you can Related Posts Virginia receives $1.5 billion for broadbandHow To Start A Painting Business In No
When you use components in your VB projects, sometimes it Related Posts Revolutionizing Healthcare with AI-Enhanced UpToDateVariable Arguments in JavaRun Node.js from Inside a .NET Application Using Edge.jsYou Should Use
Have you ever wanted to send more than one value for an associated name by passing values to a Servlet or JSP using a name-value pair? A simple way to
I Related Posts Boost Your Mobile Signal: Expert TechniquesBlackstone sells 3,000 UK homes to USSCycle Taskbar Icons in WindowsCompress and Decompress SQL FunctionsReverse a String in Python
Here Related Posts Healthcare Ransomware Crisis: OCR Enforces AccountabilityRemove a Constraint from a Table in Oracle SQLTop 5 Strategies to Combat Ad HijackingDate Settings Problem (Regional Settings)How To Connect AirPods