The Latest

DevX - Software Development Resource

Viewing Available Properties

Question: I am new to VB programming and have noticed thatthere are a lot of properties for an item that are not listedin the property box (e.g. clear,delete item,add item,select,etc)Is

DevX - Software Development Resource

Using Access 7.0/95 with VB 3.0

Question: I am working on a system with Windows ’95 and Office for Windows ’95. This includes Access 7.0. How can I get VB 3.0 to recognize databases I have

DevX - Software Development Resource

Filling a Structure Automatically

Question: After a structure is defined witha “TYPE” declaration, do you know of a way to directly fillthe structure with data, rather than individually assigingthe elements, or reading from a

DevX - Software Development Resource

Getting CD Track Information

Question: I would like to read audio CD information directly from VB.At this point I have no idea how it is done, but as I want to writea database program,

DevX - Software Development Resource

Changing Picture Colors in File List Box

Question: How can I make the little folders yellow and the little drives gray in the File List Box? I have tried background color, this just makes the background of

DevX - Software Development Resource

Parsing Calculations Automatically

Question: A VB form displays select financial numbers from an Access DB. The user can build a calculation. If the arithmetic operation is stored as text in the DB, how

DevX - Software Development Resource

Equivalent to fork()?

Question: Is there any command in visual basic which is similar to fork command in c? Answer: It’s not exactly the same, but the Shell statement will allow you to

DevX - Software Development Resource

Benefits of Using Control Arrays

Question: Is there an advantage to using a control array instead of using x number of labels, textboxes, etc ? Answer: There are several advantages to using control arrays. First

DevX - Software Development Resource

Using JOIN Clauses

Question: I’m working with Visual Basic and Access 1.1. Currently my program uses two tables (tblrep and tblsales). The common field being tblrep.id = tblsales.id. The first form of the

DevX - Software Development Resource

Writing Data to Disk

Question: I have written a testing program that writes results to a grid.How do I write the grid to disk so that changes can be addedfrom testing session to testing

DevX - Software Development Resource

Using Multiple Groups of Option Buttons

Question: I need to place multiple option buttons on a form. I alsoneed to be able to have two buttons selected at all times.I can do this with multiple frame

DevX - Software Development Resource

Retrieving Binary Objects

Question: I am using VB together with Access. What I want to do is to include photo into my form. In Access table, I declare thisfield as an OLE field

DevX - Software Development Resource

Searching Numerical Fields

Question: What it’s the correct SQl Statement to search an access database by a numeric field? I keep getting an invalid type error when I try to run the application.

DevX - Software Development Resource

Manipulating Strings

Question: I don’t know how to access individual characters in a string.ie. accessing single elements in an array of characters.Each time I try I keep getting Type mismatch. Answer: You

DevX - Software Development Resource

Command Line Switches

Question: I have a formless VB exe program that creates VB modules(.bas) and saves them to disk.Is there a way of having my program start VB passing my module name

DevX - Software Development Resource

Entering Data into Sheridan SSDataGrid

Question: I have a copy of data widgets from sheridan sware and am using the SSDataGrid provided. All i want to do is insert data in the grid at a

DevX - Software Development Resource

Getting Application’s hWnd

Question: Answer: Related Posts Cisco to cut 7% of workforceUsing SendKeys in C#AVG Internet Security: Affordable, Comprehensive ProtectionHow To Clear App Cache On AndroidUsing ENUM to Pre-define Column Values in

DevX - Software Development Resource

White vs. Grey Background in Panel Control

Question: I’m using the 3D Panel in my application. When I setits background coulor to light grey, it looks fine onmy workstation but it’s white in any other workstations.That’s true

DevX - Software Development Resource

Setting Cursor to End

Question: Is there a way to put the cursor at the end of the text in a text box? I use .SetFocus to put the cursor in a multi-line text

DevX - Software Development Resource

Getting Procedure Location Name

Question: Can I get the name of the procedure that an error has occurred in?For example, I would like to send my error to a form that containsthe error number,

DevX - Software Development Resource

Calling Stored Procedures

Question: Can one call a stored procedure or function in oracle 7through odbc from visual basic? This might be a questionfor an oracle user group, so if you know where

DevX - Software Development Resource

Aligning Columns in a List Box

Question: I have a List with names and addresses from a database.I want to have the list as shown below.Mr. Smith Street 10Mr. Andersson Street 25I’ve tried aligning them by

DevX - Software Development Resource

Using Global Variables

Question: I have visual basic 2.0 Hopefully not for long. If I make a button that does a funtion like this. n = n + 1 print nit gives me

DevX - Software Development Resource

Automatically Converting to Uppercase

Question: I’m trying to use the KeyPress event to automatically uppercase what the user types. How do I do it? Answer: Put the following code into the KeyPress event of

DevX - Software Development Resource

Method Comparison

Question: What is the best method to use for updating an Access 2 database from Visual Basic? I am a bit confused aboutthe methods presented such as 1) VB Data

DevX - Software Development Resource

Searching Date Fields

Question: In procedure, I used statement like this:ds.FindFirst “fulldate = ’95-10-31′” ‘ds is DynaSet variablebut always it fails, and ds.NoMatch Value is True(-1).What’s wrong with this? Please help me. Answer:

DevX - Software Development Resource

Changing File Extension

Question: not having programmed in any of the BASIC languages, I am wondering if Visual Basic’s string variable is in anyway similar to what a string variable is in C

DevX - Software Development Resource

Checking for File Extension

Question: What’s wrong with this code :if file1.filename=”*.bmp” then picture1.LoadPicture(file1.filename) Answer: I’m guessing you’re trying to check the selected filename to see if it ends in .BMP, right? The problem

DevX - Software Development Resource

Replacing OpenTable

Question: We have a Large VB application (code wise) and we are movingthe data from MS access to Sybase using the ODBC driver.Now, after we presented the project’s time tale