Code not doing what its supposed to

I am working on a project. Everthing was working fine... except I started to realise that things were doing things it is not supposed e.g. If I add a button (a simple button). During run time it does not appear. I then started deleting code to create a run time error but during run time the project works 100%. The net result is, I cannot do anything to the project because the outcome is always the same??????????
Can somebody please advise me?
Dimitri

Try a clean build (in Flash Builder: Project -> Clean). If it does not help, clear the cache of your browser (the one you run your app on). Usually these two things are enough, at least for me.

Similar Messages

  • FN Key not doing what its suppose to

    Hi I just got a a GE62 apache and I am very happy with it ,apart from my FN key it does do not do what it is supposed to do it does other thing for an exsample if I press the FN +arrow left (volume) it changes size of the window I am in , again if I want to dim the keyboard lights I press the FN + Numpad + it opens the magnifier whats up???

    SORTED,
    i Did a bios update after the EC update and its all good now.

  • I have updated to the ios7 and i used the reminders on the old ios to organise everything, now with the update reminders is not doin what its supposed to do......" Remind "

    Any help would be great! , if i could turn back to the old ios somehow? Or when are they going to rectify it to work like it did before?
    having to manually set a alarm for every reminder is a pain in the asset! Its core task is to remind! Also removing the calender on the side is a mistake
    as its a very quick way to drop notes for the month, being a sales rep this was the best function on the pad! I have tried to find a alternative apps but havent had any luck, if nothing gets fixed with this app then it has only become a awkward note taker....let me know if you have found something!? Thanks

    Try the following:
    1. Reset: Hold the Sleep/Wake and Home button down for about 10 seconds until you see the Apple Logo.
    2. Restore:
    http://support.apple.com/kb/HT1414
    3. Recovery:
    http://support.apple.com/kb/HT1808

  • HELLPPPP code not doing what it is sepose to do!!

    i got this code and it is sepose to pas 3 variables , total, seat type and nr_seats. this happens then user clicks on "confirm booking" in main screen1. and the variables are passed to a textbox in mydialog1.
    Can anyone please help???
    Mainscreen1
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class mainscreen1 extends Applet implements ItemListener, ActionListener
    private Image layout1;
    private int frame;
    private int xpos,ypos,xdir,ydir;
    public TextField tn, tt1, tt2, total;
    public int value, ticketnum, sum, nr_seats;
    public Label title, seat, need, payable;
    public Button b1, b2, b3;
    Mydialog1 d;
    String c1;
    public void init()
         setBackground(Color.pink);
    setSize (600, 460);
    setLayout(null);
    title=new Label("The Almeida Theater booking system");
         title.setBounds(100,0,400,30);
         title.setFont(new Font("Verdana", Font.PLAIN,24));
         add(title);
    seat=new Label("Please choose a seating location:");
         seat.setBounds(300,40,190,20);
         seat.setFont(new Font("Verdana", Font.BOLD,12));
         add(seat);
    payable=new Label("Total Payable:�");
         payable.setBounds(300,390,100,20);
         payable.setFont(new Font("Verdana", Font.BOLD,12));
         add(payable);
         need=new Label("Please enter the number of seats needed:");
         need.setBounds(300,180,245,20);
         need.setFont(new Font("Verdana", Font.BOLD,12));
         add(need);
         CheckboxGroup radio = new CheckboxGroup();
         Checkbox Stalls = new Checkbox("Stalls", true, radio);
         Stalls.setBounds(490,40,60,25);
         add(Stalls);
         Stalls.addItemListener(this);
         Checkbox Balcony = new Checkbox("Balcony", false, radio);
         Balcony.setBounds(490,65,65,25);
         add(Balcony);
         Balcony.addItemListener(this);
         Checkbox Concessions = new Checkbox("Concessions", false, radio);
         Concessions.setBounds(490,90,94,25);
         add(Concessions);
         Concessions.addItemListener(this);
    Button b1=new Button("Quote");
         b1.setBounds(20,395,80,30);
         add(b1);
         b1.addActionListener( this );
         Button b2=new Button("Confirm booking");
         b2.setBounds(110,395,100,30);
         add(b2);
         b2.addActionListener( this );
         Button b3=new Button("Clear");
         b3.setBounds(300,395,100,30);
         add(b3);
         b3.addActionListener( this );
         tt1=new TextField(60);
         tt1.setBounds(300,250,270,20);
    add(tt1);
         tt1.setEditable (false);
         tt1.addActionListener(this);
         tt2=new TextField(60);
         tt2.setBounds(300,300,150,20);
         add(tt2);
         tt2.setEditable (false);
         tt2.addActionListener(this);
         tn=new TextField(3);
         tn.setBounds(545,180,30,20);
         add(tn);
         tn.addActionListener(this);
         total=new TextField(5);
         total.setBounds(400,390,45,20);
         add(total);
         total.setEditable (false);
         total.addActionListener(this);
         xpos = getSize().width/-1400;
         ypos = getSize().height/12;
         layout1 = getImage(getDocumentBase(),"layout1.gif");
         repaint();
    public void itemStateChanged(ItemEvent e)
         String c1 = (String) e.getItem();
         if (c1 == "Stalls")
              value = 20;
         else if (c1 == "Balcony")
              value = 15;
         else
              value = 10;
         tt1.setText("You have chosen to sit in the " + c1 + " area");
         tt2.setText("Each seat will cost: �" + value);
         repaint();
    public void clearValue()
              //cb.setSelectiob
              total.setText("");
              tt1.setText("");
              tt2.setText("");
              tn.setText("");
    public void actionPerformed ( ActionEvent e )
    if( e.getActionCommand() == "Quote" )
         int nr_seats = Integer.parseInt(tn.getText());
         total.setText("" +nr_seats*value);
    else if( e.getActionCommand() == "Confirm booking")
         int nr_seats = Integer.parseInt(tn.getText());      
         total.setText("" +nr_seats*value);   
         d = new Mydialog1();      
         d.set_text(c1, nr_seats, total);
    else if ( e.getActionCommand() == "Clear")
         clearValue();
              ticketnum = Integer.parseInt(tn.getText());
              repaint();
         public void paint(Graphics g)
              g.setColor(Color.black);
              g.drawString ("You have chosen:" + ticketnum +" seats", 300, 365);
              g.drawImage(layout1,xpos,ypos,null);
    Mydialog1
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Mydialog1 extends Frame implements ItemListener, ActionListener
    public Label title, custd, custfn, custfn, custad;
    public Button b1, b2;
    public TextField cfnt, csnt, cdt, tf;
    public int value, nr_seats, total;
    creditcard cc;
    String c1;
    public Mydialog1() //constructor
         init();
    public void init()
         setBackground(Color.yellow);
    setSize (500, 500);
    setLayout(null);
         setLocation(320,140);
         setVisible(true);
         //Mydialog1(Frame f);
    title=new Label("Almeida Theatre booking system");
         title.setBounds(150,20,185,30);
         add(title);
         CheckboxGroup ct = new CheckboxGroup();
         Checkbox Mr = new Checkbox("Mr", true, ct);
         Mr.setBounds(5,180,36,25);
         add(Mr);
         Mr.addItemListener(this);
         Checkbox Mrs = new Checkbox("Mrs", false, ct);
         Mrs.setBounds(50,180,42,25);
         add(Mrs);
         Mrs.addItemListener(this);
         Checkbox Miss = new Checkbox("Miss", false, ct);
         Miss.setBounds(95,180,45,25);
         add(Miss);
         Miss.addItemListener(this);
    custd=new Label("If above booking details are correct please fill in your      deatils below");
         custd.setBounds(5,150,400,30);
         add(custd);
         custfn=new Label("ForeName");
         custfn.setBounds(5,220,60,20);
         add(custfn);
         cfnt=new TextField(60);
         cfnt.setBounds(70,220,150,20);
    add(cfnt);
         custsn=new Label("SurName");
         custsn.setBounds(100,220,60,20);
         add(custsn);
         csnt=new TextField(60);
         csnt.setBounds(150,220,150,20);
    add(csnt);
         custad=new Label("Address");
         custad.setBounds(5,320,37,20);
         add(custad);
         cdt=new TextField(60);
         cdt.setBounds(70,320,270,20);
    add(cdt);
         tf = new TextField();
    tf.setBounds(5, 80, 400,20);
    add(tf);
         setVisible(true);
         Button b1=new Button("Close");
         b1.setBounds(20,440,80,30);
         add(b1);
         b1.addActionListener( this );
         Button b2=new Button("Proced with booking");
         b2.setBounds(110,440,150,30);
         add(b2);
         b2.addActionListener( this );
    public void itemStateChanged(ItemEvent e)
         String c1 = (String) e.getItem();
         if (c1 == "Mr")
              value = 20;
         else if (c1 == "Mrs")
              value = 15;
         else
              value = 10;
    public void actionPerformed( ActionEvent e )
    if( e.getActionCommand() == "Close" )
    this.dispose();
    else if( e.getActionCommand() == "Proced with booking")
    cc = new creditcard();
         public void set_text ( String c1, int nr_seats, int total )
         tf.setText ("You have chosen to sit in the " + c1 +" area" +" " nr_seats " the total is " +total);}

    Are you sure that the variables you are passing contain the correct information? You need to be able to find the source of the problem, ie do the variables contain the wrong information, are you passing the correct variables, are you displaying them correctly once you get them?
    Also, the following line should not even compile correctly - you cannot have 2 custfn Labels.
    public Label title, custd, custfn, custfn, custad;If you are running this as an applet in a browser, System.out.print() statements will be displayed in the Java Console. If you are running through an applet viewer, you should be able to display messages also.

  • There is something wrong with the volumes buttons in my macbook pro, every time i pressed the one who raises the volume, it leads me to the screen where (i do not no what its called) the background is black with the date and time and a calculator.

    There is something wrong with the volumes buttons in my macbook pro, every time i pressed the one who raises the volume, it leads me to the screen where (i do not no what its called) the background is black with the date and time and a calculator. However, when i lower it, my safari tab goes out of the screen. What do you guys think i should do? I'm getting very nervous.

    hey HAbrakian!
    You may want to try using the information in this article to adjust the behavior of your function keys to see if that resolves the behavior:
    Mac OS X: How to change the behavior of function keys
    http://support.apple.com/kb/ht3399
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Best Buy Appliance Delivery Not Doing What They Said They Would Do. Order Cancelled.

    I recently purchased a refrigerator from bestbuy.com and chose the option to have it delivered on Tuesday the second of December (today). I received an order confirmation e-mail from best buy on the day of purchase (November 28) which stated the following (taken directly from the e-mail):
    The scheduled appointment date of your item(s) below is Tuesday, December 2, 2014
    We'll call you by 9PM the night before your appointment with an estimated arrival time window at the phone number(s) you provided at the time of purchase (with either live or pre-recorded calls).
    Thank you for shopping with us.
    Sincerely,
    Karalyn Sartor
    Vice President Customer Care
    Yesterday, on Monday the 1st of December, I got a knock on the door from the Best Buy delivery team. They had my refrigerator and were here to deliver it. I was not ready for them to deliver the refrigerator at that time, at all, as I was not expecting it. I asked the driver to please deliver it on the scheduled date. The change in scheduling happened without a postive notification.
    I checked afterward and saw that their was en e-mail sent during the evening of November 30 informing me that the refrigerator would be delivered on Monday the 1st. This e-mail was in my spam folder and I did not see it. I did not expect it either as I was under the impression that I would be called by phone prior to delivery (as stated in the original purchase confirmation e-mail). So some mistake/change in scheduling happened. Not a big deal to me.
    Thirty minutes ago I called the 1-888 number mentioned in the e-mail to inquire about what time I could expect my refrigerator to be delivered. I was told it was rescheduled for December 20th, which is not acceptable to me.
    I was told the earliest delivery date that they could honor would be for monday the 8th of December. That is unacceptable to me as well. I was advised I had no other options for delivery other than to receive it on the 8th of December, 6 days after the aggreed upon delivery date.
    In the end I cancelled the order. As a customer I do not like to be treated this way (to be told one thing at first (delivery date and that I would be called by phone), to have that one thing change, and to not be told in a *reasonable* manner that the one thing had changed.
    Best Buy customer service, If you would like to contact me you have my e-mail address. You also have my correct phone number for calling me, which your system verified when it looked up my order by phone. Until then, please consider me an unsatisfied customer that will look very closely at other buying options for all my future appliance and home electronics needs.
    Thank You.
    P.S. - The person I spoke to on the phone to inquire about and cancel my order was very courteous and professional.

    To Whom It May Concern,
    I posted earlier regarding a refrigerator delivery problem. http://forums.bestbuy.com/t5/Delivery-Installation/Best-Buy-Appliance-Delivery-Not-Doing-What-They-S...
    I've since read a few of the other posts and think I see some common issues that many others have been having:
    1. Not calling the customer. We (customers) expect someone will call us the day before a scheduled delivery date to confirm the item is being delivered and approximately what time to expect it. The confirmation e-mail you send even states that this will happen.
    2. Not notifying the customer regarding changes. We (customers) expect someone will notify us if delivery dates are changed. This is especially important if the delivery date has been moved forward, as in my case. My particular problem would have been avoided entirely if someone from Best Buy would have notified me that the refrigerator I ordered would arrive one day ahead of schedule. An e-mail is not a good enough notification when you move the shipping date forward. How do you even know I have read/received it and will be home?
    3. Not working with the customer. I've read a few forum posts where some mistake has happened, and now shipping is delayed by a signifcant amount of time (a week or more). If you (Best Buy) had some better way of working with whoever does your delivery for you, things would be better.
    In my example the original delivery date was for today (Dec 2nd). You decided to deliver a day early on the 1st without making sure I knew you were coming on a differnet day than scheduled. So I wasn't ready. At this point I believe you (Best Buy) should have tried to correct this by rescheduling the delivery so that it happened on the original delivery date, December 2nd. You could have also arranged to deliver it later that same day, I would have been ok with that and had time to make things ready. Instead the delivery got rescheduled for the 20th of December by the system, and your customer service could only move it up to December 8. In a situation like this I think it would be better if you worked more with the customer (pay a driver an hour or two of overtime to get the goods delivered on the day you said you would or delay someone else who placed their order after I placed mine). Instead I was given one and only option, delivery on December 8.
    In the end I took the other option, cancelling my order. You have lost my business on this sale and I now have a lower opinion of Best Buy as a company and a brand than I did before. This could have been avoided if you did any of the above three things.
    Thank you for your time.

  • Extract Pages- and the Split- not doing what I expect them to

    I have a document created in Illustrator (CS4) which has multiple artboards. I want it split into multiple documents, one art board—> one document with only that artwork. When I use the Extract PAges… and the Split… comands to generate multiple documents, I get the multiple docs (same number of docs created as pages in original doc).
    Only thing is every doc has all the artboards and all the artwork as the original doc. I could understand all the artwork being there but all the artboards also?? What's going on?
    Appreciate any pointers on this.
    Trying to write a JSX to run in AI but struggling so far. Thread for AI solution started here: AS) export single page PDFs from multi-artboards

    I don't expect mind reading but I'l settle for careful reading
    I tried to explain how pages and artboards are qualitatively different objects only to be told they are the same thing and that's all I needed to say.
    I tried to explain that opening the very same file in Illustrator showed a lot more objects than it did in Acrobat. You probably don't remember because you breezed over something that you didn't think you needed to know because you were, at each stage, a step ahead of me (slow down already!).
    From my second post:
    I can't remember if Splitting gave enumerate files or the one file but either way ALL the artwork was in the enumerate files if they got made [.…] I ended up saving as CS3 .ai files which gives a Save artboards to seperate files option and, unlike the artboard range option on Save As PDF, it actually works.
    From my third post
    An artboard is not a page as far as Acrobat and Illustrator apps are concerned. I was trying to highlight the distinctly different way the two apps handle them. I can watch a one page with just one shape document in Acrobat become a 20 artboard, 40+ objects layout in Illustrator. Same document interpreted as one Page in Acrobat and 23 artboards in AI.
    I was on this forum because even a manual Document Menu> Split… command is not doing what I expected with the AI generated 23pp PDF file. I expected the 23 individual 'artboards' and content to each make a separate file.
    Thom Parker wrote:
    I don't remember you mentioning that you re-imported the PDF files into Illustrator.  This is an important detail. You also posted to an Acrobat scripting forum and never said you were not interested in an Acrobat Script.  You also never explained the problem you were seeing.  You were never clear.
    Covered that but note Illustrator doesn't import PDF files. .ai .eps and .pdf are all native files for Illustrator and just open, sometimes with an additional dialogue to choose a page from multiple pages. It imports .dwg, .svg and that sort of thing relying on translator plugins. This is the fourth time I'm saying I should have posted in Acrobat Win or Mac not scripting, apologies I was scripting when I made OP and probably frustrated. You were more clear it's true, clearly ignoring what I was getting at in each post re artboard cf. page objects.
    You see, in a PDF file each page has it's own content stream, i.e., a stream of vector graphics operators.  Graphics can be drawn anywhere in the coordinate space, but the page view is clipped by a crop rectangle.  So graphics can exist in the stream, but never be visible to the user because they are outside the crop.  I get the impression that in Illustrator the Artboards all exist in a single coordinate space? And that the conversion to PDF places this entire coordinate space into a single content stream. Then each page would be a different crop of the same content stream.  If this is the case then I believe there are PDF optimization operations in Acrobat that would fix your problem by removing all content outside the crop. 
    Yeah I've hacked lots of PDF files in AI. They use more than one clipping rect per page from memory. Correct, the artboards are defined in a single co-ord space it would seem — artboards are discretely and independently located on the document canvas and can even overlap each other. Yes those operations might work, I never though of that, I came across an Illustrator based solution early on in this thread. There's no conversion going on in Acrobat though I think, the file stays native PDF from AI to Acrobat and back to AI. As I've noted it's the way Acrobat displays or parses the data that in effect hides all the 'off-page' objects but open the same file in AI and it's all still there. 
    You know, we can't read minds, you actually have to explain what it is you need.
    I didn't know it, but I needed to get a confirmation on the artboardRange property bug in Illustrator CS4 and/or a confirmation that artboards are not treated as page objects, and I ended up having to lecture you on something you may have no interest in, sorry if I've been a pain. This is part of bigger bug elsewhere that I've been trying to get resolved or around on and off for a month. Every turn another bug, it gets confusing and frustrating at times

  • Scrolling message, Im not sure what its called.

    HI all, quick question. Im trying to figure out what its
    called. I want a
    box at the top of the website that has the latest news
    scrolling accross it.
    Kind of like what
    http://www.lapdonline.org/
    has but I want to do it local
    news. What is it called? and anyone know how I would do that?
    Thanks,
    Michelle

    Since the Java engine has not been distributed with Windows
    since at least
    2002, any system newer than that will not be able to display
    Java out of the
    box, UNLESS the user has explicitly downloaded and installed
    this beast from
    the Sun or the Microsoft site.
    It's a very risky thing to use....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Jencs" <[email protected]> wrote in message
    news:e22sbd$8q7$[email protected]..
    > If you had looked at the code of their site, view
    source, you would see it
    > is
    > an applet, look for this line in the code <applet
    code="nticker.class"
    > codebase="
    http://www.lapdonline.org/newstick/"
    width="430" height="17"
    > align="top" border="0"> that might help. You can find
    scripts that will
    > do
    > this at many free script sites, finding the local news
    to put into it is
    > another story, you will have to enter what you want.
    Unless you can
    > figure out
    > a way to pull from your local news web site headlines, I
    am sure there is
    > some
    > way to do it.
    >

  • When trying to download free song from radio station web page it makes me log in to redeem a code not sure what i need to do

    I am trying to download a free song from a radio station web page.  it redirects me to the itunes store but once there it wants me to log in to redeem a code which i don't have.  Not sure what I need to do from here to fix this

    In Safari, control-click the link and choose Download Linked File. Alternatively, click on the address bar when it's displaying the MP3's URL and press the Option and Return keys simultaneously.
    (45532)

  • TS1292 iTunes card code not readable what do I do

    My I tunes gift card code is not readable What do I do

    See Here  iTunes Store: Invalid, inactive, or illegible codes
    http://support.apple.com/kb/TS1292

  • MY page up and down key does not what its suppose to do but now instead it goes forward or back a web page

    Seems like since I installed the new Firefox my Page up and down key has stopped making my web pages go down or up but instead the page up key makes the web page go forward in history and the page down key makes it go back a webpage.

    " Is there anyway the apple or my service provider can help me with this? "
    No.
    "What is the point of the app if it only works when the phone is on? "
    The pont is to assist with locating a lost iphone.
    "Then it is only usefull within those first couple of days."
    Correct.  How would any device be tracked if it had no power?
    Very sorry for your situation, but there is nothing to do.
    Report it to the police and change your passwords.

  • Pages not doing what it is supposed to do in exploder

    Help!!!!!
    I am using CS4 products
    I have already started with a bias I do not like explorer. The web page works fine in firefox but not exploder
    web page  aboutus.htm
    all the other pages work almost to how I want them. I must admit the whole site started out in fireworks CS4, I have only put up four pages at the moment in an attempt to get all bugs out.The files where exported from Fireworks as  htm and css for all the pages and then added spry menu bar in dreamweaver. The main issue is #mainContent div
    in all the other pages  - position - width and height are set and all other boxs are blank
             in aboutus.hm  -  position - width and height is set and position is absolute all other boxes are blank - if I  did not set position to absolute the #mainContent would disappear and the header would be in the right place, with the rest of the text starting under the sidebar.
    I had problems originally getting flash file to work. I have tried changing all relevent components in the div to get the result I have at the moment.
    Am  I missing something??????
    Its probably quite a simple solution which I am unable to workout.
    Thanks in advance
    Ian Cleland
    The Walking Man
    Message was edited by: Ian Cleland    I replaced the aboutus.htm file with the index.htm and renamed it to aboutus.htm and then placed the *.flv and let dreamweaver do the work.    It appears to be the flash file that is causing the problem, what a pain in the butt, I am back with the same problem I had two week ago.    Can anyone help me??????    I have just put the flash file at the bottom of the sidebar div and it bloody works - what the?????????
    That five thing I have learnt today, I might just call it quits while I am in front. There is one more problem
    Next problem can anyone tell me why the flash animation in the header of the above page  is couple of pixles out. I am stumped.

    Start with clean code.  Most browser rendering issues are caused by code errors.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fthewalkingman.com.au%2Faboutus.ht m
    When all else fails, use conditional comments for IE.
    http://css-tricks.com/ie-css-bugs-thatll-get-you-every-time/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • 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

  • I have tried this many times.  Our iPOD is not doing what it is suppose to.  When we go under GAMES put everything in it comes up You are not conected to the internet.  Online functionality is not available.  Please someone help us.

    We can not get this thing working.  Done everything through the computer, got confirmation of everything and a sheet for payment on iTUNES for games.  When we go under the icon for games when were put Apple ID and the password it come's up,"YOU ARE NOT CONNECTED TO THE INTERNET.  ONLINE FUNCTIONALITY IS NOT AVAILABLE."  We have been trying for over a week to get this thing going.  Can someone please please help us.

    Forgive what may be a dumb question on my part, but have you confirmed that the iPod is indeed able to successully connect to the Internet by going to a web page in Safari or some such procedure?

  • Cycle keystroke not doing what it's supposed to

    checked keystrokes and it says that cycle is "/" (like it was in 7) and when i press "/" i get the "go to position" box.
    am i doing something wrong? anyone else getting this?
    thanks

    Open key commands and check. L8 has assigned keys by default that you might want to change. Some can´t be changed which is a pitty. Also in the different windows keys can have different functions. You can try initalizing all commands and importing your old commands from your LP7 prefs (user/library/prefs/Logic/com.apple.logic.pro) - that´s what I did and it worked for most of the commands.

Maybe you are looking for

  • How to move photos from one hard drive to another without losing data?

    I have lightroom latest version.  I have an in-computer hard drive full of photos.  It is clogging the machine and I am running out of storage space.  To make room, I would like to transfer most photos to an outboard portable hard drive.  How do I do

  • How to view the progress of an Clientimport via R3TRANS

    Hi together, how can I view the progress of an Import of an Clienttransport. I have done an Client Export via SCC8. This transaction had created about 40 files with 2GB size. Now I am Importing this files with STMS. This transport requests are now im

  • How do I resend an invitation to share a calendar after the person initially declined?

    I wanted to share a calendar with my wife, and sent her a invitation to share, but then realized I wanted to change the name of calendar beforehand, and asked her to decline the request. After I changed the name and resent the request, iCalendar (on

  • Failed to install Windows 7 SP1 (Error 80004005‎)

    Dear all, Would someone please help me on this issue? It almost drived me mad after tried several times to install the SP1. I've googled the error 80004005‎, someone suggested to try a in-place upgrade. But it's hard to do that for my current situati

  • Where can I get Adobe Acrobat NPAPI Plug-in?

    "Firefox support is a relatively recent addition to Adobe Reader, since version 10.1.4. Therefore, even though you may have had Adobe Reader installed for a long time, you may need to install a new version to gain the Firefox support. You may also fi