
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: For a reference counted implementation, how is the operator+= member function coded? The function receives (const String & rhs) and returns String &. The returned String &
Question: Consider the following piece of code:#include /* C++ String class */static String s(“hello”);main() { // … your code s += ” world”; // …}Question: String class uses the new
Question: Suppose I’ve got the following class hierarchies:Surface_PlotContourSurface_Plot, child of Surface_PlotSurface_DataGridSurface_Data, child of Surface_DataSurface_Plot contains a Surface_Data object, ContourSurface_Plot contains a GridSurface_Data object.What is the most elegant way to arrange
Question: Why do I need private inheritance in C++?Is it true that (in C++) function parameters are pushed onto the stack from right to left? If so, why? Answer: Use
Question: I got a warning when I compiled my C++ program onHP-UX:Line 219: Warning: Namespace is a future reserved keyword (215).What does this mean? Answer: It means exactly what it
Question: How can I convert characters to ASCII values and vice versa? Answer: There are no functions in JavaScript that make it easy to obtain ASCII values of characters and
Question: Answer: JavaScript can be used to access values in web form input fields. This is possible because JavaScript treats input fields as objects with several properties. One of
Question: How can I write a cookie in one page and then read that cookie in another? or alternatively pass data gathered in one page (not a remote!) and then
null
Question: Answer: You are probably familiar with a special value in JavaScript called null. This is a value you can assign to a variable when you want to indicate
Question: Answer: Many people have been asking how to do this. Since JavaScript does not have built-in methods for converting numbers to currency-formatted strings, the only option left is
Question: I need to know how to retrieve multiple data and put it in a listbox. This data is also indexed to another database by it customer id. I can
Question: I have a database with a field set to Date/Time.My project has a variable that is of type Date.In a text box it displays 04/21/97. I cannot get the
Question: How do you lock down a form so that when the program is run, you can not move it. What I want to do is have one main form,
Question: I’ve wanted to upgrade my VB4 pro to VB5 ent. for a month or so now, but after monitoring various VB newsgroups for a few weeks I’m glad I
Question: I have noticed that each for project I create there is a file with a vbw extension. I found this type file mentioned in VB Help as a Visual
Question: Is there a way in VB5 to immediately print single lines of text to a printer for logging events? I had some success in VB4 by directly opening LPT1
Question: How do you run Access queries in VB? Answer: Queries that you have defined in Access can be opened just like tables,using the OpenRecordset method of the database. If
Question: A new user, no experience, but a self motivator, I need to know if I need a data base program, or is there one included in VB 5. How
Question: I’m very interested in learning VB for windows. im thinking about getting the professional editionupgrade, but $150 is pretty expensive for me right now. is the learning edition going
Question: Should I upgrade to VB5.0. I currently am using VB4.0 to make a simple program to run on win3.1 and win95. I want to distribute this program on diskette
Question: I have recently created a program in VB5.0 on a WIN 95 system… on that system the program works great. Now I want to make my program accessable on
Question: I intended to use DAO in my application, but I wonder whether is there anylicense issue if I written an application in VB and distributed it orresell it? Answer:
Question: I have a simple 2 form program with an array spanning both forms (i.e.MyArray(0),..MyArray(3) are on form 1 and MyArray(4),..MyArray(6) are on form 2). How can I declare MyArray
Question: How do you create EXE files in VB 5.0 CCE? I know that the copy at Microsoft.com does not support the creation of EXE files, but I’m hoping that
Question: I am currently using VB 4.0 Entreprise and will migrate to VB 5.0 Pro at home (I am still using this version at work).I would like to be able
Question: I had just started learning VB 4 when VB 5 was released. Is it worthwhile to master VB 4 and then try to understand the differences, or doesVB 5
Question: What are the improvements of VB5 to VB4, especially as to how to handle the data, data files, database? Answer: Data Files, using features such as Open/Write/Read, are unchanged
Question: I am getting into the object oriented features of VB4 and I am wondering where the back-end database (such as Access) comes in for small single user applications. You
Question: Is there a third-party tool (or a functionalitynative to PB) with which I can print the *entire*contents of a .PBL file, preferablyin a way that’s meaningful? I have in
Question: I have created a function that will retrieve the current date and time, and put it in the heading of all my reports. We store our reports as blobs
