The Error Lines Add-in
This is a simple addin that allows the user to add/remove err line numbers in their code and use them in an compiled application through the ERL function. With this
This is a simple addin that allows the user to add/remove err line numbers in their code and use them in an compiled application through the ERL function. With this
‘————————————————-‘ LINKED LIST class module” This class implements a linked list structure, where you can store’ values (appending them after the last element or inserting them at’ given indexes), remove
‘ ————————————————————————‘ The CBITARRAY class” simiulates an array of Boolean values’ saves memory by packing one element in one bit” IMPORTANT: you make make ITEM the default member for this
‘————————————————–” The CQUEUE class’ Dim qu As New CQueue” ‘ enqueue to items to the queue’ qu.Enqueue 1234′ qu.Enqueue 5678′ ‘ display number of elements in the queue’ Debug.Print “Count
‘————————————————–” The CSTACK class” Usage:’ Dim st As New CStack” ‘ push two values on the stack’ st.Push 1234′ st.Push 4567′ ‘ display number of elements in the stack’ Debug.Print
‘———————————————-‘ HASHTABLE class module” This class implements a hashtable, a structure that offers many’ of the features of a collectior or dictionary, and is often’ even faster than the built-in
When using a variable as a loop index, it is common to use single-letter variable names. This is a bad practice, because it can make it difficult to find all
Creating controls in Palm OS is very useful. It gives vital power to the programmer in creating applications. There are various controls in Palm OS like buttons, check boxes, radio
There are two ways in SQL Server to execute a T-SQL statement that has been dynamically built. The most common one is using EXECUTE to run it: EXECUTE @sqlstatement In
Selecting the top N rows in a table is no problem in SQL Server, but how to select the 2N to 3N rows is not as clear. Using the following
Here is sample code: import java.security.SecureRandom;public class UniqueNumberGenerator{ static final SecureRandom random = new SecureRandom(); static final StringBuffer buffer = new StringBuffer(30); static { random.nextInt(); } public static String getNextUID()
It seems common knowledge that I/O streams and JDBC database connections are resources that need to be released as soon as they are no longer needed. Not so common knowledge
Many books about JDBC and most of JDBC-related sample code floating around seems to assume that JDBC is used directly, meaning that database connection is established by the DriverManager, and
If you’re like me, and sometimes need to modify Active Directory data from an ASP page where the user is either anonymous, or doesn’t have admin privileges, you need a
The equals() method in the String class is commonly used to compare two strings for equality. However, this method returns true only if the argument is not null and is
This is a fast and versatile function for loading comboboxes.I have not included a ComboBox.Clear, to make it possible to load multiple recordsets to the combobox. This makes it more
One of the many functional methods of rolling back transaction(s) in a VB application is as follows: 1) In the procedure containing the Begintrans/CommitTrans methods, declare a Boolean Procedural variable
One of the best ways to improve performance in a distributed application is to avoid sending unchanged data back to the server for updating. I use the following strategy to
Here is a function for extracting the ID3 tag from a MP3 file. Add the following lines of code into a Module: Public Type ID3Data Tag As String * 3
Double buffering is a process of doing all the drawing first in the memory and then displaying the entire screen at once. It is called double buffering because two drawing
Have you ever gotten a nasty error when using Related Posts Thrilling Surge in Luxury EV SalesWhat Happened to Shiba Inu?HPE, Micro Focus Sign $8.8 Billion Software Spin Off/MergerMicrosoft Buys
This is a bit tricky. You can Related Posts How To Facetime AndroidHow to Use Web Scraping’s Power for SuccessLightweight OWIN OAuth2.0 Authorization Framework with IdentityServer3How to Check for Vulnerabilities
Suppose you have some C++ code that you’d like to convert to the Java programming language. While doing the conversion, you come across the following code: void getStats(int data[], int&
The performance of Related Posts Actor Justin Long promotes Qualcomm laptopsContainer Wars: Docker vs. RktGold prices dip amid assertive fiscal commentsSurvey Highlights Challenges in Enterprise Mobile DevelopmentTop Web Development Companies
When using a timer control, it is important to prevent re-entry.This occurs when the processing in the _Timer event takes long enough to still be executing when the next _Timer
You can pass Object parameters to a sub ByVal just as you pass other parameters. But what is the difference between passing Objects ByVal and ByRef, since an object variable
Writing basic classes needs no more definition from the programmer than just declaring a few member functions and variables. But, what if you needed to design a class that was
Use the following code: Public Function RemoveChar(ByVal str As String, ByVal strChar As String) As String ‘ Function: RemoveChar ‘ ‘ Desc: Extracting requested character from given string. Return value
An easy way to debug ActiveX EXE Components is to run ActiveX EXE project in the IDE VB environment and then run your client application or client project. But before
You can use #ifdef & #endif to comment out a block of code that already has multi-line comments.For example: #ifdef COMMENTThis #ifdef removes all nested Code & Comments Code…/* Comments…*/