devxlogo

Tip Bank

Precise Division

Question: I have var1 and var2 both ints in a DB (only ints will be entered into var1, var2). But I want the result to show answer with decimal places:

Track Changes on a Form

Question: I have an HTML page that is broken up into two different frames. The left frame acts as a navigation tool. The right frame is the user interface, which

Determining Size of an INPUT Field

Question: How can I determine the maximum size of an INPUT field? Answer: Although you can certainly use JavaScript to find out the size of your user’s screen or the

Prevent Certain Files From Being Bookmarked

Question: How can I prevent certain files on my site from being bookmarked? Answer: There is no way to fully prevent people from bookmarking a certain URL on your site.

Numeric only TextField

Question: Is there is a way to create a text field that only accepts numeric input? Answer: There are probably a couple of a ways to go about doing this.

Creating a “Browse for Folder” Dialog Box

Question: How can I create a “browse” facility in my application&#151something which throws up a dialog box that allows the user to view folders and select one, as in Microsoft

Write concise code with the Choose function

The Choose function lets you often make more concise, albeit not faster, code, because it lets you replace a lengthy Select Case block. For example, the following code: Select Case