Integers: signed and unsigned
Question: I am reading Sams’s Learn C++ in 21 Days, and this sentence doesn’t make sense to me: “Because you have the same number of bytes for both signed and
Question: I am reading Sams’s Learn C++ in 21 Days, and this sentence doesn’t make sense to me: “Because you have the same number of bytes for both signed and
Question: Is it possible in SQL 6.5 to write a stored procedure that has an ARRAY as an input parameter? I have done this with Oracle using Oracle Objects for
Question: How can I drop a column from a table? Is there any way to do it without recreating the table? The table in question has several dependencies that I
Question: I am having trouble converting the info in a void pointer to usable information. I have a method that returns a void pointer (void*), and in one instance (the
Question: We’d like to find a table or listing of all the character sets available in SQL Server 6.5. Is there any way to get this from the Charset files
Question: I am trying to do the SQL statements on the client side. Because I have declare int in the database, I need to convert the column before I can
Question: Is there any way to print all the source code in an application or library? Answer: You can use a product called PowerDoc to achieve this, or you could
Question: I know that there are several ways to Web-enable applications in PB. I am looking for the most cost-efficient and least time-consuming solution. Any ideas? Answer: This is a
Question: How can I insert rows into a dropdown datawindow that is a column in a datawindow im my report? Answer: You need to use the following code to access
Question: Using Pb 6.5 and Windows 95, how can I tell if Word is running in the background? Answer: This is a difficult answer depending on if you know what
Question: I have a primary key (client id) of five characters which contains: character # 1: A-Z character # 2: 0-9 character # 3: 1-9 character # 4: blank or
Question: Our business expects to migrate to a SQL Server base. We have two servers—the platform is Windows 95/Novell 4.1. Our manufacturing vendor application is upgrading, and it requires a
Question: Is there a method of encrypting the body of an e-mail form using JavaScript or Java without access to a secure server or a cgi-bin? I want to use
QL Server version 7 is an exciting new product. And although it is called “version 7,” so much of it has changed that I consider it a new product rather
You can detect how many elements are currently stored in a container by calling the member function size(): vector vi; //create a vector of int’sfor (int i = o; i
C++ defines a set of generic algorithms such as sort and find. However, the corresponding C algorithms, qsort and bsearch, are still useful in C++ programs for at least three
When building a TextBox or Label UserControl, the Caption or Text property sometimes doesn’t work well with the standard controls, as the control’s appearance doesn’t change when you type the
A client needed the numbers to show up in certain data files in the “x100” format to accommodate interchanging data with a legacy system. That is, if the number is
In VB5, you can assign a default value to a typed optional argument. But you must then use the IsMissing function carefully, because when the optional argument is typed, IsMissing
Question: Is there any way to control the redrawing/repainting of the open window/document? Specifically, I have to change page elements (labels, cursor style) before calling some time intensive task. I
Question: Is there any way (using an HTML tag or a script) to force a page break at a certain point in an HTML document when it is being printed?
In Java, you can use either a Vector or a one-dimensional array to store an ordered collection of objects. The difference between the two types of storage is that the
An exception specification is not considered part of the type of a function. Therefore, you cannot declare two distinct functions that differ only in their exception specification: void f(int) throw
Redirecting based on browser type is easy. If you use a JavaScript function to check navigator.userAgent for the string Related Posts A Flurry of DevOps, Agile Software Development AnnouncementsBlack Duck
When testing properties and methods of an object that you’re writing, you don’t have to run a test project or form to test it. Instead, open the Immediate window and
In the latest tips supplement [“101 Tech Tips for VB Developers,” Supplement to the February 1998 issue of VBPJ], I noticed a tip titled “Determine Next/Previous Weekday.” This code is
VB doesn’t display the Min and Max buttons in a form’s caption area when you specify BorderStyle Fixed Dialog. If you set the MinButton and MaxButton properties on the form
This VBA Microsoft Word routine purges a document when it’s opened after a predefined expiration date. I’ve only tested this macro with Word 97: Sub Purge() Dim ExpirationDate As Date
Unlike other forms, MDI forms don’t have MinButton and MaxButton properties to enable or disable the form’s Minimize and Maximize buttons. If you add this code to an MDI parent
Although Java borrows a lot of concepts and syntax from C++, it also leaves out some of C++’s main features to meet its goal of simplicity. For example, Java excluded