
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 using a rich text datawindow (not an rte control), is there a way to save the contents to a file as rich text, as is? In other words,
Question: I recently created a project in PowerBuilder 4.06 to regenerate my application, PBDs and .exe. When the project was completed, none of my datawindows or functions were regenerated. Why?
Question: I need to develop a program interfaced with a Sybase database. First I have to open a huge ASCII file (size ranges from 20 to 100 MB) to read
Question: I have a small application that monitors Windows’ resources GDI and users as well as controlling Windows’ exit/restart/reboot. I would like it to be able to disable/invoke the current
Question: I am trying to figure out how to pass through the Message Object or NVO address, either by reference or value, to another application entirely different from the original
Question: Okay, so PB 5.0 made the GetClickedCol method obsolete. Now how can I get the current column using the dwo argument? Answer: There is a replacement attribute for all
Question: How can I get the changed entry or selection in a drop-down picture list box?I am showing an array of available drives and types to be selected by the
Question: I have been trying to connect to our Oracle General Ledger Version 10.SC from PB5 Ent. I am accessing it from my PC running Win95 and a database that
Question: Stored procedure on WG7.3 Oracle expects three parameters. I can get OPO 2.0 to pass the params if I cite them literally as, for example, exec sql begin addnewperson(‘John’,’Quincy’,’Doe’);
Question: What type of code must be written to avoid the cryptic NOT NULL messages when records are to be added for fields already defined with NOT NULL in the
Question: I’m using Power Objects 2.1 and am trying to add a custom menu and toolbar toa report object. I’ve successfully done this withform objects by using the InitializeWindow, TestCommand
Question: Is it possible to have predefined (dynamically changeable) global variables that can hold reference to the printer name, copies, paper format, etc. and use a PrintReport() action that will
Question: How do classes communicate? If class A created one or more instances of class B and class C, how can class A keep track of all the instances of
Question: Why can’t I put a simple piece of code in the click event for a list box and have it execute? Also, how can I choose a value from
Question: Yesterday I received a description for a reality problem I must represent in my OPO-database application. It concerns the drinking water supply for a city, and the staff of
Question: Field-level validations should be done when the user visits the field. How can this be done?Interfield validations on the same screen also should be done when the user visits
Question: I have a DB log-on panel defined for my application, and the user ID is loaded from an INI file. I would like to have the cursor on the
Question: My program has two MDI forms. I have an option that allows the user to tile them horizontally or vertically. How can I tell at runtime what the max
Question: Develop an algorithm using English pseudo code Java to determine if a string of characters given by the user is palindromic.Algorithm outputs suitable message.Blank characters and punctuation should be
Question: I’ve been getting the following errors when I try to launch Delphi:“This program has performed an illegal operation and will be shut down.If the problem persists, contact the program
Question: I have a third-party component I am using to make an icon for my app in the Windows 95 system tray. This works great, except that I need to
Question: I am trying to bind a form to multiple tables in a session. If I drag and drop an attribute from a single table into my form, all is
Question: I’m trying to delete multiple records using Tquerysuch as delete from products p where p.shopno in (select shopno from shops)When I run the program, it executes the statements and
Question: I have just discovered a problem with secondary indexes in Paradox that I desperately need to have solved by yesterday!I have a number of database tables with a primary
Question: Is there a way to create a C ‘union’-like structure in Delphi? That is, a structure that uses the same memory area? Answer: The Delphi (Pascal/ObjectPascal) equivalent to a
Question: How can I get the cursor to advance to the next form field after a field has been filled with the maximum number of characters? I am using Delphi
Question: I have few problems with the following code: abstract class AbstractGraph extends java.awt.Frame { static int HighValue,LowValue,ArraySize; static String InstancesArray[][] = new String [20][ArraySize]; float ReturnArray(String name) { …
Question: I am looking for a generic way to convert an intto a string. It cannot be platform- or compiler-specific in its implementation. Answer: The standard C++ library defines the
Question: I have a huge chunk of C code that currently uses a shareware GUI library for I/O. I would like to replace the current GUI with a browser-based one.
Question: I am creating an application by using Symantec Cafe wherein I am using one applet, from which I am calling a series of frames. I have some common functions
