The Latest

DevX - Software Development Resource

Can’t get values back from a PL/SQL block

Question: I’ve noticed that I cannot get any values returned to my Power Objects application from a PL/SQL block. How can I get around this? Answer: The inability to get

DevX - Software Development Resource

Importing data

Question: Is there a utility or a routine that will allow comma-separated flat files to be imported into Blaze? I don’t want to spend too much money. Answer: There is

DevX - Software Development Resource

How do you catch a double-click on a poplist?

Question: I have made the poplist readonly to avoid activating it whenclicking, but apparently the DoubleClick() method doesn’t fire atall. How do I catch the double-click? Answer: The DoubleClick() method

DevX - Software Development Resource

Connecting to a database

Question: I noticed that there are 3 different types of connect properties for a session. What’s the difference? Answer: Every session has three different connect properties that are used at

DevX - Software Development Resource

Code Generates Null Pointer Exception

Question: If I have: class point { double x,y; } & import point; class test { public static void main(String args[]) { point[] P = new point[10]; P[0].x = 5;

DevX - Software Development Resource

Cannot connect to Personal Oracle

Question: I have been trying to connect to Personal Oracle 7 on the Macintosh. I can connect from the DBA applications, but cannot connect from Power Objects. Can you give

DevX - Software Development Resource

Eliminating toolbars

Question: How do I eliminate the toolbar for a form? Answer: To eliminate the toolbar from displaying for a particular form, add the code: Self.SetToolbar(NULL) to the InitializeWindow() method for

DevX - Software Development Resource

Inserting rows without retrieving data

Question: I have a very large table that contains thousands of rows. I want to let a user insert new rows into it on a particular form without having to

DevX - Software Development Resource

Can’t change Blaze table structures

Question: I’m using an evaluation copy of OPO for the Mac. After I create a table, I go into the table structure window to try and change the table structure

DevX - Software Development Resource

Difference Between Instance and Object

Question: I am 14 years old and a new Java programmer. I would like to know the difference betweenan instance and an object.I am learning Java from the book Teach

DevX - Software Development Resource

When to use Access vs. VB

Question: I mainly do database applications and I am currently working on a project that will become very big. I have been trying to find any references to comparisons between

DevX - Software Development Resource

Windows95 printing error

Question: When I attempt to preview a report in OPO under Windows95, I get an error: WFW-03049: Internal buffer too small for printer port name Is this an OPO or

DevX - Software Development Resource

How can I add text to the graphs control

Question: I’m building some process control software and I need to addlabels, such as Upper Control Limit (UCL), into my chart. Answer: The graph control was added to PowerBuilder in

DevX - Software Development Resource

Reading Text File From Server

Question: I know I can’t read files from a local machine through my browser, but I can’t seem to read a file off my originating server either. There’s a way

DevX - Software Development Resource

Push Button Increments

Question: I have this declaration in init: pushButton1 = new Button(“0”). In the action class I try to increase the value from 0 through 9 every time I click the

DevX - Software Development Resource

Difference Between ‘float’ and ‘Float’ Types

Question: What is the difference between the types’float’ and ‘Float’ in Java? Answer: A variable of type float contains an IEEE single precision number,while a variable of type Float contains

DevX - Software Development Resource

Creating Applet to Ping IP Address

Question: I would like to create a very simple applet that pings anIP address and returns a message stating whether that IP is alive. Icouldn’t find any straightforward answers to

DevX - Software Development Resource

Creating a Dialog Box

Question: I’ve been to sites where dialog boxes appear. How can I create one?I also want to ask users for their names, and then to be able to tell how

DevX - Software Development Resource

Why doesn’t the window.close() method always work?

Question: Why doesn’t the window.close() method always work? Answer: In JavaScript 2.0, the window.close() method could be used to close any open browser window. People being the malicious animals that

DevX - Software Development Resource

How do I implement classic algorithms in C?

Question: Where can I find algorithms and data structures, techniques and programs that will better show me how they can be implemented using ANSI C? Other areas include Hashing, Heaps,

DevX - Software Development Resource

Creating TextField to Handle Passwords

Question: How do I create a TextField that handles a password?What are the KEY_ACTION events associated with it? Answer: The setEchoCharacter() method within the TextField class allows youto do precisely

DevX - Software Development Resource

Using Java to Control System Functions

Question: I would like to be able to browse my server and havean applet/program that would mimic the functions of,say, the control panel on a Macintosh.Would I needto write a

DevX - Software Development Resource

Will Downloading Java Applets Fill Hard Disk?

Question: Constant downloading and fear of accumulating masses of useless files is turning me off on Internet. My concept of Java is that exe files, etc., will be on the