The Latest

DevX

Returning Data Structures from Functions

Question: I’m working with a CCS compiler for the PIC16F877, so the rules may be different, but I’ve created my own data structure (named MERIT_long) to support >16bit values (CCS’s

DevX

Using IFRAME Across Browsers

Question: I want to make my site cross-browser compatible, but I rely on a lot of iframes in the IE version. According to the original HTML 4 specification, it should

DevX

Sub Procedures or Functions in Visual Basic

Question: Is it possible to have subprocedures or subfunctions in Visual Basic?For example, in COM components we find properties being accessed using the following: myObject.Column(“myColumn”).Hide = True In this Column

DevX

Returning Multiple Recordsets to ASP

Question: What are my options when I need to send multiple recordsets back to ASP from a single call? Which is the best for performance? Answer: You can return multiple

DevX

Bad Primary Chunk

Question: I am having problem on restarting Informix after one of the chunks has been marked as DOWN. How do I change the status back to ONLINE? Answer: Depending on

DevX

How to Make Text Wrap in HTML Forms

One common problem with typing into Web forms is dealing with input fields and having your words go right off the right edge of the box into infinity as you

DevX

Quickly Generate a GUID Using SQL Server

You can generate a GUID using SQL Server. All you need to do is open SQL Server Query Analyzer and execute following T-SQL statement: SELECT newid() This statement generates a

DevX

Why Obtain Recordset From Middle-Tier?

Question: I read the article ‘Obtaining Recordset From Middle-Tier COM Component’ and now am wondering why one would want to do this. As I understand it, this is only a

DevX

MTS running components on Web server

Question: We have ASP pages on a Web server with VB6 components that produce the majority of the HTML. These components run on the same machine as the the Web

DevX

SQL query results error

Question: To show my SQL query results in paged fashion, I used your article as reference. This error message appeared: ADODB.Recordset error ‘800a0cb3’ The operation requested by the application is

DevX

ASP results display in IE, but not Netscape

Question: I have a website that uses ASP to access a database and display information in a table format based on information the user selects on the screen. My ASP

DevX

Page Flashing and Reloads

Question: I know some of you have had this problem: a page (or especially a frameset) loads, then it quickly flashes off and reloads itself, but then ignores the scripts

DevX

Returning Recordsets From COM Components

Question: I have heard from some that it is a bad idea to return recordsets from COM components and that you should populate a variant array and send that back

DevX

A Quick Way to Read Database Contents in ASP

If you develop a complex Web application, you may find it a daunting task to keep track of the vast quantities of data on multiple domains in databases that quickly

DevX

Image Pop-Ups

Question: I want to have an image pop up, like a tool tip, when I hover over specific text. Is there any way to do this with DHTML or Javascript?

DevX

Remote NT Web Administration

Question: I want to provide the facility to add/delete/modify Windows NT users from a remote browser. However, I don’t know how to do it. Can you kindly help? Answer: This

DevX

Apostrophe causes syntax error in SQL query

Question: I have a problem with the add and update query in SQL. I am trying to update the database with a string which contains one or more apostrophes. SQL

DevX

Creating a For/Next Loop

Question: I tried using the replace function as shown below, but I receive an error on using “Next i”. Function formatOutput( theText )Dim iDim sNewStringFor i = 1 to Len(theText)

DevX

Designing a Pull-down Menu Over an Object

Question: Is it possible to design a pull down menu that will show over an object? Every way that I’ve tried still hides the part of the menu behind the

DevX

Calling a Nested Procedure in ASP

Question: Can we call a nested procedure in ASP? Answer: Nope. This isn’t supported in any Visual Basic-variant language. Having done nested procedures before (Pascal, I think), I never saw

DevX

Filtering Recordset Data

Question: After retrieving data into a recordset object, I want to filter this data. I tried using the objRs.filter method of ADO, but it doesn’t seem to work. This is

DevX

Determine How Fast Your ASP Scripts Really Are

Often when you’re developing script, you may want to determinejust how long the code takes to run. To do so, take advantage ofASP’s built-in Timer function. As you may know,

DevX

Using Active Server Pages

Question: How do I use Active Server Pages to create WAP pages? Answer: By setting the MIME type, you can use ASP to write WML. This command accomplishes this: Response.ContentType