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: When I try to unload some forms with database controls on them while in the Form_Load event, VB tries to show the form again and issues the statement ‘Object
Question: I need a way to make a grid/table that would support headers and cell data spanning multiple rows as wellas multiple columns. Any ideas? Answer: VideoSoft has a product
Question: How do you limit the size of a help file definition window? When I program a pop-up window for a definition, its as big as the main Help window
Question: How can get the Text contained in a specified Cell in DBGrid? Answer: If you set the Row and Col properties first, you can then look at the “Text”
Question: I made a copy of a project for a new application. The problem is that each time a message box is displayed it has the old project name as
Question: I am looking for a way to determine the numberof bytes on a hard drive. Preferable I’d liketo know the total bytes on a drive and the bytes used
Question: It is easy to use control arrays to load controls inside a container. Now the problem is I do not know how many containers e.g., groups of option buttions,
Question: How do I center a form on the monitor regardless of monitor resolution? Answer: The Screen object contains the properties of the current display. In the Form_Load event, you
Question: My VB program produces as output, paper reports such as Income Statements and Balance Sheets. How do we get the numbers to print as they should, that is, dollars
Question: We have a big complete hospital system written in ClipperWe had looked at VO, but that does not seem to be the way to goWe will now concentrate on
Question: Can you suggest ways to delay sending keystrokes to the external application? I’ve tried inserting ‘For-Next’ loops of different durations but without success. Answer: Try a timer control. That
Question: VB reports the wrong number of records from an Access database with the RecordCount property. The same query to dBase files reports the correct number of records. What is
Question: I use version 4.0 and the school I go to uses version 3.0. I use windows 95 and they use windows 3.1. I know you can convert a 3.0
Question: I am new to Visual Basic and wanted to know how to write those nifty little help files. Answer: Help files are fairly easy to create. All you need
Question: Could you tell me how to clear a MaskEdit Field? Answer: To clear a masked edit field’s text, you first have to set the mask to “”, then set
Question: How do I get four simple .bmp pictures to animate?Could you maybe give me an example? What the picturesare is a green scare then it would turn into a
Question: I’m in the process of refining a program I wrote. What I need to do is find the user’s mail directory on a Network server. To do this, the
Question: My application makes use of different forms.I call forms by ‘hide’ the current form and ‘show 1’ to showthe next one.When I want to return to the previous form
Question: How do you save information?Say a made a game, and i wanted high scores, how do I want to do that? Answer: You could do it a number of
Question: I am trying to design a telephone directory and am unable to set the 2 dimensional arrayas an unknown number. How do I do this? Answer: The best way
Question: If i declare a new form as an object variable,Dim NewForm as Formset NewForm=form2NewForm.ShowOnce I have a one of those forms, how do refer to that particularinstance of the
Question: I have a form containing a Picture Box control.This control currently contains a bitmap i.e. the pictureproperty contains a filename. How do I change the picture property back to
Question: I am using Visual Basic as my front-end tool to read an oracle 7 database residing on an oracle network. I have completed the connection stage. I am using
Question: I have heard a vicious rumour going round that any programs I write in VB 3.0 using Access 2.0 will only be able to run on computers that have
Question: How do I issue a disk format command from myVB code? Do I simply shell to DOS? Answer: That’s what I would recommend. Format is a .COM file, so
Question: A control record value for next_order_num will contain the value “00009998” when you first get the control record file. Each time you write the next_order_num field back into the
Question: I define a user-defined type as follow..Type Complex Re As Double Im As DoubleEnd TypeI created a function like this…Function CompAdd( a As Complex, b As Complex ) As
Question: I have a number of objects, say shapes, which I have named s1, s2 , s3, s4 , s5.I would like to refer to the shapes fillcolor property witha
Question: We have 4 good size programs, and we are considering consolidated theminto 1 single program. Combined, these 4 programs would have about 60 forms and a total of 500
Question: I am feeling very sick and was wondering if you could help me. I am trying to access the Lan Manager 2.1 API and am having difficulty get return
Did you know you can determine if a number is prime by calling an XQuery query? Here’s the code: <prime_numbers> { for $a in (1
rior to SQL Server 2005, Microsoft’s SQL Distributed Management Objects (SQL-DMO) offered the most efficient way to manage SQL Server programmatically. SQL-DMO supported a COM-based
any developers have adopted AJAX as a way to develop rich web applications that are almost as interactive and responsive as desktop applications. AJAX works
The AWTEventListener class’ sole purpose is to view events. All you have to do is to implement the eventDispatched method. The following application demonstrates how:
While converting to Excel 2007, I had to update the column-number-to-string code in my program to handle columns of 703 and above (AAA). I found
Checking for Daylight Savings Time is one of the most common date checks developers perform. .NET provides an easy method to do this. In .NET
f you have ever dreamed of being a game developer (honestly, who among us has not toyed with the idea at least a little?), this
echnologies such as the xUnit framework, combined with Maven, BuildBot, or CruiseControl, enable unit testing under continuous integration, which gives developer productivity a huge boost.
pple’s iPhone has taken the nation by storm. An alleged half million moved from the shelves into people’s pockets in the first weekend it went
hope you’ve been following the growing interest in semantic technology and reading the articles on DevX’s Semantic Zone, and feel ready to try out semantic
hen you want to build a simple form—something with a set of fields and perhaps a table of repeating fields—it’s easy to pick up InfoPath
ource code reviews and inspections have long been considered economical methods for rooting out functional and design flaws in code even before applications make their