Need help with Runtime error! Can't find "MediaDatabase" file! Folders are visible!

Hi, I have been searching a lot for an answer to this issue. Elements keeps crashing after about five minuets and giving me "Microsoft Visual C++ Runtime Library" "Runtime Error!" "R6025 - pure virtual function call". I am running Premiere Elements 9.0 on windows 8.1 and I am trying to
rebuild the "mediadatabase.db3" file, but cannot find it. I made my hidden folders visible, and followed the pathway, but I only get this. I have searched and searched but I can't find anything about windows 8.1. Only 7 and vista. Thanks in advance!

Look for a line that resembles the following in the
actionscript of the Flash fla files... It is likely to be in the
first frame's code, but may not be.
xmlData.load("teamTSI_en.xml");
the '
xmlData' part of that is not likely to be the same as what's
in your file, it's a variable so it could be anything, and the file
names will be whatever your xml files are.
If you can post that line of code from each of the fla files,
someone may be able to tell you where you need to place the xml
files.

Similar Messages

  • NEED HELP WITH RUNTIME ERROR!

    I have recently formated my laptop and installed Adobe Reader. Every time I try to open a .pdf I get the message below:
    Runtime Error!
    Program: c:\program files\adobe\reader 9.0\readeacroRd32.exe
    This application has requested the Runtime to terminate it in an unusual way. Please contact the applications support team for more information.
    I always click to report it to windows but there is no link to fix this issue. What can I do?
    Thanks.

    That hotfix applies to XPSP2. Is that what you've installed? If so,
    you should probably upgrade to SP3, which includes a later version
    of that and many other msvc files. If you're not using XP, then
    that's not the solution.
    Noel

  • Not a developer but need help with runtime error, please

    Hi, I have downloaded a game called Fishdom, but it will not open. I get a " The application has requested the Runtime to terminate it in an unusual way" error message. The dialog box is labeled "Microsoft Visual C++ Runtime Library". 
    I checked my programs and I have C++ '05, '08, and 2010. I am using XP SP3.  I don't get this error at any other time.
    I have asked Playrix (game distributor) about it and they seem relatively clueless about how to fix it. So, is there anything I can do to fix this error, or bypass the error so that the game will load? I've tried deleting and reinstalling the libraries and
    that did not help.
    Anything you can suggest will be very helpful, because I do want the game and do not want to argue with them about refunding my money for it.

    Hi CatsinQ,
    Thank you posting in MSDN forum.
    According to your description, could you please tell us when you installed the
    Microsoft Visual C++ Runtime Library if there have any install errors?
    If you can install the Microsoft Visual C++ Runtime Library successfully, I think that the issue is more related to the game. Therefore, I suggest you can ask the issue to Playrix
    (game distributor), maybe it will better help you.
    In addition, since the
    Visual Studio General
    Forum which discuss Visual Studio the VS IDE issue, so I suggest you can try Brian’s suggestion.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Installing Elements 11 on Mac. Need help with install error "Setup wants to make changes."

    Installing Elements 11 on Mac 10.8.2. Need help with install error:  Setup wants to make changes. Type your password to allow this."  After entering Adobe password, nothing happens.  Locked from further installation.  Any ideas?  Adobe phone support could not help.

    Just before letting changes (installation in this case) be made on the system, Mac OS prompts for password & this has to be the Mac system password. This password prompt is the system's own native prompt & would accept the system password only. Please make sure it is the right system password (all/admin rights) and the installaion should run.

  • Need help with "your purchase can not be completed" when buying an ibook (or anything else for that matter)

    I need help with an error message - "your purchase cannot be completed" when buying something on itunes.

    Lukas --
    Out of curiosity, did you activate the trial software?  Let us know and we will try to help.
    Dale A. Howard [MVP]
    VP of Educational Services
    msProjectExperts
    http://www.msprojectexperts.com
    http://www.projectserverexperts.com
    "We write the books on Project Server"

  • Dynadock V10 - " error can not find installation file" INSTALL ERROR

    Hi I have a toshiba dynadock V10.
    Every time i try to install the drivers it says " error can not find installation file". I have downloaded the latest drivers and switched off my anti virus and shut off all running proiceses and no go. There are a few references to this on the internet but none has a solution.
    I amn trying to install it on an equium U400 running windows 7.
    Funnily enough it loaded on an old dell pc easily!
    I have spent hours searching the net and there is no answer. I dont have anything showing in programs to uninstall.
    Thanks

    >Funnily enough it loaded on an old pc easily!
    Hi
    This means that drivers are ok and there must be something wrong with the system preinstalled on Equium U400.
    How did you proceed?
    Its important that you would NOT connect the Dynadock to the notebook before the drivers and software installation has not been finished.
    Therefore you have to install the software firstly. Then after new reboot connect the Dynadock to the notebook and the installation would finish the next steps.

  • Need help with itunes error message

    I am running itunes on a pc with windows xp. I am getting the following error message:
    Runtime Error!
    Program:C:/Program Files/Itunes/Itunes.exe
    This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
    Does anyone know how to correct error or contact the support team?
    Thanks

    Really?  My iPad is just dropping out and leaving iTunes frozen on 'stage 4 of 4' then I get a time out message.  Apparently it hasn't sync'd since 1 November.

  • Getting error can not find xsl file at esb:///esb_projects/...

    Hi,
    I have one esb project 'A' that is invoking another esb 'B' that contains transformation. Routing rules are defined from server deployed service no soap service call. So in esbsvc file it puts xsl url as esb:///esb_projects/....
    When i deploy A and test it, i get error unable to find xsl file in path esb:///esb_projects/...
    I tried to look into this issue, it looks like all files are stored under temp_xxx_localhost directory.
    did any one find solution for it?
    Note: this issue will come only if you have transformation at B service.

    Have you checked the logs in enterprise manager on deployment?
    Can you run esb B independently? Again via the em choose the web service end point to test.
    I have not had a problem with a missing xsl. You can create test cases for xsl transformations within JDeveloper which will enable to test the validity of you transformation. But, it sound like you are already beyond this point.

  • Getting error can not find xsl file esb:///ESB_PROJECTS/...

    Hi,
    I have one esb project 'A' that is invoking another esb 'B' that contains transformation. Routing rules are defined from server deployed service no soap service call. So in esbsvc file it puts xsl url as esb:///esb_projects/....
    When i deploy A and test it, i get error unable to find xsl file in path esb:///esb_projects/...
    I tried to look into this issue, it looks like all files are stored under temp_xxx_localhost directory.
    did any one find solution for it?
    Note: this issue will come only if you have transformation at B service.

    Have you checked the logs in enterprise manager on deployment?
    Can you run esb B independently? Again via the em choose the web service end point to test.
    I have not had a problem with a missing xsl. You can create test cases for xsl transformations within JDeveloper which will enable to test the validity of you transformation. But, it sound like you are already beyond this point.

  • Need help with an error message: Can't repair volume.

    Hi, folks.
    While checking my HD with Disk Utility, I found a message error. It says that I have to repair the disk but the button "Repair Disk" is not available.
    The message is copied below... if anyone can read it and help me, I'd appreciate.
    Verifying volume “Macintosh HD”
    Checking HFS Plus volume.
    Checking Extents Overflow file.
    Checking Catalog file.
    Overlapped extent allocation (file 1022303 /Applications/Macromedia Dreamweaver MX 2004/Dreamweaver MX 2004/Contents/MacOS/Dreamweaver)
    Overlapped extent allocation (file 1034457 /Users/Johnny/Library/Mail/[email protected]/INBOX.mbox/Messages/16 143.emlx)
    Overlapped extent allocation (file 1034472 /Users/Johnny/Library/Caches/Mail/11/05/1521797044-3222719574.cache)
    Overlapped extent allocation (file 1035396 /Users/Johnny/Library/Mail/[email protected]/Junk E-Mail.mbox/Messages/16148.emlx)
    Overlapped extent allocation (file 1035401 /Users/Johnny/Library/Mail/[email protected]/Junk E-Mail.mbox/Messages/16149.emlx)
    Overlapped extent allocation (file Overlapped extent allocation (file s/DisplayPictures/[email protected]/VnRhV1J0dXR3eG41aG04T3UxOXIrU lZWZ3AwPQ==.png)
    Overlapped extent allocation (file 1042618 /Users/Johnny/Mercury/MSN/Resources/DisplayPictures/[email protected]/ R3FDbDlPNllTRGhhUmNXd3p2Sm55clQ0aUx3PQ==.png)
    Overlapped extent allocation (file 1049904 /Users/Johnny/Library/Mail/[email protected]/Sent Messages.mbox/Messages/16257.emlx)
    Overlapped extent allocation (file Overlapped extent allocation (file ail/02/12/4236346157-3219157957.cache)
    Overlapped extent allocation (file 1050553 /Users/Johnny/Library/Mail/[email protected]/Drafts.mbox/Messages/1 6261.emlx)
    Overlapped extent allocation (file 1050558 /Users/Johnny/Library/Mail/[email protected]/Drafts.mbox/Messages/1 6262.emlx)
    Overlapped extent allocation (file 1050573 /Users/Johnny/Library/Mail/[email protected]/Drafts.mbox/Messages/1 6263.emlx)
    1050573 /Users/Johnny/Library/Mail/[email protected]/Drafts.mbox/Messages/1 6263.emlx
    @)",1)
    1054976 /Users/Johnny/Mercury/MSN/Resources/CustomEmoticons/patinhodeborracha22@hotmail .com/NUxYOXd5ZkZiRjR0Wm5Ob3NZY0p6K09oWWFnPQ==.gif
    Overlapped extent allocation (file 1055000 /Users/Johnny/Mercury/MSN/Resources/DisplayPictures/patinhodeborracha22@hotmail .com/TzNFcmEzTWxaMmV4L0NOelVEUllsaEJjd1BRPQ==.png)
    Overlapped extent allocation (file 1057743 /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/16313.emlx)
    1057743 /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/16313.emlx
    t allocation (file %@)",1)
    1057789 /Users/Johnny/Documents/Yazigi/Events/OFICIO_SDUMA.doc
    Overlapped extent allocation (file 1057880 /Applications/Microsoft Office 2004/Clipart/Yázigi)
    Overlapped extent allocation (file 1058044 /Users/Johnny/Library/Caches/Mail/04/11/2078440011-2247275449.cache)
    Overlapped extent allocation (file 1058045 /Users/Johnny/Library/Caches/Mail/10/07/0272707744-3809369458.cache)
    Overlapped extent allocation (file Overlapped extent allocation (file ny/Library/Caches/Mail/00/15/2244060425-1075118591.cache)
    Overlapped extent allocation (file 1058051 /Users/Johnny/Library/Caches/Mail/09/11/0695285650-1820972980.cache)
    Overlapped extent allocation (file 1058052 /Users/Johnny/Library/Caches/Mail/00/11/0589583874-0597952182.cache)
    Overlapped extent allocation (file 1058053 /Users/Johnny/Library/Caches/Mail/05/12/0478257501-4274710467.cache)
    Overlapped extent allocation (file Overlapped extent allocation (file Mail/00/01/0993945094-0587616530.cache)
    Overlapped extent allocation (file 1058055 /Users/Johnny/Library/Caches/Mail/00/05/0791764484-0602406228.cache)
    Overlapped extent allocation (file 1058056 /Users/Johnny/Library/Caches/Mail/00/15/1220797701-0859034105.cache)
    Overlapped extent allocation (file 1058057 /Users/Johnny/Library/Caches/Mail/00/07/1625158921-0865946749.cache)
    Overlapped extent allocation (file Overlapped extent allocation (file 179-0596073421.cache)
    Overlapped extent allocation (file 1058060 /Users/Johnny/Library/Caches/Mail/00/11/1196125704-0590536112.cache)
    Overlapped extent allocation (file 1058062 /Users/Johnny/Library/Caches/Mail/00/11/1422978311-0856115643.cache)
    Overlapped extent allocation (file 1058063 /Users/Johnny/Library/Caches/Mail/04/12/2763023681-0835402695.cache)
    Overlapped extent allocation (file Overlapped extent allocation (file he)
    Overlapped extent allocation (file 1058065 /Users/Johnny/Library/Caches/Mail/00/03/1827339531-0863388223.cache)
    Overlapped extent allocation (file 1058066 /Users/Johnny/Library/Caches/Mail/07/03/3539577467-0911802683.cache)
    Overlapped extent allocation (file 1058067 /Users/Johnny/Library/Caches/Mail/00/04/1321888006-0860911682.cache)
    Overlapped extent allocation (file 1058069 /Users/Johnny/Library/Caches/Mail/00/02/1726249226-0867834918.cache)
    1058069 /Users/Johnny/Library/Caches/Mail/00/02/1726249226-0867834918.cache
    extent allocation (file %@)",1)
    1058070 /Users/Johnny/Library/Caches/Mail/05/01/0121999446-2569076246.cache
    Overlapped extent allocation (file 1058071 /Users/Johnny/Library/Caches/Mail/12/14/3415372742-4138529506.cache)
    Overlapped extent allocation (file 1058076 /Users/Johnny/Library/Application Support/Skype/joaopaulo_yazigi/chatsync/19/19e520537f725be8.dat)
    Overlapped extent allocation (file Overlapped extent allocation (file nc/d5/d5f85bf4508148d5.dat)
    Overlapped extent allocation (file 1074308 /Users/Johnny/Library/Caches/com.apple.AddressBook/MetaData/2A56AA5D-FD59-4B78- BF65-25589E601017/ABPerson.abcdp)
    Overlapped extent allocation (file 1083386 /Users/Johnny/Music/iTunes/iTunes Music/Podcasts/NEWSWEEK On Air Podcast/NEWSWEEK On Air 1092005.mp3)
    Overlapped extent allocation (file Overlapped extent allocation (file XlSOE96L2VJPQ==.png)
    Overlapped extent allocation (file 1094018 /Users/Johnny/Library/Application Support/Skype/joaopaulo_yazigi/chatsync/15/150fcbaa76a7fb93.dat)
    Overlapped extent allocation (file 1120553 /Users/Johnny/Documents/Yazigi/Events/PRELISTAECOLOCICA2005.doc)
    Overlapped extent allocation (file 1182160 /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/17264.emlx)
    Overlapped extent allocation (file Overlapped extent allocation (file /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/17267.emlx)
    Overlapped extent allocation (file 1182217 /Users/Johnny/Library/Mail/[email protected]@[email protected]/Sent Messages.mbox/Messages/17269.emlx)
    Checking multi-linked files.
    Checking Catalog hierarchy.
    Checking Extended Attributes file.
    Checking volume bitmap.
    Volume Bit Map needs minor repair_
    Checking volume information.
    Invalid volume free block count_
    (It should be 3677631 instead of 3677630)
    The volume Macintosh HD needs to be repaired.
    Error: The underlying task reported failure on exit
    1 HFS volume checked
    Volume needs repair
    Thanks in advance.
    JP

    You will need to try and repair the drive with Disk Warrior. Otherwise, the only option is to reformat the drive. Note that DW may not be successful in fixing all the errors, and you may end up having to reformat anyway.
    It may be possible to fix the problem manually, but it's quite involved. Here's the info:
    http://docs.info.apple.com/article.html?artnum=25770
    Manually fix Overlapped Extent Allocation Errors without Disk Warrior
    Overlapped overlapped extent allocation errors can be the bane of any Mac user's existence. Often, these errors go unnoticed until the problem becomes visible: your Mac might refuse to boot, crash unexpected, or worse, critical data might disappear from the Finder. Disk Utility can detect, but not fix overlapped extent allocation errors, and certain third-party utilities, such as Alsoft Diskwarrior, can fix them, but generally without reporting the consequences.
    Overlapped extent allocation error occur when the file system thinks that two files are occupying the same area on the hard disk, hence overlapping on the same "inode," which is the structure which holds the location of the data blocks the file occupies, and also file permissions and flags.
    Clearing the "overlapped" or "overallocated" extent allocation essentially means that you'll have to lose some data, because the only way to remove the overlap is to delete the file that's occupying the inode. So, if you suspect, or find out, that the guilty file is a critical system file that resides in one of the hidden system directories such as /etc /var /usr/ or visible system directories such as /System or /Library, and you don't want to reinstall the whole OS (which might not fix the overlapped extent allocation anyway), it's good to have another disk available to copy the files back to your original disk if necessary: a second bootable hard drive or a firewire drive connected to your Mac when you remove the misbehaving file. Just make sure that when you copy the file back to your boot disk that the permissions are correct, so it's best to use the "ditto" command, so that all sticky bits, flags, and permissions are preserved.
    In case you didn't know, you don't have to boot from an install CD in order to check for overlapped extent allocations. All you need to do is restart your Mac, while holding down command + S to boot in "single-user mode."
    At the command prompt that appears, type:
    $ fsck -fy
    If you have an overlapped extent allocation, you'll see:
    "Overlapped Extent Allocation" (File 123456d)
    No matter how many times you run fsck -fy, you'll never be rid of the error.
    So, simply issue the following command:
    find / -inum 123456 -print
    Note the "d" was dropped, or any extra letter that appears after the inode number.
    The find will return a file name that matches with the inode number, and the path to that file. If you remove the file then the fsck will not return this error next time you run it.
    However, before you can delete the file(s) in single-user mode, you'll need to mount the file system. Type:
    $ mount -uw /
    When done, issue the "sync" command, and that will flush the write cache so that all pending writes are written from memory to the disk. Also, since most OS X 10.3 Macs use the HFS+ Journaled file system, it might be a good idea to disable the journal before booting into single-user mode by typing:
    $ sudo diskutil disableJournal /
    then re-enable it when done fixing the overlapped extents and rebooting normally:
    $ sudo diskutil enableJournal /
    Chris Anderson is a long-time Linux propellerhead who just got his first Mac, an ibook G4, and can't keep his hands off of it. He currently works as a "The Architect" and general visionary for a maker of world-class collectibles.

  • Need help with Runtime.exec()

    I need help getting my program to run a different java program through the command prompt using the runtime.exec() method. This is my code so far:
    import javax.swing.JOptionPane;
    import javax.swing.JDialog;
    import javax.swing.JButton;
    import javax.swing.JRadioButton;
    import javax.swing.ButtonGroup;
    import javax.swing.JLabel;
    import javax.swing.ImageIcon;
    import javax.swing.BoxLayout;
    import javax.swing.Box;
    import javax.swing.BorderFactory;
    import javax.swing.border.Border;
    import javax.swing.JTabbedPane;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.*;
    //import java.Original.*;
    //import java.Turtle.*;
    //import jav.Turtle.galapagos.*;
    public class JavaMenu extends JPanel
         JFrame frame;
         JLabel label;
         JButton select;
         String labDescription = "Java labs created in class.";
         String turtleDescription = "Turtle labs created in class";
         String creationDescription = "Java programs created on my own.";
         public JavaMenu(JFrame frame)
              super(new BorderLayout());
              JPanel lab = labDialog();
              //JPanel turtle = turtleDialog();
              //JPanel creation = creationDialog();
              label = new JLabel("Click Select Program to run the program.", JLabel.CENTER);
              this.frame = frame;
              Border padding = BorderFactory.createEmptyBorder(20,20,5,20);
              lab.setBorder(padding);
              //turtle.setBorder(padding);
              //creation.setBorder(padding);
              JTabbedPane tab = new JTabbedPane();
              tab.addTab("Java Labs", null, lab, labDescription);
              //tab.addTab("Turtle Labs", null, turtle, turtleDescription);
              //tab.addTab("Java Programs", null, creation, creationDescription);
              add(tab, BorderLayout.CENTER);
              add(label, BorderLayout.PAGE_END);
              label.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
         void setLabel(String newText)
              label.setText(newText);
         protected static ImageIcon createImageIcon(String path)
            java.net.URL imgURL = JavaMenu.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         private JPanel labDialog()
              final int numButtons = 25;
              JRadioButton[] javalabs = new JRadioButton[numButtons];
              final ButtonGroup group = new ButtonGroup();
              select = null;
              final String messageCommand2 = "Lab 02";
              final String messageCommand3 = "Lab 03";
              final String messageCommand4 = "Lab 04";
              final String messageCommand41 = "Lab 04 Extra Credit 1";
              final String messageCommand42 = "Lab 04 Extra Credit 2";
              final String messageCommand5 = "Lab 05";
              final String messageCommand51 = "Lab 05 Extra Credit";
              final String messageCommand6 = "Lab 06";
              final String messageCommand6b = "Lab 06";
              final String messageCommand7 = "Lab 07";
              final String messageCommand71 = "Lab 07 Extra Credit";
              final String messageCommand8 = "Lab 08";
              final String messageCommand8b = "Lab 08";
              final String messageCommand81 = "Lab 08 Extra Credit";
              final String messageCommand9 = "Lab 09";
              final String messageCommand9b = "Lab 09";
              final String messageCommand91 = "Lab 09 Extra Credit 1";
              final String messageCommand92 = "Lab 09 Extra Credit 2";
              final String messageCommand93 = "Lab 09 Extra Credit 3";
              final String messageCommand9a = "Lab 09 American Flag";
              final String messageCommand9t = "Lab 09 Texas Flag";
              final String messageCommand0 = "Lab 10";
              final String messageCommand0b = "Lab 10 Hi Lo Game";
              final String messageCommand01 = "Lab 10 Extra Credit 1";
              final String messageCommand02 = "Lab 10 Extra Credit 2";
              javalabs[0] = new JRadioButton("Lab 02 100 Point Version");
              javalabs[0].setActionCommand(messageCommand2);
              javalabs[1] = new JRadioButton("Lab 03 100 Point Version");
              javalabs[1].setActionCommand(messageCommand3);
              javalabs[2] = new JRadioButton("Lab 04 100 Point Version");
              javalabs[2].setActionCommand(messageCommand4);
              javalabs[3] = new JRadioButton("Lab 04 Extra Credit 1");
              javalabs[3].setActionCommand(messageCommand41);
              javalabs[4] = new JRadioButton("Lab 04 Extra Credit 2");
              javalabs[4].setActionCommand(messageCommand42);
              javalabs[5] = new JRadioButton("Lab 05 100 Point Version");
              javalabs[5].setActionCommand(messageCommand5);
              javalabs[6] = new JRadioButton("Lab 05 Extra Credit");
              javalabs[6].setActionCommand(messageCommand51);
              javalabs[7] = new JRadioButton("Lab 06A 100 Point Version");
              javalabs[7].setActionCommand(messageCommand6);
              javalabs[8] = new JRadioButton("Lab 06B 100 Point Version");
              javalabs[8].setActionCommand(messageCommand6b);
              javalabs[9] = new JRadioButton("Lab 07 100 Point Version");
              javalabs[9].setActionCommand(messageCommand7);
              javalabs[10] = new JRadioButton("Lab 07 Extra Credit");
              javalabs[10].setActionCommand(messageCommand71);
              javalabs[11] = new JRadioButton("Lab 08A 100 Point Version");
              javalabs[11].setActionCommand(messageCommand8);
              javalabs[12] = new JRadioButton("Lab 08B 100 Point Version");
              javalabs[12].setActionCommand(messageCommand8b);
              javalabs[13] = new JRadioButton("Lab 08 Extra Credit");
              javalabs[13].setActionCommand(messageCommand81);
              javalabs[14] = new JRadioButton("Lab 09A 100 Point Version");
              javalabs[14].setActionCommand(messageCommand9);
              javalabs[15] = new JRadioButton("Lab 09B 100 Point Version");
              javalabs[15].setActionCommand(messageCommand9b);
              javalabs[16] = new JRadioButton("Lab 09 Texas Flag");
              javalabs[16].setActionCommand(messageCommand9t);
              javalabs[17] = new JRadioButton("Lab 09 American Flag");
              javalabs[17].setActionCommand(messageCommand9a);
              javalabs[18] = new JRadioButton("Lab 09 Extra Credit 1");
              javalabs[18].setActionCommand(messageCommand91);
              javalabs[19] = new JRadioButton("Lab 09 Extra Credit 2");
              javalabs[19].setActionCommand(messageCommand92);
              javalabs[20] = new JRadioButton("Lab 09 Extra Credit 3");
              javalabs[20].setActionCommand(messageCommand93);
              javalabs[21] = new JRadioButton("Lab 10 A 100 Point Version");
              javalabs[21].setActionCommand(messageCommand0);
              javalabs[22] = new JRadioButton("Lab 10 B 100 Point Version");
              javalabs[22].setActionCommand(messageCommand0b);
              javalabs[23] = new JRadioButton("Lab 10 Extra Credit 1");
              javalabs[23].setActionCommand(messageCommand01);
              javalabs[24] = new JRadioButton("Lab 10 Extra Credit 2");
              javalabs[24].setActionCommand(messageCommand02);     
              for (int k = 0; k < numButtons; k++)
                   group.add(javalabs[k]);
              javalabs[0].setSelected(true);
              select = new JButton("Select Program");
              select.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        String command = group.getSelection().getActionCommand();
                        if (command == messageCommand2)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                 try
                                    Runtime.getRuntime().exec(new String[] {"cmd", "set classpath=D:/Documents and Settings/Yinon Michaeli/My Documents/CS/java/Labs02", "path C:/j2sdk1.4.0/bin", "java Lab020"});
                                    //File file = new File("java/Labs02");
                                    //Runtime.getRuntime().exec(new String[] {"rundll32", "url.dll,FileProtocolHandler","file:///" + file.getAbsolutePath()});
                                 catch (Exception a)
                                      JOptionPane.showMessageDialog(frame, "Error: Exception.", "Error", JOptionPane.ERROR_MESSAGE);
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand3)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand4)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand41)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand42)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand5)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand51)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand6)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand6b)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand7)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand71)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand8)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand8b)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand81)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand9)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand91)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand9t)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand9a)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand9b)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand92)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand93)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand0)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand0b)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand01)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand02)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        return;
              return create2ColPane(labDescription + ":", javalabs, select);     
         private JPanel createPane(String description, JRadioButton[] radioButtons, JButton showButton)
              int numChoices = radioButtons.length;
            JPanel box = new JPanel();
            JLabel label = new JLabel(description);
            box.setLayout(new BoxLayout(box, BoxLayout.PAGE_AXIS));
            box.add(label);
            for (int k = 0; k < numChoices; k++)
                box.add(radioButtons[k]);
            JPanel pane = new JPanel(new BorderLayout());
            pane.add(box, BorderLayout.PAGE_START);
            pane.add(showButton, BorderLayout.PAGE_END);
            return pane;
        private JPanel create2ColPane(String description, JRadioButton[] radioButtons, JButton showButton)
            JLabel label = new JLabel(description);
            int numPerColumn = radioButtons.length/2;
            JPanel grid = new JPanel(new GridLayout(0, 2));
            for (int k = 0; k < numPerColumn; k++)
                grid.add(radioButtons[k]);
                grid.add(radioButtons[k + numPerColumn]);
            JPanel box = new JPanel();
            box.setLayout(new BoxLayout(box, BoxLayout.PAGE_AXIS));
            box.add(label);
            grid.setAlignmentX(0.0f);
            box.add(grid);
            JPanel pane = new JPanel(new BorderLayout());
            pane.add(box, BorderLayout.PAGE_START);
            pane.add(showButton, BorderLayout.PAGE_END);
            return pane;
        private static void createAndShowGUI()
             JFrame.setDefaultLookAndFeelDecorated(true);
             JFrame frame = new JFrame("Java Programs");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JavaMenu newContentPane = new JavaMenu(frame);
            newContentPane.setOpaque(true);
            frame.setContentPane(newContentPane);
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args)
             javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

    Why are you posting hundreds of lines of code not related to the problem??? 99.9% of the code you posted has absolutely nothing to do with using the Runtime.exec() method.
    Create a simple test program that simply tries to invoke the Runtime.exec() method. Once you get that working, then you incoporate it into you real program. Don't clutter the forum with unnecessary code.
    public class WindowsFileProtocolHandler
         public static void main(String[] args)
              throws Exception
              String[] cmd = new String[4];
              cmd[0] = "cmd.exe";
              cmd[1] = "/C";
              cmd[2] = "java";
              cmd[3] = "YourClassHere";
              Process process = Runtime.getRuntime().exec( cmd );
    }

  • Need help with query that can look data back please help.

    hi guys i have a table like such
    CREATE TABLE "FGL"
        "FGL_GRNT_CODE" VARCHAR2(60),
        "FGL_FUND_CODE" VARCHAR2(60),
        "FGL_ACCT_CODE" VARCHAR2(60),
        "FGL_ORGN_CODE" VARCHAR2(60),
        "FGL_PROG_CODE" VARCHAR2(60),
        "FGL_GRNT_YEAR" VARCHAR2(60),
        "FGL_PERIOD"    VARCHAR2(60),
        "FGL_BUDGET"    VARCHAR2(60)
      )and i have a data like such
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','11','1','400');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','10','1','100');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','1','0');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','14','200');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','10','14','100');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','10','2','100');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7470','4730','02','10','2','200');I bascially need to get the total of the budget column. however its not as simple as it sound(well atleast not for me.) the totals carry over to the new period. youll noticed the you have a period column. basically what im saying is that
    fgl_grant_year 10 period 1 = for account 7600 its $100 and $100 for period 2 you see 100 dollars again this is not to be added this is the carried over balance. which remains $100.
    so im trying to write a query that basically does the following.
    im given a period for the sake of this example lets say period 1 i get nothing else. I have to find the greates grant year grab the amount for period 14(which is the total from the previous year) and add it to the amount of the current period. in this case period 1 grnt_year 11
    so the expected outcome should be $700
    240055     240055     7240     4730     02     10     14     200
    240055     240055     7600     4730     02     10     14     100
    240055     240055     7600     4730     02     11     1     400keep in mind that im not given a year just a period.
    any help that you guys can offer would be immensely appreciated. I have been trying to get this to work for over 3 days now.
    finally broke down and put together this post
    Edited by: mlov83 on Sep 14, 2011 8:48 PM

    Frank
    wondering if you can help me modify this sql statement that you provided me with .
    table values have been modified a bit.
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','11','00','400');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','1','100');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','1','0');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','11','1','400');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('360055','360055','7200','4730','02','10','1','400');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('360055','360055','7600','4730','02','10','1','400');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','14','200');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7600','4730','02','10','14','100');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','14','200');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','10','2','100');
    Insert into FGL (FGL_GRNT_CODE,FGL_FUND_CODE,FGL_ACCT_CODE,FGL_ORGN_CODE,FGL_PROG_CODE,FGL_GRNT_YEAR,FGL_PERIOD,FGL_BUDGET) values ('240055','240055','7240','4730','02','11','2','600');i need to take one more thing into consideration. if the greatest year has a value on period 00 i need to ignore the period 14 and the current period total would be
    the current period +(current period - greatest year 00)
    hope that makes sense so in other words with the new data above. if i was querying period two of grant year 11. i would end up with $800
    because the greatest year is 11 it contains a period 0 with amount of $400 so my total should be
    period 2 amount $ 600
    period 0 amount $ 400 - period 2 amount of $600 = 200
    600+200 = $800
    if i query period 1 of grant 360055 i would just end up with 800 of grnt year 10.
    i have tried to modify that query you supplied to me with no luck. I have tried for several day but im embarrased to say i just can get it to do what im trying to do .
    can you please help me out.
    Miguel

  • Need help in runtime error

    I try to run the ausp dbtable.
    with entries of object: 00001019680 and more that 1300 entries
    Inter char. sr_code
    classtype: z01
    the problem is display in a short dump with this message
    There is no help text for this runtime error either the text was inadvertently deleted or the release of the kernel differs from that of that of the database.
    Thanks.
    I hope you could help me. I need it urgent

    Hi rhym,
    Thta soounds like a memory issue to me. At least that is what causes that to happen to me.
    The 'slice' of data you are requesting, based on your criteria, may be more mega bytes than the memory buffer. Too much data perhaps.
    When this happens to me I have to take smaller chuncks of data, multiple extractions, then paste them all together.
    Try half the number of entries, and see.
    RS

  • Need Help with 404 error

    Hello,
    I have completed the local folder, tesing server, and remote server setup correctly  (i think so).
    My testing setup and files shown below:
    My local folder for site shown below:
    My advanced settings shown below:
    I have downloaded all the files to the local folder from my remote server which are working fine on the live website http://www.caremoreconstruction.co.uk.
    No layouts of the files/folders etc have been changed, I simply moved them over from the FTP server in to local folder I had created.
    Just to confirm I have XAMPP installed and Apache runnining.
    When I open DW CS5 and select the index.php file form the FILES tab, the main home page opens up and I little bar comes up at the top and says "This page has server proccesing directives that design view cannot display. Switch to Live View".
    So I click on Live View and the home page loads up. I then press ctrl and click one of the links. (See picture below)
    For some reason I am getting the following error message when I click on my links.
    Object not found!
    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
    If you think this is a server error, please contact thewebmaster.
    Error 404
    localhost
    12/30/10 11:58:51
    Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
    Please can someone help me!!
    Regards
    James

    David,
    This is the responce I have had from my website designer.
    Happy new year to you also.  Re Dreamweaver it’s not a tool we use I’m afraid, we generally use tools like Netbeans and code oriented text editors so I’m not best placed to advise on the config of it. I have used it back in 2003, it’s a great development platform, but I just ended up working with other tools.
    Looking at the post though, you seem to have got the site running but the issue seems to be the friendly URLs. As David correctly identified, .htaccess and mod_rewrite are used to effect this. If you don’t have the correct .htaccess file in place this aspect of the navigation won’t work.  You should also be running the site from the root directory – both the production (live) website and our development environments are setup in this way, so though I don’t think we implement root relative URIs in the site navigation, I can’t say there won’t be issues running it in a subdirectory off http://locahost without reviewing all the code, which I haven’t.
    The .htaccess file you need is on your live website, but many FTP clients will not display this by default, so your FTP download may have missed it.
    You can create it yourself, it needs the following directives.  The “.” on the front of the filename is very important.
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
    That should solve your navigation issue, providing the Apache mod_rewrite module is enabled.  If it doesn’t I can’t really help you further, other than to suggest you get a second hosting account online.  I seem to think you can use a remote development environment in Dreamweaver.  The advantage here is that you’ll have an environment that you know to work, with all the components installed.  No disrespect, but even we can spend ages configuring our development servers to work as we need, and much depends on the installation approach you use in setting up Apache, PHP and MySQL
    Re the database, as David has sussed there is no MySQL database to concern yourself with. Other red herrings include login and register handlers which are not implemented.  Your original brief included the possibility of a customer login to access your quotes & progress reports down the line, so we allowed for that in the initial build and planned for MySQL access but didn’t implement those features.
    Hope that helps. Great to see how far you’ve come with this – I probably couldn’t get as far building in the same time! Also glad to see that the comments re the code and structure are good – it’s always interesting to see what another developer, who obviously knows his stuff, thinks of your code!!
    Regards
    Oliver Phillips
    http://www.eantics.co.uk
    OMG ITS WORKING NOW!!!!!
    1. Move all files and folders for the website to the main root directory http://localhost/
    2. Open notepad and copy/paste code above in to note pad.
    3. Click Save As from files menu. Change save format to all files and call it .htaccess (dont forget to put the ''.'' before htaccess)
    4. Move .htaccess file to the root directory of the local/testing site.
    and that's it!
    There is just one small problem, I have had to move the XAMPP folder out of the root directory http://localhost for the links to work in DW CS5. When I first tried the link on my home page (both in DW CS5 and Browser) it redirected me to the XAMPP home page.
    I think the solution for this would be to put XAMPP back in http://localhost/xampp and move website file and folders to vhost.

  • Need help with Runtime.getRuntime().exec

    If there is a better place to post please let me know. I need some help understanding what is going on and was hoping someone might be able to provide some information. I would like to use Runtime.getRuntime().exec to copy a file in linux. Here is the code I am using:
    try {
    Process p = Runtime.getRuntime().exec("cp -v foo foo2");
    BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line = null;
    while ((line = in.readLine()) != null) {
    System.out.println(line);
    } catch (IOException e) {
    e.printStackTrace();
    If I use cp, with the System.out.println(line) I can see that it has copied and of course when I check the command line indeed it has. My problem is that I really need to use the dd command, but I can't see the output that dd displays. It copies the file just fine but I need the output. If someone can provide some explaination or help I would really appreciate it. Thanks.

    By default, dd sends its output to stdout, so any status messages it has go to stderr. Use getErrorStream (double check the docs for the method name) just like you're currently using getInputSTream.

Maybe you are looking for

  • Issue with Supplier site descriptive flex field upgrade from 11i to R12

    We ran into some issue when upgrade Supplier site descriptive flex field from 11i to R12. In 11i. we defined descriptive field on JG_PO_VENDOR_SITES. in the segment definition, we defined one of the attributes default value based on Form Field Value,

  • HP Scan utility no longer works with Mountain Lion

    Updated from 10.6.8 to 10.8.  HP Scan software utility no longer boots, yielding an error message warning of incompatibility.  I run Software Update over and over again, but HP Scan still did not boot. I ran HP Uninstaller, but it did not remove the

  • BSIS/BSAS tables not populated

    Dear Experts, I have a GL/account having too many items but FAGLL03 returns no items. I have found that the reason is that tables BSIS and BSAS are not being populated with line items. however tables BKPF and BSEG in addition to FAGLFLEXA are all pop

  • Is it possible to change the devices that are connected to my iCloud?

    Hi! When my mom first bought her ipad last year, I gave her my Apple ID so that she doesn't have to create one and so that we could share apps. However, now that we also have an iPad, we both agreed that it would be much simpler if she could have her

  • MacBook Pro insomnia -- never idles sleeps

    Hi all, For awhile my MacBook has failed to automatically sleep as a result of the system being idle. If I close the lid or pick "sleep" from the menu that comes up when I press the power button, it works fine, but it never idle sleeps on it's own. I