Tip Bank

DevX - Software Development Resource

Accessing a Workstation in a Domain

Question: I would like to know how to access a workstation which is configured and logged on to an NT domain, from another PC in a workgroup environment? Most of

DevX - Software Development Resource

Reference an External JavaScript File

Question: How do you reference an external JavaScript file from an HTML page? Answer: You can reference an external JavaScript file from your HTML page similar to the way you’d

DevX - Software Development Resource

Using NetAddUsers

Question: I created a program to Add User Account to my NT Server. It reads from a text file which provides the user info. Everything works fine, except that the

DevX - Software Development Resource

Rotate an Image

Question: I’m creating a drag and drop program to design kitchens. How can I rotate a single picture using JavaScript? Answer: You can’t rotate an image using JavaScript. JavaScript doesn’t

DevX - Software Development Resource

Concatenate Variables Containing Numbers

Question: I need to know how to concatenate variables containing numbers, that is, string them together one after the other. Every method I know simply adds the various numbers together

DevX - Software Development Resource

Insert Persistent Breakpoints

VB won’t let you save a breakpoint when you have a lengthy debugging session. Use Debug.Assert to create persistent breakpoints that trigger when you are in the environment, but not

DevX - Software Development Resource

Print the Frame From JavaScript

You can print the entire document from the JavaScript using Parent.Print() function. Similarly, to print a frame from JavaScript, you can use parent.framename.print() in the code. For example, this code