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
QL has been evolving?slowly?for over three decades, (see Wikipedia for a historical summary). While SQL in the hands of an expert is quite powerful, it’s
he dilemma is common. Your web site starts out by design with a few pages of content—a front page, a products page, perhaps something about
ecently, I was consulting on a Windows Mobile project where the client asked if it is possible to send images using SMS messaging. After searching
oogle Earth (GE) provides a powerful 3D environment that you can use to provision your application with rich interactive 3D features. You can render points,
Many of us write common graphics code in the Form’s Paint event because the Paint Event handler provides access to the Graphics object, and also
A “component” in Hibernate is an object persisted as a value, not an entity reference. For example, suppose you have a Car class, like this:
We all know about the function overloading feature in C++, which allows us to have the same name given for a function with different signatures
y default, the .NET Framework includes a number of classes that convey information about exceptions generated by the application. Whenever an error occurs in a
lain old Java object (POJO)-based architectures and lighter-weight development models using tools such as Spring and Hibernate have gained considerable acceptance in the enterprise Java
icrosoft Expression Blend is a new full-featured design tool for creating highly-interactive and sophisticated Windows application user interfaces using Windows Presentation Foundation (WPF). With Expression
“hese days if you look at the way a lot of shops work, they have really two kinds of people that go into developing web