The Latest

DevX - Software Development Resource

Return values from ancestor events

Question: How can I determine the return value of an ancestor event from its descendant?For example, the PFC_addrow event of the PFC datawindow. If I were to extend this event,

DevX - Software Development Resource

PowerBuilder lost scripts

Question: We are working with PB 5.0.02 Enterprise with anOracle server. The scripts are kept on a Novellserver version 4.x. We regenerate a PBL, and when we re-edit the object,one

DevX - Software Development Resource

PowerBuilder 5.0 datastores

Question: I am 90 percent done building a product catalog using PB 5.0.2 and SQL Anywhere 5.5.I just added a feature that uses a datastore to retrieve pricing information and

DevX - Software Development Resource

Checking for File Existance

Question: How do you use VB to check to see if a file exists? Answer: The simplest way to do it is to try opening the file with these lines

DevX - Software Development Resource

Changing 2 fields

Question: Hi, I am working on a VB 4.0 project. The project involves changing 2 fields – The date field from 6 digits to 8 digits and zipcode field from

DevX - Software Development Resource

ActiveX & Data controls

Question: I Want to make my own data control navigator bar in a single OCX. My question is: How can i get the DataSource property to work.It needs to give

DevX - Software Development Resource

Storing Control Properties

Question: I need to store a full text box in a data base, so that later I can recover it with all its properties; is that possible or do I

DevX - Software Development Resource

Suggested books

Question: Are there any advanced-level PowerBuilder 5.0 books you recommend? Answer: The Powerbuilder 5.0: Secrets of the Masters book is the mostadvanced book I have seen to date. Related Posts

DevX - Software Development Resource

Focus

Question: When dismissing a dialog, how can I set the focus on the calling form? Is clicking the calling form the only way? Answer: There is a weird bug in

DevX - Software Development Resource

Double-click on edit field

Question: How can I catch a double click when the cursor is placed over an edit field? The normal double-click handler doesn’t respond. I need to open a dialog window

DevX - Software Development Resource

How to structure a database created in Excel

Question: How can I structure a database created in Excel? Answer: If you want to use data in an Excel database with Oracle Power Objects,there is no need to create

DevX - Software Development Resource

Pick-a-number?

Question: How can I make Delphi 2 pick me any number within a range I specify (for example, between 0 and 100)?I’m guessing this is a fairly easy thing to

DevX - Software Development Resource

Problems with database

Question: I am developing a radon database for the Ohio Department of Health with Oracle Power Objects. I have two combo boxes. First a choice is made from one of

DevX - Software Development Resource

Extending the Object class

Question: I’ve created a method I’d like to put in the Object class so it can be inherited by all the other classes. Is there a way to extend a

DevX - Software Development Resource

Transporting Dbases

Question: Can I export or import a Dbase file from OPO 1.016 to another DBMS (Microsoft Access or Visual Basic, for example)? Answer: OPO Version 1 did not support ODBC.

DevX - Software Development Resource

Printer Sharing: NetWare

Question: We have a Novell 4.1 network with Windows 95 workstations attached. Some of these Windows 95 stations have printers attached to them. How do we share these printers on

DevX - Software Development Resource

Frame relay basics

Question: Please describe the basic features of frame relay, and how this technology is best used. Answer: Frame relay is a quickly expanding technology that is helping the internetworking industry

DevX - Software Development Resource

Disconnecting NetWare Users

Question: We have a 250-user NetWare 3.12 installation. How can we effectively terminate inactive workstations? Answer: Here are the parameters that control how long an idle workstation is connected to

DevX - Software Development Resource

Using strstream for ‘incore’ binary I/O

Question: Can I use strstream functions for incode I/O,i.e. writing to memory just as if it were binaryinput/output to a file? Answer: You can use it to do incode input

DevX - Software Development Resource

Constructors and virtual functions

Question: I have been doing some programming in C++ and recently decided I would try some Windows programming with the Microsoft Foundation Classes. This isn’t a question about Windows but

DevX - Software Development Resource

Clearing character arrays

Question: How do you clear a character array? Answer: You can use the standard C library memset function. Here is an example:void foo (){ char t [20]; cin >> t;

DevX - Software Development Resource

Declaring a bit field for a variable

Question: Is there a way to explicitly declare the number of bits to allocate to a specific variable? For example, can I declare an integer that would be stored in

DevX - Software Development Resource

Helpful C/C++ newsgroups

Question: Do you know of any good C/C++ mailing lists? I’m a computer science major and I’d like to join one. Answer: I am not aware of any mailing lists

DevX - Software Development Resource

How portable is C++?

Question: How portable is C++ as a programming language (in terms of different operating systems andhardware)? Answer: C++ is a fairly new language that until recently did not specify anystandard

DevX - Software Development Resource

Using self-defined libraries

Question: I am using Borland Turbo C++ 3.1 and I can’t figureout how to use my self-defined libraries. I’ve used”#include” but I get an error every time I try touse