AWT start/stop bundle buttons Help needed.

Hello,
I need help getting start/stop buttons on my AWT Class to take the action of methods from an other class. I will give anybody who can figure this out ALL OF MY Duke Dollars. (I shortend it up to the important stuff so that there isn't too much to read):
MY PROBLEM: I need to have my Gui user interface to start up first. Then when somebody clicks the Gui class "start" button, it will call the start method of my Activator class and similiarly for the "stop" button. When I run the program, it starts up already in "start" mode. It should start up without getting the service (stop mode) and then get it once "start" is pressed" Hopefully somebody can help me figure this out.
First, I have the following AWT class
public class Gui extends Frame{
      Frame f;
      MyImage imagePanel;
      Button button_start;
      Button button_stop;
      Label statusBar;
      Panel btns;
    public Gui() {
        addWindowListener(new WinClosing());
        setLayout(new BorderLayout());
        imagePanel = new MyImage();
        btns = new Panel();
        button_start  = new Button("START");
        button_stop  = new Button("STOP");
        btns.add(button_start);
        btns.add(button_stop);
        add("North", btns);
        add("Center",imagePanel);       
        button_start.addActionListener(new ActionListener(){     
            public void actionPerformed( ActionEvent e ){
                imagePanel.getImage();
        button_stop.addActionListener(new ActionListener(){     
            public void actionPerformed( ActionEvent e ){
            imagePanel.closeImage();}
        });          }Then I have the Activator class:
public class Activator implements BundleActivator {
     public ServiceReference reference;
     public void start(BundleContext bc) {
         reference = bc.getServiceReference(GpsService.SERVICE_NAME);
         if (reference == null) {
         System.out.println("User could not get a service.");
          } else {
         AnyService anything = (AnyService) bc.getService(reference);
                UserClass user = new UserClass();
                user.startup(anything);
public void stop(BundleContext bc) {
    if (reference != null) {
    bc.ungetService(reference);
    reference = null;
    System.out.println("User has released its Service.");
    } }}Then this previous class calls the startup method for this class:
public class Driver {
        public void startup(AnyService any){
        double any  = any.getValue();
        System.out.println(any);
        Gui g = new Gui(any);
        g.setSize(714, 480);
        g.setVisible(true); 
      }}Thanks in advance!

Hmm, it's quite hard to imagine what's going on without the code for MyImage. However, I guess you need to add an ActionListener to your two buttons. Are you sure you need two buttons, though? Presumably you can't stop until you've started and vice versa?
private Activator activator;
private Button startButton;
private Button stopButton
public Gui()
  startButton = new Button("Start");
  stopButton = new Button("Stop");
  stopButton.setEnabled(false);
  startButton.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
      start();
  stopButton.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
      stop();
private synchronized void start()
  // Construct the Activator when we need it
  if(activator == null)
    activator = new Activator();
  activator.start(...); // Don't know where you get your BundleContext from!
  startButton.setEnabled(false);
  stopButton.setEnabled(true);
private synchronized void stop()
  activator.stop(...); // Don't know where you get your BundleContext from!
  startButton.setEnabled(true);
  stopButton.setEnabled(false);
}I'm assuming here that once the Activator is "started" is stays started until it is told to stop, ie, it doesn't stop itself after a finite amount of time.
Hope this helps.

Similar Messages

  • Multiple Buttons help needed

    Hey everyone,
    I am just beginning to learn the basics of creating web sites in flash.
    I have been following a tutorial and have it done pretty well, but they only cover one main button, and I am at the point where I need several more, but I am doing something wrong.
    The tutorial is at this page: http://www.flash-game-design.com/flash-tutorials/advancedWebsite-flash-tutorial-3.html
    You can skip to the end and download the .fla if you want.
    What I want to do specifically is to add probably 4 other main buttons that can also have drop down menus. Please be as specific as possible because the extent of my code knowledge isn't very far.
    Thanks in advance
    The code for the main page is as follows:
    menu = ["About", "Bio", "Contact"];
    this.createEmptyMovieClip("content", 1000);
    this.attachMovie("sectionBackground","mask",1001);
    mask._y = content._y=208;
    mask._x = target=68;
    content.setMask(mask);
    content._x = -1000;
    imageScrollSpeed = 5;
    xStart = 125;
    yStart = 51;
    bWidth = 79;
    bHeight = 17;
    interval = 50;
    countDown = menu.length;
    menuOpen = false;
    theTime = 0;
    buttonScrollSpeed = 2;
    for (var i = 0; i<menu.length; i++) {
    var section = content.attachMovie("section_"+menu[i], "section_"+menu[i], i+100);
    section._x = section._width*i;
    var b = this.attachMovie("subButton", "subButton"+i, countDown);
    countDown--;
    b.stop();
    b._x = xStart;
    b._y = ySwtart;
    b.interval = interval*i;
    b.target = yStart+(bHeight*i);
    b.txt = menu[i];
    b.pos = target+(i*-section._width);
    b.onPress = function() {
      target = this.pos;
      closeMenu();
      this.gotoAndStop(1);
    b.onRollOver = function() {
      this.gotoAndStop(2);
    b.onRollOut = function() {
      this.gotoAndStop(1);
    b._visible = false;
    function closeMenu() {
    for (var i = 0; i<menu.length; i++) {
      var b = this["subButton"+i];
      b._visible = false;
      b._x = xStart;
      b._y = yStart;
    menuOpen = false;
    mainButton.onPress = function() {
    if (!menuOpen) {
      theTime = getTimer();
      menuOpen = true;
      for (var i = 0; i<menu.length; i++) {
       _root.main["subButton"+i]._visible = true;
    } else {
      closeMenu();
    mainButtoncopy.onPress = function() {
    if (!menuOpen) {
      theTime = getTimer();
      menuOpen = true;
      for (var i = 0; i<menu.length; i++) {
       _root.main["subButton"+i]._visible = true;
    } else {
      closeMenu();
    function scrollButtons() {
    if (menuOpen) {
      for (var i = 0; i<menu.length; i++) {
       var b = this["subButton"+i];
       if ((theTime+b.interval)<getTimer()) {
        b._y += (b.target-b._y)/buttonScrollSpeed;
    this.onEnterFrame = function() {
    content._x += (target-content._x)/imageScrollSpeed;
    scrollButtons();

    I still really need help on this

  • Simple button help needed!

    I want to make a simple round button that glows when you
    mouse over it and depresses when you click it.
    Apparently to do this I need to use Filters to make the glow
    and bevels. But Filtersonly work on movie clips, buttons and text.
    So I make a circle and convert it into a button symbol
    (Btn1). Then I make another button symbol (Btn2) and use the first
    button symbol (Btn 1) on the Up Over and Down frames of Btn 2.
    Assorted Filters are applied to Btn 1 on the Up Over and Down
    frames to get the effects I want.
    I test the button (Btn2) using Enable Simple Buttons. It
    works perfectly - glows on mouse over and depresses on click. Then
    I try Test Movie -- and the button doesn't work!!!
    Not does it work when exported as a SWF file!!!
    I watched a tutorial video that came with my Flash Pro 8
    Hands-On-Training (HOT) book and he used pretty much the same
    technique -- except he only tested his button with Enable Simple
    Buttons. I'll bet my house his didn't work with Test Movie either!
    The stupid thing, is I was just able to achieve exactly what
    I wanted very quickly using LiveMotion 2!
    What is wrong here? Why is it so impossible to create a glow
    button in Flash? Why has it been easy in Live Motion for years?
    All help appreciated!
    Thanks
    craig

    I thought the nesting button situation might be the problem
    BUT there is no other way to apply Filters to Up, Down, etc. Also,
    a freaking tutorial book described that as a valid method, but
    obviously it ain't.
    I tried using movieclips as well but basically had the same
    problem.
    I mentioned LiveMotion 2 because that ancient program can do
    easily what Flash Pro 8 seems incapable of.
    What is the logic behind not allowing Filters to be applied
    to simple graphics? It's absurd!
    There's got to be a way...

  • FLV custom UI buttons help needed

    Hello everyone,
    I have been searching Google for a few hours trying to find a
    good tutorial for a beginner(myself) on how to add Custom UI
    components and control and FLV file in AS 3.0. (I am running across
    plenty of AS 2.0 tutorials) The reason being I want to play an FLV
    in my SWF with only a Play/Pause button and a Mute button and do
    not want to be limited to the positions of the flvPlayback
    component skins.. I would use the flvPlayback component with the
    custom skins but the controls get in the way of my reflection (I am
    using the Pixelfumes AS 3.0 reflection class) and autohide is not
    an option for me right now.
    So what I have done so far is created my FLV
    Created my .FLA
    Within the .FLA I dragged the flvPlayback component to the
    stage and gave it an instance name of video
    I chose "none" for the skin
    I then converted this into a MC with an instance name of
    video_mc.
    I created a new layer and added a PlayPause button from the
    components panel
    I created a new layer and added a Mute button from the
    components panel
    I created a new actionscript layer and added the following
    (this is for the reflection)
    (See attached code)
    Now I am stuck. I don't know how to get the buttons to
    control the flv in AS 3 to play, pause and mute. Can someone help
    me out and point me to a AS 3 tutorial or perhaps give me the code
    I need to input?
    Thank you very much,
    Mark

    Hello everyone,
    I have been searching Google for a few hours trying to find a
    good tutorial for a beginner(myself) on how to add Custom UI
    components and control and FLV file in AS 3.0. (I am running across
    plenty of AS 2.0 tutorials) The reason being I want to play an FLV
    in my SWF with only a Play/Pause button and a Mute button and do
    not want to be limited to the positions of the flvPlayback
    component skins.. I would use the flvPlayback component with the
    custom skins but the controls get in the way of my reflection (I am
    using the Pixelfumes AS 3.0 reflection class) and autohide is not
    an option for me right now.
    So what I have done so far is created my FLV
    Created my .FLA
    Within the .FLA I dragged the flvPlayback component to the
    stage and gave it an instance name of video
    I chose "none" for the skin
    I then converted this into a MC with an instance name of
    video_mc.
    I created a new layer and added a PlayPause button from the
    components panel
    I created a new layer and added a Mute button from the
    components panel
    I created a new actionscript layer and added the following
    (this is for the reflection)
    (See attached code)
    Now I am stuck. I don't know how to get the buttons to
    control the flv in AS 3 to play, pause and mute. Can someone help
    me out and point me to a AS 3 tutorial or perhaps give me the code
    I need to input?
    Thank you very much,
    Mark

  • Flash project audio button help needed

    Hi,
    I am just learning Actionscript 3 and trying to create buttons that turn a previous sound off before they turn a new one on. Also I want a button on the front that turns all sound off if it is pressed. I have attached my files in a zip folder.
    The problem is all of my buttons which are inside movieclips just control the one sound. I have a couple more to do. I understand I will need an if statement but somehow I have to control all sounds and I don't quite get it.
    I would really love someone to point me in the right direction. I cannot find a tutorial anywhere and am going crazy.
    I look forward to someones reply,
    Jan

    Jay Robinson2 wrote:
    I've just upgraded to Logic 7.2 as I bought an intel Mac. However, for some reason the audio plays through the macs built in speaker. I've got into preferences>audio>drivers and changed the driver to 'built in line input' but it's still playing through the speaker itself. I never had this problem while i was running previous versions on my old mac
    When i boot up logic it does say something that i've never seen before which could be the cause...' Project Manager database on disk has got wrong version. Rescanning required'.
    Any ideas?
    G5 2.8 Quad Mac OS X (10.5.5)
    Hi,
    Try updating to 7.2.3
    As far as the Manager... try doing a new expanded scan, overnight. This will update the database.
    As far as the built in driver... you are selecting an INPUT.... and you expect it to change the OUTPUT??? Again, you are selecting an INPUT, while expecting the OUTPUT to change.
    The Built in drivers have only 1 output available, And in your case, that is working as expected. When you want to RECORD via either input, that is when you change the driver. You should have two choices : Mic, and Line.
    Cheers

  • K8N Neo 2 Platinum Computer just...stopped working! Help needed please.

    Hey all. About hmm, a month ago I built myself a new PC (first time I'd done it from scratch and got some useful help here) Specs were:
    MSI K8N Neo 2 Platinum, A64 3200+ Venice, 1GB DDR Corsair Value, Radeon 9800 Pro 128mb, 40GB Hard Disk IDE, 80GB Hard Disk IDE, CD R/RW Drive and a Tagan 420W (23A 12V+) PSU.
    Ok, it worked the day I built it just fine and has NO hick-ups or any indication of a problem for the past month. Running temperature was very cool etc. Now, I last turned it on about 24 hrs ago, downloaded some PDF files, shut it down. All was fine. Woke up this morning. Pressed the power button: ABSOLUTELY NOTHING. ZIp. No hum, fan movement, anything.
    Now, considering it seems to have broken whilst being turned off. What could be the problem? So far I've tried:
        * Using a different power socket
        * Using a different plug
        * Reconnecting the power switch and motherboard power connectors
    None of those worked. There wasn't a thunderstorm or anything so I don't think any kind of surge would have been the problem. I havn't tried manually shorting the power switch connectors. What's a safe way to do that? Any other suggestions? How can I test my PSU is infact doing something?
    Thanks

    Quote from: go_for on 01-September-05, 21:47:40
    Try the easy way first, disconnect every cable from the back of the computer. Do a CMOS clear/normal as instructed in the manual. Connect the display(with power off), keyboard and power cable. Turn on PSU, press power switch, if it fires up, press and go into bios and do your settings, save and exit. Power off and connect the rest of your external stuff. Power up.
    >
    No luck :( Is it likely that my PSU has fused/broken in some way since I'm getting no response or fan movement?

  • Starting with Oracle Lite, help needed

    Hi everybody,
    I have a desktop application written in Java which connects to a Oracle 10g database and I want to use the same application on ultramobile devices under WinXP. These devices will use the application offline and then will synchronize with the DB.
    As far as I know, I need Oracle Database Lite on mobile devices for getting database snapshots and track offline changes. I want to know if I need to install the Mobile Server for managing data synchronization between mobile devices and DB.
    Do I need to develop a web-app for managing data synchronization or there is a easier way to sinchronize in this case using only the desktop application?
    Thanks in advance for your help and sorry for my poor English.

    You want to look at Win32 applications. There are APIs in multiple programming languages that utilize the Oracle Lite Sync API to sync, or you can just use the mSync tool.

  • Quicklookd quit unexpectedly-started with mavericks upgrade- help needed?

    I've been getting continuous problem reports on my mac ever since I upgraded to mavericks on quicklookd quitting unexpectedly. I use this application a lot for quick previews on jpeg and tiff files. I’ve looked at similar problems like this over the net, but none of them are quite like mine since their identifier, path, and parent process all differ. I did run into an answer that suggested I delete the source file (quicklookd), but I’m afraid that if I do that the quick look function will be completely unusable.
    I have 10.9.2 version, and this is the report that keeps popping up
    Process:         quicklookd [46242]
    Path:            /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd. app/Contents/MacOS/quicklookd
    Identifier:      quicklookd
    Version:         ???
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [175]
    Responsible:     quicklookd [46242]
    Thank you!

    Update:
    Although Onyx did fix things temporarily, I am still getting these alarming problem reports and I seriously don't know how to fix this unless I keep on running Onyx maintenence every once in a while. If more information on these errors are needed please say so:
    Process:    
    quicklookd [1491]
    Path:       
    /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd.a pp/Contents/MacOS/quicklookd
    Identifier: 
    quicklookd
    Version:    
    Code Type:  
    X86-64 (Native)
    Parent Process:  launchd [183]
    Responsible:
    quicklookd [1491]
    OS Version: 
    Mac OS X 10.9.2 (13C64)
    Report Version:  11
    Anonymous UUID:  D5834438-7BF7-996A-87E6-99507CAB64D6
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000070
    VM Regions Near 0x70:
    -->
    __TEXT            
    000000010d6d3000-000000010d729000 [  344K] r-x/rwx SM=COW  /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd. app/Contents/MacOS/quicklookd
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsandbox.1.dylib       
    0x00007fff94c270c0 car + 10
    1   libsandbox.1.dylib       
    0x00007fff94c24f32 sandbox_compile_string + 32
    2   libsystem_sandbox.dylib  
    0x00007fff9294ed1b sandbox_init_with_parameters + 567
    3   com.apple.QuickLookDaemon
    0x000000010d70dfa6 0x10d6d3000 + 241574
    4   com.apple.QuickLookDaemon
    0x000000010d6d6d8e 0x10d6d3000 + 15758
    5   libdyld.dylib            
    0x00007fff9245e5fd start + 1
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib   
    0x00007fff96965662 kevent64 + 10
    1   libdispatch.dylib        
    0x00007fff94f1f43d _dispatch_mgr_invoke + 239
    2   libdispatch.dylib        
    0x00007fff94f1f152 _dispatch_mgr_thread + 52
    Thread 2:: Dispatch queue: com.apple.CFURLCACHE_work_queue
    0   libsystem_kernel.dylib   
    0x00007fff96963fe2 __fcntl + 10
    1   libsystem_kernel.dylib   
    0x00007fff96962a4d fcntl + 240
    2   libsqlite3.dylib         
    0x00007fff8d4e785d unixSync + 45
    3   libsqlite3.dylib         
    0x00007fff8d4fb4f6 sqlite3WalCheckpoint + 1990
    4   libsqlite3.dylib         
    0x00007fff8d4ed926 sqlite3WalClose + 134
    5   libsqlite3.dylib         
    0x00007fff8d4ed701 sqlite3PagerClose + 49
    6   libsqlite3.dylib         
    0x00007fff8d4ed19c sqlite3BtreeClose + 316
    7   libsqlite3.dylib         
    0x00007fff8d4f9673 sqlite3_close + 771
    8   com.apple.CFNetwork      
    0x00007fff94556eea __CFURLCache::CloseDatabase() + 152
    9   com.apple.CFNetwork      
    0x00007fff9455553c __CFURLCache::CleanupQueuesAndClosePersistentStore() + 172
    10  com.apple.CFNetwork      
    0x00007fff944bcb06 __CFURLCache::ProcessCacheTasks0(bool) + 1044
    11  com.apple.CFNetwork      
    0x00007fff944bc591 __CFURLCache::ProcessCacheTasks(bool) + 53
    12  com.apple.CFNetwork      
    0x00007fff944ee1fb __CFURLCache::_PreProcessCacheTasks() + 93
    13  com.apple.CFNetwork      
    0x00007fff944bc05d __CFURLCache::_CFURLCacheTimerCallback0() + 277
    14  com.apple.CFNetwork      
    0x00007fff944bbee7 __CFURLCache::_CFURLCacheTimerCallback(void*) + 43
    15  com.apple.CFNetwork      
    0x00007fff944bbe0f ___ZN12__CFURLCache29SignalWorkerTaskToPerformWorkEv_block_invoke + 18
    16  libdispatch.dylib        
    0x00007fff94f201d7 _dispatch_call_block_and_release + 12
    17  libdispatch.dylib        
    0x00007fff94f1d2ad _dispatch_client_callout + 8
    18  libdispatch.dylib        
    0x00007fff94f1f68f _dispatch_queue_drain + 451
    19  libdispatch.dylib        
    0x00007fff94f209dd _dispatch_queue_invoke + 110
    20  libdispatch.dylib        
    0x00007fff94f1efa3 _dispatch_root_queue_drain + 75
    21  libdispatch.dylib        
    0x00007fff94f20193 _dispatch_worker_thread2 + 40
    22  libsystem_pthread.dylib  
    0x00007fff96949ef8 _pthread_wqthread + 314
    23  libsystem_pthread.dylib  
    0x00007fff9694cfb9 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib   
    0x00007fff96964e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff96949f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff9694cfb9 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib   
    0x00007fff96964e6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib  
    0x00007fff96949f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib  
    0x00007fff9694cfb9 start_wqthread + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x00007fbcc3090058  rbx: 0x0000000000000070  rcx: 0x0000000000000000  rdx: 0x00007fbcc3011e00
      rdi: 0x00007fbcc3090058  rsi: 0x0000000000000070  rbp: 0x00007fff5252c240  rsp: 0x00007fff5252c070
       r8: 0x0000000000000001   r9: 0x00007fbcc2500000  r10: 0x0000000000001e00  r11: 0x000000005cd30b1d
      r12: 0x00007fbcc2518bb0  r13: 0x00007fbcc3090058  r14: 0x00007fbcc30736e8  r15: 0x00007fff5252c0b0
      rip: 0x00007fff94c270c0  rfl: 0x0000000000010202  cr2: 0x0000000000000070
    Logical CPU:
    0
    Error Code: 
    0x00000004
    Trap Number:
    14
    Binary Images ...
    Process:    
    ubd [223]
    Path:       
    /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Support/ubd
    Identifier: 
    ubd
    Version:    
    289
    Code Type:  
    X86-64 (Native)
    Parent Process:  launchd [183]
    Responsible:
    ubd [223]
    OS Version: 
    Mac OS X 10.9.2 (13C64)
    Report Version:  11
    Anonymous UUID:  D5834438-7BF7-996A-87E6-99507CAB64D6
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000070
    VM Regions Near 0x70:
    -->
    __TEXT            
    00000001024ec000-0000000102608000 [ 1136K] r-x/rwx SM=COW  /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Support/ubd
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsandbox.1.dylib       
    0x00007fff94c270c0 car + 10
    1   libsandbox.1.dylib       
    0x00007fff94c24e33 sandbox_compile_file + 386
    2   libsystem_sandbox.dylib  
    0x00007fff9294ed1b sandbox_init_with_parameters + 567
    3   ubd                      
    0x0000000102585ca8 0x1024ec000 + 629928
    4   libdyld.dylib            
    0x00007fff9245e5fd start + 1
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib   
    0x00007fff96965662 kevent64 + 10
    1   libdispatch.dylib        
    0x00007fff94f1f43d _dispatch_mgr_invoke + 239
    2   libdispatch.dylib        
    0x00007fff94f1f152 _dispatch_mgr_thread + 52
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x00007f9d0082dac8  rbx: 0x0000000000000070  rcx: 0x0000000000000000  rdx: 0x00007f9d01801400
      rdi: 0x00007f9d0082dac8  rsi: 0x0000000000000070  rbp: 0x00007fff5d711b10  rsp: 0x00007fff5d711940
       r8: 0x0000000000870001   r9: 0x00007f9d00500000  r10: 0x000000002054a3a5  r11: 0x00000000c6b97585
      r12: 0x00007f9d00500aa0  r13: 0x00007f9d0082dac8  r14: 0x00007f9d00889118  r15: 0x00007fff5d711980
      rip: 0x00007fff94c270c0  rfl: 0x0000000000010282  cr2: 0x0000000000000070
    Logical CPU:
    2
    Error Code: 
    0x00000004
    Trap Number:
    14
    Binary Images ...

  • Laptop crashed only LCD light comes on, but it starts up normal. HELP NEEDED ASAP

    I was typing an assignment when my pc suddenly froze and produced this loud noise, which lasted for about 30sec. It then went to a bright blue screen telling me my PC has crashed and will restart soon. It loaded to 100% then restarted, but the screen came up black; only the LCD light is present. It runs normal as the screen blinks as it would after the HP screen loads on boot up, and all the lights are on. Furthermore, I use the finger print scan to log in and it works as I can hear my Skype login. I tried the hard reset and nothing. I tried HDMI and it worked. However, I foolishly uninstalled the graphics from device manager thinking that it would reinstall upon reboot and solve my problem: it didn't. Now I have a blank screen and I can't use HDMI as I uninstalled the graphics thing. When I press f4 the screen doesn't do anything, it doesn't source to external physically output. I can't even adjust screen brightness anymore and I previously could before I deleted the graphics. I am out of ideas. Please help me. My assignment is due a day from now and I need to complete it. :cry: 

    Update. I was able to use Windows narrator to enable the graphics an  now I have HDMI access again. I am currently using my T.V. as monitor to get my work done. If anyone can tell me what to do about the blank screen it would be greatly appreciated.

  • PayPal button help needed

    I have inserted the PayPal code as an HTML snippet in my website and the buttons look fine. When I click on them on the published site, Safari quits. Is there something I'm doing wrong?

    Your problem may be with Safari. A lot of people are experiencing random crashes...
    http://www.macfixit.com/article.php?story=20071221101855547
    The latest security update - yesterday - is supposed to fix it....
    http://www.macfixit.com/article.php?story=20071222105253236

  • Error message showing on start-up. Serious help need.

    I am not able to search on Google.com and mostly all of the search engine, it is showing Untrusted connection and if I enter complete website then it works sometime(e.g www.facebook.com). I have already tried setting up the real clock timings. Also, even after downloading ad-blocker, I am still facing ad problems.

    What is the error message you see at startup? Is that in the page itself or a pop-up?
    There are many potential causes for widespread certificate errors. These include Firefox not being fully set up to work with your security software (or using Firefox's Reset feature, which means setting that up again). But malware also is a potential culprit.
    Have you added any exceptions (using the Add Exception button in the "I Understand the Risks" section of the error page)?
    You may want to check that your Firefox connection setting has not been modified:
    "3-bar" menu button (or Tools menu) > Options > Advanced > Network mini-tab > "Settings" button
    You could try "No proxy" there.

  • How do I prevent my Mac Pro from  hanging up in a start/stop loop?

    My Mac Pro has a strange behavior I need help with. This computer is used almost exclusively for audio recording in my studio. I run Cubase 4 as my primary sequencing software. Everything will be going fine during a session, and then the software will abruptly hang up in a *start/stop loop*, stuttering back and forth between these two functions for up to 2 minutes before stopping. During this loop problem, the start/stop transport buttons alternately light up and the song starts and stops. Nothing I have tried will interrupt the problem. It just runs its course and then stops, usually between 30 - 90 seconds.
    Interestingly, the same behavior shows up in other applications and in the Finder. In Quicktime and iTunes, it shows up as a start/stop loop. In the finder, it will shuttle back and forth between two related functions and beep each time. In word, it will show up as a key stick, typing the same letter over and over.
    Needless to say, this is all very frustrating and embarrassing when clients are here. Any help will be greatly appreciates. Let me know if you have any additional questions.

    I'd begin with repairing your drives with Disk Utility and Disk Warrior; clone your system to another drive, and check for corrupt files and prefs.

  • Start, stop and restart while loops

    Hi, my qustion is i have 2 example a and example b. Example b lets u start counting up in seconds when u want to. as long as the toggle switchs are in correct position. it also lets u start, stop and restart if need be. i want to be able to that with example a, but for some reason the while loop always sets of running independent of what position the the toggle switch. Any help greatly appreciated.
    Thanks Stuart
    Attachments:
    examplealib.llb ‏202 KB
    exampleb.vi ‏25 KB

    An example as the attachment.
    Attachments:
    switch.vi ‏23 KB

  • Manually start/stop cmsdk Agents

    Hi gurus,
    is there a way to start/stop those cmsdk's Agents without the need of Enterprise manager > node configuration ?
    My node configuration page in EM does not submit to the action correctly when i select a Agent and click on EDIT. It just goes up to the top of the page and do not
    show the EM's Edit Agent Configuration Page.
    Thanks in advance.

    Just a thought, but have you got JavaScript enabled?
    as far as I know, you can't start and stop agents without the Enterprise Manager.
    However, why are you clicking on 'Edit' when there are start / stop etc buttons at the top? Are you looking at the right page?

  • Start Stop and Run button.

    hello,
    I have one question, I want one button which can be run/start/stop button. I can't compile the program with "Run when open", because I need the user enter a string and a configuration, however after the user enter a configuration, I want that a START button, and when the user want press the same button to STOP all the program. All without pressing the "Run button (white arrow)". So the sequence it will be:
    1- open the ".exe"
    2- configure the variables such as: file name, file path, comments.....
    3- press START button, and the system will start acquisition.
    4- press STOP button and the program stopped and save all the data in a file.
    It is that possible? Could anyone help me with it? Or send me and example?
    Best regards,
    Anna.  

    Hi,
    You can do something like this.
    Compile it with "Run when open".
    Best regards
    Matej
    CLAD using LV 8.2, 2010 and 2012
    R&D Laboratories
    Domel d.o.o.
    www.domel.com
    Attachments:
    StartStopAndRun.vi ‏13 KB

Maybe you are looking for