devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Converting LAYER to DIV tags

Question: I am trying to convert all the LAYER tags to DIV tags. In my code, I am using LAYER.SRC to execute a sever-side macro that returns an HTML document,

Scan HTML Code for Data Extraction

Question: Is there a way (using VB) to load a Web page (without actually showing the page through a browser or otherwise) and then extract the HTML code for use

DHTML & Search Engines

Question: Can you provide any insight on whether spider-based search engines, like AltaVista and Inktomi, can index DHTML text? Answer: The phrase “DHTML text” can mean different things to different

Passing Recordset Object Between ASP Pages

Question: I have an ASP called ‘default.asp’ that creates a recordset object called ‘objRS’ via ODBC. When a certain set of conditions is met, I linked it to another ASP

Select All Text

Question: How do you automatically select all text in a TextBox when it receives the focus? Answer: For a text box named Text1 you can use the following code: Private

Switching a Statement with a Char Array

Question: I can’t seem to get the switch statement to work with chars.For example: #include char answer[2];void main(){ cout > answer; switch(answer) { case ‘a’ : cout

VB & Access

Question: I need runtime code to find all files with *.mdb file type(Access databases) just like the Find subMenu item does in the Start Menu on the desktop. I want

Balloon Labels

Question: How you to make balloon labels show when the user moves the mouse over an object? Answer: In VB6, most objects have a ToolTipText property that gives you that

Memory Deallocation

Question: I have a byte pointer pointing to a message buffer. I want to know how can I delete just the first two bytes of this message and pass on

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

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

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

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

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

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

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

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

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

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

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

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

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

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