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.
Question: How do I create a bit-mask in VB? What I wish to do is “read” a binary number where each bit represents a different state for an electrical system.
Question: How can I use Access 7.0 databases within my Visual Basic 4.0 Professional Application?Everytime I try to open such a database, I always get error messages. Answer: I’m guessing
Question: This is the first time I visited your site, and its the best VB site I’ve been too! My question is, I’m writing a sql statement using Variables and
Question: I am in the process of building an application where I needa grid of small graphics (icons or BMPs) in an array situation.When the user clicks on one graphic
Question: I am writing a Visual Basic application that will require the user to enter a password. I have a inputbox set up for the user to enter the password.
Question: Is it possible to change the MDICHILD property atruntime? I will give birth to your children if you have an answer. Answer: Well, I have an answer, but you’re
Question: We are experiencing real speed problems with this platformon Windows 95. we are using Pentium 100 machineswith 16megs of ram. The project compiles to about 3megs. The main screens
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
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
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
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,
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
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
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
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
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
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
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
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
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.
Question: I am having a problem that I hope has not been answered herebefore. I am experiencing different results when I run a program than I do when I use
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
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
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
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
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
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,
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
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
Use this Boolean function to determine whether a URL is valid: public static bool checkUrl(string url) { bool rt = false; if (url.StartsWith(“www.”)) { url
n important principal of software design is that of “least privilege.” Basically, in any given layer of a program, you should grant only minimal access
MS messaging is one of the most popular means of communication means in this new digital age. While SMS is best suited for asynchronous communications,
uppose you and your swashbuckling buccaneer friends attack a Spanish galleon. When the smoke clears you find that you have emerged victorious but now you
You may need to use ORDER to force sequence numbers to be output in the order of request when you’re using them for timestamping. Most
n a previous article I showed you how to leverage Semantic Web technology to create a relatively sophisticated sommelier application that recommended wines based on
Before using savepoints in your application, you need to be sure that your RDBMS supports this facility. To do this, call the DatabaseMetaData.supportsSavepoints method, like
To save a URL as an MHT file (Microsoft “Multipurpose Internet Mail Extension HTML”?a Web Archive File), reference the Microsoft ActiveX Data Objects 2.7 and
ompared to classic ASP, ASP.NET makes a big leap forward in bringing you the advantages of object-oriented programming. However, some aspects like the SQL and
he semantic web, or what is often called Web 3.0, is a collection of technologies that associate meaning with individual data elements that are usually
ith the visual designer of Visual Studio 2005 it’s simple and straightforward to stir together a database connection, a SQL query, and a DataGridView control
he first article in this series showed how to create custom configuration sections in your ASP.NET application configuration file, while the second article demonstrated using