Disabling comboboxes after a certain limit has been met

I have 4 comboboxes called:
cboOption1 
cboOption2 
cboOption3 
cboOption4
Each of them can have one of 2 values, either 10 or 20 points, which the user selects from a drop down. However, the user can only select a maximum of 40 points across all drop downs, after which the remaining dropdowns that follow will be disabled.
E.g. 1
cboOption1 = 20
cboOption2 = 20
Then
cboOption3.Enabled = False
cboOption3.Enabled = False 
E.g. 2
cboOption1 = 10
cboOption2 = 20
cboOption3 = 10
Then
cboOption4.Enabled = False 
E.g. 3
cboOption1 = 10
cboOption2 = 10
cboOption3 = 10
cboOption3 = 40
Then
None disabled.
My problem
The difficulty I'm experiencing at the moment is figuring out how to flick the comboboxes on/off in response to user input. This is my code so far, it doesn't seem to be working too well, any idea how I can improve it.
Code so far
Sub checkTotal(var1, var2, var3, var4, total)
so1 = Int(var1)
so2 = Int(var2)
so3 = Int(var3)
so4 = Int(var4)
total = Nz(so1, 0) + Nz(so2, 0) + Nz(so3, 0) + Nz(so4, 0)
If total > 40 And (so1 = "20" Or so2 = "20" Or so3 = "20" Or so4 = "20") Then
cboOption3.Value = ""
cboOption3.Enabled = False
cboOption4.Value = ""
cboOption4.Enabled = False
End If
MsgBox total
End Sub
Private Sub cboOption1_Change()
Call checkTotal(cboOption1.Column(1), cboOption2.Column(1), cboOption3.Column(1), cboOption4.Column(1), so1RunningTotal)
End Sub
Private Sub cboOption2_Change()
Call checkTotal(cboOption1.Column(1), cboOption2.Column(1), cboOption3.Column(1), cboOption4.Column(1), so1RunningTotal)
End Sub
Private Sub cboOption3_Change()
Call checkTotal(cboOption1.Column(1), cboOption2.Column(1), cboOption3.Column(1), cboOption4.Column(1), so1RunningTotal)
End Sub
Private Sub cboOption4_Change()
Call checkTotal(cboOption1.Column(1), cboOption2.Column(1), cboOption3.Column(1), cboOption4.Column(1), so1RunningTotal)
End Sub

Hi Methuselah,
You are using VB6, it is antique, that while it needs a license to use and to deploy programs from.
There is currently at Microsoft a complete community 2013 version of the latest version of VB (VB12 also named VB2013), why not try that one.
You can use it free and deploy the programs you've made with it.
http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
It is bellow the 90 day versions and then the community one.
Success
Cor

Similar Messages

  • Msg 8631 Internal error: Server stack limit has been reached on SQL Server 2012 from T-SQL script that runs on SQL Server 2008 R2

    I have an Script mostly that is generated by SSMS which works with-out issue on SQL Server 2008, but when I attempt to run it on a new fresh install of SQL Server 2012 I get an Msg 8631. Internal error: Server stack limit has been reached. Please look for
    potentially deep nesting in your query, and try to simplify it.
    The script itself doesn't seem to be all that deep or nested.  The script is large 2600 lines and when I remove the bulk of the 2600 lines, it does run on SQL Server 2012.  I'm just really baffled why something that SQL Server generated with very
    few additions/changes AND that WORKS without issue in SQL Server 2008 R2 would suddenly be invalid in SQL Server 2012
    I need to know why my script which is working great on our current SQL Server 2008 R2 servers suddenly fails and won't run on an new SQL Server 2012 server.  This script is used to create 'bulk' Replications on a large number of DBs saving a tremendous
    amount of our time doing it the manual way.
    Below is an 'condensed' version of the script which fails.  I have removed around 2550 lines of specific sp_addarticle statements which are mostly just copy and pasted from what SQL Management Studio 'scripted' for me went I when through the Replication
    Wizard and told it to save to script.
    declare @dbname varchar(MAX), @SQL nvarchar(MAX)
    declare c_dblist cursor for
    select name from sys.databases WHERE name like 'dbone[_]%' order by name;
    open c_dblist
    fetch next from c_dblist into @dbname
    while @@fetch_status = 0
    begin
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 2400 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script =
    null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509F, @identityrangemanagementoption = N''manual'', @destination_table = N''TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false'', @ins_cmd = N''CALL sp_MSins_dboTABLE_ONE'',
    @del_cmd = N''CALL sp_MSdel_dboTABLE_ONE'', @upd_cmd = N''SCALL sp_MSupd_dboTABLE_ONE''
    EXEC sp_executesql @SQL
    SET @dbname = REPLACE(@dbname, 'dbone_', 'dbtwo_');
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 140 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''DB_TWO_TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''DB_TWO_TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script
    = null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509D, @identityrangemanagementoption = N''manual'', @destination_table = N''DB_TWO_TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false''
    EXEC sp_executesql @SQL
    fetch next from c_dblist into @dbname
    end
    close c_dblist
    deallocate c_dblist
    George P Botuwell, Programmer

    Hi George,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    If you have any feedback on our support, please click
    here.
    Allen Li
    TechNet Community Support

  • How do you get your photos, apps etc. from the iCloud after your iPhone 5 has been set up at the AT

    How do you your get your apps, photos, etc,  from iCloud after your iPhone 5 has been set up at the AT&T store?

    http://support.apple.com/kb/HT4859

  • Capacity limit has been reached

    Hi Team,
    When we run a payment proposal through F110 its internally triggering Function module FI_PAYM_XML_WRITE,
    Through the transfer statement in the function module its placing the data in the designated path of application server
    (The folder is located on windows machine not on Unix machine).
    Some times its successfully placing the file and some time we are getting the SHORT DUMP as “capacity limit has been reached”,
    We already checked with our Basis team, they are telling that folder has  4.8gb more free space, so there should not space issue.
    Please let us know how to correct this.
    Thanks & Regards,
    Phani Kumar

    Hi Glen Anthony,
    I Checked the point with the Basis team, there is no restriction on the file size and we have more than sufficient space to place the fiel.
    Hi Max Bianchi,
    Below is the run time analysis, Please let me know how to correct the error.
    Runtime Errors         DATASET_WRITE_ERROR
    Short text
        Error when writing to the file "/nfs/SAPP/PIN/out/BDDPTA2BNP1467".
    What happened?
        Resource bottleneck
        The current program "SAPLDMEE5" had to be terminated because
        a capacity limit has been reached.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_FILE_IO', was not caught in
        procedure "FI_PAYM_XML_WRITE" "(FUNCTION)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        An error occurred when writing to the file "/nfs/SAPP/PIN/out/BDDPTA2BNP1467".
        Error text: "Missing file or filesystem"
        Error code: 52
    And error is occuring at transfer statement in the std function module
    FI_PAYM_XML_WRITE.
    Thanks,
    Phani Kumar

  • Need to find all clips to which a certain filter has been applied

    Other than going through the entire timeline and opening each of my clips in the viewer, is there a way to determine all the clips on the timeline to which a certain filter has been applied?
    Thanks,
    John Link

    Not really John, at least not that I can think of off the top of my head ... but you can make the task easier by changing your Playhead Sync mode to Open (View menu > Playhead Sync > Open) that way you can zip through the timeline and as the playhead moves from clip to clip it will automatically open the clip under the playhead into the Viewer window. If you set the Viewer window so that it is showing the Filters tab then you can pretty easily see at a glance whether a specific filter is applied on a specific clip.
    Or, if there are no other filters applied, then you can turn on the timeline's Clip Keyframe overlays (toggle on/off with Option T) ... wherever you see a green line displayed then you know that a filter is applied.

  • I have been successfully download Aps from CC, but it is stuck at 90% on after effects.  It has been stuck since last night.  I am on a Mac.

    I have been successfully downloading Aps from CC, but it is stuck at  90% on after effects.  It has been stuck since last night.  I am on a Mac.

    Jonellel53796317 I would recommend reviewing the installation logs for the update which is failing to apply. You can find details on how to locate and interpret the installation log files at Troubleshoot install issues with log files | CC.  You are welcome to post any specific errors you discover to this discussion.

  • How can we send workitem after Po approval decision has been taken by appro

    Hi.
    How can we send workitem after Po approved decision has been taken by approver1 to approver2 in the same flow?
    Regards,
    Chow.

    Some kind requests from a user who is of a different opinion:
    Please create one thread for each different question, with a precise thread subject. It will make it easier to search for previously answers to the question someone has, and it will help keep each thread short.
    Please do not introduce new questions on an entirely different topic in an existing thread.
    Please always check if your answer has been answered already before you start a new thread.
    Please do not ask the same question twice just because you did not receive an answer when you asked it first. Post a follow-up to your first thread if you want to make everyone aware that you are still looking for help to solve your problem.
    Please mark questions as answered when you either have reiceived the answer, or solved the problem. It is also nice if you leave a little comment about how the problem was solved.
    I guess that was all for today...

  • My iphone 4 won't connect to my apple  id account it keeps saying that my account limit has been reached

    my iphone 4 won't connect to my apple  id account it keeps saying that my account limit has been reached

    you can only use your apple id on 10 devices, so if you have signed into devices, and not signed out, that would be your problem

  • Please help! I just sync my notes to icloud of my ipad mini but after that all notes has been covered by iphone's and all notes are missing from iPad,how could i restore it?

    Please help! I just sync my notes to icloud of my ipad mini but after that all notes has been covered by iphone's and all notes are missing from iPad,how could i restore it?

    It's very possible that you did just as you suspect. One of the later Note file over wrote the one stored on your iPad when you synced.
    When one does a sync of their iPad a backup of the iPad is created first. If that backup was still available you might be able to find the Note file there. But more than likely, if you are letting the iPad and iPhones sync on their own over Wi-Fi you have over written that back up as well.

  • How do I reinstall Indesign after my hard drive has been deleted?

    How do I reinstall Indesign after my hard drive has been deleted?

    After getting a hard drive back in working order you can either reinstall the software using the disks if you purchased disks, or you can download your software as a trial version and use your original serial number to activate it. 
    If the software is the latest version you can download it from Adobe's product pages. 
    If the software is an older version you can download the trial version of the software using the link below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site.
    http://prodesigntools.com/tag/ddl

  • My PC can't sleep after Premiere pro CS6 has been invoked, even if it has been closed

    My PC can't sleep after Premiere pro CS6 has been invoked, even if it has been closed. I think this is true also for Photoshop.
    It fell asleep and immediatly awakes.

    You MAY have a corrupted preferences file
    Reset Corrupted Preferences = Press/HOLD Ctrl+Alt+Shift while starting program
    -except delete file in P6 http://forums.adobe.com/message/4644893
    -and setting http://forums.adobe.com/thread/1058426?tstart=0

  • [svn] 650: Prevent potential NPEs from wait' ed long poll requests whose threads exit after the underlying endpoint has been stopped by a separate thread .

    Revision: 650
    Author: [email protected]
    Date: 2008-02-25 16:55:13 -0800 (Mon, 25 Feb 2008)
    Log Message:
    Prevent potential NPEs from wait'ed long poll requests whose threads exit after the underlying endpoint has been stopped by a separate thread.
    Bugs: BLZ-65 - Long-polling clients trigger NPE on server shutdown.
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-65
    Modified Paths:
    blazeds/trunk/modules/core/src/java/flex/messaging/endpoints/BasePollingHTTPEndpoint.java

    Hi,
    Looks like you're using BDB, not BDB JE, and this is the BDB JE forum. Could you please repost here?:
    Berkeley DB
    Thanks,
    mark

  • How to check remotely that a PC has been restarted after Labview Runtime 2011 has been installed on it?

    Hello,
    I am deploying a Labview 2011 application on 150 XP-machines in various plants worldwide. Currently all machines still have an old Labview 8.21 runtime (+old DAQmx). I have sent a procedure to my colleagues in the plants so that they install the new runtime (+ new DAQmx). On my side I have built a code to check from my Pc if a certain registry key is present on the 150 PCs which tells me that the new installer ran or not.
    The key that I found is:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\Installer\Products\1C5E801AE54C4AE43A59FC169F95CA28]
    "ProductName"="NI-DAQmx MAX Configuration Support 9.3.5"
    "PackageCode"="61EEAEC207A28A842B3341ED6809453D"
    "Language"=dword:00000009
    "Version"=dword:0923c001
    "Assignment"=dword:00000001
    "AdvertiseFlags"=dword:00000184
    "InstanceType"=dword:00000000
    "AuthorizedLUAApp"=dword:00000000
    "Clients"=hex(7):3a,00,00,00,00,00
    This works well but it does not tell me that the PC has restarted after the installer has been run. If I do not restart the PC and try to execute my Labview 2011 executable I get a long error message (NIDAQmx not registered,...).
    As it seems difficult to get the properties of a key to know when it was installed I was rather leaning towards checking if a certain DLL (?) has been registered or not. But it is just a vague idea and I do not know how to put that in place.
    I am attaching the current code that I have and that works well but cannot make the difference between Labview 2011 runtime installed and PC restarted or not.
    Thanks for the help
    Christophe
    Solved!
    Go to Solution.
    Attachments:
    Check Remote Registry Key.vi ‏45 KB

    You might look for a file that would be created as part of installation to determine the install date/time (ini or other support file created as part of runtime install)
    Combine that with a query of the station's uptime and you could calculate if the station has been up longer than the time since the install. Not perfect, but should be possible...
    http://en.wikipedia.org/wiki/Uptime#Using_WMI
    wmic /node:"my-server" os get lastbootuptime
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Firefox does not work after update, all troubleshooting has been completed. Nothing can be clicked, not even the options in firefox.

    I am unable to use firefox after the latest update. All troubleshooting methods listed on the website has been tried. I am unable to click anything in the firefox, tabs don't work, options don't work, unable to launch diagnotics, help or anything from firefox. Basically, I am unable to access anything within firefox.

    Did you try a new profile?
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 23: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you lose personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Reconnecting to AMF channel after connection with BlaseDS has been lost

    Hi there,
    I am beginner to flex and I have a problem with to login after the connection to the BlaseDS has been lost.
    Setup:
    The flex client calls a HelloWorld Java service exposed using spring-flex.  This service is called when the user hit the Hello World button on the UI.  The channel set on which this service is exposed is secured and for now we will resort to programmatic authentication.  (The user does is not required to input his username and password, just to simplify it a bit). 
    As a client framework Cairngrom is used and an appriopriate delegate is setup to handle the remote object call.
    Here is a snippet from the HelloWorld delegate class called after the user hits the Hello World button.  
              public function getHelloWorldMessage():void{
                if(!__service.channelSet.authenticated){
                    var token:AsyncToken = __service.channelSet.login("username", "password");
                    token.addResponder(new AsyncResponder(
                        function(event:ResultEvent, token:Object = null):void {
                            Alert.show("You are logged in", "Login");
                            // Send the amf request to the backend.
                            var token2:AsyncToken = __service.getHelloWorld();
                            // Add the responder.
                            token2.addResponder(__responder);
                        function(event:FaultEvent, token:Object = null):void {
                            Alert.show("You are NOT logged in", "Login");
                }else{
                    // Send the http request.
                    var token2:AsyncToken = __service.getHelloWorld();
                    // Add the responder.
                    token2.addResponder(__responder);
    The __service is the Hello World service has been defined as follows.
    <mx:RemoteObject id="helloWorldServiceRemoteObject" destination="helloWorldService" channelSet="{helloWorldChannels}"/>
    <mx:ChannelSet id="helloWorldChannels" >
            <mx:AMFChannel uri="http://localhost:8080/helloworldservice-war-1.0.0.SNAPSHOT/messagebroker/amf/" />       
    </mx: ChannelSet>   
    What happens:
    User clicks on the Helloworld, the program hits the getHelloWorldMessage and the ChannelSet.login("username", "password") is called.   The channelset authentication flag is set to true, and the _authAgent present in the ChannelSet class which was previously null is set
    The success handler is called and the secured spring function returns the "Hello World" message.  
    I restart the BlaseDS server to simulate an intermittent connection.
    Now the user clicks on Hello World button again and recieves an error since the authentication flag is still set to true there is no attempt to login again.
    The following FaultEvent is caught
    faultCode=Client.Authentication
    faultString=An Authentication object was not found in the SecurityContext
    The user reclicks the Hello World button this time however the ChannelSet.authenticated  is set to false and the client code attempts to reconnect however fails.  The snippet below is an extract from the ChannelSet.as, when the user reclicks, the second condition is met and the  IllegalOperationException with error message "ChannelSet is in the process of logging in or logging out."  is thrown.  The condition is met since the _authAgent is not null. 
    public function login(username:String, password:String, charset:String=null):AsyncToken
            if (authenticated)
                throw new IllegalOperationError("ChannelSet is already authenticated.");
            if ((_authAgent != null) && (_authAgent.state != AuthenticationAgent.LOGGED_OUT_STATE))
                throw new IllegalOperationError("ChannelSet is in the process of logging in or logging out.");
            if (charset != Base64Encoder.CHARSET_UTF_8);
                charset = null; // Use legacy charset, ISO-Latin-1.
    Does someone have any ideas as to how to resolve this?

    Hi. That sounds like a bug to me. What version/build of BlazeDS are you using? I'd try this out with the latest (nightly) BlazeDS 3.x or BlazeDS trunk build and see if it's still an issue. If it's still an issue you can log a bug at http://bugs.adobe.com/blazeds. I'd think that after getting the authentication error the state of _authAgent would be set to the logged out state but that doesn't seem to be the case.
    You may be able to manually reset it for the time being. Maybe try calling ChannelSet.logout() in your fault handler and see if that does it.
    -Alex

Maybe you are looking for