Problem refreshing canvas when multiple windows and canvasses.

Ok I Have a form that has 2 windows and 2 canvases.
They both get populated on When new Forms instance trigger with a parameter i pass in from teh previous form.
On entering the form if the parameter is set (passed in by the form before) it should query the blocks on canvas 1 and display the second canvas/window via a seperate package of "canvas.open" which is a package to open and populate the second canvas which is a tree.
If this code is fired on a key next item or a button press its fine. but not where it is on when new form instance trigger. The canvas.open simply stops on a synchronize early on. If i remove a sync then the second canvas never appears.
You can see a commented out pause. If this is included then it all works fine. If i use a synchronize instead of the pause it doesnt even reach the canvas.open (i used messages on status to work this out)
So my question is how can i get a synchronize to work as i assume this is whats missing?
Any help much appreciated, Im sorry if i have not explained very well.
IF :PARAMETER.I IS NOT NULL THEN                    
               Go_Block('B1');               
               Execute_Query(no_validate);
               Go_Block('B2');
               Execute_Query(no_validate);
--PAUSE;
               canvas.Open(:PARAMETER.I);                    
END IF;          

What happens if you do a
IF :PARAMETER.I IS NOT NULL THEN                    
               Go_Block('B1');               
               Execute_Query(no_validate);
SYNCHRONIZE;
               Go_Block('B2');
               Execute_Query(no_validate);
SYNCHRONIZE;
               canvas.Open(:PARAMETER.I);                    
END IF;

Similar Messages

  • Problem refreshing CFGRID when exiting window

    I am using CF9 and CFGRID to display records, A user can double-click to edit a particular record, or choose to add a record. The problem I am having is when you exit out of the update or add window (by clicking on the 'X' icon in upper-right of the window), the CFGRID does not refresh. I am able to do the grid refresh if the Submit or Cancel buttons are clicked, but have no idea how to accomplish this if the exit icon is clicked. Does anyone have ideas as to how I might be able to accomplish this?
    Thanks in advance!

    What happens if you do a
    IF :PARAMETER.I IS NOT NULL THEN                    
                   Go_Block('B1');               
                   Execute_Query(no_validate);
    SYNCHRONIZE;
                   Go_Block('B2');
                   Execute_Query(no_validate);
    SYNCHRONIZE;
                   canvas.Open(:PARAMETER.I);                    
    END IF;

  • When I'm using Safari, acasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! ???

    When I'm using Safari, ocasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! What the ****? Please help!

    Right, like I'm trying to say, THERE IS NO SAFARI MENU bar. Example: I have multiple applications open, I click on a Photoshop window, the correct menu or title bar or whatever changes. Every other application window I click on brings up the correct "whatever" bar. If I click on the desktop, the "Finder Bar" shows up.
    Everythiing else, BUT SAFARI, works the same way since OS X came out.  This is ridiculous.
    I'm getting the vibe that Apple is trying to get rid of the finder.... this is the way wrong direction.

  • I have a problem with Safari: when it opens and I go on google, it opens a page that says: PLEASE UPDATE INTERNET EXPLORERE.   What should I do?

    I have a problem with Safari: when it opens and I go on google, it opens a page that says: please update internet explorer!
    What should I do?

    It's a scam. Have a look at this thread:
    https://discussions.apple.com/thread/6058094?tstart=0

  • Disabling opening of multiple windows and tabs

    Hi experts,
    do we have any option to disable opening of multiple windows and tabs. Like making end user to use single window browser to do all operations.
    Regards
    Govardan Raj S

    HI Rajendra ,
    Actually if end user access the portal in a browser window , and if he opens another window i.e file->new window --- same portal applications will open in the new window with the same credentials and hence here i should either restrict him or log off the user in both windows.
    Regards
    Govardan Raj

  • Safari Hangs when multiple tabs and windows open [was part of safari slow-]

    This is to create a new topic with regards to Safari, but with many windows and/or tabs open.
    Some have posted information in the previous topic, i.e.: safari slow - has anyone talked to someone at Apple?
    This post will be specifically about hangs and ball spinning cursors when many windows are being used simultaneously within Safari.
    Please post your comments below.

    No worries have sorted it now...you need to go to;
    System Prefences-->General-->Untick the box which says 'Restore windows when quitting and re-opening apps' (A couple of lines from the bottom)
    And then most importantly restart the mac.  It was this last step I never did and thats why I couldn't get it to stop this unwanted behaviour.

  • Please Help! Problem with 'whistle' when using Audition and Premeire Pro 1.5 with Audigy

    I hope someone can help with this problem. The start of these messages is at the bottom. Any suggestions would be most welcome...Bill Allen
    Hi David (00)... Thanks for your reply. I just wanted to let you know
    that I am going to post all of this correspondence on as many Creative
    forums that I can find in hopes of finding someone that help with this
    problem.
    I will advise you of the results
    Thanks again...Bill Allen
    ----- Original Message -----
    From: "Creative Americas Customer Support"
    To: "Bill Allen"
    Sent: Saturday, February , 2006 :39 AM
    Subject: Re: Creative System Information (English : Adobe Premeire Pro .5
    and Adobe Audition) (KMM987992I6636L0KM)
    > Sir,
    >
    > The only time that I've see a random tone being generated as you
    > decribe, it was necessary to update the system bios to correct.
    >
    > While we are able to playback and record with the card and it's included
    > software, Adobe continues to not allow you to monitor what you're
    > recording. As best we can tell, there's nothing wrong with the card and
    > I would urge you to check with Adobe for any "monitor recording"
    > switches that may be in their software.
    >
    > For faster service please reply with previous correspondence when
    > replying to this email.
    >
    > Best Regards
    > ,
    >
    > David (00)
    > Team Specialist
    >
    > Technical Support
    > Creative Labs Americas
    >
    >
    >
    > To provide feedback on your "Creative Experience" please click on the
    > following link:
    >
    Link removed
    >
    > This link is provided so that you may provide feedback on your "Creative
    > Experience". If you require further troubleshooting or have additional
    > questions simply reply to the original mail and we will be glad to
    > assist you.
    >
    > Original Message Follows:
    > ------------------------
    > Jeen... I appreciate, very much, your reply. But I don't appreciate
    > trying
    > to be 'ping ponged' back and forth between Creative and Adobe. While I
    > realize that you can only deduce a solution from what I tell you, I
    > believe
    > that if you re-read my description of the problem you will realize that
    > the
    > problem is with the sound card and it's associated software. Otherwise
    > why
    > would the system work as expected when it it turned on the next morning?
    >
    > I would also like to know where the 'tone' comes from. When recording
    > video segment (with audio) through the firewire connection of the
    > Creative Audidgy 2ZS card, after a short while the audio is replaced with a
    > constant tone (as I said, it is about 200 Hz). If I record the video thru the
    > Firewire connection and the audio through the 'Line-In' connection,
    > there is no problem with the recording the audio track 'tone free'. However,
    > sometimes but not always, when the audio is played back the tone will
    > appear. This has happened with both Adobe Premeire Pro .5 and Adobe
    > Audition. It is not in the audio track of Adobe Premeire Pro .5 or
    > Adobe Audition, so the problem must lie with the Creative Audigy 2ZS card or
    > it's associated software. I'm sure your audio engineers have knowledge of
    > this problem and I would appreciate an answer.
    >
    > Thanks...Bill Allen
    >
    > ----- Original Message -----
    > From: "Creative Americas Customer Support"
    >
    > To: "Bill Allen"
    > Sent: Friday, February 0, 2006 2:5 AM
    > Subject: Re: Creative System Information (English : Adobe Premeire Pro
    > .5
    > and Adobe Audition) (KMM9780I6636L0KM)
    >
    >
    >> Dear Bill,
    >>
    >> Thank you for replying back to Creative Technical Support.
    >>
    >> With regards to your issue, I understand that you are having
    > difficulty
    >> getting the audio to record from the applications Adobe Premiere Pro
    > .5
    >> and therefore not sound during the playback.
    >>
    >> As you have verified that the sound card is working properly with the
    >> other applications on recording or playback, this could be due to the
    >> improper setup for the audio in the Premiere Pro .5.
    >>
    >> You may like to refer to Adobe for assistance on the configuration of
    >> the audio settings as we are not in a better position to advise you on
    >> third party software.
    >>
    >> Should you have not sound or issues with our software, please feel
    > free
    >> to contact us so that we can assist you.
    >>
    >> For faster service please reply with previous correspondence when
    >> replying to this email.
    >>
    >> Best Regards
    >> ,
    >>
    >> Jeen
    >> Technical Support
    >> Creative Labs Americas
    >>
    >>
    >>
    >> To provide feedback on your "Creative Experience" please click on the
    >> following link:
    >>
    Link removed
    >>
    >> This link is provided so that you may provide feedback on your
    > "Creative
    >> Experience". If you require further troubleshooting or have additional
    >> questions simply reply to the original mail and we will be glad to
    >> assist you.
    >>
    >> Original Message Follows:
    >> ------------------------
    >> Ronshone... Thanks for your reply.
    >>
    >> Here is the information you requested:
    >>
    >> Sound Blaster Audigy 2ZS
    >> PID: 0 03 50 00 00 00 02
    >> Driver Ver: 2.8.4
    >> Firmware : 0.0.0
    >> Model: SB.0350
    >> Serial Number: MSB0350472004288E
    >> Ink stamp: 50SPT470D
    >>
    >> The Audigy 2ZS is the only sound card installed
    >> The Audigy 2ZS card is at least one slot away from the graphics card.
    >> The Audigy 2ZS card is one slot away from another card.
    >> The Audigy 2ZS card is properly seated in the PCI slot.
    >> The PC's internal wires have been moved away from the Audigy 2ZS card
    > .
    >> The 'on-board' sound is disabled thru the BIOS.
    >> The 'on-board' game port is disabled thru the BIOS.
    >> The XP Pro operating system is up to date with all updates.
    >> There were no background operation going at the time of the tests.
    >> The anit-virus program was closed
    >> The CPU is not overclocked.
    >> And, I am the Administrator.
    >>
    >> The card came in a Creative retail Box along with the input unit that
    >> mounts
    >> in the dri've bay. I can't recall what that is called.
    >>
    >> I have relocated the sound card to a slot that is 4 slots away from
    > the
    >> graphics card and slot away from another card, in this case an
    >> additional
    >> IDE dri've controller.
    >>
    >> I have performed the test you outlined. I found that I had to record
    >> using
    >> the 'line in' source input. And I had to playback using the 'wave'
    >> source.
    >> As far as that test is concerned, everything worked. However when I
    >> bring
    >> up Adobe Premeire Pro .5 I do not hear the audio when capturing, and,
    >> even
    >> though the audio meters in Premeire Pro in indicate that there is
    > audio
    >> playing from the audio track on playback, I hear nothing from the
    >> speakers.
    >>
    >> I then brought up the Creative Speaker Settings requester and did a
    >> diagnostic test. All tests indicated "pass". But when I click on the
    >> 'Speaker Settings' and perform the 'Speaker Test' I hear nothing. I
    >> should
    >> add that in both mixers, the Creative Surround Mixer and the Play
    >> Control
    >> mixer, all inputs and outputs are selected (not muted). Also when I
    >> performed this same test yesterday the 'Speaker Test' worked fine.
    >>
    >> On rebooting, the 'Windows XP' sound is heard from the speakers.
    >> Bringing
    >> up Adobe Premeire Pro .5, the audio played as expected. The 'Speaker
    >> Test'
    >> in the Creative Surround Mixer also worked as expected.
    >>
    >> I then recorded the rest of my program using the Adobe Premeire Pro
    > .5
    >> 'Capture' requester and when I tried to playback from within Adobe
    >> Premeire
    >> Pro .5 all I got was a constant tone (about 200 Hz), even though the
    >> audio
    >> meters in Adobe Premeire Pro .5 indicated that the audio was good and
    >> had
    >> no constant tone.
    >>
    >> I rebooted the computer and brought up Adobe Premeire Pro .5 and my
    >> program. Without making any changes to either mixers, Adobe Premeire
    > Pro
    >> .5
    >> performed, and the sound played, as expected. In the 'Play Control'
    >> mixer
    >> only the 'wave' was acti've. All the rest were muted. It was the same
    >> for
    >> the 'Creative Surround Mixer'.
    >>
    >> I am at a loss as to what the problem is. Any help would be
    >> appreciated.
    >>
    >> ...Bill Allen
    >> ----- Original Message -----
    >> From: "Creative Americas Customer Support"
    >> @customercare.creative.com
    >> To: "Bill Allen"
    >> Sent: Monday, February 06, 2006 9:42 PM
    >> Subject: Re: Creative System Information (English : Adobe Premeire Pro
    >> .5
    >> and Adobe Audition) (KMM933384I6636L0KM)
    >>
    >>
    >> Dear Bill,
    >>
    >> Thank you for contacting Creative Technical Support.
    >>
    >> With regards to the issue you are having, I would really appreciate it
    >> if you can provide me with the model number of the sound card. It
    >> should
    >> start with CT or SB followed by 4 numbers found on the sound card. I
    >> also need the serial number which can be found on the sticker and the
    >> ink stamp which is printed on the back of the card. This number will
    >> not
    >> be located on any of the stickers and it will not be labeled. It is a
    >> number that has been stamped on the card itself, possibly near the
    >> outer
    >> edge of the card to determine the best advice for you.
    >>
    >> Did the sound card come pre-installed in the PC, comes in a plastic
    >> cover or brown box or did it come in a Creative retail box package?
    >>
    >> Below is a link that may help with the location of the model number.
    >>
    >> Run a keyword search for SID2456 from the link below.
    >>
    Link removed
    >>
    >> I also need you to try the following recording test.
    >>
    >> SELECT THE RECORDING SOURCE IN SURROUND MIXER
    >> . Go to Start Programs Creative SB Audigy Surround Mixer
    >> 2. Click on the Recording Source (should be on the right side of the
    >> mixer under the REC label)
    >> 3. Change the recording source to Analog Mix
    >> 4. Mute the other analog sources (Mic, CD Audio, Auxiliary, Tad, PC
    >> speaker) that you don't want recorded with the audio stream.
    >> 5. You may wish to select "record without monitoring" by click on the
    >> (+) above the Analog Mix recording source. This keeps the source from
    >> playing out to speakers while recording
    >>
    >> TEST RECORD THE AUDIO
    >> . Go to Start Programs Accessories Multimedia Sound Recorder.
    >> 2. Click the Record button (red dot)
    >> 3. Talk into the microphone
    >> 4. Let it record the source for a little bit
    >> 5. Hit the Stop button (black square)
    >> 6. Hit the play button (single arrow pointing right)
    >> 7. You should now hear the audio that you recorded.
    >>
    >> If you are still having issues, I recommend you to ensure the
    > following
    >> for the audio installation and test:
    >>
    >> - The card is the only card installed other than the Graphics card.
    >> - The card is at least one empty slot away from the Graphics card.
    >> - Place the soundcard away from all the others.
    >> - That the card is seated properly in the PCI slot.
    >> - Move the PC's internal wires away from the soundcard.
    >> - That the on-board sound on your motherboard is disabled through the
    >> BIOS.
    >> - That the on-board gameport is disabled through the BIOS.
    >> - That your motherboard BIOS is up-to-date.
    >> - That the operating system is up-to-date with the latest service
    > packs
    >> and patches.
    >> - That there are no background applications open when you attempt the
    >> solution.
    >> - That the anti-virus program is disabled.
    >> - That if you are over-clocking your system, return all options to
    >> their
    >> recommended settings.
    >> - That you access the PC with administrator rights.
    >>
    >> Do reply back to me if you are still having problems with any error
    >> messages prompted. Thanks.
    >>
    >> For faster service please reply with previous correspondence when
    >> replying to this email.
    >>
    >> Best Regards
    >> ,
    >>
    >> Ronshone
    >> Technical Support
    >> Creative Labs Americas
    >>
    >>
    >>
    >> To provide feedback on your "Creative Experience" please click on the
    >> following link:
    >>
    Link removed
    >>
    >> This link is provided so that you may provide feedback on your
    >> "Creative
    >> Experience". If you require further troubleshooting or have additional
    >> questions simply reply to the original mail and we will be glad to
    >> assist you.
    >>
    >> Original Message Follows:
    >> ------------------------
    >> User Detail
    >> ----------------------------------------
    >> Name : Bill Allen
    >> Email Address : [email protected]
    >> Self Description : Intermediate PC User
    >>
    >> Creative Product Information
    >> ----------------------------------------
    >>
    >> Problem Type : I need help with a third-party software application
    >>
    >> Problem lies with:
    >> ----------------------------------------
    >> Adobe Premeire Pro .5 and Adobe Audition
    >>
    >> Customer's System Specification
    >> ----------------------------------------
    >>
    >>
    >> Detailed Problem Description
    >> ----------------------------------------
    >> I can hear sound from my computers speakers. The diagnostic tests
    >> performed by the Creative software are all "OK", but I cannot record
    >> audio with either of the two programs mentioned above. I have checked
    >> everything I can think of and all of the settings appear to be "OK".
    > I
    >> have also updated the driver for the sound card. What can I do?
    >>
    >> Attachment :
    >> [ Attachment Type: application/octet-stream Name: CTSi.cab]

    TeamRacing6 wrote:
     b noir,
    I can get itunes to start if I disable Bonjour or if I "repair" it first. Sometimes I can repair Bonjour though add/remove programs, sometimes it will only "repair" using WinRar. Sometimes I have to "repair" Bonjour 2 or 3 times to get iTunes to start.
    I have tried uninstalling and reinstalling at least a dozen times. I have tried redownloading iTunes at least 5 times and from different links. This leads me to believe that the dnssd.dll file is not itself corrupt, but this newest version is causing a conflict with XP somewhere somehow.
    Team, iTunes 10.2.2.12 has just been released. I installed it and checked, and BonJour's been updated to version 2.0.5.0, and there's a new 2.0.5.0 version of dnssd.dll on my system. So I reckon it's worth a try updating to that to see if it's of any help with your trouble.

  • Satellite U - Crashes when starting windows and recovery cannot fix

    Most of the time but not every time the laptop crashes when starting windows.
    I get a blue screen, a dump file is created and then it restarts and gives me the option of starting windows normally or using windows recovery. The windows recovery cannot fix the problem.
    When I select the option of opening windows normally everything works fine with no problems.
    If I restart the laptop it never crashes.
    The problem only happens about 90% of the time when switching it on.
    The problem started soon after buying the laptop in October.
    Originally it came with Windows Vista and I wondered if the problem was with Vista so yeterday I upgraded to Windows 7 but it still crashes on most start ups. Otherwise the laptop works fine and I am pleased with it.
    I suspect the problem might be with Realtec but the drivers appear to be up to date. My internet security is trend micro.
    I wondered if it might be a hardware problem when it happens under both Vista and windows 7.
    Has anyone got any ideas about what might be causing the laptop to crash on startup?

    I have exactly the same problem with the laptop (U500 11E) crashing on startup, recovery can't do anything and sometimes I get a Windows "solution" box that tries to find something and then just vanishes.
    I followed the same procedure as Dave, by upgrading to Win7 thinking that might fix the problem, but it clearly didn't. I also updated all drivers and the BIOS to the latest versions.
    I think my trouble started not right out of the box but only after I upgraded to Vista Service Pack 1, but I'm not completely sure.
    It is pretty annoying because of course it now takes twice as long to get the laptop up and running.
    Finding someone else who also has the problem makes me wonder if the problem might have another cause and if there might be a way to fix it?
    Petra

  • Problem importing PSD (with multiple groups and layers) into After Effects. Help!

    I created a "comic strip" in photoshop (multiple rectangle shape layers, then various shapes within each box for each frame of the comic strip) that I want to import into AE. When I import it as a composition (to keep my layers), however, what appears is an simply a black image with white lines where the lines of the comic strip used to be. I checked the color modes, but they are both in RGB so I don't think that's the problem. Also, when I double click the cartoon strip composition, I can choose certain groups from the mini flow-chart at the top left and view those individual frames. However, I can't view the entire comic strip as a whole, which is necessary for my animation. Any help with this would be greatly appreciated, as I'm on a tight time constraint. Thanks!

    When I asked what version down to the last decimal, I meant it. After Effects version should start with 11, but we need the numbers after that too.
    And I understand that you want to pan between them, so just put all the different PSD's you import into the same comp and pan between them.

  • Screen refresh wrong when swapping windows

    Can anyone tell me about this display problem?
    If you are in B1 and click on the icon for another active window such as Excel or Outlook, the new active window sometimes does not appear. Although B1 is no longer the active window, it is still displayed on the screen. To see the new window, you have to click on the icon again to 'minimize' it (even though it has not been displayed), then click again to have it displayed.
    The problem only happens when going from B1 to another application.
    I do not think that it happens in 2005A, only 2007A. It seems to affect Vista and at least some XP workstations.
    I cannot find a SAP note on this. Anyone know anything about it?
    Regards,
    Douglas

    Thanks for the reply. I will try the changes in the note when I can restart my laptop.
    One thing, though. The note talks about a problem with speed when you Atl+TAB. The problem that I have is not one of speed, but that the screens will either not appear at all or you will see only parts of them in a display that is a mixture of B1 and the window which you actually want. Waiting does not make any difference, you have to click on the window that you want twice.
    However, what the note mentions seems near enough to give it a try.
    But I would have thought that many people get this problem. Does everyone just put up with it?
    Regards,
    Douglas

  • Problem with JOGL applet on Windows and Linux

    I made a simple test applet using JOGL involving a simple animation and a KeyListener. It put it on a web site, and it loads and runs correctly on my Mac, but it gives a blank box with a red x in it on Windows and Linux. Here is the code that I used to deploy the applet. I based it off the sample from https://jogl-demos.dev.java.net/applettest.html
    <applet code="TestApplet"
    width=300
    height=300
    archive="http://download.java.net/media/applet-launcher/applet-launcher.jar,
    http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,
    http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,
    http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl-demos.jar">
    <param name="codebase_lookup" value="false">
    <param name="subapplet.classname" value="TestApplet">
    <param name="subapplet.displayname" value="JOGL Applet">
    <param name="noddraw.check" value="true">
    <param name="progressbar" value="true">
    <param name="jnlpNumExtensions" value="1">
    <param name="jnlpExtension1"
    value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
    </applet>
    Does anyone know what I'm doing wrong? Thanks for your help.

    never mind. i figured it out.

  • When I try to download a pdf, firefox begins to open multiple windows and continues until I forcequit firefox.

    I have reinstalled firefox without success, have run in safemode, and have tried resetting general user agent but no change. The behavior is like the old websites that opened continuous new windows until you quit the browser.

    See [[Firefox keeps opening many tabs or windows]]

  • Problem sharing iTunes with multiple Windows accounts

    My kids and I share a single computer via multiple user accounts. We also share a common iTunes account across all Windows accounts. When new songs or playlists are added, they appear in the other accounts.
    Recently, I had to create a new Windows account for my daughter. In iTunes, I went to Edit -> Preferences and changed the iTunes Media folder location to the shared folder. The problem is that none of the playlists came through, and when new songs are added, they do not show up in her account either.
    What could be causing this problem on just this account, and what is the possible fix?
    Thanks,
    Jeff

    If you create multiple user accounts on one computer but want the same music to be available in iTunes for all users, see iTunes: How to share music between different accounts on a single computer.
    The important stuff is near the bottom
    +To listen to another account's music files+
    +Open iTunes.+
    +From the iTunes menu, choose Preferences.+
    +Click Advanced.+
    +Deselect the "Copy files to iTunes Music folder when adding to library file" option.+
    +Click OK.+
    +From the File menu, choose Add File to Library.+
    +Note: Windows users can also choose Add Folder to Library to add a folder of songs.+
    +Navigate in the Add File To Library window to the location where the other user's music is saved (the iTunes Music folder in the case above).+
    +Click Open.+
    +Repeat these steps for each account that is listening to shared music.+
    +When another user of the computer has imported new music from CD, *repeat steps 6 through 8* to add the music to your library.+

  • Problem socket.bind() with multiple modems and multiple IPs

    I've connected 2 or more modems in Windows control panel and made up windows dail ups. Then I dail up each modem and obtain the local DHCP IPs of each modem.
    My target is : to set up sockets using separate modems.
    the code is like: create a socket instance , and use Socket.bind()method to bind the socket to a specified modem's local IP , then do socket.connect().
    but the problem is : although there are several modem dail ups and at the same time I bind each socket to different IPs , the program always connect via the first modem dailed up.
    Does Socket.bind() method really bind the socket connection to the IP's or hardwares?

    I think you are trying to use a Socket where you want a ServerSocket to accept the incoming connection. Check this out (I have underlined what
    should interest you):
    public ServerSocket(int port, int queueLength) throws IOException, BindException
    This constructor creates a ServerSocket on the specified port with a queue length of your choosing. If the machine has multiple network interfaces or IP addresses, then it listens on this port on all those interfaces and IP addresses. The queueLength argument sets the length of the queue for incoming connection requests--that is, how many incoming connections can be stored at one time before the host starts refusing connections. Some operating systems have a maximum queue length, typically five. If you try to expand the queue past that maximum number, the maximum queue length is used instead. If you pass 0 for the port number, the system selects an available port.
    For example, to create a server socket on port 5,776 that would hold up to 100 incoming connection requests in the queue, you would write:
    try {
      ServerSocket httpd = new ServerSocket(5776, 100);
    catch (IOException e) {
      System.err.println(e);
    }The constructor throws an IOException (specifically, a BindException) if the socket cannot be created and bound to the requested port. An IOException when creating a ServerSocket almost always means one of two things. Either the specified port is already in use, or you do not have root privileges on Unix and you're trying to connect to a port from 1 to 1,023.
    So once you receive a connection, it looks like it is up to you parse any
    relevant info you want out of the Socket you get from ServerSocket.accept();
    -Cludge

  • Failed when installing windows and linux on my lenovo laptop E440

    Good day, I have a problem with my lenovo Thinkpad E440 Laptop. The laptop and brings the windows installed by default but I need to install linux and also have both systems on the machine. That said I do the preceded the installation of linux and I had not any problem, but when I restart the machine and choose the grub operating system Windows boots the system and everything but the picture does not give me good, I thought it was the d elinux version installed and that it had generated some conflict with windows but I got another and equally the same error, here I leave the image to see what I am talking about ....... you do not help me please.

    www.everydaylinuxuser.com/.../install-ubuntu-1404-alongside-windows.html

Maybe you are looking for