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

Sharing Text Between Applications

Question: How can I get text selected in an application, say notepad into a vb text box in my application. Then, what about the reverse: if i have text in

Editing Win95 Registry

Question: Is there any way of editing the Win95 Registry other than exporting it to a text file?. If not, how can I quickly change the registry ie. When exported

Spell checker

Question: Is there a shareware or vbx that can be implemented to check the spelling of a text box field? Answer: If you know the machine you are running your

Registering

Question: When I try to cutomize controls, I got a error message says “Object Serve Not Correctly Registered”. Following my friend’s opinion, I used the regocx32.exe in c:program filesmicrosoft visual

Is there a Mac-based modeler that outputs VRML?

Question: Is there a Mac-based modeler that outputs VRML? Answer: Yes, ModelShop from Electric Cafe can output VRML 1.0 from its version2.5 software (a VRML 2.0 version is coming soon).

Creating Office 97 Toolbars

Question: Is it possible to create toolbars like such inOffice 97 in Visual Basic 4/5 ? Answer: Take a look at the In Depth section at Ask the VB Pro.

Visual Basic Fonts

Question: I wrote an application in VB4.0 (16 bit) anddistributed it to a few friends. I then madesome changes to the Font property on a few of theforms and make

Using Control Collections

Question: I created a collection of textbox controls within the same form, using the usual copy option from the edit menu. This collection seems Ok.I try to set properties for

How to Send to the Printer

Question: I am very new to Visual Basic and have just run this simple program:For x = 1 to 10Print xNext xEndThis produces a list of numbers from 1 to

Cascading Menu

Question: I am a new commer to VB and have been wondering if it is possible to have cascading pull down menus like the ones I see on the Win95’s

Toolbar image list

Question: I am trying to setup a toolbar using the MS windows common controls. How do you initialize the image list? The toolbar works but I cant get a image

Why Do I Need OS/2?

Question: I have just started working with an application developed in VB that my co-workers say can only be run in the Windows environment through OS/2. Supposedly the program uses

Updating Many Columns

Question: I’m looking for a syntax that can be used to update several columns in an SQLtable. Although I’ve found a number of topics related to ‘update’, they allseem to

What is normalization?

Question: Will you please help me in locating a definition of the term “normalizeddatabase”? Answer: Normalization of relational databases is the process of ensuring that thedatabase does not contain redundant

Length of Table and Column Descriptors

Question: What is the length of a table name or a column name?I know that for some engines it is 18 characters.Is this a SQL limitation or engine limitation ?

WHERE (multiple values)

Question: I have a form in which the user can select multiple values of “Manufacturer” from a drop-down list. The query should then select from the database all records in

Can I filter DDDW values out of itself?

Question: I have a tabular DataWindow with a DDDW. Can I filter the dddw to include only valuesthat have NOT already been selected ? Answer: There is a short, a

QueryWhere()

Question: Can I use more than one criteria in the QueryWhere(“col1=’val1′”&”col2=’val2′) to refresha bound grid? I would really appreciate an answer or a solution; we are on the border line

Definition/Summary of ISQL

Question: I would appreciate an introductory definition/summary of ISQL (Interactive SQL?). Answer: As you’ve guessed, ISQL is an acronym for Interactive SQL. In general,ISQL describes any tool or interface that

Creating Auto-Incrementing Columns

Question: How can I make a column that will automatically increment by one each timea new row is inserted into the table? Answer: The solution will depend upon the database

Converting Legacy Data

Question: What are the advantages of converting a PC-based Cobol application to a P- based relational database? Answer: The most compelling advantage of converting legacy data into a relationaldatabase management

How to determine current filter/sort associated with DataWindow

Question: How can I determine the current filter and/or sortassociated with a DataWindow?For example:s_old_filter = dw_1.WhatsTheCurrentFilter()dw_1.SetFilter(“”)dw_1.Filter()// Do somethingdw_1.SetFilter(s_old_filter)dw_1.Filter() Answer: You can use the Describe function:ls_OldFilter = dw_1.Describe( “datawindow.table.filter” )

Phonetic Searches

Question: How can I perform a phonetic search in SQL? I need to search a database ofnames, but exact matches won’t work. Using phonetic matching, I could finda name registered

Dynamic UserObject in Tab Control

Question: I’m looking for a way to put a dynamic UserObject in a Tab Control. The PowerBuilder documentation mentions a technique to put it in a window, but nothing for

Adding a Column at a Specific Position

Question: How can I add a column to a table (not just at the end of the table)? For example: create table test(first_col char(20),second_col char(20)); I want to alter table