QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I specify the path for the FolderBrowser instance when it opens the first time?

Forms - Windows Forms FAQs
In the .NET Framework 1.1 there is a SelectedPath property that will let you do this. Contributed from George Shepherd's Windows Forms FAQ

How do I pass an instance variable's name to another object?

snitfaq - Snit's Not Incr Tcl, OO system
In Tk, it's common to pass a widget a variable name; for example, Tk label widgets have a -textvariable option which names the variable which will contain the widget's text. This allows the program to update the label's value just by assigning a new value to the variable. If you naively pass the instance variable name to the label widget, you'll be confused by the result; Tk will assume that the name names a global variable. Instead, you need to provide a fully-qualified variable name.

How do I bind to an existing object instance?

Windows Presentation Foundation SDK : WPF Basic Data Binding...
In some cases the source object that you bind to can only be created at run-time, such as a DataSet object that's created in response to a database query. In those cases, you need to set the DataContext property of your target object to the instantiated object programmatically. Example: There are two special cases. First, if you are binding to a property of another element in the same scope, then you use the ElementName property to specify the source. For example, you can bind the TextBlock.

How do I specify a specific combination of frames instead of the default document?

Web Authoring FAQ: HTML Frames (Web Design Group)
This is unfortunately not possible. When you navigate through a site using frames, the URL will not change as the documents in the individual frames change. This means that there is no way to indicate the combination of documents that make up the current state of the frameset. The author can provide multiple frameset documents, one for each combination of frame content. These frameset documents can be generated automatically, perhaps being created on the fly by a CGI program.

So I can pass an instance of a value type to a method that takes an object as a parameter?

Andy Mc's C# FAQ for C++ programmers
Yes. For example: class CApplication { public static void Main() { int x = 25; string s = "fred"; DisplayMe( x ); DisplayMe( s ); } static void DisplayMe( object o ) { System.Console.WriteLine( "You are {0}", o ); } }

Can we use Orbix security to provide Access control at Object instance level?

CORBASEC Frequently Asked Questions and Answers
Extended Question: When I want the Server to authenticate it self to the Client, or when I want to put a secure invocation policy on the Server, then I get an error message telling me "Authentication Security Exception", "Target is not secure". The opposite is no problem, the Client can authenticate itself to the server.

How can I maintain a single instance of an object in an applet?

jGuru: Patterns FAQ Home Page
In start(), instead of always creating a new object, return the existing one if it exists or create a new one if it doesn't. Yes, and this can be the preferred pattern in some cases.For example, suppose you were writing a supply chain management system for a retail chain. Each...

Can I specify the default tree level for summary reports?

WISDM Frequently Asked Questions
Yes. Select the "Edit Profile" link from the main navigation menu and the following screen will load: There are several options on this screen related to trees. The first option is "Default level for unlisted trees". This option dictates how the summary reports will first appear. The summary report will be shown at either the most detail (specific accounts) or the least detail (Revenue and Expenses). In addition to this option, you can set specific levels for specific trees used frequently.

How do I specify default values for structs?

Uno/FAQ - OpenOffice.org Wiki
It is not possible to specify default values for structs because these defaults cannot be used in other object models (e.g., CORBA). It is also impossible to emulate default values for member variables by modifying the unoidl-generated default constructors for structs. The default constructors set enums to the first enum value, numbers to 0, and the other types use their default constructors. The generated inline default constructor can be found in the .hpp file.

How can I change my default object code?

eBuy: FAQs
You may change your default object code by accessing your "User Profile," clicking on the "Purchasing" tab, and then clicking on the "Custom Fields" tab.

Can the object move?

In Nomine Frequently Asked Questions - Celestials
Also depends on the object. Anything designed to bend or move will be able to do so. So a door could open and close, a car could drive around, a ball could roll, a puppet could walk around. But a candlestick couldn't move around on its own, since it is inflexible. Neither could a hammer lift itself to hammer a nail (or whatever). Certain Songs can give movement abilities, however. For example, Numious Corpus: Wings and that toaster vessel . . .

If I should always specify "delete", then why isn't it the default?

CVSup Frequently Asked Questions
Originally CVSup was designed to be a drop-in replacement for sup. Because of that, the defaults had to be the same whether they made sense or not.

Is there any way to specify the default sort order?

Exontrol Software - ExGrid FAQ page
By default, the column gets sorted descendent when user clicks the column's header. The DefaultSortOrder property of the Column object specifies whether the default sort order for a column is ascending or descending.

How do I specify a different jobOptions file, rather than the default?

Some answers to Frequently Asked Questions about pdrApp
The pdrApp main program uses an environment variable JOBOPTIONS to determine the name and location for a jobOptions file.

What does nillable mean in schema? How to specify it in instance document?

JavaChina: FAQ on XML by Roseanne Zhang
In database systems, we use NULL to represent the value of an attribute that is unknown or not applicable. In XML Schema, we can use nillable attribute to indicate that whether the element's content could be nil, as in and this element must not contain any content. The namespace prefix are defined as xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" There are many misspelling on the web.

Why can't I obtain instance variables in Prolog for an object returned by javaMessage?

InterProlog FAQ
When you create a Java object from the Prolog side, the message result on the Prolog side is always an InvisibleObject specifier, which encapsulates a compact reference to the Java object - just an integer, which is a key into an ObjectRegistry, an object kept by a PrologEngine. So the object variables are not returned to Prolog.

Why isn't setInterval working correctly for my object instance/class?

senocular.com Tutorial: Flash Frequently Asked Questions (FA...
The Quick: You need to use the secondary setInterval syntax, var interval = setInterval(object, "method", time [,arguments]), in order to specify object scope. The Details: There are two ways to use setInterval. The most common "primary" way of calling setInterval is by using setInterval with a passed function reference and a time interval in milliseconds for it to repeatedly run.

Is it possible to specify object-relational mappings between EJBs?

The OC4J EJB container implements the O-R mapping feature as prescribed in the draft EJB 2.0 specification. Since the specification is not yet finalized, this feature may change as specified in the final version of the EJB 2.0 specification. The EJB container also implements an O-R mapping that is not dependant on the EJB 2.0 specification. To use this perform the following steps.

How do I specify the position of an architectural object in GENESYS II?

Frequently Asked Questions
Objects are located by the center of the volume of the object. As an example, let's consider a T-shaped partition (Architectural Objects; Architectural #3) measuring 10x8x5 feet in X, Y, and Z, respectively. Specify its location as X=5, Y=4, Z=2.5. Notice that the Z location of 2.5 feet will place the partition flush with the floor and the X and Y dimensions place it up against the lower left corner (plan view) of the room.

What is an instance?

SAP ABAP interview questions
Ans When you call a function module, an instance of its function group plus its data, is loaded into the memory area of the internal session. An ABAP program can load several instances by calling function modules from different function groups.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact