HELP ON PACKAGING

Am new to LABVIEW. I need some vast help on packaging.
I attached some blocks in my application. In the whole application, in those two areas only picture setup were there.
The problem is VI file is running perfectly but when i build an exe file and running it the pictures didn't get displayed.
Please give ur valuable suggestions.
Earlier reply was much appreciated.
Regards,
Mathan
Attachments:
Doc14.doc ‏89 KB

I tend to ask more questions on here than i answer.... but here goes....
Is there not something about relative paths and having to strip an additional level when the VI is running as an executable?
Think this thread will help.
http://forums.ni.com/ni/board/message?board.id=170&message.id=93323&query.id=128427#M93323
Derek

Similar Messages

  • Help With "Package An Application" Using APEX  3.0.1 with XE

    I'm using apex 3.0.1 and XE Database and I'm trying to create a package application but without succes, I can find the way to do it and I know that it's possible. What I'm trying to do is create a file like the package application that we can download from Oracle page but for an application I create.
    Looking here in the forums I found this link:
    http://www.oracle.com/technology/oramag/oracle/06-jul/o46browser.html
    And I was trying to follow it step by step until I found the Step 4: Package Up the Application, number 7.
    1. In the breadcrumb links in the upper left-hand corner of the screen, click the Application nnn link (where nnn corresponds to the ID of the employee lookup application in your Oracle Application Express instance).
    2. Click the Edit Attributes icon, and then click Supporting Objects.
    3. Click Edit.
    4. In the Welcome section, enter readme text for the application in the Message field, such as "This application lets users browse employee information. Users accessing the application with a USERID stored in the table can upload a photo if one does not already exist."
    5. Click the right arrow to go to the Prerequisites tab.
    6. To ensure that folks who already have a table named OM_EMPLOYEES in their schemas don't run into a conflict with this script, enter OM_EMPLOYEES in the first Object Names field and click Add.
    [b]7. Click the Scripts tab.
    8. Click Create.
    9. Click the Copy from SQL Script Repository icon.
    10. Enter Create Table, Sequence, and Trigger in the Name field, and click Next.
    11. Select om_employees.sql, and click Create Script.
    12. Repeat steps 9 through 11 for the om_download_pict.sql and seed_data .sql scripts. Feel free to name these scripts as you see fit.
    13. Click the Deinstall tab, and click Create.
    14. Click the Create from File icon.
    15. Click Browse, select the drop_om_objects.sql script (included with this column's download file), click Open, and click Create Script.
    16. Click the right arrow.
    17. Select Yes for Include Supporting Object Definitions in Export.
    18. Click Apply Changes.
    I can't find the scrips tab and I completely lost. I start to believe that this steps don't apply for Apex 3.0.1.
    If anyone of you could help me with this, please do it, I really need it.
    Johann.

    Johann,
    That doc was probably written against 2.2 because in 3.0, we reworked the supporting objects page a bit. If you are on Supporting Objects, in the Installation region, click on Installation Scripts. For more information, check the Advanced Tutorials document off our OTN site for a Tutorial called Reviewing a Packaged App (something like that - I can't access the doc at the moment).
    -- Sharon

  • Urgent help, the package can't be see

    Hello, can anybody help me on this:
    I put all the GUI for my application in a package called TextExtractor.ui, ui stands for user interface.
    And I have another package called: TextExtractor.io
    when I was trying to import the classes in the io package to the the main class in the ui package, after I typed import TextExtractor.oi.*;
    there was always an error saying
    "MainFrame.java": Error #: 300 : class io not found in class TextExtractor.ui.TextExtractor at line 8, column 22
    I checked all the package names, and both packages are under the bigger package called TextExtarctor, so there should not be any class path problem.
    Apparently, after I tried all other classes in the ui package, none of them can recognise other packages which in under the TextExtractor this bigger package, but they do recognise the java SDK packagees such as java.swing or java.awt ... So I was wondering what was going on???
    Can somebody please give me a hand on this, I am dying to this annoy error.

    In your post, you have a typo: "oi" instead of "io" in the import statement.
    ps: java package names should be all lower case - it's a standard. Look for "java coding standards" on java.sun.com
    pps: I always use some variant of my home email adress (eg: pmurray__bigpond_com) as my top-level package.

  • Help with Package please

    Hi - I posted my question in the iPhoto forum and was directed me here! (The reply began "That's really an Operating System issue not an iPhoto one. The fix is done in the Terminal, but I'm not terminal expert ...") So here goes:
    I recently installed iPhoto Library Manager and it worked fine for the first two libraries I created but then I created a third and after opening it, the Pictures Folder (listed under PLACES on the left of my Macintosh Harddrive window) turned into a "package" with a new sort of icon instead of a folder.
    When I try to open it, I get a window that reads "There is no default application specified to open the document ‘Pictures’ " and a prompt to "Choose Application." I tried deleting the 3rd library from iPhoto Manager (I still have the photos elsewhere), but that didn’t help.
    When I go into my users folder, I find this same Pictures Package with its new sort of icon and right beneath it I find a folder called "Pictures_" Inside the "Pictures_" folder I find exactly what used to be in my Pictures Folder.
    In the new Pictures package (which I view by rIght clicking on it & selecting show contents option) I found all my iPhoto libraries and files that used to be in the Pictures folder (when it was under PLACES) plus 8 more items. They are: AlbumData.xml; iPhoto.ipspot; Library.data; 3 folders - Data, Modified & Originals; and Library.iPhoto & Library6.iPhoto – which look like two new iPhoto Libraries, and when I click on either of them, my iPhoto Library opens up, but when I get info on them, they are tiny (4KB & 2.7 MB) as opposed to my actual library (30.44 GB)
    There is only one item that did not copy over to the new package. In Pictures_ there is a folder called ‘Contents’ but the only thing it contains is a 4KB plaintext document called “Pkginfo.”
    I tried to search through the Discussions for an answer to my problem before posting, and the closest I came was "Photo library problem" Posted by Simon: Jun 30, 2008 8:04 PM. My first question is the same as Simon's:
    How can I return the 'package' to a folder, so I can open it and point iPhoto to my library(s) inside?
    Here is LN's response: "RIght click on your "new" package and select the show contents option - find the iPhoto library and drag it to the root level of the External Hard drive -- You should now be able to point iPhoto to it."
    As a novice, I need to ask for clarification. How exactly does one "drag it to the root level of the External Hard drive?" That is to say, where is the root level of the External Hard drive, how can I find it??
    Also, is this the right solution for me, given as I have multiple iPhoto libraries in this "package"? Would I have to drag both my iPhoto Libraries to the root level? And can I delete the new Library.iPhoto & Library6.iPhoto (tiny files that look like two new iPhoto Libraries) which were created?
    OR in my case, should I delete the package and put the Pictures_ folder in its' place? I'm not sure this is possible. I tried to put the pictures package in the trash (since I still have Pictures_) but I get a message, “”Pictures can’t be modified or deleted because it is required by Mac OS X.”
    What is a package, anyway? How does it compare to a folder?
    Any help would be truly, truly appreciated.
    Thanks in advance
    FranArt

    If I'm understanding your problem, your normal Pictures folder has turned into non-openable bundle which the Finder sees as a file, so when you double click the Pictures icon instead of the folder opening the Finder asks you what application you want to use to open the "file"--many applications are structured this way, and so is the iPhoto Library itself in the newest version of iPhoto. And you can't trash Pictures because in Leopard a special sort of permissions was added to it by Apple to prevent people accidently trashing important stuff, like their pictures.
    I know you can reset the bundle bit using Terminal if you have Developer Tools installed, not sure if Apple added that command to the default set of Terminal commands in Leopard. You can get the commands you need here if you didn't install Developer Tools:
    http://homepage.mac.com/francines/.Public/getsetfile.zip
    Unzip the file and you will have a folder with two files in it. Try the first to see if it works, this example assumes that the zip file went to your home Downloads folder.
    1. Open Terminal by double clicking it, it is in your Utilities folder
    2. Now open the unzipped folder and drag and drop the GetFileInfo file into the Terminal
    3. Next open your home folder and then drag and drop Pictures into the Terminal (you must use the Pictures that displays when the home folder is open, NOT the one in the Sidebar)
    4. Hit return and you will something like this:
    NoobiX:~ francine$ /Users/francine/Downloads/getsetfile/GetFileInfo /Users/francine/Pictures
    directory: "/Users/francine/Pictures"
    attributes: avBstClinmedz
    created: 11/07/2007 16:36:43
    modified: 08/31/2008 01:34:46
    I suspect the attributes will show a capital letter "B" as in the example above, instead of the lower case b which is normal. If that is true, then the bundle bit has been set. To reset it drag the SetFile command into the Terminal, drop it, then type
    -a b
    followed by a space, and drag the Pictures file into Terminal and drop it and press Return. The Terminal will look something like this:
    NoobiX:~ francine$ /Users/francine/Downloads/getsetfile/SetFile -a b /Users/francine/Pictures
    The Pictures folder will now be a folder again. Where my example shows the name of my computer, and my user name, yours should show your user name and something other than "NoobiX" for your computer.
    Francine
    Francine
    Schwieder

  • Help ! Package and ArrayStoreException

    Please help. I have a problem with a package program. I am creating a package called pack containing 2 classes, Expenses with m_expense( ), Expenses have variables to store food, lodging and clothing and class Income with m_Income( ), Income have variable to store salary, rent and allowances. Then i create a class debit to display the variable using public static void main (String args[ ] ); and it in Expenses.m_expense( );
    Income.m_income( ) to display the variable contents;
    I should also calculate the savings. The compile error is i cannot access Expenses.m_expense and also Income.m_income. I don't know what is wrong. And where should i calculate the savings - in debit.java or in pack.java.
    Another thing is I'm supposed to create a program to create ArrayStoreException but i don't understand it. Can anyone please give an example and explain.
    All advice is appreciated. Thank you!

    You see, now I'm a little confused. What lecturer had taught me is unapplicable and is different from the other tutorials that i refered to.
    I create a new dir named pack. In it there is a file named pack containing the 2 classes.An example code he gave is something like below :
    package pack;
    public class Expense
    public static void m_expense()
    float food = 150.00
    System.out.println("Food is" + food);
    public class Income
    public static void m_income()
    float salary = 575.00
    System.out.println("Salary is " + salary);
    Then create a new file outside the directory:
    import pack.*;
    class debit
    public static void main(String args[])
    Expense.m_expense();
    Income.m_income();
    What do you think ? Pls give some comments and assist to rectify the mistake. I will try the earlier suggestions you gave to me. Thanks a lot.

  • Help! Packages did not install, and bootloader is nonexistant.

    Right now, I just installed archlinux through my usb stick and used the netinstall x86_64, because I use a 64 bit processor. Anyways these packages could not download for some reason:
    cloog
    mpfr
    ppl
    autoconf
    automake
    wget
    which
    m4
    bin86
    bison
    wpa_supplicant
    gcc and
    isdn4k
    Also I couldn't get the bootloader installed. Now, most things are working so, I just need to get a bootloader installed and get those packages. Here's the main issue:
    I need wpa_supplicant to connect to my network.
    Can anyone help me here? I would appreciate it.
    I have a previous installation of arch on another computer, so tech & linux terms shouldn't confuse me.

    kowalski wrote:
    Hi,
    I do not totally get your problem. Is this just a matter of installing wpa_supplicant? Then you should download the package on the other machine that does work.
    pacman -Sw wpa_supplicant
    Afterwards you can copy it to the new machine and install the package file using
    pacman -U /path/to/file.pkg.tar.gz
    . I figure you are able to set up wpa_supplicant since you used netinstall.
    Am I entirely off?!
    During the install I used wpa_supplicant, but it didn't install to the system.

  • Help on packages

    hi,
    i am just learning java and i have a problem. I have 3 files, A.java and B.java and C.java I need to use A and B java file variables in C.java So i wrote package statements like this. all the files are in the "waves" directory.
    //in A.java
    package waves;
    import java.awt.*;
    import waves.B
    public class A{...
    //in B.java
    package waves;
    public class B{..
    // in C.java
    package waves;
    import java.awt.*;
    import waves.B
    public class C{....
    when i run the file B.java using the command
    java -cp home.ravi.waves waves.B
    i am getting error message as "Exception in thread "main" java.lang.NoClassDefFoundError: waves/B"
    my classpath has "." in it, so even the classpath is correct..
    i am using linux machine....please help!!!

    hi,
    thanks for your reply...this is the command i give.
    java -cp . waves.A
    and the directories are in /home/ravi/public/waves/all class files.
    all my java files are in public directory, above the waves directory.
    and this is the error message i get..(its looooong)!!
    Exception in thread "main" java.lang.NoClassDefFoundError: waves/A (wrong name: A)
         at java.lang.ClassLoader.defineClass0(Native Method)     at java.lang.ClassLoader.defineClass(ClassLoader.java:438)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:97)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:244)
         at java.net.URLClassLoader.access$1(URLClassLoader.java:212)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:286)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:243)

  • Help with Packages in JCreator LE

    Hello,
    I'm new to Java and having problems splitting a program into packages.
    I have 6 files, 5 containing class definitions and sub classes, and one which holds the main method. They compile and run fine when all in the same directory.
    In an effort to try out packages, I copied the 5 .class files to a sub folder of the folder with the main() method in. I then pointed the Project Properties > Required Libraries to that folder containing the .class files.
    At the moment when I compile the programme it can't find any of the classes (they are all declared as public) and they dont appear in the package view. I'm messing around with the import statement at the top of main(). However i'm unsure how to point JCreator to the classes.
    If they matched the directory structure they would be in Java.programs.polymorph.Animals
    but that doesn't work.
    Any help to push me in the right direction greatly appreciated.
    Nick

    Packages have nothing to do with the directory structure of your source files.
    See the following sites:
    Using packages: http://java.sun.com/docs/books/jls/second_edition/html/packages.doc.html
    Code conventions: http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
    Model-View-Controller (side-note): http://www.google.com/search?q=mvc
    // ---------- Dog.java ----------
    package java.programs.polymorph.animals; //package name should be in lowercase
    public class Dog {}
    // ---------- DogPound.java ----------
    package java.programs.polymorph.habitats;
    // imports all public classes from java.programs.polymorph.animals package
    import java.programs.polymorph.animals.*;
    // imports only Set class from java.util package
    import java.util.Set; 
    public class DogPound {
       //requires java.programs.polymorph.animals.Dog and java.util.Set
       private Set<Dog> dogs;
    }

  • Guess I do need a little help with packages after all...

    Tried figuring in this out for the past 3 hours, various searches, scenarios etc...b4 posting....
    Okay, well....just like many aspects of this language, think I've got it down, and a
    new situation comes up where I can't implement it....in this case my own packages.
    (which is frustrating, but good because teaches troubleshooting, ingranes
    things into my peanut)
    Have done it before through tutorials...but now am having an issue...here we go:
    These are very small files..... 3 classes/one main
    http://www.cadenhead.org/book/24java/chapter10.shtml
    (see bottom for direct links)
    What I did first was put them in c:\java\2\modems
    compiled them all, everthing works great.
    #2
    I deleted the class files, and put all of the source into: c:\java\2\
    #3
    I edited the first 3 files to have the very first line ot each say:
    package com.modempack;
    No other edits, just this simple copy/paste at the top of each of those files
    #4
    For the file TestModems.java the only edit made was to put the following line at the top of the file:
    import com.modempack;
    #5 Compiled the first 3 files with the command "javac -d . FILENAME.java"
    they compile fine(you have to compile Modem.java 1st)
    #6 Try to compile the TestModems.java file with the same style or even just "javac Testmodems.java" and get the following error:
    C:\java\2>javac TestModems.java
    TestModems.java:1: package com does not exist
    import com.modempack;
    ^
    TestModems.java:5: cannot access CableModem
    bad class file: .\CableModem.java
    file does not contain class CableModem
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    CableModem roadRunner = new CableModem();
    ^
    2 errors
    It says package "com" does not exist" ...but it's created automatically when compiling the 1st 3 files....am at a lost.........could only think classpath issue somehow.....
    CableModem.java
    http://www.cadenhead.org/book/24java/source/chapter10/CableModem.java
    DslModem.java
    http://www.cadenhead.org/book/24java/source/chapter10/DslModem.java
    Modem.java
    http://www.cadenhead.org/book/24java/source/chapter10/Modem.java
    TestModems.java(the main app)
    http://www.cadenhead.org/book/24java/source/chapter10/TestModems.java

    Thank you for your response once again
    (assigned u the dukies from last thread)
    Argggghhhh!!!!! / Yippie Kayay!!!!!!!!!!!!!!
    Man oh man... HUGE headache....(wanting to studying the stuff from last post you helped on...having troubles with freaking packages SUCKS:) :) :)
    (but...will am learning, so that's good)
    Sooo....
    I put the actual ".java" files in the same directories, but that did not make a difference....
    So what I did was use the fully qualified /explicit name for each class.
    IE:
    import com.modempack;Gives the original 2 errors....that the above package does NOT exist??? wtf
    import com.modempack.*;Gives a single bad class erro
    Using either of the above and the following command:
    javac -classpath TestModems.javagives "no source files found"
    Using either of the above and the following command:
    javac -classpath c:\java\2\com\modems TestModems.javaYielded 5 errors of cannot resolve symbol
    Using: *****************************
    import com.modempack.Modem;
    import com.modempack.CableModem;
    import com.modempack.DslModem;and adding public in fron of the int[/code" variable....WORKS
    It is my understanding that
    import javax.swing.*;
    does NOT import everything with the swing library, so when thinking
    along those lines, this makes 100% sense....I just thought that with packages
    you could provide one, and everything else in the package is imported, ie: if you have a package with 500 classes in it, you wouldn't want 500 import lines....something seems like something
    must be wrong with the class files or something/classpath still or else this would work somehow???
    Well...going to go mess around somemore, just an update.
    Thank you again                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Help with packages in JDK

    Hello Guys,
    im new to learning java, so i have some problems that I cannot find any answers for that anywhere in the net.
    My question is how to add the packages for eg. galapagos and javabook in the jdk. I have dowloaded them and i dont know where to paste them.
    Any help appreciated.
    hear_reaper

    they are packages like javax and java. so that we can import classes without needing to write the particular class.yes that's one of the reasons packages are there for.
    and the link you gave me doesnt work. it says that the page is not available. [Now it should work.|http://www.j2ee.me/docs/books/tutorial/java/package/packages.html]
    edit: ok got the link. but i think that says how to create packages instead of adding the downloaded ones.Be patient and read the entire article.
    tommickey
    Edited by: tommickey on Jul 19, 2009 9:53 AM

  • Help with packages and classpath

    Heya,
    first off, i use textpad to compile my java, i don't do it via the command line.
    my problem is faily simple, i think. i've got a main class and i'd like it to import a custom class from a subdir.
    Main class is in
    C:\Documents and Settings\David\Desktop\java\test_gen.java
    I would like it to import
    C:\Documents and Settings\David\Desktop\java\obj_data\objects.java
    I understand that I have to declare objects.java to be a part of a package, so i head the code with: package obj_data; as i understand it, the directory in which the package to be imported resides in will be named the same as the package.
    When i import my package into test_gen.java, i import obj_data as follows:
    import obj_data.*;
    this should import objects.class and any other classes in the same directory. also import obj_data.objects.*; could be used.
    Anyway, thats my understanding of how you set up the class and package; i also understand that when the java file compiles the compiler looks at the directoy(s) indicated in the class path for the classes to import. that in mind i tried to add:
    C:\Documents and Settings\David\Desktop\java\obj_data\
    to my classpath. i did this via dos, javac -classpath "C:\Documents and Settings\David\Desktop\java\obj_data\"
    i got no error messages, so i assume it worked. however when i try to compile the main java (test_gen) i get-
    package packages does not exist
    import packages.*;
    ^
    1 error
    Tool completed with exit code 1
    can anyone give me some help please?

    This is a minimal explanation of packages.
    Assume that your programs are part of a package named myapp, which is specified by this first line in each source file:
    package myapp;
    Also assume that directory (C:\java\work\) is listed in the CLASSPATH list of directories.
    Also assume that all your source files reside in this directory structure: C:\java\work\myapp\
    Then a statement to compile your source file named aProgram.java is:
    C:\java\work\>javac myapp\aProgram.java
    Explanation:
    Compiling
    A class is in a package if there is a package statement at the top of the class.
    The source file needs to be in a subdirectory structure. The subdirectory structure must match the package statement. The top subdirectory must be in the classpath directory.
    So, you generate a directory structure C:\java\work\myapp\ which is the [classpath directory + the package subdirectory structure], and place aProgram.java in it.
    Then from the classpath directory (C:\java\work\) use the command: javac myapp\aProgram.java
    Running
    Compiling creates a file, aProgram.class in the myapp directory.
    (The following is where people tend to get lost.)
    The correct name now, as far as java is concerned, is the combination of package name and class name: myapp.aProgram (note I omit the .class) If you don't use this name, java will complain that it can't find the class.
    To run a class that's NOT part of a package, you use the command: java SomeFile (assuming that SomeFile.class is in a directory that's listed in the classpath)
    To run a class that IS part of a package, you use the command java myapp.aProgram (Note that this is analogous to the command for a class not in a package, you just use the fully qualified name)

  • Help with package

    i am new to oracle. i am trying to create a package which does a simple insert. but i am getting the following error can any one help me with this:
    **Error starting at line 1 in command:**
    **BEGIN**
    **WriteEntry('nam', 'sub', 'syster','hp',1,'transName','abs','labelvaluesdds','ghhehe',5);**
    **END;**
    **Error report:**
    **ORA-06550: line 2, column 5:**
    **PLS-00201: identifier 'WriteEntry' must be declared**
    **ORA-06550: line 2, column 5:**
    **PL/SQL: Statement ignored**
    **06550. 00000 - "line %s, column %s:\n%s"**
    ***Cause: Usually a PL/SQL compilation error.**
    ***Action:**
    below is the package code:
    create or replace
    PACKAGE "PKG_ABC" as
         procedure WriteEntry(
              app VARCHAR2,
              sub VARCHAR2,
              userId VARCHAR2,
              Code VARCHAR2,
              sessionId number,
              transName VARCHAR2,
              det VARCHAR2,
              lab VARCHAR2,
              value VARCHAR2,
              class number
    end;
    create or replace
    PACKAGE BODY "PKG_ABC" as
         procedure WriteEntry(
              app VARCHAR2,
              sub VARCHAR2,
              userId VARCHAR2,
              Code VARCHAR2,
              sessionId number,
              transName VARCHAR2,
              det VARCHAR2,
              lab VARCHAR2,
              val VARCHAR2,
              cl number
         ) is
         begin
              INSERT INTO TAB_abc (
                   ID,
                   TIME,
                   APP_NAME,
                   SUB_NAME,
                   USER_ID,
                   COMPANY,
                   SESSION_NUMBER,
                   TRANSACTION_NAME,
                   DET,
                   LAB,
                   VAL,
                   CLA
              ) VALUES (
                   123456,
                   SYSDATE,
                   app,
                   sub,
                   userId,
                   Code,
                   sessionId,
                   transName,
                   det,
                   lab,
                   val,
                   cl
    end WriteEntry;
    end;     
    grant execute on PKG_ABC to public;
    can anyone let me know what is the problem with the package.

    hi,
    thank you all for helping me. i have completed the package but i am getting the below error when i am trying to compile the package:
    Error(26,1): PLS-00103: Encountered the symbol "CREATE"
    below is the package code:
    create or replace
    PACKAGE PKG_LOGGER as
         procedure Write_Log_Event_Detail(
    applicationName VARCHAR2,
              subsystem VARCHAR2,
              userId VARCHAR2,
              companyCode VARCHAR2,
              sessionId number,
              transactionName VARCHAR2,
              details VARCHAR2,
              label VARCHAR2,
              value VARCHAR2,
              logLevel number);
         procedure Write_Log_User_Log(
    receiverCompanyCode VARCHAR2,
              actionTag VARCHAR2,
              userCompanyCode VARCHAR2,
              userName VARCHAR2,
              description VARCHAR2,
              sessionNumber number,
              sessionType VARCHAR2,
              actionDetail VARCHAR2);
    end;
    create or replace
    PACKAGE BODY PKG_LOGGER as
         procedure Write_Log_Event_Detail(
    applicationName VARCHAR2,
              subsystem VARCHAR2,
              userId VARCHAR2,
              companyCode VARCHAR2,
              sessionId number,
              transactionName VARCHAR2,
              details VARCHAR2,
              label VARCHAR2,
              value VARCHAR2,
              logLevel number
    is
         begin
              INSERT INTO EVENT_DETAIL (
                   EVENT_ID,
                   EVENT_TIME,
                   APPLICATION_NAME,
                   SUBSYSTEM_NAME,
                   USER_ID,
                   COMPANY_CODE,
                   SESSION_ID,
                   TRANSACTION_NAME,
                   DETAIL,
                   LABEL,
                   VALUE,
                   CLASS
              ) VALUES (
                   LOG_ID.nextval,
                   SYSDATE,
                   applicationName,
                   subsystem,
                   userId,
                   companyCode,
                   sessionId,
                   transactionName,
                   details,
                   label,
                   value,
                   logLevel
    end Write_Log_Event_Detail;
    procedure Write_Log_User_Log(
    receiverCompanyCode VARCHAR2,
              actionTag VARCHAR2,
              userCompanyCode VARCHAR2,
              userName VARCHAR2,
              description VARCHAR2,
              sessionNumber number,
              sessionType VARCHAR2,
              actionDetail VARCHAR2)
    is
    seq_ID NUMBER :=0;
    message VARCHAR2(2000) := null;
    select Child_LOG_ID.nextval into seq_ID from dual;
    begin
         INSERT INTO Table_LOG
         (LOG_ID,
         RECEIVER_COMP,
         ACTION_TAG,
         USERNAME_COMP,
         LOG_DATE,
         USERNAME,
         DESCRIPTION,
         SESS_NUM,
         SESSION_TYPE)
    VALUES
         (seq_ID,
         receiverCompanyCode,
         actionTag,
         userCompanyCode,
         SYSDATE,
         userName,
         description,
         sessionNumber,
         sessionType);
    message := actionDetail;
    if message is not null then
    INSERT INTO Table_LOG_DTL
    (LOG_ID,
    LOG_DTL_ID,
    LOG_TIMESTAMP,
    LOG_LEVEL,
    LOG_MSG)
    VALUES
    (seq_ID,
    LOG_ID.nextval,
    SYSDATE,
    1,
    message);
    end if;
    end Write_Log_User_Log;
    end;
    grant execute on PKG_LOGGER to public;
    Edited by: 961352 on Sep 26, 2012 10:01 AM

  • Looking for some help with package design (box)

    I'm pretty good with Photoshop, but Illustrator is fairly new to me. I'm helping a friend do his product packages and I already have all of the graphics, I'm just having trouble figuring out how to put it all together in Illustrator.
    We already have the box dimensions and just need to get a vector file that the factory can use to print. My main question is how do I create the actual layout of the box to work on? In the pdf that was sent to us I can pull out the box, but it just sits on a white background.
    My next question is how do I fill the layout with a pattern. I have a carbon fiber look pattern in Photoshop, but I'm having trouble figuring out how to use it to fill in Illustrator.
    Thanks ahead of time for any help.

    Jem,
    Pardon me if I sound rude by suggesting that before you launch into an expensive printing job (which could result in disastrous consequences if you don't do it right) that you actually learn how to use the program first. You may also want to learn something about the offset printing process and how to prepare print jobs.
    Even many Illustrator novices know that there is no such thing as a background in Illustrator, in the sense that there is in Photoshop. You will need to PLACE your Photoshop background as a high resolution CMYK tiff in the provided template. That's the answer to your second question. I don't really understand your first question. Maybe someone else will. Are you simply asking, "where do I begin?" If so, then you REALLY REALLY need to read a book on how to use Illustrator. The Adobe Illustrator Classroom in a Book might be the place to start.
    "I'm pretty good with CPR. I'm helping a friend do his vasectomy and I already have all the equipment (scalpels, thread, etc.) I'm just having trouble figuring out where to cut."

  • Begginer needing help with "package" word

    Hi,
    I'm a Java newbie and I'm trying to get comfortable with programming in Java on my Mac (running Mac OS 10.3).
    I found some sample code that I'm testing out at:
    http://www.macdevcenter.com/pub/a/mac/2001/08/03/osx_java.html?page=1
    but I'm having problems using the reserved word "package".
    at the time of each .java file the sample code has:
    package NineSquares;When I compile this in the Terminal window using the command
    javac NineSquares.java
    javac MainFrame.java
    javac EachSquare.javaI get the following error message:
    NineSquares.java:8: cannot resolve symbol
    symbol : class MainFrame
    location: class NineSquares.NineSquares
    new MainFrame();
    ^
    1 error
    David-Salvays-Computer:~/introcs/Project2 davidsalvay$
    when I comment out the package line it compiles fine.
    I don't understand what package means and how I use it. BTW, all my .java files are in the same folder and I've already set the classpath to the file containing my main method (NineSquares.java).
    Any help/suggestions/ideas will be much appreciated!
    --David                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    1. package is always declared first in a class definition.
    2. If you've got a class foobar, and that class is in package x.y.z, then the .class file needs to be in a file foobar.class under the directory hierarchy x\y\z\foobar.class, and where the directory above x is in the classpath.
    3. The official name of that class is x.y.z.foobar. You can import it using import x.y.z.*; or import x.y.z.foobar; Import just lets you use the class without having to always write x.y.z

  • I need some help on packages...

    Hello,
    How do you use code like this:
    import org.eclipse.swt.*;
    import org.eclipse.swt.layout.FormAttachment;I've searched for a download of the package but I can't find it anywhere, I've seen this used in all sorts of code but have no idea how to utalise it myself. Any help would be greatfully recieved.

    OK basically, I'm trying to put a status bar into my program using this code
    [http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/Updateastatuslinewhenanitemisarmed.htm]
    But the code imports those "org.eclipse.swt.*;" packages, I've found APIs for it all over, but I can't see anywhere to download the actual package. I've used "com.X.X" packages before and I guess it's the same (?). Do you know where I can download it from?
    Edited by: Mark.ONeill on Mar 8, 2008 6:38 PM

Maybe you are looking for