Trully need help folks......

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class VideoStoreMainFrame extends JFrame
     private JButton managerButton, cashierButton, customerButton;
     private JLabel note;
     public VideoStoreMainFrame()
          super("Video Store Graphical User Interface");
          Container container = getContentPane();
          container.setLayout(new GridLayout(10,1,1,1));
          container.setBackground( Color.white );
          managerButton = new JButton("Manager");
          container.add(managerButton);
          managerButton.setBackground( Color.red);
          cashierButton = new JButton("Cashier");
          container.add(cashierButton);
          cashierButton.setBackground( Color.red);
          customerButton = new JButton("Customer");
          container.add(customerButton);
          customerButton.setBackground( Color.red);
          ButtonHandler handler = new ButtonHandler();
          managerButton.addActionListener(handler);
          cashierButton.addActionListener(handler);
          customerButton.addActionListener(handler);
          managerButton.setToolTipText("Manager");
          cashierButton.setToolTipText("Cashier");
          customerButton.setToolTipText("Customer");
          note = new JLabel("Press the buttons the best regards you.");
          container.add(note);
          setSize(300, 300);
          setVisible(true);
     public static void main(String args[]) throws NullPointerException
          VideoStoreMainFrame frame = new VideoStoreMainFrame();
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
     private class ButtonHandler implements ActionListener
          public void actionPerformed(ActionEvent event)
               JOptionPane.showMessageDialog(null,"You Are A: " + event.getActionCommand());

Secondly, your main method doesn't need to throw any
exceptions.Throwing excepitons is only done when needed.
>
Also, you can't use a class name only to fire a
method.( JOptionPane.showMessageDialog(null,"You Are
A: " + event.getActionCommand());)Yes you can. In this case, showMessageDialog() is declared as static making it a class method. This means you do not need an instance to use the method.

Similar Messages

  • Need help getting OS up

    8/1/02
    I need help folks.
    I have a new Microstar based computer and
    I am trying to install an operating system
    and am having no luck.
    I've tried installing Windows 98se and
    and XP Home edition, neither works.
    POST seems to run fine.
    For Windows 98se, the setup floppy can be read, commands
    can be run so the hard disk
    can be formatted and the cdrom read.
    It can boot from floppy or cdrom and
    copy the OS files but a boot from the hard drive
    crashes. Single stepping through the
    sequence it dies after loading msmouse.vxd with
    the message:
    While initializing device NTKERN
    Windows protection error. Restart your computer.
    For Windows XP Home, setup inspects the hardware and appears to
    start but dies with:
    File \386\ntkrnlmp.exe could not be loaded
    error code is 7. Setup cannot continue.
    Obviously something in the ntkern stuff.
    The system is stripped to the barebones.
    I've tried swapping RAM, the hard drive, CDROM, Video card and
    even the mother board (I exchanged the first one I had
    because of an intermittent mouse detection problem it had
    the same problem when it didn't have troble finding the mouse).
    No combination gets past the above failures. I've checked
    cables countless times.
    The AMI BIOS doesn't provide many options and as far
    as I can tell an update is not needed but the
    board version is strange and I can't find hardly
    any solid references to it so I'm
    guessing a bit with respect to the BIOS.
    The board version is 2.1 which I'm led to believe is a
    a special OEM done for Gateway. (This isn't a
     Gateway machine though, there must a been
     a fire sale on theie cards).  The Gateway site indicates
    the latest AMI BIOS is P08 which I seem to have
    Interseting side note I ran a diagnostic that came with the 60G Harddrive and
    the diagnostic claimed the BIOS was fine and Windows
    XP capable.
    The general configuration is:
    -MS-6330 ver 2.1 mother board (two different ones)
    -AMD Athlon- 950MHz processor
    (A0950AMT3B
    AGGA0051XPBW
    9446440107)
    -It has an AMI bios version 7.00.XX dated 6/26/01,
    in setup it has:
    62-0518-009999-00101111-070199-AMIBIOS-0AAVWP08-Y2KC-F
    on POST screen
    -Microsoft PS2 mouse
    -Ensoniq AGP video card (4001046710 rev B) or PCI based Matrox 5063-8798 video card
    -1.44 Floppy
    -RAM Modules - 256M (PC133 Eudar Chips) (tried two 64M Modules too)
    -Western Digital (WD 600) 60G HD (tried a 20 G Fujitsu MPG3294ATE too)
    -CRROM CRD-8400B, (tried a polaroid BCE 2410IM CD-R/CD-RW too)
    -Duro 400W Power Supply
    Does anyone have any ideas?
    khinchicago
     

    Hallo Khinchicago,
    You wrote that you use a Western Digital HDD.  Always when I have problems with installing the OS (W2k in my case) for replacement I give the HDD a low level format.  That takes a lot of time but it works almost most fine.  If I do not do that, I will have many problems during or after installing the OS and the other software.  Unfortunately, I am rather experienced in this field.  Too often, I try some new soft ware and too often, it turns my computer upside down.  I do this for some years now with IBM, Maxtor, Seagate and WD drives.  Since I started this behaviour for HDD I had rather never again problems with reinstalling a OS.
    For WD drives you will find the EZ-Install utility for low level formatting (Write Zeros To Drive).  You can find this utility here:  http://support.wdc.com/download/#dlgtools.  After downloading the EZ-Install utility, you will have to create with EZ-Install a bootable floppy.  After restarting from that floppy you will be able to low level format the drive;  time consumption for 60 GB estimated 4,5 to 6 hours (WDC 20GB was over 1,5 hours).
    May be this can help you to solve your problem
    Jan

  • Need help with a currently "in-use" form we want to switch to Adobes hosting service

    Hi, I am in desperate need of help with some issues concerning several forms which we currently use a paid third party (not Adobe) to host and "re-distribute through email"...Somehow I got charged $14.95 for YOUR service, (signed up for a trial, but never used it)..and now I am paying for a year of use of the similar service which Adobe is in control of.  I might want to port my form distribution through Adobe in the hopes of reducing the errors, problems and hassles my customers are experiencing when some of them push our  "submit button". (and I guess I am familiar with these somewhat from reading what IS available in here, and I also know that, Adobe is working to alleviate some of these " submit"  issues, so let's don't start by going backwards, here) I need solutions now for my issues or I can leave it as is, If Adobe's solution will be no better for my end users...
    We used FormsCentral to code these forms and it works for the most part (if the end-user can co-operate, and thats iffy, sometimes), but I need help with how to make it go through your servers (and not the third party folks we use now), Not being cruel or racist here, but your over the phone "support techs" are about horrible & I cannot understand them or work with any of them, so I would definitely need someone who speaks English and can understand the nuances of programming these forms, to please contact me back. (Sorry, but both those attributes will be required to be able to help me, so, no "newbie-interns" or first week trainees are gonna cut it).... If you have anyone who fits the bill on those items and would be willing to help us, please contact me back at your earliest convenience. If we have to communicate here, I will do that & I can submit whatever we need to & to whoever we need to.
    I need to get this right and working for the majority of my users and on any platform and OS.
    You may certainly call me to talk about this, and I have given my number numerous times to your (expletive deleted) time wasting - recording message thingy. So, If it's not available look it up under [email protected]
    (and you will probably get right to me, unlike my and I'm sure most other folks',  "Adobe phone-in experiences")
    Thank You,
    Michael Corman
    VinylCouture
    Phenix City, Alabama  36869

    Well, thanks for writing back...just so you know...I started using Adobe products in 1987, ...yeah...back then...like Illustrator 1 & 9" B&W Macs ...John Warnock's Helvetica's....stuff like that...8.5 x 11 LaserWriters...all that good stuff...I still have some of it working on a mac...much of it was stuff I bought. some stuff I did not...I'm not a big fan of this "cloud" thing Adobe has foisted upon the creatives of the world...which I'm sure you can tell...but the functionality and usefulness of your software can not be disputed, so feel free to do whatever we will continue to pay for, ...I am very impressed with CC PS on the 64 bit PC and perhaps I will end up paying you the stipend that you demand for the other services.
    So  I guess that brings us to our problem.. a few years back and at the height of the recession and near bankruptcy myself,  I was damn lucky and hit on something and began a small arts and crafts supply service to sell my products online to a very "niche market" ...I had a unique product and still sell that product (plus others) online...My website is www.vinylcouture.com...Strange? Yes...but there is a market it seems, for everything now, and this is the market I service...Catagorically, these are 99%+ women that use these "adhesive, sticky backed vinyl products"  to make different "craft items" that are just way too various and numerous to go into... generally older women, women who are computer illiterate for the most part...and all this is irrelevant to my problem, but I want you to have every bit of background on this and especially the demographic we are dealing with, so we can get right to the meat of the problem.
    OK...So about two years ago, I decided to offer a "plain sheet" product of a plain colored "stick back" vinyl... it is available in multiple quantities of packs ( like 5 pieces, 10 pieces, 15 pieces, in a packi  & so on)...and if you are still on my site.. go to any  "GO RIGHT TO OUR ORDER PAGE"  button, scroll down a little...and then to the "PLAIN VINYL" section...you will see the Weebly website order process.) You can back out from here, I think,..but, anyway this product is available in 63 colors + or - a few. So then the problem is,  how do they select their individual colors within that (whatever) pack?... .
    So my initial idea was to enable a "selection form" for these "colors" that would be transmitted to me via email as 'part" of the "order process".. We tried getting our customers to submit a  " a list" ( something my competitiors still do, lol, poor bastards)......but that..is just unbelievable..I can't even begin to tell you what a freakin' nightmare that was...these people cannot even count to 10, much less any higher... figuring out what colors to list and send me... well, lets just say, it wasn't working......I had to figure out a better way...Something had to be done.
    So after thinking this all out,  and yeah...due to my total ignorance, i figured that we could make a form with Live Cycle Designer (Now Forms Central)...(back then something that was bundled with Adobe Acrobat Pro), I believe, and thats what this thing was authored in... and it would be all good...LOL!
    Well not so simple...as you well know, Adobe Acrobat would NOT LET YOU EMAIL anything from itself.....it just wouldn't work (and I know why, and all that hooey), but not being one to take NO for answer,.I started looking for a way to make my little gizmo work.. So I found this company that said they can "hijack" (re-direct actually) the request to email, bypass the wah-wah, and re-transmit it to the proper parties.....for less than $100 a year,  I think...its called http://pdf-fillableforms.com/.
    A nice gentleman named Joseph Silva helped us program the thing to go to his servers and back out. Please dont hassle them...I need them...for now..it basically does work...try it...you should get back a copy of the form that you filled out...good luck however,  if you're on MAC OSX or similar...
    I have included a copy of both of our forms (and feel free to fill it out and play with it)...just put test somewhere on it...(and you must include YOUR email or it will balk)..they are supposed to be mostly identical, except one seems to be twice as large....generating a 1.7 meg file upon submission, while the other one only generates a 600K file or so...thats another issue for another day or maybe you can advise on that also...
    OK so far so good......In our shop, once Grandma buys a 10 pack (or whatever), Only then she gets to the link on her receipt page ro the relevant "selection form" ,(this prevents "Filling and Sending"  with "no order" and "no payment", another early problem we had)... which they can click on and it will usually download and open up on their device if all goes well...Then our little form is supposed to be fillable and is supposed to ADD UP all the quantities, so grandma knows how many she is buying and so forth right on the fly,  and even while she changes her mind..., and IT'S LARGE so grandma can see it, and then it TOTALS it all up for them, ( cause remember, they can NOT add)..,  except there is a programming bug (mouse-click should be a mouse-up probably or something..) which makes you click in the blank spaces to get to a correct TOTAL...about 70-80% of our customers can enable all these features and usually the process completes without problems for them especially on PC's running Windows OS and Acrobat Reader X or XI...at least for most... Unfortunately it is still not the "seamless process" I would like or had envisioned for the other folks out there that do have trouble using our form....  Many folks report to us the following issues that we know of.  First of all it takes too much time to load up...We know its HUGE...is there anyway that you can see, to streamline this thing? I would love for it to be more compact...this really helps on the phones and pads as I'm sure you well know.
    Some just tell us,"it WON'T work"....I believe this is because they are totally out of it and dont even have Adobe Reader on their machine, & don't know how to get it ( yes, we provide the links).....or it's some ancient version....no one can stop this one...
    It almost always generates some kind ( at least one time)  of "error message" which we do warn them about..., telling one,  basically that "Acrobat doesnt even like this happening at all, and it could be detrimental to ones computer files", blah-blah...(this freaks grandma out really bad)...& usually they end up not even trying to send it...  and then I get calls that even you wouldn't believe...& If they DO nut up and push the Red "Submit Form" button, it will usually send the thing to us (and also back to them at the "required email address" they furnished on the form, thats what the folks at the "fillable forms place" do) so, if it's performing it's functions, why it is having to complain?. What are we doing wrong?....and how can I fix it?...Will re-compiling it or saving it as a newer version of "FormsCentral" correct any of these problems ?
    Ok, so that should keep you busy for a minute and we can start out with those problems...but the next thing is, how can I take advantage of YOUR re-direct & hosting services?, And will it get rid of the error messages, and the slowness, and the iOS incompatibilities ? (amazingly,  the last iOS Reader version worked almost OK.. but the newest version doesnt seem to work with my form on my iphone4)  If it will enable any version of the iOS to send my form correctly and more transparently, then it might be worth the money...$14.95 a MONTH you say. hmmmmm...Better be good.
    Another problem is, that I really don't need 5000 forms a month submitted. I think its like 70-100 or less....Got any plans for that?  Maybe I'm just not BIG ENOUGH to use Adobe's services, however in this case, I really don't care whose I do use as long as the product works most correctly for my customers as well as us. Like I said, If I'm doing the best I can, I won't change anything, and still use the other third party, If Adobe has a better solution, then i'm all for that as well. In the meantime, Thanks for any help you can provide on this...
    Michael Corman
    VinylCouture.com
    (706) 326-7911

  • Need help using Apple Remote Desktop for remote family members

    I am new to ARD and need help. I know there are solutions to do what I am trying to do through LogMeIn and Teamviewer - but I have LogMein right now and the free edtition is going away and I think Teamviewer will do the same sooner or later. I have remote desktop but hadnt used it, so I thought it would be a good thing to implement so I wont have to worry about paying fees for services like LogMein or teamviewer down the road.  Long story short I need to be able to remote help friends and family members with their macs and using applications, mostly through screen sharing and control and file sharing. All of the folks id like to help have home ( not business style ) internet service whith DHCP and non-static IP's.  I have set this up for myselft to test it and I can be at work and search my homes IP address and I can see all the macs with ARD on them and it all works perfectly.  I have a mac mini running Lion Server so the ports are forwarded to that server at my home - this is the only think I can think of that is making my home work and my friends not.  But when I try to help my friends and family after I type in their IP and it scans it sees their computer - ( it shows a grayed out icon and their IP ) but nothing else.  I cannot control or screen share. It says it cannot verify.  I helped my friends put the ARD client ( most up to date client ) on their macs as well.  I was hoping that using ARD would mean not haivng to set up my friends and family's routers for port fowarding and all those details.  Is there anything I can do using ARD to be able to type in my friends IP address have it scan and then see all their MACS at their home and pick the one that needs attention/ help, without port forwarding or heavy set up ?  I guess the root question here is how or what is best way to set up ARD to be used to help people remotley when they are all home users as well, no port forwarding, no static-IP, that kinda thing.
    Any help is appreciated - Im trying to use ARD and not a 3rd party app since im afraid even if they are free now they wont stay that way. Please let me know throughts and sugesstions ;p)

    I poked around a bit and the file seems to be:
    /Library/Application Support/Macromedia/mms.cfg
    I'd like to get some confirmation from Adobe that this is the correct file to push, though (it seems like it as it only contains this):
    AutoUpdateDisable=0
    SilentAutoUpdateEnable=1

  • Need help with almost completed plugin engine project

    Hi all,
    For a while now I have been working on a plugin engine. After a few iterations, the engine is similar to the Eclipse engine, in that plugins use extension points and extensions to allow contributions. Unlike the eclipse engine I have added the ability for plugins to fire events through the engine and other plugins can add listeners, all through the plugin.xml manifest. Dependencies are mostly handled automatically at plugin load time (when extensions get resolved to extension points, and listeners get resolved to events). For the case where a plugin needs to use classes from another plugin, dependencies are also allowed to be declared. Like the eclipse engine, activation of plugins occurs the first time a class is used within the plugin's classpath, OR a plugin can be activated after it is loaded.
    What I need help with is testing, working on examples to provide with the engine project, and feedback/suggestions before we release the M1 build. I am asking for those that are interested in this type of work to volunteer to help where applicable and possible. I want to provide a solid plugin engine to the java community, one that is easy to use, works well, and is pretty effecient in terms of resource usage and performance.
    Of particular interest to me right at the moment is dealing with multiple versions. As I see it, the engine will be used within an application and as such plugins would be distributed with a specific application version. The plugin version itself is more of a notification as to what version a plugin is, although I imagine it will help when updating at runtime as well.
    Just a few other details of the engine. It handles (or will soon) dynamic load, unload and reload of plugins at runtime. Plugins can be distributed in an archive file format, we call .par (Plugin ARchive), with additional plugin filename extensions configurable at runtime. The plugins can be developed and deployed in an expanded directory format as they are in Eclipse as well, or in the archive format. In the archive format they do not need to be unzipped when deployed, and they can contain embeded jar/zip libraries. The engine handles finding and creating classes directly out of the .par file at runtime.
    Multiple locations to find plugins are configurable before the engine starts, and even after it starts more could be added to allow additional locations to find plugins. URLs are supported, and soon the HTTP protocol will be supported so that plugins can be downloaded and installed at runtime.
    The project can be found at www.sourceforge.net/projects/genpluginengine. If you would like to get involved and help out, please sign up on the dev mail list and send an email to introduce yourself to the rest of the members on the list.
    I'll also add that I am working on a Swing UI Framework built entirely from plugins. It provides a ready-to-launce UI application that developers can simply add their plugins to, extending various extension points of the framework to have menu items, toolbar buttons, status bar access, help and preferences dialog additions, file i/o choosers, tons of open-source components ready to use (or extend to add on to), and like Eclipse, hopefully... draggable window frames that can be dropped on any other frame to form a tabbed frame of windows. Some of this is a ways off, some is getting there now. Presently you can add menu items that do allow plugin activation when first clicked, so plugins can be loaded but not activated until needed. The Preference dialog works but is not completed, and a plugin that adds a plugin control panel to view all loaded plugins, activate them, load/unload/reload, view extension points, extensions, dependencies, etc is partially completed. The point is, to allow a ready to run UI framework in Swing with an easy path for developers to quickly build applications with. If you are interested in this, when you join the mail list and introduce yourself, indicate that you are interested in this as well, as we need help with plugin development for it and would appreciate more help here too.
    Look forward to some replies.

    Might I suggest setting up a project at a known project-site? I've seen your progress and questions posted here from time to time, but one of the drawbacks is that you have to fill each post with the entirity of your vision to explain what you're doing. That's a lot of text to read - and most folks will skip right over it.
    On the other hand, a well-crafted, good-looking project web-site, with appropriate links and docs and vision statements, diagrams, etc. will have more likelyhood of attracting volunteers. java.net and sourceforge.net are likely spots to set up shop. In addition, you get CVS and bug-tracking systems, which can be quite valuable in such a large-scale project where there are lots of pieces.

  • Need Help with my ZEN MX

    Need Help with my ZEN MX9<font face="lucida sans unicode,lucida sans">Hi folks. On my computer I have about 9G of different music, or 52 albums. I can't figure out how to get that music on to the player. To correct myself, I mean I know how to physically/logically copy it over to my player. All of that music is also?on the player in "Music" folder. I have this "Creative Centrale" installed and working. I need step-by-step instructions on how to create a PLAYLIST (I'm guessing), and have the?player play song after song in an album, not randomize the play. I think that is why I created that playlist. Thank You folks For Your Help?
    <font face="lucida sans unicode,lucida sans" size="3"><font face="lucida sans unicode,lucida sans" size="3">?

    I guess you have a problem with the inability of mx to play folders. i have used folders as playlists since i got my first computer since i just want to throw the folder with the files over to another media for playing. Not to be able to play tis is truly annoying.

  • Need help setting up external hard drive for FCE project

    Hi folks,
    Basically I am looking at making a 20-30 minute video this summer of my motocross adventures and what not and have equipped myself with an iMac (2.93 GHZ Core2Duo 640GB 4GB) and of course, FCE. I have tried smaller projects before (ranging in length between 20 seconds to upwards of a few minutes) but have noticed an overall decline in computer speed which I am under the impression is being caused by the 10s of GBs of video project files and what not that seem to be scrawled away within my computer. Before I made any videos, my computer was sitting around 560 GBs of free space. Since making maybe 3-4 videos (50/50 iMovie and FCE) its down below 400GBs. I'm not sure whether it's the raw video files or the projects themselves that are so large, but it's slightly frustrating. Is there any sort of software (either third party or apple) that can look at your hard drive and tell you exactly where all the biggest files are? I'll post this question in the iMac forum as I realize this is for FCE, but I thought if anyone knew of one it would be extremely helpful.
    Anyways, I have a SimpleDrive 320GB external HD that I plan to use as my external for making this project within FCE and would like some help in terms of how to set it up with FCE, what are the best settings etc. It is currently formatted with Windows, so I will also need help in setting it up for a Mac. I do have about 120GBs used on it already and was also wondering if I could keep this when re-formatting, but I'm pretty sure I already know the answer to that.
    Sorry for the long-winded post; any information on this or something related would be fantastic. Thanks.

    Yes, you can use your external HD with FCE ... provided it is formatted as +Mac OS Extended+ and is connected via FireWire.
    You will need to back up any data that is on the drive that you want to keep. Before reformatting it. Formatting erases everything that is on the drive.
    Use Disk Utility (located in your +Applications > Utilities+ folder) to format the drive.
    After formatting the drive, go into +FCE > System Settings+ and change your FCE scratch disk location to the external drive.

  • !!!PLEASE HELP!! I NEED HELP UNLOCKING ADVANCE OPTION IN BIOS LENOVO G40-70

    i cant do anything in my bios on my lenovo g40-70 i need help unlocking advance options in bios,i tried flashing it but something in the system is preventing it from flashing.can you guys relase an update fixing that or relasse an update to enable us chane our video memory on our bios............thankssssssssssssssssssssssssss in ADVANCE!

    Welcome to the Lenovo Community !
    What BIOS update are you trying to do...... the Lenovo 9ACN29WW release or one that someone created for you over at BIOS-Mods?
    Are you getting any error messages in regards to the update failing ?
    Owner & Operator of the following:
    ● Lenovo Ideapad Z570 w/ Win 7 & Win 8.1 Dual Boot ● Lenovo Yoga 3 Pro w/ Windows 8.1 ● Toshiba A75-S206 w/ Win 7
    ● IBM Thinkpad T-23 w/ Win XP ● IBM Thinkpad T-22 w/ Win XP • As well as multiple desktops dual/triple booting XP, Vista and Win 7.
    ★ Find a post helpful? Thank that member by clicking on the ☆Star☆ to the left awarding them a Kudo.
    ★ Posting a problem and a reply is helpful and it answers your question, please mark it as an "Accepted Solution"
    ★ I'm not a Lenovo employee, just a volunteer geek who likes to help folks. Enjoy your time here, pay it forward by helping others !
    ★ Sorry, I don't answer questions via Private Messages. Posting in the appropriate forum is the best way to get assistance.

  • Need Help: Using Ref Cursor in ProC to call a function within a Package

    I'm calling a function within a package that is returning a REF CURSOR.
    As per the Oracle Pro*C Programmer's Guide, I did the following:
    1) declared my cursor with a: EXEC SQL BEGIN DECLARE SECTION and declared the cursor as: SQL_CURSOR my_cursor;
    2) I allocated the cursor as: EXEC SQL ALLOCATE :my_cursor;
    3) Via a EXEC SQL.....END-EXEC begin block
    I called the package function and assign the return value to my cursor
    e.g. my_cursor := package.function(:host1, :host2);
    Now, the only difference between my code and the example given in the Pro*C Programmer's Guide is that the example calls a PROCEDURE within a package that passes back the REF CURSOR as an OUT host variable.
    Whereas, since I am calling a function, the function ASSIGNS the return REF CURSOR in the return value.
    If I say my_cursor := package.function(:host1, :host2); I get a message stating, "PLS-00201: identifier MY_CURSOR" must be declared"
    If I say :my_cursor := package.function(:host1, :host2); I get a message stating, "ORA-01480: trailing null missing from STR bind value"
    I just want to call a package function and assign the return value to a REF CURSOR variable. There must be a way of doing this. I can do this easily in standard PL/SQL. How can this be done in Pro*C ???
    Thanks for any help.

    Folks, I figured it out. For those who may face this problem in the future you may want to take note for future reference.
    Oracle does not allow you to assign the return value of a REF CURSOR from a FUNCTION ( not Procedure - - there is a difference) directly to a host variable. This is the case even if that host variable is declared a CURSOR variable.
    The trick is as follows: Declare the REF CURSOR within the PL/SQL BEGIN Block, using the TYPE statement, that will contain the call to the package function. On the call, you then assign the return REF CURSOR value that the function is returning to your REF CURSOR variable declared in the DECLARE section of the EXEC SQL .... END-EXEC PL/SQL Block.
    THEN, assign the REF CURSOR variable that was populated from the function call to your HOST cursor varaible. Then fetch this HOST Cursor variable into your Host record structure variable. Then you can deference individual fields as need be within your C or C++ code.
    I hope this will help someone facing a deadline crunch. Happy computing !

  • Problem with changing flash content - Need help

    I need help in changing  the flash content. Here is my proble,
    1) I bought a flash template (I will call this Original) from a website and paid some money to customize my menu,logo and background color.
    2) After they finished it they sent me several files. Like 1) index.html, .swf, psd, .fla. In all the files .html,.swf (the video) and .psd I am seeing my customize changes (logo,menu and background color). But the .fla file they sent me is still shows everything from original template. It doesn't have my logo, menu or background color.
    3) I asked their technical support and they walk me through. a) Open the .fla file in flash pro. b) Change the content c) Hit Ctrl+Enter and it will export the new .swf file to the flash folder. d) Make sure I delete the video from flash folder and replace the name with the one I created.
         I did all these steps. But the problem is the .SWF that i generated is showing everything from the orignal template. It did change the content but I don't see any of my customize request. (Menu, logo or color)
    4) Then I open the index.html and I DID NOT see any of the changes in the content.
    My feeling is they did not provide me the correct .FLA file. I really need your help.
    My confusion is a) Have they provide me the correct .FLA file or I am doing something wrong. b) When I generated the new .swf video and renamed it properly why it didn't reflect in the index.html file.
    I am really going back and forth with them since last 15 days and its not going anywhere. I really appreciate any help.
    Thanks,
    Jessy

    Unfortunately, if you have not enough knowledge about using Flash, and do not want to pay to have this done for you, the folks who did this for you are likely going to be the only ones who can help you resolve it.  They should be able to provide the edited fla and the new swf if they are in any way a credible/reliable business.... which at this point sounds like they are not.

  • Need help with writing a query with dynamic FROM clause

    Hi Folks,
    I need help with an query that should generate the "FROM" clause dynamically.
    My main query is as follows
    select DT_SKEY, count(*)
    from *???*
    where DT_SKEY between 20110601 and 20110719
    group by DT_SKEY
    having count(*) = 0
    order by 1; The "from" clause of the above query should be generated as below
    select 'Schema_Name'||'.'||TABLE_NAME
    from dba_tables
    where OWNER = 'Schema_Name'Simply sticking the later query in the first query does not work.
    Any pointers will be appreciated.
    Thanks
    rogers42

    Hi,
    rogers42 wrote:
    Hi Folks,
    I need help with an query that should generate the "FROM" clause dynamically.
    My main query is as follows
    select DT_SKEY, count(*)
    from *???*
    where DT_SKEY between 20110601 and 20110719
    group by DT_SKEY
    having count(*) = 0
    order by 1; The "from" clause of the above query should be generated as below
    select 'Schema_Name'||'.'||TABLE_NAME
    from dba_tables
    where OWNER = 'Schema_Name'
    Remember that anything inside quotes is case-sensitive. Is the owner really "Schema_Name" with a capital S and a capital N, and 8 lower-case letters?
    Simply sticking the later query in the first query does not work.Right; the table name must be given when you compile the query. It's not an expression that you can generate in the query itself.
    Any pointers will be appreciated.In SQL*Plus, you can do something like the query bleow.
    Say you want to count the rows in scott.emp, but you're not certain that the name is emp; it could be emp_2011 or emp_august, or anything else that starts with e. (And the name could change every day, so you can't just look it up now and hard-code it in a query that you want to run in the future.)
    Typically, how dynamic SQL works is that some code (such as a preliminary query) gets some of the information you need to write the query first, and you use that information in a SQL statement that is compiled and run after that. For example:
    -- Preliminary Query:
    COLUMN     my_table_name_col     NEW_VALUE my_table_name
    SELECT     table_name     AS my_table_name_col
    FROM     all_tables
    WHERE     owner          = 'SCOTT'
    AND     table_name     LIKE 'E%';
    -- Main Query:
    SELECT     COUNT (*)     AS cnt
    FROM     scott.&my_table_name
    ;This assumes that the preliminary query will find exactly one row; that is, it assumes that SCOTT has exactly one table whose name starts with E. Could you have 0 tables in the schema, or more than 1? If so, what results would you want? Give a concrete example, preferably suing commonly available tables (like those in the SCOTT schema) so that the poepl who want to help you can re-create the problem and test their ideas.
    Edited by: Frank Kulash on Aug 11, 2011 2:30 PM

  • I need help in sync music from the ipod store that I have purchased to my ipod.

    I need help syncing my music onto my ipod.  Anyone there to help?

    There is a few events where I could see this happening...
    It's possible if you computer is not authorized with your iTunes Store account it may not have transfered your purchases from the iPad to the computer. To check, Open iTunes> Select the "Store" menu along top of the program and select Authorize this computer. Sign in with your AppleID and password, this will make sure your computer is authorized for the future so you can transfer purchases from your device.
    http://support.apple.com/kb/HT1848
    However, if your Movies are missing now you'll need to request to redownload or "regrant" them. Please send an email ticket into iTunes Store via...
    http://www.apple.com/support/itunes/
    Select "Video Purchases" in the grey boxes, then "Lost or Missing Items", then click the link to "Email Us" on the right. Fill out that form and the folks at the iTunes Store should get back to you less than 24 hours.

  • Need help!! HDV question

    Hey guys..
    I shot a project in HDV 108060i 16:9 project
    brought the footage into FCPro natively..
    when its time to export my project can i give them a downconverted dv 4:3 copy with sides cropped?? and a hdv 16:9 copy?
    the only reason i want to do that is to make myself look better as i am a youngster trying to impress many people as i can.

    you should ask them what they want but you should test both procedures beforehand so you're not scrambling to figure it out before a deadline, as many folks come shouting here do and here's an example post - severe sarcasm to follow - "OMG, I NEED HELP ASAP AS I'M ON A DEADLINE AND I HAVE TO EXPORT THESE FILES AND I CAN'T EVEN TURN MY COMPUTER ON AND MY CLIENTS WILL BE HERE TOOT-SWEET SO HELP ME NOW!!!! I JUST KNOW NO ONE ELSE HAS EVER FACED THIS PROBLEM BEFORE!"
    if you want to impress someone, don't ever assume anything or leave anything to chance. above all, always be on time or early and never assume your clients don't care or don't know.

  • Album Artwork(NEED HELP!!!)

    The album artwork is not matching with the artist. Like lets say i wanna listen to Blink 182 but the album cover is 50 cent. It really bothers me any body knows how to fix it?
    And some of the artwork is just black. There's no album cover at all just a black square...
    need help!!!

    For whatever reason, the iTS store database has it listed differently than your tags.
    Sometimes just adding a blank space after the Album Name or Artist will make iTunes fetch the artwork.
    When Led Zeppelin's Mothership was first released, Apple had it filed under Artist = Lead Zeppelin. It's fixed now, but folks couldn't get the artwork until it was, unless they misspelled their own tags.

  • Need Help for Page Design Technique: Level 0 Record and Level 1 Record

    Folks,
    Hello. I am developing HR system for a client. I design a page for "Position Information" as follows:
    Level 0 record fields:
    Position Number: 01
    Status: Open
    Because many people are in this position, level 1 record is a scroll area containing many rows belong to this Position Number as follows:
    Level 1 record fields:
    Profile ID: 001 effective date: xx/xx/xxxx
    Profile ID: 002 effective date: xx/xx/xxxx
    After save the page into Database, the data in Level 1 record table doesn't match the data in Level 0 record table.
    No way to identify the rows of data in Level 1 record table belong to a specific row of data in Level 0 record table.
    I need help to design the Database, that is 2 tables: many rows in second table belong to one row in first table.
    Can any folks give some idea to design such a Database so that save the Page correctly ?

    Table 2 should have all the key fields from Table 1, followed by atleast one more key of its own.
    Subhash

Maybe you are looking for

  • Missing photo links - changing name of external Hard Drive location

    I have searched for the answer to this high and low without success if someone can help... I have a large collection of photos that I store on an external firewire hard drive (too many to store on my macbook pro). My iphoto library is on my Mac and w

  • Itunes invalid signature 10.6

    Hello Apple Community, I am trying to download an update for itunes and keep getting the same error. This is the first time this has happened. We bought an iPad recently, could it be because of that? The account is the same. I have shut down the appl

  • Rounding minutes to nearest five.

    Hi, I have tried the various methods suggested on other forum messages but to no avail. I have a GUI that acts as the client for a reminder system i am making for some coursework. It contains a combo box with values for the user to select a time from

  • Clients cant connect to WSUS server after WSUS re-install

    Hi, I have a 2008 R2 WSUS server that was working and patching fine. I uninstalled and reinstalled WSUS as I wanted to clean up the considerable amount of old update files. I inherited the WSUS job and this server was just a bit too messy so I though

  • Erase Mail settings and import mailboxes

    I'm having trouble with Apple Mail 3.5 and think that it's isolated to my personal settings within the home dir. Often, when I receive attachments on my IMAP email account, they come through as plain text rather than an attachment. The same message w