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 you use the Common Dialog Box help. When I set all of the parameters and tried it, it didn’t display my helpfile. Answer: Did you set the
Question: I put a drive box, a directory list box, and a file list box on the form, with the intention of being able to select an *.ico file from
Question: I have a problem with writing text in Visual Basic. I would like to enter several hundred pages of text into my program, Any ideas of how to do
Question: In working with VB4 I find that if I double click on a project file (.mak or .vbj) the system always starts upVB4 in 16bit mode. I am wondering
Question: In my program from a combo list one can select an item (that happens to be a table in an MDB file)so that the DATA1.recordsource matches the item selected
Question: Is it possible to add elements to a control array of an object (ex. SSPanel) in a module that is notthe form’s module. My goal is to be able
Question: I have a real problem that in windows 95 when a dos shell is finished it does not close. I use these dos shells when interfacing to old equipment
Question: Are there common dialogs in Win95 like file open/save? I wish to put in my apps the ability to use long filenames which Win95 supports. Answer: Here is the
Question: The number of Tabs are determined at run time. Control Array of text boxes are established on Tab 0 at design time. Each tab is to contain the same
Question: Is there a way to make VB skip that annoying new project it displays on startup. I work on existing projects 80%+ of the time. It would be even
Question: When using the FindFirst method I seem to be able to locate only records which are defined as strings using a variable in the search pattern. When I am
Question: At apparently random times, some controls disappear frommy form. Not all of the controls disappear. Minimizingand then restoring the form, as well as clicking onthe ‘invisible’ controls, brings them
Question: I’m trying to develop a dynamic query handler within VB that will prompt users for parameters as set up in the parameter list in MS Access (v1.1). I wish
Question: I found a vbx which allows me to place icons or bitmapson a command button. How can I store these images in onefile and read them in like an
Question: Do you know if there is a Win API or Winsock call that will tell me when I’ve connected/disconnected to myinternet provider. Answer: What you might want to do
Question: I want to delete and entire directory tree. I do not knowhow big the directory is, how many sub-dirs that it has, etc.I am not using a form and
Question: I am trying to use GetPrivateProfileString to access INI entries in a INI file using Visual Basic 4.0. Whenever I try to run my program it produces the error
Question: What is the different between using Me and FormActualName when accessing a form’s property or to pass the FRM to a subprogram.Is it ok to use ME all the
Question: I’m looking for help on using the VB 3.0 functions IRR, MIRR and NPV. When I try to use any of them I get Reference to undefined function or
Question: Can I write a module in Ansi C language and compile it together with a VB program? If cannot, how can I combine these two modules? Answer: You can’t
Question: I am designing a database as a correspondance register.Each bit of inwards and outwards mail is given a unique number. At present I have set up a counter field
Question: I am using VB as a front-end to an Access 2.0 database. Some of the fields in my Access db are of type currency. However, VB only displays them
Question: Is there a way within VB to flush information sent to a file? Normally, information is buffered and not sentto the file until the buffer size is exceeded or
Question: How do I turn a single pc VB3 application using MS Access2 into an app that’s capable of running on a network? Answer: Really, the basic thing you have
Question: I would like to be able to determine what resolution is seton a particular system so that my application opens up toa correct scale. Answer: Look at the Screen
Question: Not knowing that my hard disk was almost full, I tried to load a VB MAK file that I had created in VB3. When I did, a message said
Question: We want to use multiple VB forms with independent controls bound to independent data controls accessinga single table.In Vb 3.0, we are not able to save the controls dataof
Question: Can I use 16 bit .DLLs in VB 4.0 32 bit? Answer: No, you can’t. In order to access it, you’ll either have to recompile the DLL (and possibly
Question: Is there a way to keep VB4 from dimming the text in disabled controls boxes (i.e. Text and Labelcontrols)? I would Like to use my own Colors forText areas
Question: I have a series of text boxes, any subset of which can be used for input of numerical data, followed by a command box to “compute” from that input
The System.Windows.Form class’s UseWaitCursor property sets the window’s cursor to an hourglass. It is a Boolean property. The Application class also contains a UseWaitCursor property,
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