devxlogo

Tip Bank

DevX - Software Development Resource

Difference between C++ and HTML

Question: What are the main differences between C++ and HTML? If I can use HTML, how hard will it be for me to use C++? Answer: For the most part,

DevX - Software Development Resource

Right shift

Question: Can you tell me how to write a program that right-shifts an integer variable 4 bits? The program should print the integer in bits before and after the shift

DevX - Software Development Resource

Selecting and Moving Parts of a String

Question: I have two TField400s. The first TField400 contains the value “12345678” and other TField400 contains the value “11111111”. I want to move the “5678” from the first TField400 and

DevX - Software Development Resource

16/32 Bit Strings

Question: Is there a difference in the way that strings are passed between an application written in Delphi 1.0 and a DLL and between an application written in Delphi 3.0

DevX - Software Development Resource

Single Quote Marks in a SQL Query

Question: I have built several pages that use VBScript to pull information from a Microsoft Access database. My problem is that if a user tries to use a single quote

DevX - Software Development Resource

Determining if a ToElement Exists

Question: In a VBScript function I assign the window.event.ToElement to an object for some functionality. The problem is that if the mouse is moved outside of the browser window, the