creating a new app in powerbuilder 11.5

Posted on 2010-01-04
Last Modified: 2013-12-26
How can I create a new app in PB 11.5 from scratch.  There is a functionality (window) in the current existing app which allows the users to unlock some tables so the user who was responsible for locking those tables can log back in but the problem is the user who was responsible for locking those tables in the first place cannot pass through the main app login screen and use this functionality to log out himself someone else has to log in and clear the records. I want to create this functionality as a new app. How can I use this. I am attaching some screen shots which might help. What are the steps to create a new app and how can make use of the current pbls and target. Its Urgent.
Question by:HARLIBRA
    1 Comment
    LVL 14

    Accepted Solution

    Open the PB
    1. goto file click on new and select workspace and create workshape on your selected folder
    2. goto file click on new and select target and click on Application
       a. type your application name and library path and Taget path will selecte atomatically
      writh the code in app object which is mention below..

    SQLCA.AutoCommit = False
    SQLCA.DBParm = "ConnectString='DSN=<your_datbasebname>;UID= <user_name>;PWD=<your_database_password>'"
    Connect Using SQLCA;
    If SQLCA.SqlCode <> 0 Then
          MessageBox("Error", "Not Connected to Database~r~n" + SQLCA.SQLErrText)
    End If

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
    Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now