Problem with Fort�

I'm having a problem reading from a file in Fort�. My program works in TextPad, but when I try running it with Fort�, it throws a FileNotFoundException...
I was wondering if I have to include it in a project or something like that?
Any help would be great.
Thanks.

Probably, your file is saved on a package, with something like this:
package com.something.util;
When you declare a statement like that, the default directory is now the base directory of the package, that's the directory that contains the "com" subdirectory.
If you try to read a file named "file.txt" in the "util" directory, the relative path of the file, would be:
"com\something\util\file.txt"
If you simply write:
"file.txt"
the system would look for that file in the directory that contains "com".
When you execute this program in the command line, you are positioned in the base directory, doesn't you?
That's the default directory and so, the system finds the file.
Hope that helps!

Similar Messages

  • Problem with Forte DDE

    I have a problem getting Forte to talk to another application called
    InTouch by Wonderware via DDE. InTouch is a SCADA (Supervisory Control
    And Data Acquisition) package. InTouch uses DDE as its primary form of
    communication with other software. Right now I have Forte talking to
    InTouch through the use of a Visual Basic interface using DDE. Here is
    the flow:
    Talking to InTouch from Forte using DDE
    FORTE ---> VB INTERFACE ---> INTOUCH
    Talking to Forte from InTouch using DDE
    INTOUCH ---> VB INTERFACE ---> FORTE
    My goal is to eliminate this VB interface and have Forte talk directly
    to InTouch using DDE without the use of any intermediate code. Does
    anyone have any experience with DDE between these two applications?
    Gary Giger
    Raytheon Systems
    300 Science Park Road
    State College, PA. 16804
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    In my Forte 3.0 installation on Windows XP, the file is in:
    \forte directory\modules\ext4j\AbsoluteLayout.jar

  • A stupid little problem with FORTE

    Hi to everyone,
    I'm using FORTE on windows 2000 but I've a little problem: I can't put the characters {} in the source editor.
    I've tried with the ASCII code (ALT + 123) and with ALTGR+7 but they don't work. How ca I do?
    Thanks

    You can copy the them from where you are able to type them, and then paste them in the editor with ctrl+v. To copy, you can use ctrl+c.

  • Problem with FORTE

    I can't start forte. The error message is:
    "cannot create system directory in \\monk\java\system."
    "monk" is a computer, that was part of my network, but is gone now. How can I tell forte, not to do use \\monk ?? I tried uninstalling and reinstalling forte for several times, but it didn't help :'(
    What can I do ? I don't want to reinstall my Windows (again!)...
    Ben Utzer

    Hi, there,
    I had the same problem while I was installing Forte3.0 It was complaining some dir not there or can't be created.
    Try to add an option at command line.
    e.g. C:\forte4j\bin\runidew.exe -userdir c:\forte4j\user
    Good luck
    Tiana

  • Patch problem with Forte 6U2?

    I just installed all of the patches currently up at access1 for Forte 6U2 on solaris 8. When I rebuilt, I got the following
    Error: The destructor name must match the class name.
    while building the following code fragment:
       template<typename T>
       class table
          class node {
          public:
                   explicit
             node(const T&);
             ~node();
                  // ... other stuff
          // ... other stuff
       // much later in same header
              template<typename T>
              inline
        table<T>::node::~node()
        }The error occurs on the out-of-body inline delcaration of table<T>::node::~node() above.
    This code compiled fine with previous patches, and works correctly under gcc3.1 and gcc3.2.
    CC -v gives me:
    CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-10 2002/09/16
    Any information would be appreciated.
    Thanks.

    I think you and I have different definitions of "status".
    Search Failed == Not Fixed seems like a pretty coarse status measurement to me, and a poor interface to boot. If I had a support contract, would I actually be able to read a description of the bug as it is currently filed from suns perspective? What could possibly be so expensive about giving read access to an existing defect database ( esp. when compared with the cost of fixing defects ) that you need to charge to underwrite it? Does it not strike you as almost punitive to require payment from those users who found, tested, and submitted defects for the right to track the status of those defects? Please, please, please explain the rationale behind this to me. I find the whole approach infuriating, unnecessarily opaque, and counterproductive.
    Am I interested in finding out that the defect is fixed. Yes. But what is far more important to me is to know that you are actually doing something about it. This critical piece of information is sorely lacking in the current system, especially given the number of defects I have submitted, which were assigned bug IDs, but which have never been fixed in any patch.
    http://sunsolve.sun.com is the website you could check
    the status of the bug. Search for the bug ID, if it's
    not found, then the patch for it is not released.
    Otherwise, you will see the patch ID. I don't think
    you need to have contract to surf the website.
    - Rose

  • Problem with Forte Express, on priorities of the ORDERBYconstraints .

    In my businessModel I've got 2 Tables :
    Table MACHINE : - MACHINE_ID, MACHINE_NAME, MACHINE_BRAND, MACHINE_MODEL,
    USERS_ID (which is a foreign key of the table USERS.)
    Table ACTIVITY : - ACTIVITY_ID, ACTIVITY_NAME.
    In my applicationModel I've got a businessClass : MACHINE -> OutlineField.
    In this Outlinefield, I display : MACHINE_NAME, MACHINE_BRAND,
    MACHINE_MODEL, ACTIVITY_NAME (Which is a joint with the table ACTIVITY, made
    by
    Express).
    So, the MACHINEQuery contains 6 constants : ATTR_MACHINE_ID,
    ATTR_MACHINE_NAME, ATTR_MACHINE_BRAND, ATTR_MACHINE_MODEL, ATTR_USERS_ID,
    ATTR_ACTIVITY
    With your help, last time I've been able to order data by every kinds of
    field.
    But, when I put several ORDERBY restrictions in the restricUserSearch(),the
    priority is not respected any more.
    Here I want to order data first by ACTIVITY and then by MACHINE_NAME.
    So I've writen this code :
    in the RestrictUserSearch(searchCriteria:BusinessQuery) event of MACHINE :
    /* ******** Here I Order MACHINE DATA by activity *********************** */
    myActivityQ : ACTIVITYQuery = new() ;
    myActivityQ.AddConstraint(
    attr = ACTIVITYQuery.ATTR_ACTIVITY_NAME,
    operation = ConstraintOperation.OP_ORDERBY);
    //Set fields to retrieve from USERS table
    myActivityQ.AddAttr(attr = ACTIVITYQuery.ATTR_ACTIVITY_NAME ) ;
    searchCriteria.AddAttr(
    attr = MACHINEQuery.ATTR_ACTIVITY
    query = myUsersQ);
    /* ******** Here I order MACHINE by MACHINE_NAME *********************** */
    searchCriteria.AddConstraint(
    attr = MACHINEQuery.ATTR_MACHINE_NAME,
    operation = ConstraintOperation.OP_ORDERBY);
    The result of this code is that DATA are ordered only by MACHINE_NAME. I
    don't understand why .
    Any suggestions would be greatly appreciated,
    Thanks for your help. :o)
    S&eacute;bastien MARIE
    E-MAIL : [email protected]
    TEL : 04.93.95.40.62

    I suppose you don't use qualified parameters.
    http://download-uk.oracle.com/docs/cd/B14099_13/portal.1014/b14135/pdg_java_adv.htm#CBBGHHDC
    7.2.3.3.2 URL Parameters
    "The portlet developer must ensure that the portlet:
    properly qualifies its own parameters when they are built into links and forms.
    leaves unchanged any parameters that do not belong to it.
    The following API call transforms an unqualified parameter name into a qualified parameter name:
    HttpPortletRendererUtil.portletParameter(HttpServletRequest request, String param);
    HttpPortletRendererUtil is in the package oracle.portal.provider.v2.render.http.
    For example:
    qualParamQ = HttpPortletRendererUtil.portletParameter(r, "q");
    To fetch the value of a portlet parameter from the incoming request, you can use the following API:
    Note:
    The API converts the parameter name into the qualified parameter name before fetching the value from the incoming request. Hence, you need not perform this step.
    PortletRenderRequest.getQualifiedParameter(String name)"

  • Problem with compiling STL using program with Forte C++ 6 update 1 in compat mode

    I try to compile SGI STL using program with Forte C++ 6 update 1 and I get an errror
    ld -L/opt/SUNWspro/WS6U1/lib -liostream test.o -o test
    Undefined first referenced
    symbol in file
    __0oNIostream_initctv test.o
    __0oNIostream_initdtv test.o
    Iostream_init - declared as a static class CC4/iostream.h, but nm libiostream.a produce
    __1cNIostream_init2T6M_v_
    __1cNIostream_init2t6M_v_
    and program can't link.
    What's wrong?
    Thank you for any comments

    Hi!
    I experienced the same problem and the solution looks like the following: in sunpro6.mak file there is a variable STL_INCL that has the following value: -I. -I${PWD}/../stlport
    Change that to -I. -I${PWD}/../stlport/SC5 and the problem vanishes. The reason is that stlport/SC5 contains files *.SUNWCCh which are used by SUNpro C++ compiler as standard headers and contain correct STLPort namespace information.
    Regars,
    Art

  • Problem with variadic macros, Forte 6U2

    The following code demonstrates a problem with namespace qualifiers used in variadic macros. The workaround (if you want to call it that) is to use triple colons as the scope resolution operator inside certain cases of variadic macros. The following piece of very contrived code demonstrates the problem. If you look at preproccessed output, its pretty clear that the variadic macro eats colons.
    unix experiments/C++/badmacros> cat badmacros.cpp
    /*************** badmacros.cpp *******************/
    #define INTERFACE(ifc) virtual public ifc
    #define EXTENDS(...) __VA_ARGS__
    namespace foo {
    namespace bar {
       class Interface {};
    }//namespace bar
    }//namespace foo
    #if !defined(HACK_TO_FIX)
       class DerivedInterface : EXTENDS( INTERFACE(::foo::bar::Interface) )
    #else
       class DerivedInterface : EXTENDS( INTERFACE(:::foo:::bar:::Interface) )  
    #endif
    int main(int argc, char* argv[]){}
    /*************** badmacros.cpp *******************/unix experiments/C++/badmacros> CC badmacros.cpp
    "badmacros.cpp", line 18: Error: Identifier expected instead of ":".
    1 Error(s) detected.
    unix experiments/C++/badmacros> CC -DHACK_TO_FIX badmacros.cpp
    unix experiments/C++/badmacros>

    OK - that is good to hear. OTOH, I think I've found another one. The following code builds properly whether or not DEFINE_IN_CLASS_BODY is set on both g++ 3.0.1 and on the online comeau C++ compiler. However, in Forte 6U2, if DEFINE_IN_CLASS_BODY is not set, compilation fails.
    unix experiments/C++/over_template> cat over_template.cpp
    #if defined(DEFINE_IN_CLASS_BODY)
    class Factory {
    public:
       void * create() const {
          return new int;
       template<typename T> T * create() const {
          return reinterpret_cast<T*>(create());
    #else
    class Factory {
    public:
       void * create() const;
       template<typename T> T * create() const;
    inline void * Factory::create() const {
       return new int;
    template<typename T> inline T * Factory::create() const {
       return reinterpret_cast<T*>(create());
    #endif
    int main(int argc, char * argv[]){}unix experiments/C++/over_template> \rm -rf SunWS_cache/; CC over_template.cpp
    "over_template.cpp", line 30: Error: Factory::create() const already had a body defined.
    1 Error(s) detected.
    unix experiments/C++/over_template> \rm -rf SunWS_cache/; CC -DDEFINE_IN_CLASS_BODY over_template.cpp
    This last compile works fine. Using Forte6U2, all the latest patches installed.

  • Problems with 2011 Kia Forte hands free following upgrade to ios 7.1

    I have had nothing but problems with the Bluetooth hands free feature in my 2011 Kia Forte ever since I upgraded to IOS7.1. I have removed and repaired the device to no avail. I have discovered the following behavior through the troubleshooting I have done so far:
    If I use hands free to dial, the phone will dial but nothing is heard on either end of the call. If I switch the audio feed from the car to iPhone, both parties can then talk, but as soon as I switch it back to the car there is silence on both ends. I have determined that streaming Bluetooth audio still works in my car in spite of the hands free issues. I can switch audio back and forth during the entirety of the call and as long as audio is set to either iPhone or speaker it works, it just won't work when the car is selected.
    I have checked and there is no new firmware available from Kia for my vehicle's Bluetooth.
    Any thoughts?

    Same problem for me after the update. No matter what movie I try to download, it stalls halfway.  Interestingly, could be a wider iTunes issue as I ended up with the same problem trying to download movies to my MacBook Air.

  • Problems with ListViews Drag and Drop

    I'm surprised that there isn't an Active X control that can do this more
    easily? Would
    be curious to find out if there is - although we aren't really embracing the
    use of
    them within Forte because it locks you into the Microsoft arena.
    ---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 02/03/98 01:33
    PM ---------------------------
    "Stokesbary, Michael" <[email protected]> on 02/03/98 12:19:52 PM
    Please respond to "Stokesbary, Michael" <[email protected]>
    To: "'[email protected]'" <[email protected]>
    cc:
    Subject: Problems with ListViews Drag and Drop
    I am just curious as to other people's experiences with the ListView
    widget when elements in it are set to be draggable. In particular, I am
    currently trying to design an interface that looks a lot like Windows
    Explorer where a TreeView resides on the left side of the window and a
    ListView resides on the right side. Upon double clicking on the
    ListView, if the current node that was clicked on was a folder, then the
    TreeView expands this folder and the contents are then displayed in the
    ListView, otherwise, it was a file and it is brought up in Microsoft
    Word. All this works great if I don't have the elements in the ListView
    widget set to be draggable. If they are set to be draggable, then I am
    finding that the DoubleClick event seems to get registered twice along
    with the ObjectDrop event. This is not good because if I double click
    and the current node is a folder, then it will expand this folder in the
    TreeView, display the contents in the ListView, grab the node that is
    now displayed where that node used to be displayed and run the events
    for that as well. What this means, is that if this is a file, then Word
    is just launched and no big deal. Unfortunately, if this happens to be
    another directory, then the previous directory is dropped into this
    current directory and a recursive copy gets performed, giving me one
    heck of a deep directory tree for that folder.
    Has anybody else seen this, or am I the only lucky one to experience.
    If need be, I do have this exported in a .pex file if anybody needs to
    look at it more closely.
    Thanks in advance.
    Michael Stokesbary
    Software Engineer
    GTE Government Systems Corporation
    tel: (650) 966-2975
    e-mail: [email protected]

    here is the required code....
    private static class TreeDragGestureListener implements DragGestureListener {
         public void dragGestureRecognized(DragGestureEvent dragGestureEvent) {
         // Can only drag leafs
         JTree tree = (JTree) dragGestureEvent.getComponent();
         TreePath path = tree.getSelectionPath();
         if (path == null) {
              // Nothing selected, nothing to drag
              System.out.println("Nothing selected - beep");
              tree.getToolkit().beep();
         } else {
              DefaultMutableTreeNode selection = (DefaultMutableTreeNode) path
                   .getLastPathComponent();
              if (selection.isLeaf()) {
              TransferableTreeNode node = new TransferableTreeNode(
                   selection);
              dragGestureEvent.startDrag(DragSource.DefaultCopyDrop,
                   node, new MyDragSourceListener());
              } else {
              System.out.println("Not a leaf - beep");
              tree.getToolkit().beep();
    }

  • RE: Using CORBA as Middleware with Forte'

    This is one solution when the two sides want to be somewhat independent of
    each other.. To use Forte messaging the environments have to be connected,
    identical Forte versions, probably identical versions of all objects
    involved (rather than just correct IDL), etc. I've toyed with this as well
    for a client with two major Forte application development efforts occurring
    in completely different business units.
    -Greg
    -----Original Message-----
    From: Sean Brown [SMTP:[email protected]]
    Sent: Thursday, October 22, 1998 1:56 PM
    To: Giuseppe Sorce; Lenny Hon
    Cc: [email protected]
    Subject: Re: Using CORBA as Middleware with Forte'
    If you don't mind me asking, why would you ever want to do this? If
    you are
    talking between two Forte services, why would you not want to use
    the native
    protocol which is bound to be more efficient since it was written
    specifically for that purpose? The only reason I can think of is if
    you
    need two Forte services to talk to each other through a firewall and
    the
    firewall is configured to only allow certain protocols through, such
    as
    IIOP. Is this what you are trying to do? If not, what is your
    reasoning?
    Thanks,
    Sean Brown
    Cornice Consulting Inc.
    mailto:[email protected]
    -----Original Message-----
    From: Giuseppe Sorce <[email protected]>
    To: Lenny Hon <[email protected]>
    Cc: [email protected] <[email protected]>
    Date: Thursday, October 22, 1998 10:05 AM
    Subject: RE: Using CORBA as Middleware with Forte'
    >
    >Lenny, I'm sorry but I think that my problem is more complicated.
    >No java clients or java servers are involved: I want to use CORBA
    as
    >middleware between 2 different Forte' partitions (running on
    different
    >forte' environments).
    >For example imagine you have 2 different Forte' applications (say
    >application A and application B) in 2 different forte'
    environments.
    >Now imagine to define an IIOP-enabled service object (Inbound) in
    >application A and, starting from the generated IDL (using corbagen
    utility)
    >to create a IIOP-enabled service object (Outbound) in application
    B.
    >Application B will be the Corba Client and application A will be
    the Corba
    >Server.
    >They don't use Forte' middleware for communication (they are in
    different
    >Forte' envs).
    >
    >Giuseppe Sorce
    >
    >
    >
    >
    >
    >Lenny Hon <[email protected]> on 22/10/98 15.35.40
    >
    >Please respond to Lenny Hon <[email protected]>
    >
    >To: Giuseppe Sorce/CSI/IT, "'[email protected]'"
    > <[email protected]>
    >cc:
    >Subject: RE: Using CORBA as Middleware with Forte'
    >
    >
    >
    >
    >I have successfully used Forte IIOP-enabled service object to
    communicate
    >with my client Java program that uses VisiBroker 3.2 for Java ORB.
    For the
    >information, you can read the Forte Web Enterprise manual and the
    following
    >tech notes: 10950, 10951, 11145, 11152. I found them from Web
    manual.
    >
    >Lenny Hon
    >
    >-----Original Message-----
    >From: Giuseppe Sorce [mailto:[email protected]]
    >Sent: Thursday, October 22, 1998 5:58 AM
    >To: [email protected]
    >Subject: Using CORBA as Middleware with Forte'
    >
    >
    >
    >I would like to find a way to use CORBA middleware as an
    alternative for
    >communications between Forte' partitions (I'm using Forte' rel.
    3.0.G plus
    >Visibroker 3.1 ORB).
    >
    >I found a technical note (ID 10520) but it is quite old and it is
    related
    > to Forte' release 2.0.E.2 (!).
    >
    >Any experience with Forte' release 3 and Visibroker would be
    greatly
    > appreciated.
    >
    >
    >
    >TIA
    >
    >Giuseppe Sorce
    >
    >CSI Piemonte - C.so Unione Sovietica 216 - 10134 Torino - ITALY
    >
    >tel. +39-011-3168736
    >
    >fax +39-011-3168212
    >
    >e-mail [email protected]
    >
    >url http://www.csi.it
    >
    >
    >
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    >
    >
    >
    >
    >
    >
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    This is one solution when the two sides want to be somewhat independent of
    each other.. To use Forte messaging the environments have to be connected,
    identical Forte versions, probably identical versions of all objects
    involved (rather than just correct IDL), etc. I've toyed with this as well
    for a client with two major Forte application development efforts occurring
    in completely different business units.
    -Greg
    -----Original Message-----
    From: Sean Brown [SMTP:[email protected]]
    Sent: Thursday, October 22, 1998 1:56 PM
    To: Giuseppe Sorce; Lenny Hon
    Cc: [email protected]
    Subject: Re: Using CORBA as Middleware with Forte'
    If you don't mind me asking, why would you ever want to do this? If
    you are
    talking between two Forte services, why would you not want to use
    the native
    protocol which is bound to be more efficient since it was written
    specifically for that purpose? The only reason I can think of is if
    you
    need two Forte services to talk to each other through a firewall and
    the
    firewall is configured to only allow certain protocols through, such
    as
    IIOP. Is this what you are trying to do? If not, what is your
    reasoning?
    Thanks,
    Sean Brown
    Cornice Consulting Inc.
    mailto:[email protected]
    -----Original Message-----
    From: Giuseppe Sorce <[email protected]>
    To: Lenny Hon <[email protected]>
    Cc: [email protected] <[email protected]>
    Date: Thursday, October 22, 1998 10:05 AM
    Subject: RE: Using CORBA as Middleware with Forte'
    >
    >Lenny, I'm sorry but I think that my problem is more complicated.
    >No java clients or java servers are involved: I want to use CORBA
    as
    >middleware between 2 different Forte' partitions (running on
    different
    >forte' environments).
    >For example imagine you have 2 different Forte' applications (say
    >application A and application B) in 2 different forte'
    environments.
    >Now imagine to define an IIOP-enabled service object (Inbound) in
    >application A and, starting from the generated IDL (using corbagen
    utility)
    >to create a IIOP-enabled service object (Outbound) in application
    B.
    >Application B will be the Corba Client and application A will be
    the Corba
    >Server.
    >They don't use Forte' middleware for communication (they are in
    different
    >Forte' envs).
    >
    >Giuseppe Sorce
    >
    >
    >
    >
    >
    >Lenny Hon <[email protected]> on 22/10/98 15.35.40
    >
    >Please respond to Lenny Hon <[email protected]>
    >
    >To: Giuseppe Sorce/CSI/IT, "'[email protected]'"
    > <[email protected]>
    >cc:
    >Subject: RE: Using CORBA as Middleware with Forte'
    >
    >
    >
    >
    >I have successfully used Forte IIOP-enabled service object to
    communicate
    >with my client Java program that uses VisiBroker 3.2 for Java ORB.
    For the
    >information, you can read the Forte Web Enterprise manual and the
    following
    >tech notes: 10950, 10951, 11145, 11152. I found them from Web
    manual.
    >
    >Lenny Hon
    >
    >-----Original Message-----
    >From: Giuseppe Sorce [mailto:[email protected]]
    >Sent: Thursday, October 22, 1998 5:58 AM
    >To: [email protected]
    >Subject: Using CORBA as Middleware with Forte'
    >
    >
    >
    >I would like to find a way to use CORBA middleware as an
    alternative for
    >communications between Forte' partitions (I'm using Forte' rel.
    3.0.G plus
    >Visibroker 3.1 ORB).
    >
    >I found a technical note (ID 10520) but it is quite old and it is
    related
    > to Forte' release 2.0.E.2 (!).
    >
    >Any experience with Forte' release 3 and Visibroker would be
    greatly
    > appreciated.
    >
    >
    >
    >TIA
    >
    >Giuseppe Sorce
    >
    >CSI Piemonte - C.so Unione Sovietica 216 - 10134 Torino - ITALY
    >
    >tel. +39-011-3168736
    >
    >fax +39-011-3168212
    >
    >e-mail [email protected]
    >
    >url http://www.csi.it
    >
    >
    >
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    >
    >
    >
    >
    >
    >
    >-
    >To unsubscribe, email '[email protected]' with
    >'unsubscribe forte-users' as the body of the message.
    >Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • ActiveX problems with 3.0.F.2 (fwd)

    This is the message I sent to tech support. Has anyone else seen this
    type of thing? Any suggestions (even half-baked) would be appreciated.
    -- Adam
    ---------- Forwarded message ----------
    Date: Tue, 17 Mar 1998 13:48:17 -0600 (CST)
    From: Adam Mckee <[email protected]>
    To: [email protected]
    Subject: ActiveX problems
    Product: Forte
    Version of Forte: 3.0.F.2
    Server OS: HPUX
    Client OS: NT/Win 95
    DBMS: Oracle
    Reproducible(?): Yes
    Brief description of issue:
    I have experienced problems using ActiveX controls. I have tried several
    controls, including:
    o Microsoft Forms 2.0 SpinButton
    o Microsoft Forms 2.0 CheckBox
    o Microsoft Forms 2.0 EditBox
    o AddSoft Gantt/OCX
    o Sheridan MonthView
    o Sheridan DayView
    o Sheridan DateCombo
    o Microsoft Calendar Control
    (specifically mentioned in a Forte technote)
    I have experienced problems with all of these controls. With the Sheridan
    DateCombo, the Forte environment crashes when I attempt to drop the
    control into a form using the "Insert Control..." button. Before the
    environment crashes, I get a series of informational and error dialog
    boxes as follows:
    o error: unexpected exception -10737415717
    o error: The Error Manager stack is empty (repeated 3 times)
    o information: the workspace is now read-only because the
    repository is disabled.
    o error: Exception escaped from terminating task CW.Display
    o ERROR: TMgr.Terminate: fatal error terminated partition
    With all the other controls I tried, the ActiveX support appears to work
    properly until I attempt to bind an instance of the olegen-generated
    class to the control itself in the window's Init() method:
    --- MyWindowClass.Init() ----
    super.Init();
    myActiveXControl = new();
    After this has been done, the Forte environment may "hang" when I interact
    with the control at run-time. For example, each time a generate a mouse
    event inside the control, I risk hanging the Forte environment. I might
    be able to interact with the control 50 times before the environment
    hangs, or it might hang after a single mouse click. Until the crash/hang
    occurs, the ActiveX support appears to work properly: I am able to trap
    mouse events, and interact with the control using the provided interface.
    Any help or advice you can offer would be appreciated. I would be happy
    to provide any additional information you may require.
    -- Adam McKee

    I don’t recall any problems importing to “selected item’ which I always use so I define where it goes and what it’s called.
    Do you have Aperture’s Activity Window open so you can see where it is hanging up? Is it just busy generating Previews etc.? I know it sounds more serious than just ‘busy’ but would be interesting to know what it’s doing then.
    After these problems, assuming that previews and thumbnails are generated correctly, it may be a good precaution to restart Aperture while holding down the OPTION and COMMAND keys so you can Repair Permissions or Repair the database. Even rebuilding the database is fairly quick if those first two options are ineffective.

  • Problem with Oracle procedure

    Hi,
    We have a problem with a Oracle procedure call using the Sql Execute
    Procedure statement.
    The call gives us this error :
    SYSTEM ERROR: (This error was converted)
    (This error was converted)
    OpenCursor failed for SQL statement in project LFB010, class
    ClsDemarreLFB010,
    method Demarre, methodId 4, line 32, error from database is:
    ORA-01036: illegal variable name/num
    Class: qqdb_ResourceException
    Distributed method called: qqdb_SessionProxy.OpenCursor!22 (object
    name
    instance/d4745a10-c8e4-11d1-97fd-90cad1e7aa77:0x196:0x4/lfb010_cl0/lfb010_cl
    0-fonctiondbservice0x196:0x2)
    from partition "LFB010_CL0_Client", (partitionId =
    D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196:0x4, taskId =
    [D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196.3]) in application
    "FTLaunch_cl0", pid 4290975297 on node LAXOU146 in environment
    CentralEnv
    Oracle error: 1036, Server: sipre_tcp, UserName: forte
    Database Statement: begin
    :qqReturnValue := AID_CUMUL_ELTVAL;
    end;
    Class: qqdb_ResourceException ..........
    And this is the TOOL code :
    BEGIN TRANSACTION
    TmpEtat : IntegerData = new;
    TmpEtat.SetValue (( SQL EXECUTE PROCEDURE AID_CUMUL_ELTVAL ON SESSION
    FonctionDBService ));
    Etat = TmpEtat.Value;
    END TRANSACTION;
    Our procedure has no parameter and when we put a dummy parameter to the
    procedure and pass it in the TOOL SQL statement, it works fine althoug the
    Fort&eacute; help says the parameter list is optionnal !
    We tried to execute the procedure in a "SQL Select OurProdecure Into ..."
    statement, but it does'nt work because there is a SQL update in the
    procedure and it is forbidden by Oracle.
    Has anyone seen this error before ?
    Any ideas would be greatly appreciated.
    Many thanks and regards,
    Manuel DEVEAUX
    Previade, France
    e-mail : deveauxpreviade.fr

    Hi,
    We have a problem with a Oracle procedure call using the Sql Execute
    Procedure statement.
    The call gives us this error :
    SYSTEM ERROR: (This error was converted)
    (This error was converted)
    OpenCursor failed for SQL statement in project LFB010, class
    ClsDemarreLFB010,
    method Demarre, methodId 4, line 32, error from database is:
    ORA-01036: illegal variable name/num
    Class: qqdb_ResourceException
    Distributed method called: qqdb_SessionProxy.OpenCursor!22 (object
    name
    instance/d4745a10-c8e4-11d1-97fd-90cad1e7aa77:0x196:0x4/lfb010_cl0/lfb010_cl
    0-fonctiondbservice0x196:0x2)
    from partition "LFB010_CL0_Client", (partitionId =
    D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196:0x4, taskId =
    [D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196.3]) in application
    "FTLaunch_cl0", pid 4290975297 on node LAXOU146 in environment
    CentralEnv
    Oracle error: 1036, Server: sipre_tcp, UserName: forte
    Database Statement: begin
    :qqReturnValue := AID_CUMUL_ELTVAL;
    end;
    Class: qqdb_ResourceException ..........
    And this is the TOOL code :
    BEGIN TRANSACTION
    TmpEtat : IntegerData = new;
    TmpEtat.SetValue (( SQL EXECUTE PROCEDURE AID_CUMUL_ELTVAL ON SESSION
    FonctionDBService ));
    Etat = TmpEtat.Value;
    END TRANSACTION;
    Our procedure has no parameter and when we put a dummy parameter to the
    procedure and pass it in the TOOL SQL statement, it works fine althoug the
    Fort&eacute; help says the parameter list is optionnal !
    We tried to execute the procedure in a "SQL Select OurProdecure Into ..."
    statement, but it does'nt work because there is a SQL update in the
    procedure and it is forbidden by Oracle.
    Has anyone seen this error before ?
    Any ideas would be greatly appreciated.
    Many thanks and regards,
    Manuel DEVEAUX
    Previade, France
    e-mail : deveauxpreviade.fr

  • Problem with Telnet and Escript/Fscript

    I have a lot a problems using Telnet and Escript/Fscript with Forte
    3.0.G.2.
    Does anyone has the same trouble or any experience about that.
    Thanks for your answers.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    I use EScript and FScript through telnet sessions all the time, and I
    don't have any problems. Can you give more information on the problems
    you are experiencing? Are there any error messages? Does it hang? Any
    other information about the platforms and process you are using?
    For example, can you even get into FScript/EScript? If not, your
    environment variables for the user may not be set (you have to have set,
    at least, FORTE_ROOT and FORTE_NS_ADDRESS, or you have to use explicit
    paths and the -fns flag).
    Also, how are you invoking telnet (Unix-to-Unix, Windows-to-Unix,
    etc.)? Which telnet client are you using?
    More information would be really helpful in diagnosing your problem.
    Regards,
    -Katie
    Pascale Voisin-Bouton-FX01314 wrote:
    >
    I have a lot a problems using Telnet and Escript/Fscript with Forte
    3.0.G.2.
    Does anyone has the same trouble or any experience about that.
    Thanks for your answers.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>--
    Katie Carty
    Senior Consultant
    Forte Software, Inc.
    http://www.forte.com
    4801 Woodway Drive, Suite 300E
    Houston, Texas 77056
    vmail: (510) 986-3802
    email: [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Problem with getCodeBase()

    I have a problem with the deployment of a 'jarred' applet. Here's my directory structure (in a web module);
    applets
    myjar.jar
    data.txt
    webpages
    mypage.jsp
    myjar.jar contains an applet.
    mypage.jsp has an applet tag that includes this line:
    archive="../applets/myjar.jar
    This works fine. The problem comes when the applet tries to download data from data.txt. I'm using getCodeBase(), which should return the URL of the applets directory. But getCodeBase() is returning the URL of the webpages directory. In other words, it's behaving like getDocumentBase()!
    Why is this happening? What's the solution? Any help greatly appreciated!
    miguel

    Very good point Ron. I found it out by myself in the meantime: getCodeBase() uses the CODEBASE attribute in the APPLET tag. This info was hard to find!
    Anyway u get your 5 dukedollars!
    The thing is ... my applet is still not working. When in my IDE (Forte), everything is fine, but online, the class cannot be found. This is not a getCodeBase() problem anymore, but probably a classpath problem. I tried putting the applet jar in WEB-INF/lib/, but it didn't work either.
    Here's my original applet tag:
    <applet align="middle" archive="../livemaps/lm_applet_jet.jar" code="applet.Applet1.class" codebase="../livemaps/" height="50" width="60">
    The dir structure is exactly the same but it won't work online!!! Any suggestions?
    miguel

Maybe you are looking for

  • ITunes 10 not playing music

    Hi all! I just upgraded to iTunes 10 and no music is playing either in my library or in the iTunes store whatsoever. iTunes recognizes the length of the song, and I can move the progress bar, but hitting play results in not playing. The progress bar

  • Why is returning old edge phone so hard??

    For simplicity sake, here's an abridged version.... I edged up toward the end of Nov, 2014 then returned my old edge phone in Dec.            (Note: I had previously lost my phone and Verizon replaced it for me through Asurion) It got returned back t

  • I want to connect an applet with an access database

    I want to connect an applet with an access(*.mdb) database, how I do? I now the jdbc odbc bridge but how work it? Please Help me!!!!!!!!!!

  • HT5312 How do I get to the place were you make your rescue email?

    I need to change my security questions but I need to create a rescue email how do you do that?

  • Quotation Smartform

    Hi,     I have developed the smartform for Quotation(Sales)  and a driver program which is executing fine. But, now i have to assign the quotation to the transaction VA21. For this I have to copy the Standard Program RVADOR01 to 'Zprogram' and insert