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: My problem arises due to thehelp file in ActiveX describing a control called ‘InternetExplorer’, howeverthe control box in ActiveX does not contain that object. Have I missed something that
Question: I’m having problems populating both types of list boxes with data. The help file say to use the AddItembut doesn’t give any examples. Answer: Assuming your combo box/list box
Question: Where can I find an example on using VBScriptfor a non-internet, non-html application. MS saysVBScript can also be used as a general purposelanguage for any application. I look for
Question: Is there a way to share VBScript code between different Web pages? Answer: The best way to do this is to use a feature that may or may not
Question: I want to develop a word-processor with VB 4.0 and the RichTextBox. I’ve got all the functions like bold, italic etc. but I’m missing a function to count the
Question: Is there any way I can have a % chance in random events. (say you click on a button and you have a 30% chance of it doing one
Question: I know VB insists on a _constant_ for the array subscript. Has anyone found a way around this? I would like to set an array length equal to the
Question: My question is that I’m trying to put a command buttons in a picture box on MDI form (it’s a text editor). But it always keeps on givin’ me
Question: Both the ProgressBar and the StatusBar appear to be welcome additions to the VB controls set. But, while I have had to create each of the various built-in StatusBar
Question: I’m using VB 3.0 to work with databases in the Jet 2.0 format. I expect it will be necessary to add new fields to the database sometime in the
Question: I want to present screens of text in an application. I plan to use label controls and would like to cut and paste the text from my word processor
Question: I’m trying to write an application that loads URLs into the user’s web browser, but it’s based on the shell function and fires up a second Netscape window when
Question: How can I call another Form’s subroutine? Answer: Under VB3 you can’t call another form’s subroutine. If you need to do this, put the sub into a .BAS module.
Question: I am trying to use the API call SystemParametersInfo to change the Windows wallpaper. It works great in a Borland C program I wrote, but doesn’t work in VB.
Question: I understand how to connect a network drive using the WnetAddConnection API function; however, I do not know how to disconnect the network drive. How do I go about
Question: I am trying to create a VB program to log a useronto a workgroup (from a windows for workgroupsclient) and then map local drives and devices toa network resource.
Question: I have loaded a ComboBox with several items. When running, if I click on the down arrow the items will display in the drop down list box OK and
Question: I am writing a database program and I am using the JET DATABASE ENGINEI would like to know how to print records out of the DATABASE to my printer.
Question: Just started crunching similar code into functions. How do you pass an arguement to a function that references a control? It’s prob really simple eh? Answer: Here is an
Question: I have defined a field as Double in my Table to store prices. Then I bound my database to a grid.I would like to display the contents of the
Question: I am programming a multiple table database and can’t figure out to link each table together so that when a person is posting data to one table that the
Question: I am developing a small database using the engine supplied with VB 4.0 Pro. When I try to update an entry, I get the following run-time error: “Run-Time Error
Question: I want to write a form module that is generic, that will give tooltips ability to any VB program. I need it to intercept mousemove messages so that it
Question: A colleague wants to create a DLL using Borland C++ to callfrom Visual Basic 3.0 but she keeps getting an error message”Sub or Function Not Defined”.Do you know of
Question: How can I convert a string with three individual bytes of data to different bytes? I am sending Data1,Data2,Data3 as String and I want to receive string and convert
Question: I am using the ‘Execute’ to run an SQL statement.The sql is Microsoft SQL. The SQL is to ‘INSERT into table …SELECT …FROM TABLES…’. The select portion of the
Question: I am having problems parsing an HTML tag. This entry repeats hundreds of times in this file, but withdifferent names and addresses, etc.I need a routine that will search
Question: How do I know is there any MDIChild form opened? Because I want to disable the MDIForm’s toolbar editing items (cut, copy, paste) if all child forms are closed.
Question: How do I go about creating a RICH TEXT FIELD in VB ? Answer: This problem has been fixed in VB4…they included a rich textbox control. However, I don’t
Question: I am trying to write an application which will provide the ability todynamically add or update tables in an Access .MDB database. Everything inthe application runs when I do
n Part 1 of this series, I showed you an elementary vector implementation for Brew as a stand-alone component you can use in your applications.
t’s easy to list applications where computers leave humans in the dust. When it comes to complex mathematics, repetitive calculations, and tedious searches, even the
ith the recent introduction of the Windows Mobile 6 platforms, we are now beginning to see a proliferation of new devices supporting the Windows Mobile
When you run some commands in the Run Menu, it closes before you can view the output. Here’s a small trick to make the window
Hibernate’s facility allows you to map many-to-many associations and collections of values to a single table with a surrogate key. The following code shows an
.NET allows you to call a JavaScript function from the server-side code. For example, suppose you want to to display a message box to the
he concept of Domain-Specific Languages (DSLs) has been around for years, but has recently experienced an uptick in popularity. This is due in large part
he book, Enterprise AJAX: Strategies for Building High Performance Web Applications, resulted from the authors’ inspiration to address the dearth of information available for more
he Spring framework and its Plain Old Java Object (POJO)-based programming model enable you to inject collaborative objects into your classes via setter methods instead
omplex numbers are widely-used in electrical engineering, simulations, and scientific applications. And yet, many software engineers who have to use complex arithmetic insist on reinventing
o you like to relax in the morning over a cup of coffee and the “zoopepe”? Do you like to put “kapatz” on your “hogatz”?
f you’re a developer, chances are that you’re no stranger to mailing lists. A mailing list contains a group of users who are subscribed to