Intriscope pbd files

Does any documentation about pbd files exist? I want to create my own pbd file for testing classes in my application. I'm using Wily introscope 7.2.

Hi,
Why do you want to create a PBD file? Testing classes in your application!? Can you elaborate.
Feel free to revert back.
--Ragu

Similar Messages

  • How to open .pbd file in PowerBuilder IDE?

    Hi
    I am bit new to powerbuilder. There is an application build in powerbuilder now I have to look to which data source its pointing to. The only file I have .pbd file. But when I open it with notepad++ it show data in some wired manner. Is there a way I can see the actual code in .pbd file?

    You cannot see the code in the PBD, as it contains the compiled code. You need the PBL to see the source code. Typically the database parameter that are used to connect are stored in an .ini file and not within the application itself.
    You can add PBDs to the library search list. That will allow you to see the name of the objects and the function/event names within those objects. In older versions of PB (before 10 I believe) you can actually open datawindow objects and see the SQL statement.

  • How to deploy a single PBL (Build Runtime Library) in 64Bit

    Hello There,
    I am testing PB15 and create
    two Project Files within the application. One Projectfile to compile a 32Bit Version and the other one to deploy a 64Bit version in P-Code. We are delivering today Patches in a Patch Library at the top of the library list (we are aware for the dependencies and know how to avoid the “Wrong Function Call” issue).
    How can I create a Patch Library for 64Bit?
    Today we just recompile the Patch.PBL two times and rename Patch.PBL -> Patch.PBD. But that did not work with 64Bit Project because I can’t choose the desired Platform (I am guessing it is always compiles in 32Bit).
    There is an additional menu point “Build Runtime Library” which seems to have the settings / option similar to the Project settings. But there is the Platform the missing link either (see attached Picture).
    So how can I get a single PBL compiled in 64Bit without deploying the whole Project?
    BTW:
    Compilation of the Whole app takes about 6 hours and results in full XCOPY deployment
    of 730MB (in 64Bit), so we want wait that time or deliver so much files if a single
    Patch.pbd of 500KB would be sufficient.
    Regards
        Marco

    Hi Marco,
    You should try orcascript to build your patches.  It is much cleaner and faster.
    I setup a .dat file with the orcascript and then run it using a .bat file.
    this is my batch file command:  OrcaScr125 build.dat >buildlog.txt
    Note that the orcascr command is version specific.  I have NOT tried this yet with PB 15 32 or 64 bit.
    this is what the build.dat would have in it.  The liblist has to be your lib list, same with the main applicaiton info.
    NOTE:  i regen a function in the script in order to set a patch date that users can see.  Also, note that i copy the patch.pbl to a build directory, build it, then copy the .pbd to various locations.
    start session
    file copy "patch.pbl" "build\patch.pbl"
    set liblist "build\patch.pbl; ...."
    set application "C:\main.pbl" "app"
    regenerate "build\patch.pbl" "f_get_patch_date" "function"
    build library "build\patch.pbl"   "" pbd
    file copy "build\patch.pbd" "patch.pbd"
    file copy "patch.pbd" "..\patch.pbd"
    end session
    regards
    -mike

  • Translation Toolkit (PB 12.5) / OLE objects binary (.udo)

    There's always been an issue with using translation toolkit with objects that include OLE objects
    In earlier versions of Powerbuilder, the binary data for the OLE object was found in the source code (edit source).
    Powerbuilder 12.5 however, when I do edit source on a object containing OLE objects, I find the following script at the bottom:
    string binarykey = "u_external_object.udo".
    How may I find this binary content in the .udo file? Can't seem to find any udo files in the build directory.

    That is a reference to the compiled version of the object that the olecontrol is placed on. A .udo is the compiled version of a userobject inside the pbl/pbd. A .win is the compiled version of a window.
    If you export your object to a .sru file, you will see the following at the end with some binary data in between the two lines.
    Start of PowerBuilder Binary Data Section : Do NOT Edit
    End of PowerBuilder Binary Data Section : No Source Expected After This Point
    The binary data is actually stored separately in the pbl/pbd as a .bin object. Inside the pbl/pbd files nothing has changed.

  • Powerbuilder Web Service + Smart Client

    I encountered many errors about "System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt." in event log from the server that I hosting PB web service.

    Hi Chris,
    My answers as below:
    1) What version of MS-Windows are you using?
         - Development OS is Windows 7 Enterprise SP 1
         - Production OS is Windows Server 2008 R2 Standard SP 1
    2) What version of IIs are you using?
         - Both Development & Production are IIS 7 (version 7.5.7600.16385)
    3) What version & build of PB are you using?
         - Version 11.5.1 build 4964
    4) Did you encounter any deployment warnings?
         - Nope, below is the web service deployment status. Only "Default" tab, no "Error" or "Warning' Tab
          ---------- Deploy: Deploy of target myproject_ws   (09:42:12)
          --------- Deploying project p_myproject_ws
         Checking IIS server...
         Generating .NET assembly file...
         Generating PBD files...
         Generating Web service .asmx and .disco files...
         Copying to IIS server...
         Deploy succeeded.
          ---------- Finished Deploy of target myproject_ws   (09:42:18)
    Thanks.
    Regards,
    VS

  • Selecting ocx (power builder application) in forms

    Hai,
    I want to insert an pb application (*.pbd) file as an ocx control in forms (6i).I tried inserting ocx control but there is no object relating to pb application objects.
    How to insert a .pbd file in forms(6i) as an ocx control. can u help me in this regard.

    Hey
    >>Do you means that we call web services in power builder app. ?
    generate the WSDL for the powerbuilder application(powerbuilder guys should be able to provide you with it ) and then import this WSDL in IR,then import RFC(as urs is sync scenario)into IR as well,do the request and response mapping.
    configure sender SOAP adapter and receiver RFC adapter(also do the pipeline steps ) and there you go,the scenario is complete:)
    thanx
    Ahmad

  • PDB reader for linux

    Hello,
    Is there any reader for PBD file format?
    By "reader" i mean not actually reader but something that can open/edit this kind of files.
    I was unable to fine anything usable on internet and i don't want to use .exe + wine.
    Also if it's possible i am looking for something that will be able to read some of Eastern Europe encoding formats
    thank you.

    There's Calibre and FBReader.

  • Using a function from another file

    Dear friends,
    I have two different java files in one folder. One is sm.java and the other is AVTransmit2.java. The code below describes the create Transmitter function in the AVTransmit2.java file. Now if i would like to use this function in sm.java, how do i do it ? The create transmitter function is shown below. Thank You, Gan.P
    private String createTransmitter() {
    // Cheated. Should have checked the type.
    PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
    PushBufferStream pbss[] = pbds.getStreams();
    rtpMgrs = new RTPManager[pbss.length];
    SessionAddress localAddr, destAddr;
    InetAddress ipAddr;
    SendStream sendStream;
    int port;
    SourceDescription srcDesList[];
    for (int i = 0; i < pbss.length; i++) {
    try {
    rtpMgrs = RTPManager.newInstance();
    // The local session address will be created on the
    // same port as the the target port. This is necessary
    // if you use AVTransmit2 in conjunction with JMStudio.
    // JMStudio assumes - in a unicast session - that the
    // transmitter transmits from the same port it is receiving
    // on and sends RTCP Receiver Reports back to this port of
    // the transmitting host.
    port = portBase + 2*i;
    ipAddr = InetAddress.getByName(ipAddress);
    localAddr = new SessionAddress(InetAddress.getLocalHost(),
    port);
    destAddr = new SessionAddress(ipAddr, port);
    rtpMgrs.initialize(localAddr);
    rtpMgrs.addTarget(destAddr);
    System.err.println( "Created RTP session: " + ipAddress + " " + port);
    sendStream = rtpMgrs.createSendStream(dataOutput, i);
    sendStream.start();
    } catch (Exception e) {
    return e.getMessage();
    return null;
    }

    Kalani and Bz,
    Thanks for the reply. Now i can call the function ,
    but when i write sendStream.start(); it indicates
    that, its an error. sendStream.start is in that
    function. but i cant call that
    Any idea ?
    thank you
    Gan.PCan you please inform what is the error ?

  • Need to copy files to path that contains a wildcard!??!

    Afternoon,
    I am attempting to copy a set of files to multiple computers on the network (files are at a dfs link, no issue there).
    The destination path on each computer is either:
    "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"
    OR
    \\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS"
    The paths both have a "." in them. It is called a "middle dot" I think. It is centered between the two wordsin the path...When I run test-path it can see the path. However when I attempt to copy files to it, I get the "illegal
    characters in path" error.
    Below is the script I am working to get right, I hope)..
    $file = "\\path\to\files\ITClientBuild\Specs2\specslas5\testcopy.txt"
    $outfile = "c:\temp\las6copy.csv"
    gc c:\temp\las6.txt | %{
    $computer = $_
    $ping = Test-Connection $computer -Count 2 -Quiet
    if ($ping) {
    $pathTest1 = Test-Path "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"
    $pathTest2 = Test-Path "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS"
    if($pathTest1 -eq $true){
    # md -Force "\\$computer\c$\windows\temp\las5a"
    # cp -force "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS\las6cust.pbd" "\\$computer\c$\windows\temp\las5\*"
    cp -force $file "\\$computer\\c$\\Program Files\\AASHTOWare\\Trns·port Client-Server PES-LAS\\*"
    "$computer FILE PUSHED to PES-LAS dir" >> $outfile
    else {"$computer las6 PATH DOES NOT EXIST!!" >> $outfile }
    if ($pathTest2 -eq $true){
    # md -Force "\\$computer\c$\windows\temp\las5a"
    # cp -force "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS\las6cust.pbd" "\\$computer\c$\windows\temp\las5\*"
    cp -force $file "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS\*"
    "$computer FILE PUSHED to PES-LAS dir" >> $outfile
    else {"$computer PES-LAS PATH DOES NOT EXIST!!" >> $outfile }
    else {"$computer OFFLINE" >> $outfile }
    My end need is to:
    Create a folder on the destination workstations, copy the original file(s) to that folder, copy the newer file(s) to the paths indicated..I have had no issues previously with copying files via powershell. However this is my first time running up against
    this issue.
    Your assistance is greatly appreciated...(Note: I am fairly new at this...but learning all the time)
    Tony.
    

    Some reformatting of you file and removing a lot of the unnecessary and unused lines makes it easier to see where your mistakes are.  There are a few obvious ones.
    $file = "\\path\to\files\ITClientBuild\Specs2\specslas5\testcopy.txt"
    $outfile = "c:\temp\las6copy.csv"
    Get-Content c:\temp\las6.txt |
    ForEach-Object{
    $computer = $_
    if(Test-Connection $computer -Count 2 -Quiet){
    if(Test-Path "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"){
    Copy-Item -Path $file -Destination "\\$computer\c$\Program Files\AASHTOWare\Trns·port Client-Server PES-LAS"
    Out-File "$computer FILE PUSHED to PES-LAS dir" -FilePath $outfile -append
    }else{
    Out-File "$computer las6 PATH DOES NOT EXIST!!" -FilePath $outfile -Append
    if(Test-Path "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS")
    Copy-Item -Path $file -Destination "\\$computer\c$\Program Files (x86)\AASHTOWare\Trns·port Client-Server PES-LAS"
    Out-File "$computer FILE PUSHED to PES-LAS dir" >> $outfile
    }else{
    Out-File "$computer PES-LAS PATH DOES NOT EXIST!!" -FilePath $outfile -Append
    }else{
    Out-File "$computer OFFLINE" -FilePath $outfile -Append
    ¯\_(ツ)_/¯

  • Delete File From Mounted Volume

    Hey,
    I am trying to delete the "Calendar Cache" files on both my laptop PowerBook G4 and the Mac Pro Quad that I sync my calendars with. I am using ChronoSync and the individual calendars sync fine, but there is a little house keeping needed with the cache file. They need to be deleted on both systems in order to "refresh" the views of the calendars.
    So after the sync of calendars, I have the software initiating an AppleScript that deletes both. Here's the script:
    +(* PowerBook Files / delete cache file *)+
    +(* Please note that both systems have the same username. This may be arise a conflict *)+
    +tell application "Finder"+
    + activate+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "useranthony"+
    +end tell+
    +(* Mac Pro Quad/ delete cache file *)+
    +tell application "Finder"+
    + mount volume "afp://10.10.10.1/anthonyabraira"+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "/volumes/useranthony"+
    +end tell+
    I am having trouble addressing a deletion on the networked Mac Pro Quad.

    why send it to the trash — just delete it...
    (* PowerBook Files / delete cache file )
    try
            do shell script "rm -rf /Library/Calendars/Calendar\\ Cache"
    end try
    you may need a delay for the Mac Pro Quad to mount
    ( Mac Pro Quad/ delete cache file *)
    --the mount and then the delay
    delay 4
    try
            do shell script "rm -rf /THE-CORRECT/PATH-HERE/Library/Calendars/Calendar\\ Cache"
    end try
    Tom

  • How Open And Print Proc C Genrated Text File Based Report ON Browser

    Dear Sir
    I have my old 6i forms from which i runs some Pro*c programmers with the help of HOST() command ,and then that generates a normal text file as a resultant report like file name "kha10"
    which i can easily open with any text client ,,,
    now what i want is that, to open this file on browser like web Report on my forms 10g like report builder 10g
    can anyone help me as it will be a gr8 help otherwise i would have to develop approx 100 reports.....
    any solution or any technique plzz help me

    bro my work is almost done apart from this virtual directory , how to make a virtual directory so that is dosent comes under
    http://........../form/
    i mean where to put my
    <virtual-directory virtual-path="/procrepo" real-path="c:\" />
    as my original file looks like bellow
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">
    <orion-web-app
         deployment-version="10.1.2.0.2"
         jsp-cache-directory="./persistence"
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
    >
    <context-param-mapping name="configFileName">D:\DevSuiteHome_1/forms/server/formsweb.cfg</context-param-mapping>
         <virtual-directory virtual-path="/html" real-path="D:\DevSuiteHome_1/tools/web/html" />
         <virtual-directory virtual-path="/java" real-path="D:\DevSuiteHome_1/forms/java" />
         <virtual-directory virtual-path="/webutil" real-path="D:\DevSuiteHome_1/forms/webutil" />
         <virtual-directory virtual-path="/jinitiator" real-path="D:\DevSuiteHome_1/jinit" />
         <session-tracking cookies="disabled" />
    <!-- Uncomment this element to control web application class loader behavior.
    <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
    -->
    <security-role-mapping name="administrators">
    </security-role-mapping>
    </orion-web-app>
    plzzzzzzzzzzz help

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • How do I find, at-a-glance, the sample size used in several music files?

    How do I find, at-a-glance, the sample size used in several music files?
    Of all the fields available in a FInder Search, "Sample Size" is not available. Finder does offer a "Bits per Sample" field, but it only recognized graphic files and not music files.
    Running 10.8.5 on an iMac i5.
    I did search through a couple of communities but came up empty.
    Thank you,
    Craig

    C-squared,
    There is no View Option to allow display of a column of sample size. 
    For WAV or Apple Lossless files, it is available on the Summary tab (one song at a time, as you know).  For MP3 and AAC it is not available at all.
    You can roughly infer it from the files that are larger than expected for their time.
    99% of the music we use is at the CD standard of 16-bit, so I can guess that displaying it has never been a priority.  However, if you want to make a suggestion to Apple, use this link:
    http://www.apple.com/feedback/itunesapp.html

  • Windows no longer boots up, paging file error

    I just reinstalled windows on my mac last week because until now I had been running the old beta version of boot camp.
    Just a few days ago I started getting blue screens every so often and it happened again (twice to be exact) yesterday, however one of the times it booted up and informed me I might want to change my paging file size. Not quite sure what this was I went and found the paging file option in settings and found it was clicked on a set size...so I figured I'd set it on the option that lets windows decide for me hoping this would fix the blue screen problem.
    I shut down my computer later that night and now windows won't get to the desktop.
    When I start it up normally it runs the system check (which I cannot skip for some reason) which gets to 84% and then says \windows\Dump3865.tmp is cross-linked on allocation unit 1731772
    Above it it mentions there is an invalid size for my page file.
    I tried booting it up the in safe mode multiple times and every time it generates a list in dos and stops on windows\system32\Drivers\mup.sys
    I really don't want to have to reload windows again. Is there anyway to skip the system check (it says press anykey, but that has never worked for me) or any other way to get my paging files back to the way they were?
    Thank you.
    Oh I'm running leopard with windows XP professional on a macbook pro (last years model) if that helps in anyway.
    Message was edited by: Tommmmm

    A. run chkdsk
    B. What happens if you boot from XP CD and Repair System
    C. system file checker - from command "sfc /scannow"
    http://www.informationweek.com/news/windows/showArticle.jhtml?articleID=18530125 1
    http://windowshelp.microsoft.com/Windows/en-US/Help/f768809f-ed90-415f-a83f-89b4 2108b3551033.mspx

  • ITunes & Windows Vista Home - Error File C:\Program Data\Apple Computer\Installer\Cache\iTunes 10.5.142\iTunes.msi was rejected by digital signature policy.

    Tried
    https://discussions.apple.com/thread/2713232?start=0&tstart=0
    and
    http://www.vistax64.com/vista-general/159940-computer-blocking-anything-no-digit al-signature.html
    with no avail!!!
    iTunes opens after I click OK on the above message however I cannot do anything within the app its like Windows it preventing it from running.
    PLEASE HELP!!!

    Update:
    I tried what the diagnostic told me to do, and repaired the installation. I was able to burn a CD in iTunes, but after I restarted, the drives have disappeared again! Here's the diagnostic info now:
    Microsoft Windows Vista Home Edition (Build 6000)
    MICRO-STAR INC. MS-6728
    iTunes 7.6.0.29
    QuickTime 7.4
    CD Driver 2.0.6.1
    CD Driver DLL 2.0.6.2
    Apple Mobile Device 1.1.3.26
    iTunes Serial Number 20D6EAF059AB94B4
    Current user is not an administrator.
    The current local date and time is 2008-01-15 19:09:32.
    iTunes is not running in safe mode.
    Video Display Information
    ATI Technologies Inc., Radeon X1600/X1650 Series
    ATI Technologies Inc., Radeon X1600/1650 Series Secondary
    ** External Plug-ins Information **
    Plug-in Name: Last.fm iTunes plugin
    Plug-in Loaded: Yes
    Plug-in Version: 0.0.13
    Plug-in File Version: 2.0.13.0
    Plug-in Path: C:\Program Files\iTunes\Plug-ins\itw_scrobbler.dll
    No drives showed up to be tested.

Maybe you are looking for