Compressor beautifully does what I want . . . SOMETIMES!

Hi,
I want to compress something (for YouTube) we shot with a Canon XF300 camera which exports as a Self Contained movie from FCPro at a data rate of about 70mbs. YouTube can take a file up to 2 gig - so for best quality, I'd like Compressor to compress the video at about 30mbs - that'll keep it just under 2 gig, so this is the best quality way for YouTube.
But when I'm done, the data rate is way down at around 18mbs. Of course, it still looks great on the MacBook Pro screen - it looks perfect - but I'd like to use the higher data rate of 30mbs because I think (in theory) because YouTube compresses it again, I'm best off starting out with the highest data rate I can - for minimal loss. When I tell compress, for other projects, to use 3 mbs, or 10mbs, or 1mbs - it listens very well. But it won't do 25 or 30, sometimes?
I'm using h.254 and I'm telling the Data rate to "Restrict to 30,000 kbs" - but it actually gives me about 20,000kbs
How do I get it to "listen" to me! (I have the latest version of everything.)
Thanks,
Larry

Ian, I completely agree with you. And we work frequently with running horses, close ups of them with the background flying by in fast pans . . . .and even in worst case scenerios - even with overcranking - you really can't see the difference much over 20 mbs.
BUT . . . I know with more compression comes more loss. And when YouTube re-compresses it again - that's where the visible loss creeps in. So I figure, give YouTube what they want - up to 2 gig per movie. If YouTube gets it at 30mbs, it will look much better (and will lose less when they compress it again) -- then if YouTube gets it at 16mbs.
THAT'S why I want Compressor to do it at 30mbs - so YouTube will "wreck" it less as it has more data in it to start. It's NOT for our first generation compression . . . it's for YouTube's 2nd generation compression - it'll look better giving them a higher data movie.
So why not give them what they want?
So how do I get Compressor to simple DO what it's told? Is there another way to approach this? I thought when you tell COmpressor a data rate, that's what it does. And it does - but not all the time. So the issue is, not "it looks OK at 18mbs." The issue is I have other reasons why I need 30mbs, how do I simple tell Compressor to do that, and have it do it?
Oh, interestingly, if I take (sometimes) a 20 second piece of a 5 minute movie, compressor WILL compress that at 30mbs! But then when I do the whole thing - it fails to keep the data rate at 25 or 30mbs. THAT'S what's puzzling me!

Similar Messages

  • How to save slideshow settings so when I press Ctrl-Enter it does what I want?

    How to save slideshow settings so when I press Ctrl-Enter it does what I want?
    eh?
    R

    I tested what you gave me there Rob. On my Mac I have dual monitors:
    -Only blackens/show slideshow on one monitor (the main monitor, if I move LR to my secondary monitory, the slideshow is still on the first, but the second still runs normal, with LR just sitting there).
    -If I disable slide durration I have to manually advance the slides with the right arrow.
    -I don't have "Lightroom" (or with my current settings any) text on the screen.
    -Does not repeat.
    My Windows machine doesn't have dual monitors, but the others work correctly....
    That is, until I thought about this differently. Since we are looking at changing Slideshow settings, I was naturally in the Slideshow module. But then I remembered the whole point of the Impromtu Slideshow was that you can view slideshow playback from any module. Once I returned to Library and clicked Command/Ctrl+Enter, then I saw exactly what you are talking about. Both monitors are blackened, slide duration is ignored, etc.
    You know why? Because the Impromptu Slideshow uses one of the templates when outside of the Slideshow Module. Which one? Well, Default +, of course. How do you change that? Right-click (Command-click) the slideshow template you'd rather use and select "Use for Impromptu Slideshow".

  • MouseEvent not doing what I want

    Below is a working program. What I want is when I click on the program it's suppose to go to the other method (i.e. like a story book going to the next page) but sometimes I have to double click for it go to and sometimes it doesn't work at all. Can someone help me fix this so that is goes to the next method called. I thought I could fix this by having a getClickCount()but it doesn't work one-by-one; sometimes, i have to click 2 or 3 times to have to go to the next one. And yes, I am new to the whole program deal. So if some of you big worms can help, I would greatly appreciate it.
    Roman03
    * The basic framework for a wanna be story book
    * @author Michael
    * @version 0.00001
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class Zelda extends JFrame implements MouseListener
         private static final int GAME_STATE_INTRO = 0;
    private static final int GAME_STATE_SETUP = 1;
    private static final int GAME_STATE_PARTONE = 2;
    private static final int GAME_STATE_PARTTWO = 3;
    private int clicks;
    private int gameState;
    // private int gameCity;
    String name = "heroShot.gif";
    Image image = Toolkit.getDefaultToolkit().getImage(name);
    String sname = "snowMan.gif";
    Image simage = Toolkit.getDefaultToolkit().getImage(sname);
    * Entry point for code execution.
    public static void main(String[] args) {
    new Zelda();
    * Constructor for objects of class BattleshipApp
    public Zelda()
    this.setSize(600, 500);
    this.show();
    this.setTitle("Roman Empire Software");
    this.addMouseListener(this);
    this.gameState = GAME_STATE_INTRO;
    * Draws the game window.
    public void paint(Graphics gfx) {
    if (this.gameState == GAME_STATE_INTRO) {
    this.drawTitleScreen();
    else if (this.gameState == GAME_STATE_SETUP) {
    this.drawGrid();
    if (clicks == 2) {
    this.drawPartOne();
    if (clicks == 3) {
    this.drawPartTwo();
    * Draws the 'Welcome to Battleship' screen.
    private void drawTitleScreen() {
    // Get an object representing the area within the window borders.
    Container clientArea = this.getContentPane();
    // Get the Graphics object associated with the client area.
    Graphics gfx = clientArea.getGraphics();
    // Get the size of the client area.
    int width = clientArea.getWidth();
    int height = clientArea.getHeight();
    gfx.setColor(Color.black);
    gfx.fillRect(0, 0, width, height);
    gfx.setColor(Color.green);
    gfx.drawString("Welcome to the New Roman Empire", 200, 325);
    gfx.setColor(Color.gray);
    gfx.drawString("(click mouse to continue)", 228, 275);
    gfx.drawString("(This is the first screen)", 225, 300);
    gfx.drawImage( image, 180, 0, this );
    gfx.drawString("Clicks " + clicks, 400, 400);
    private void drawGrid() {
    // Get the info for the work area.
    Container workArea = this.getContentPane();
    Graphics workAreaGfx = workArea.getGraphics();
    // Fill the work area with black.
    workAreaGfx.setColor(Color.black);
    int width = workArea.getWidth();
    int height = workArea.getHeight();
    workAreaGfx.fillRect(0, 0, width, height);
              workAreaGfx.setColor(Color.green);
    workAreaGfx.drawString("(click mouse to continue)", 250, 375);
    workAreaGfx.drawImage( image, 0, 0, this );
    this.gameState = GAME_STATE_PARTONE;
    workAreaGfx.drawString("Clicks " + clicks, 400, 400);
    workAreaGfx.drawString("This is still a working program ", 250, 200);
    workAreaGfx.drawString("I am still working out the bugs ", 250, 220);
    workAreaGfx.drawString("(This is the Second screen)", 250, 240);
    // Code to draw the grid lines.
    // First, set the line color.
    private void drawPartOne() {
    // Get the info for the work area.
    // Get an object representing the area within the window borders.
    Container clientArea = this.getContentPane();
    // Get the Graphics object associated with the client area.
    Graphics gfx = clientArea.getGraphics();
    // Get the size of the client area.
    int width = clientArea.getWidth();
    int height = clientArea.getHeight();
    gfx.setColor(Color.black);
    gfx.fillRect(0, 0, width, height);
    gfx.setColor(Color.green);
    gfx.drawString("Why ain't this thing working?", 200, 325);
    gfx.setColor(Color.blue);
    gfx.drawString("Some times it's the snow hero that does it", 200, 425);
    gfx.setColor(Color.gray);
    gfx.drawString("(click mouse to continue)", 128, 575);
    gfx.drawString("(This is the third screen)", 225, 300);
    gfx.drawImage( simage, 18, 11, this );
    gfx.drawString("Clicks " + clicks, 400, 400);
    private void drawPartTwo() {
    // Get the info for the work area.
    // Get an object representing the area within the window borders.
    Container clientArea = this.getContentPane();
    // Get the Graphics object associated with the client area.
    Graphics gfx = clientArea.getGraphics();
    // Get the size of the client area.
    int width = clientArea.getWidth();
    int height = clientArea.getHeight();
    gfx.setColor(Color.black);
    gfx.fillRect(0, 0, width, height);
    gfx.setColor(Color.green);
    gfx.drawString("Junk text who cares", 250, 125);
    gfx.setColor(Color.green);
    gfx.drawString("Blah Blah just have to put some text", 100, 225);
    gfx.setColor(Color.blue);
    gfx.drawString("Some times it's the snow hero that does it", 300, 225);
    gfx.setColor(Color.gray);
    gfx.drawString("(click mouse to continue)", 28, 575);
    gfx.drawString("(This is the forth screen)", 225, 300);
    //gfx.drawImage( simage, 118, 11, this );
    gfx.drawString("Clicks " + clicks, 400, 400);
    * MouseListener methods.
    public void mouseClicked(MouseEvent event) {}
    public void mouseEntered(MouseEvent event) {}
    public void mouseExited(MouseEvent event) {}
    public void mousePressed(MouseEvent event) {}
    public void mouseReleased(MouseEvent event) {
    clicks = event.getClickCount();
    Graphics gfx = this.getGraphics();
         this.gameState = GAME_STATE_SETUP;
              this.repaint();
              if (event.getClickCount() == 2 )
    this.gameState = GAME_STATE_PARTONE;
              this.repaint();
         else if (event.getClickCount() == 3 ) {
    this.gameState = GAME_STATE_PARTTWO;
              this.repaint();

    Well, first off, you should use mousepressed instead of mousereleased because it will fire right when you click the mouse button... it's prefered by most people I know.
    Secondly, it only doesn't work because of the way you have it trying to refresh.
    Take a look at this code:
       import java.awt.*;
       import javax.swing.*;
       import java.awt.event.*;
       public class Zelda extends JFrame implements MouseListener
          private static final int GAME_STATE_INTRO = 0;
          private static final int GAME_STATE_SETUP = 1;
          private static final int GAME_STATE_PARTONE = 2;
          private static final int GAME_STATE_PARTTWO = 3;
          private int clicks;
          private int gameState;
          String name = "heroShot.gif";
          Image image = Toolkit.getDefaultToolkit().getImage(name);
          String sname = "snowMan.gif";
          Image simage = Toolkit.getDefaultToolkit().getImage(sname);
          public static void main(String[] args) {
             new Zelda();
          public Zelda()
             this.setSize(600, 500);
             this.show();
             this.setTitle("Roman Empire Software");
             this.addMouseListener(this);
             this.gameState = 0;//GAME_STATE_INTRO;
          public void paint(Graphics gfx) {
             if (gameState == GAME_STATE_INTRO) {
                drawTitleScreen();
             else if (gameState == GAME_STATE_SETUP) {
                drawGrid();
             if (gameState == GAME_STATE_PARTONE) {
                drawPartOne();
             if (gameState == GAME_STATE_PARTTWO) {
                drawPartTwo();
          private void drawTitleScreen() {
             Container clientArea = this.getContentPane();
             Graphics gfx = clientArea.getGraphics();
             int width = clientArea.getWidth();
             int height = clientArea.getHeight();
             gfx.setColor(Color.black);
             gfx.fillRect(0, 0, width, height);
             gfx.setColor(Color.green);
             gfx.drawString("Welcome to the New Roman Empire", 200, 325);
             gfx.setColor(Color.gray);
             gfx.drawString("(click mouse to continue)", 228, 275);
             gfx.drawString("(This is the first screen)", 225, 300);
             gfx.drawImage( image, 180, 0, this );
             gfx.drawString("Clicks " + clicks, 400, 400);
          private void drawGrid() {
             Container workArea = this.getContentPane();
             Graphics workAreaGfx = workArea.getGraphics();
             workAreaGfx.setColor(Color.black);
             int width = workArea.getWidth();
             int height = workArea.getHeight();
             workAreaGfx.fillRect(0, 0, width, height);
             workAreaGfx.setColor(Color.green);
             workAreaGfx.drawString("(click mouse to continue)", 250, 375);
             workAreaGfx.drawImage( image, 0, 0, this );
             this.gameState = GAME_STATE_PARTONE;
             workAreaGfx.drawString("Clicks " + clicks, 400, 400);
             workAreaGfx.drawString("This is still a working program ", 250, 200);
             workAreaGfx.drawString("I am still working out the bugs ", 250, 220);
             workAreaGfx.drawString("(This is the Second screen)", 250, 240);
          private void drawPartOne() {
             Container clientArea = this.getContentPane();
             Graphics gfx = clientArea.getGraphics();
             int width = clientArea.getWidth();
             int height = clientArea.getHeight();
             gfx.setColor(Color.black);
             gfx.fillRect(0, 0, width, height);
             gfx.setColor(Color.green);
             gfx.drawString("Why ain't this thing working?", 200, 325);
             gfx.setColor(Color.blue);
             gfx.drawString("Some times it's the snow hero that does it", 200, 425);
             gfx.setColor(Color.gray);
             gfx.drawString("(click mouse to continue)", 128, 575);
             gfx.drawString("(This is the third screen)", 225, 300);
             gfx.drawImage( simage, 18, 11, this );
             gfx.drawString("Clicks " + clicks, 400, 400);
          private void drawPartTwo() {
             Container clientArea = this.getContentPane();
             Graphics gfx = clientArea.getGraphics();
             int width = clientArea.getWidth();
             int height = clientArea.getHeight();
             gfx.setColor(Color.black);
             gfx.fillRect(0, 0, width, height);
             gfx.setColor(Color.green);
             gfx.drawString("Junk text who cares", 250, 125);
             gfx.setColor(Color.green);
             gfx.drawString("Blah Blah just have to put some text", 100, 225);
             gfx.setColor(Color.blue);
             gfx.drawString("Some times it's the snow hero that does it", 300, 225);
             gfx.setColor(Color.gray);
             gfx.drawString("(click mouse to continue)", 28, 575);
             gfx.drawString("(This is the forth screen)", 225, 300);
             gfx.drawString("Clicks " + clicks, 400, 400);
          public void mouseClicked(MouseEvent event) {
             gameState++;
             if(gameState > 3)
                gameState = 0;
             repaint();
          public void mouseEntered(MouseEvent event) {
          public void mouseExited(MouseEvent event) {
          public void mousePressed(MouseEvent event) {
          public void mouseReleased(MouseEvent event) {
       }

  • Ipad 2 doing what it wants. Help?

    Why is my iPad 2 doing what ever it wants. By clicking into apps itself etc. Have to switch it off every time, even that is a challenge as it sometimes won't let me.  have to reset it. Had to reset 6 times in about an hour. Anyone know how to fix it? Please anything would help.

    Hello:
    If the iPad is in warranty, I would either take it to an Apple store or call Applecare.  The device may be faulty.
    Barry

  • Want to make 3d sphere, 3d revolve isn't doing what I want

    So I've got illustrator CC and I'm trying to map a pattern of a golf ball on to a sphere but it isn't doing what I'd like - it's distorting my circles the wrong way. I found a blog post about using a custom plugin, but the plugin looks like it's outdated. Wondering if there is a way to get the desired effect in CC that I'm missing? Here's the post I'm talking about, and I want to make a golf ball similar to the one in the picture. Thanks for any suggestions!
    http://vectorboom.com/load/tutorials/effects/how_to_allocate_flat_objects_on_a_sphere_surf ace_in_adobe_illustrator/3-1-0-431

    Nope.
    Per the terms of service you agreed to-all sales are final.

  • Using Dialogue box in adobe. Javascript && not doing what I want it to

    Ok, I have a dialoge box that pops open for staff and asks them what it is they are doing - Reducing Interest Rate, Changing payment frequency, Changing payment amount or suspending payment.  I have fields that show/hide based on those choices
    If they hit only 1 choice the form works like a charm.  If however they hit two choices it does not
    I see what the form is doing but I do not know how to fix
    For a small example I have (put very simply)
    Fields 1, 2, 3 and 4 - all hidden
    button 1 = false
    button 2 = false
    button 3 = false
    button 4 = false
    if button 1 = true
    unhide Fields 2, 3 and 4
    If button 2 = true
    unhide Fields 1, 3 and 4
    if button 3 = true
    unhide Fields 1, 2 and 4
    if button 2 && 3 are true then:
    unhide Fields 1 and 4
    but what it does is show button 2 = true so unhides fields 1, 3 and 4 and then says button 3 = true so unhides Fields 1, 2 and 4 - so it ends up all my fields unhide
    I am sure there is probably a quick fix but I am at a loss
    I will attempt to attach my full code shortly

    Header 1
    // did the value change when ticked - lets check  THIS IS THE CODE I HAVE
    Alteration.bChk2 = false;
    Alteration.bChk3 = false;
    Alteration.bChk4 = false;
    Alteration.bChk5 = false;
    if ("ok" == Alteration.DoDialog()) {
         if (Alteration.bChk2 && Alteration.bChk4) {
             getField("FormValues.Loan.compoundingPeriod_Checkbox").display = display.visible;
             getField("FormValues.variance").display = display.visible;
             getField("FormValues.Loan.paymentFrequency_Checkbox").display = display.visible;
             getField("FormValues.Loan.periodicPaymentDatesDays_Weekly").display = display.visible;
             getField("FormValues.Loan.periodicPaymentDatesDays_BiWeekly").display = display.visible;
             getField("FormValuesLoan.paymentDay").display = display.visible;
             getField("FormValues.Loan.periodicPaymentDatesDays_SemiMonthly1st").display = display.visible;
             getField("FormValues.Loan.periodicPaymentDatesDays_SemiMonthly2nd").display = display.visible;
             getField("Periodic Payment Area").display = display.noPrint;
             getField("reduced interest rate").checkThisBox(0,true);
             getField("suspended periodic payment").checkThisBox(0,true);
    if (Alteration.bChk2 && Alteration.bChk5) {
             getField("FormValues.Loan.compoundingPeriod_Checkbox").display = display.visible;
             getField("FormValues.variance").display = display.visible;
             getField("FormValues.Loan.interestOnly_Checkbox").display = display.visible;
             getField("FormValues.paymentAmount").display = display.visible;
             getField("Periodic Payment Area").display = display.noPrint;
             getField("Periodic Pay Frequency Area Area").display = display.noPrint;
             getField("reduced interest rate").checkThisBox(0,true);
             getField("change periodic payment frequency").checkThisBox(0,true);
    if (Alteration.bChk3 && Alteration.bChk5) {
            getField("FormValues.Loan.compoundingPeriod_Checkbox").display = display.visible;
             getField("FormValues.variance").display = display.visible;
             getField("FormValues.rateType").display = display.visible;
             getField("FormValues.Loan.fixedRate").display = display.visible;
             getField("FormValues.Loan.variance_GT").display = display.visible;
             getField("Periodic Pay Frequency Area").display = display.noPrint;
             getField("Periodic Payment Area").display = display.noPrint;
             getField("change periodic payment frequency").checkThisBox(0,true);
             getField("reduced periodic payment amount").checkThisBox(0,true);
        if (Alteration.bChk2) {
             getField("FormValues.Loan.paymentFrequency_Checkbox").display = display.visible;
             getField("FormValues.Loan.periodicPaymentDatesDays_Weekly").display = display.visible;
             getField("FormValues.Loan.periodicPaymentDatesDays_BiWeekly").display = display.visible;
             getField("FormValuesLoan.paymentDay").display = display.visible;
             getField("FormValues.Loan.periodicPaymentDatesDays_SemiMonthly1st").display = display.visible;
             getField("FormValues.Loan.interestOnly_Checkbox").display = display.visible;
             getField("FormValues.paymentAmount").display = display.visible;
             getField("Interest Rate Area").display = display.noPrint;
             getField("reduced interest rate").checkThisBox(0,true);
    if (Alteration.bChk3) {
             getField("FormValues.rateType").display = display.visible;
             getField("FormValues.Loan.fixedRate").display = display.visible;
             getField("FormValues.Loan.variance_GT").display = display.visible;
             getField("FormValues.Loan.compoundingPeriod_Checkbox").display = display.visible;
             getField("FormValues.variance").display = display.visible;
             getField("FormValues.Loan.paymentFrequency_Checkbox").display = display.visible;
             getField("FormValues.Loan.periodicPaymentDatesDays_Weekly").display = display.visible;
            getField("FormValues.Loan.periodicPaymentDatesDays_BiWeekly").display = display.visible;
            getField("FormValuesLoan.paymentDay").display = display.visible;
            getField("FormValues.Loan.periodicPaymentDatesDays_SemiMonthly2nd").display = display.visible;
            getField("FormValues.Loan.periodicPaymentDatesDays_SemiMonthly1st").display = display.visible;
            getField("Periodic Payment Area").display = display.noPrint;
            getField("reduced periodic payment amount").checkThisBox(0,true);
    if (Alteration.bChk4) {
            getField("FormValues.Loan.compoundingPeriod_Checkbox").display = display.visible;
            getField("FormValues.variance").display = display.visible;
            getField("FormValues.Loan.paymentFrequency_Checkbox").display = display.visible; 
            getField("FormValues.Loan.periodicPaymentDatesDays_Weekly").display = display.visible;
            getField("FormValues.Loan.periodicPaymentDatesDays_BiWeekly").display = display.visible;
            getField("FormValuesLoan.paymentDay").display = display.visible;
            getField("FormValues.Loan.periodicPaymentDatesDays_SemiMonthly1st").display = display.visible;
            getField("FormValues.Loan.periodicPaymentDatesDays_SemiMonthly2nd").display = display.visible;
            getField("FormValues.Loan.interestOnly_Checkbox").display = display.visible;
            getField("FormValues.paymentAmount").display = display.visible;
            getField("FormValues.rateType").display = display.visible;
            getField("FormValues.Loan.fixedRate").display = display.visible;
            getField("FormValues.Loan.variance_GT").display = display.visible;
            getField("suspended periodic payment").checkThisBox(0,true);
            getField("Suspend Payment").display = display.noPrint;
    if (Alteration.bChk5) {
            getField("FormValues.Loan.compoundingPeriod_Checkbox").display = display.visible;
            getField("FormValues.variance").display = display.visible;
            getField("FormValues.Loan.interestOnly_Checkbox").display = display.visible;
            getField("FormValues.paymentAmount").display = display.visible;
            getField("FormValues.rateType").display = display.visible;
            getField("FormValues.Loan.fixedRate").display = display.visible;
            getField("FormValues.Loan.variance_GT").display = display.visible;
            getField("Periodic Pay Frequency Area").display = display.noPrint;
            getField("change periodic payment frequency").checkThisBox(0,true);
         console.println("Chk2:" + Alteration.bChk2);
         console.println("Chk3:" + Alteration.bChk3);
         console.println("Chk4:" + Alteration.bChk4);
        console.println("Chk5:" + Alteration.bChk5);
    So when I check button 2 and 5 is shows button 2 true and does button 2 work and shows button 5 true and does button 5 work. I want it only to do the condition under the && condition

  • My Message Box Code Is Not Doing What I want It to Do Visual Basic

    Hi Good People
    I have Written Code To Show A message box "Saying The Address Already Exists" If the Addresses are already in my Database But if the Address is not in My Database then It gets Saved To my Database. (All works Ok so Far)
    The Problem I have is, I want to put an If statement inside another if statement.. Because On the Message box I also have A message Saying "Or are you Updating This Address" with yes and No Buttons. And If I chose No Button then Nothing should
    happen But If I chose the yes button then three text boxes are enabled so I can make changes to the record if needed. ie change of price or change of Address.
    When I change any Details on the Form and click save Nothing is Updated either in the datagridview or on the form. I must be missing code somewhere. Here is all the code i have ......
    Public Class frm_AirportFares
    Dim AirportFares As New AirportDataContext
    Private Sub AirportFaresBindingNavigatorSaveItem_Click(sender As Object, e As EventArgs) _
    Handles AirportFaresBindingNavigatorSaveItem.Click
    Try
    Dim Airport = From AirportFares In AirportFares.AirportFares _
    Where AirportFares.PickupAddress = Me.tb_PickupAddress.Text _
    AndAlso AirportFares.DropAddress = Me.tb_DropAddress.Text
    If Not Airport.Count = 0 Then
    MsgBox("The Address " & tb_PickupAddress.Text & " To " & tb_DropAddress.Text & " Already Exists" & vbCrLf & _
    vbCrLf & "Or are you Updating this record", MsgBoxStyle.YesNo)
    Dim res As MsgBoxResult
    If res = MsgBoxResult.No Then
    'Nothing Happens
    MsgBox("Your Record Has NOT Been Altered")
    Else
    If res = MsgBoxResult.Yes Then
    'Here I want to save any alteration made
    Me.Validate()
    Me.AirportFaresBindingSource.EndEdit()
    Me.TableAdapterManager.UpdateAll(Me.BookingsDataSet)
    Me.AirportFaresDataGridView.Update()
    MsgBox("Fare Has Been Saved Successfully")
    End If
    End If
    End If
    Catch ex As Exception
    End Try
    End Sub
    second Picture with Message box
    Can anyone tell me what i have done wrong please
    Kind Regards
    Gary
    Gary Simpson

    You did not assign a value to the message box. You needed to do:
    res = MsgBox(etc.)
    However, it is preferred to use the MessageBox.Show() method rather than the legacy MsgBox() function.  Notice the difference in the output of ans with each of these boxes.
    Here is some sample code using both:
        Private Sub btnMsg_Click(sender As System.Object, e As System.EventArgs) Handles btnMsg.Click
            Dim ans As Integer      'can NOT declare as DialogResult
            ans = MsgBox("Did you pass the test?", MsgBoxStyle.YesNo, "Yes or No")
            If ans = DialogResult.Yes Then  'same as:  If ans = 6
                MsgBox("OK", , ans.ToString)
            Else                '7 is same as No
                MsgBox("Failed", , ans.ToString)
            End If
        End Sub
        Private Sub btnMessage_Click(sender As System.Object, e As System.EventArgs) Handles btnMessage.Click
            Dim ans As DialogResult     'can also Dim ans As Integer
            ans = MessageBox.Show("Did you pass the test?", "Yes or No", MessageBoxButtons.YesNo)
            If ans = DialogResult.Yes Then  'same as:  If ans = 6
                MessageBox.Show("OK", ans.ToString)
            Else
                MessageBox.Show("Failed", ans.ToString)
            End If
        End Sub
    Solitaire

  • How do I know my airport express is working and doing what I want?

    I have my airport express connected to the lan in my office at the far end of my house.  The LAN runs to the wifi router supplied by my internet provider.  I want the airport express to give me a better signal in the far reaches of my house.  In the airport utlity I did the set up of the Base station and wireless screens and in the network screen have the Router Mode set as Off (Bridge Mode) - my airport express shows a nice green light.  So far so good, I hope.  However, when using my ipad or Macbook wirelessly I don't seem to get any better signal than when I didn't have the airport express.  How does either of my devices choose to connect though my airport express rather than my wifi router and how do I know?  Have I misunderstood something completely or not configured something correctly?
    Thanks in advance.
    Richard

    I have my airport express connected to the lan in my office at the far end of my house.  The LAN runs to the wifi router supplied by my internet provider.
    So, the AirPort Express is connected back to the ISP router using a wired Ethernet cable connection, correct?
    and....the AirPort Express has been configured to "create a wireless network" (not "extend a wireless network") and use the exact same wireless network name, wireless security and password as the ISP router, correct?
    Most users get the name of the network and password correct, but often miss the wireless security setting. If the wireless security settings on both routers do not match up exactly, you wind up with two networks, and not one "big" network like you probably want.
    and...the AirPort Express is configured to operate in Bridge Mode, correct?
    If you can confirm these settings....especially the settings for "create a wireless network" and wireless security....then we are ready to do the next test. Please post back on your progress.

  • The iMQ 2.0 restart command isn't doing what I want.

    I have installed the imq 2.0 on solaris 8 on a single host. jmq broker
    is installed by following the admin guide. When I tried to use jmqcmd
    shutdown bkr. It is shutdown without any problem. Then I use
    jmqcmd restart bkr to restart the jmqcmd It comes up with the
    following error:
    Error while connecting to the broker.
    [C4003]: Error occurred on connection creation. - caught
    javax.jms.JMSException
    Please verify that there is a broker running on the specified host and
    port or use the '-b' option to specify the correct broker host and port.
    Restarting the broker failed.
    Eventhough I tried on different port no on the same localhost by
    typing "jmqcmd restart bkr -b localhost:1111", it is still the same
    problem.
    When I tried to run jmqadmin, and connect to the specified broker, it
    prompts with an error box as below:
    Error encountered while connecting to the broker: "MyBroker":
    Broker Host: 'localhost'
    Primary Port: '7676'
    [C4003]: Error occurred on connection creation, - caught
    javax.jms.JMSException
    Please verify that there is a broker running on the specified host and
    port.
    It seems that the port 7676 is still engaged by the broker for some
    reasons. ie. the shutdown does not free up the port.
    Would somebody have any idea on what went wrong?

    The 'restart' option in both jmqcmd and jmqadmin is to
    first shutdown and then restart a running broker.
    It is not for starting a broker that has already been shutdown.
    See p.130 of the admin guide.

  • ITunes Library Doing What IT Wants to!

    I am fighting the library, literally! I have songs in albums under an artist's folder, yet suddenly a lot of the songs showed up with the little ! before them, saying iTunes couldn't find them. Well, they are right here, so I manually deleted the ones with the !, and clicked to play the ones in the folder, as they played, the !'s went away, however, the songs kept ending up in the correct album folder, but in a NEW artist folder, although there is a "-" following his name. There is not one in the title or in any of the "get info" windows, however it DOES show it in the "Where" line, (which I can't access to change, obviously), and will show it as in the folder with the extra character after it!
    Plus, and what really is tripping me out, is that when I trash the extra folders, if there are any mp3s in them, they will still play from iTunes, even though being in the trash! And I know that's not supposed to happen, so it's really screwy, and no matter what I do, I can't get them to stay where I put them! What is up with all this?

    Thanks very much - the problem was that some of the albums weren't ticked. I don't remember unticking or ticking them when I downloaded my music - I think iTunes must have done it randomly. But the problem's solved now - thanks!

  • Spry Menu Bar is not doing what I want it to do

    I am attempting to work with the Spry Menu Bar, which was starting to work, but then I made the mistake of trying to resize it using the resize handles around the menu. And now I can't figure out how to get it back to the right size. I've tried undoing and looking through the code, which is NOT my forte, but I can't find any clues as to how change the size. And it will not display any menu other than the very first one, even though the whole menu bar is spanning the page, with plenty of room to display all 4. What is going on??
    Here is the Spry menu bar css code:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
              margin: 0;
              padding: 0;
              list-style-type: none;
              font-size: 13pt;
              cursor: default;
              width: 800px;
              text-align: center;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
              z-index: 1000;
              background-color: #666;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
              margin: 0;
              padding: 0;
              list-style-type: none;
              font-size: 100%;
              position: absolute;
              text-align: center;
              cursor: pointer;
              width: 795px;
              float: left;
              height: 38px;
              left: 9px;
              top: 428px;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
              margin: 0;
              padding: 0;
              list-style-type: none;
              font-size: 100%;
              z-index: 1020;
              cursor: default;
              width: 8.2em;
              position: absolute;
              left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
              left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
              width: 8.2em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
              position: absolute;
              margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
              left: auto;
              top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
              border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
              display: block;
              cursor: pointer;
              background-color: #000;
              padding: 0.5em 0.75em;
              color: #FFF;
              text-decoration: none;
              font-family: Georgia, "Times New Roman", Times, serif;
              font-size: 17px;
              text-align: center;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
              background-color: #333;
              color: #FFE0A9;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
              background-color: #33C;
              color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
              background-image: url(SpryMenuBarDown.gif);
              background-repeat: no-repeat;
              background-position: 95% 50%;
              color: #000;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
              background-image: url(SpryMenuBarRight.gif);
              background-repeat: no-repeat;
              background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
              background-image: url(SpryMenuBarDownHover.gif);
              background-repeat: no-repeat;
              background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
              background-image: url(SpryMenuBarRightHover.gif);
              background-repeat: no-repeat;
              background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
              position: absolute;
              z-index: 1010;
              filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
              ul.MenuBarHorizontal li.MenuBarItemIE
                        display: inline;
                        f\loat: left;
                        background: #FFF;

    First of all, are you aware that Spry is a dead technology and the code you're wrestling with is over 7 years old and will not work with mobile touchscreen devices (essential in today's web world)?
    Even though it's included in older versions of Dreamweaver, Adobe formally abandoned Spry last year
    http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l'
    Point being, few people will advise you to continue along this Spry path.
    You're better off investing your energy in a modern up-to-date menu system.
    Free ones try
    http://forums.adobe.com/message/5070444
    If funds will allow then try
    http://www.projectseven.com/products/menusystems/pmm3/index.htm

  • Printing in Numbers 3.0 not doing what I want

    I have beeen having difficulty printing in Numbers 3.0. First I am not proficiant in spreadsheets and probably won't change. Here is my problem.
    I have a spreedsheet, more like a database (no calculations , just data). I used to have titles for my columns instead of A,B,C, etc. They no longer show. When I print the preview they also don't show. However when when I print they appear, but not at the top of each page, some where in the middle. Proper place, except not at top of each page. I'm sure I have screwed up some settings. Apprerciate bailing me out.
    Thanks

    Hi Stuart,
    This sounds strange. Please reply with a screen shot of (a small part of) your document.
    To take a screen shot, hold down the shift and command keys, then type 4. The cursor will change to crosshairs. Release the shift and command keys. Drag over that part of your screen then release the mouse/trackpad. A screen shot will appear on your desktop. In a reply to a message, click on the camera icon in the Toolbar above your reply and
    Choose File > Choose > Insert Image
    You may have to try this twice. Camera icon sometimes needs a wake-up call, but works the second time.
    Remove any personal details before taking the screen shot.
    Regards,
    Ian

  • How do I tell if some kind of malware has been installed on my computer? My daughter answered the phone and they had her go to a site for ammyy admin.  I don't think she was successful at doing what they wanted but how do I make sure?

    I don't know how to tell if the phone scam that was pulled on my daughter was successful or not? They had her go to a site for Ammyy Admin. My husband who was home at the time and not at all computer literate thinks that it wasn't successful but how do I tell for sure?
    Thanks!!

    It's not very likely that any harm came of this. It sounds as though they were trying to get your daughter to enter some personal information into the website. If she did not do this then don't lose any sleep over it.
    If she did, just change whatever passwords that might have been associated with the personal information she provided.
    If your computer starts exhibiting some heretofore strange behaviour, pay attention to it so that you might describe what it is. As I say this is unlikely to happen.

  • SQL*Plus break not doing what I want

    Greetings,
    I am trying to write a script to generate grants on objects in different schemas and each time the schema changes I want to insert a connect command. I figured this out once and don't remember how I did it. The attached piece of code puts the connect statement every other line, I only want it prior to each different owner. If someone can help me figure this out I would greatly appreciate it. Thank you. Bill Wagman
    set pages 0
    set head off
    set feedback off
    set lines 90
    clear breaks
    break on owner
    spool create_grants.txt
    SELECT
    'connect '||owner||'/&&;'|| chr(10)||
    'GRANT '||privilege||' on '||table_name||' to '||grantee||';'
    FROM dba_tab_privs
    WHERE owner IN ('ALUMNI','BANINST1','BANSECR','DARS','DBSMP','FAISMGR',
    'FIMSMGR','GENERAL','ODSMGR','SATURN','POSNCTL',
    'TAISMGR')
    and (
    grantee = 'ALUMNI' or
    grantee = 'BANINST1' or
    grantee = 'BANSECR' or
    grantee = 'DARS' or
    grantee = 'DBSMP' or
    grantee = 'FAISMGR' or
    grantee = 'FIMSMGR' or
    grantee = 'GENERAL' or
    grantee = 'ODSMGR' or
    grantee = 'SATURN' or
    grantee = 'POSNCTL' or
    grantee = 'TAISMGR')
    order by owner
    /

    Greetings,
    I am trying to write a script to generate grants on objects in different schemas and each time the schema changes I want to insert a connect command. I figured this out once and don't remember how I did it. The attached piece of code puts the connect statement every other line, I only want it prior to each different owner. If someone can help me figure this out I would greatly appreciate it. Thank you. Bill Wagman
    set pages 0
    set head off
    set feedback off
    set lines 90
    clear breaks
    break on owner
    spool create_grants.txt
    SELECT
    'connect '||owner||'/&&;'|| chr(10)||
    'GRANT '||privilege||' on '||table_name||' to '||grantee||';'
    FROM dba_tab_privs
    WHERE owner IN ('ALUMNI','BANINST1','BANSECR','DARS','DBSMP','FAISMGR',
    'FIMSMGR','GENERAL','ODSMGR','SATURN','POSNCTL',
    'TAISMGR')
    and (
    grantee = 'ALUMNI' or
    grantee = 'BANINST1' or
    grantee = 'BANSECR' or
    grantee = 'DARS' or
    grantee = 'DBSMP' or
    grantee = 'FAISMGR' or
    grantee = 'FIMSMGR' or
    grantee = 'GENERAL' or
    grantee = 'ODSMGR' or
    grantee = 'SATURN' or
    grantee = 'POSNCTL' or
    grantee = 'TAISMGR')
    order by owner
    /

  • I am trying to load and run a game called asheron's call and keep getting blocked from doing what i want to do. what can i do to fix it so mi can get to play the game

    i get game downloaded and icon on desktop the company has to send an e-mail so i can connect to a link for the game and it keeps getting blocked might be the firewall or cookies block not sure how ever i can't play the game and getting very mad how can this be fixed

    I get an error message saying that this app can't run on my pc and that I need to find a version that will work through my administrator.
    That suggests that the installer is getting damaged during the download.
    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

Maybe you are looking for

  • There was an error in the app store

    I have an Iphone from which I can purchase items from the app store using my account, however I got myself a MacBook Pro and more recently an IMac and on both machines I am unable to buy apps. I can get free apps but unable to buy any which have a co

  • My iMac won't connect to Youtube via wifi. Ethernet is ok.

    For reasons I cannot discover, I cannot open Youtube.com via wifi on my iMac. It will open when ethernet is connected. This is the only site that seems to be affected. It stalls for a second or two, then I get a blank screen and the URL changes to ww

  • Error in Mail Sender communicational channel

    Hello! We have an XI scenario, which should take emails from the mail server and transfer them to SAP. For this purpose the configuration channel has been configured with the following params: Transport protocol: IMAP: Message protocol: XIPAYLOAD Con

  • Cannot record a script in Firefox 3.x, 6.x, 10

    Hello, When recording a script in the Firefox browser, the following error in message box appears (only in Firefox): "Cannot get a connection from the browser helper after 15 seconds. Do you want to continue waiting for the browser to load?". The Ope

  • Please Help!  Two problems with my iMac at once a week b/4 finals!!!!

    First I'd just like to mention that I have no idea which OS X I have so...yeah, sorry. I was depending on this computer to work for my class finals. Anyway, on with the problems. My school is getting all new computers next year, so they are selling a