realbasic-nug
[Top] [All Lists]

Re: Console App and print function same line

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Console App and print function same line
From: Norman Palardy <npalardy@great-white-software.com>
Date: Fri, 29 May 2009 17:23:17 -0600
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <E97A02B8-86ED-4E19-BD7C-CD48614E5D10@llnl.gov>
References: <E97A02B8-86ED-4E19-BD7C-CD48614E5D10@llnl.gov>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On 29-May-09, at 11:35 AM, Charles E. Heizer wrote:

Hello,
I have been experimenting and I cant figure out how to use the "Print" function to overwrite or just print to the same line. I'm trying to display a progress indicator.

probably have to write to stdout and draw a carriage return but no line feed
chrb(13) I believe

something like

  for i as integer = 1 to 10

    stdout.write chrb(13) + dots(i)

    wait(5)

  next

Function dots(n as integer) As String
  dim tmp as string
  for i as integer = 1 to n
    tmp = tmp + "."
  next
  return tmp
End Function

Sub wait(nsec as integer)
  dim t as integer = ticks + 60 * nsec

  while ticks < t
  wend

End Sub


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


From  Fri 29 May 2009 18:27:16 -0500 (CDT)
Delivered-To: listarchive@realsoftware.com
Received: by 10.220.95.149 with SMTP id d21cs793197vcn;
       Fri, 29 May 2009 16:28:29 -0700 (PDT)
Received: by 10.140.139.4 with SMTP id m4mr1678530rvd.213.1243639708247;
       Fri, 29 May 2009 16:28:28 -0700 (PDT)
Return-Path: <realbasic-nug-bounces@lists.realsoftware.com>
Received: from advanced107.inmotionhosting.com (advanced107.inmotionhosting.com 
[74.124.194.228])
       by mx.google.com with ESMTP id 5si2170755pzk.97.2009.05.29.16.28.27;
       Fri, 29 May 2009 16:28:28 -0700 (PDT)
Received-SPF: neutral (google.com: 74.124.194.228 is neither permitted nor 
denied by best guess record for domain of 
realbasic-nug-bounces@lists.realsoftware.com) client-ip=74.124.194.228;
Authentication-Results: mx.google.com; spf=neutral (google.com: 74.124.194.228 
is neither permitted nor denied by best guess record for domain of 
realbasic-nug-bounces@lists.realsoftware.com) 
smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Received: from localhost ([127.0.0.1] helo=advanced107.inmotionhosting.com)
        by advanced107.inmotionhosting.com with esmtp (Exim 4.69)
        (envelope-from <realbasic-nug-bounces@lists.realsoftware.com>)
        id 1MABTo-0001vI-OW; Fri, 29 May 2009 16:27:16 -0700
Received: from boundless.dns-defender.com ([69.65.40.13])
        by advanced107.inmotionhosting.com with esmtps (TLSv1:AES256-SHA:256)
        (Exim 4.69) (envelope-from <fargo@rpgportland.com>)
        id 1MABTm-0001v5-IS for realbasic-nug@lists.realsoftware.com;
        Fri, 29 May 2009 16:27:14 -0700
Received: from localhost ([127.0.0.1] helo=rpgportland.com)
        by boundless.dns-defender.com with esmtpa (Exim 4.69)
        (envelope-from <fargo@rpgportland.com>) id 1MABTn-0005vW-QE
        for realbasic-nug@lists.realsoftware.com;
        Fri, 29 May 2009 18:27:16 -0500
Received: from 24.20.159.142 ([24.20.159.142])
        (SquirrelMail authenticated user fargo@rpgportland.com)
        by rpgportland.com with HTTP; Fri, 29 May 2009 18:27:16 -0500 (CDT)
Message-ID: <60036.24.20.159.142.1243639636.squirrel@rpgportland.com>
In-Reply-To: <5705A3B2-18C6-4898-B15A-D038E6FCF693@jonoke.com>
References: <A17A9771-AC05-4DD4-9355-D79C4F2CB7DD@llnl.gov>
        <4967683E-7D70-404A-B42E-4E56CC115F53@declareSub.com>
        <7D671739-1ED5-4BFF-895E-5D13ED6F8134@llnl.gov>
        <C78EFECA-A846-442A-92D7-AC70C4DF3D2E@llnl.gov>
        <49243.198.107.160.143.1243618158.squirrel@rpgportland.com>
        <5705A3B2-18C6-4898-B15A-D038E6FCF693@jonoke.com>
Date: Fri, 29 May 2009 18:27:16 -0500 (CDT)
Subject: Re: OS compatibility issue?
From: fargo@rpgportland.com
To: "REALbasic NUG" <realbasic-nug@lists.realsoftware.com>
User-Agent: SquirrelMail/1.4.13
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
X-AntiAbuse: This header was added to track abuse,
        please include it with any abuse report
X-AntiAbuse: Primary Hostname - boundless.dns-defender.com
X-AntiAbuse: Original Domain - lists.realsoftware.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - rpgportland.com
X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: realbasic-nug@lists.realsoftware.com
X-Mailman-Version: 2.1.10
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces@lists.realsoftware.com
Errors-To: realbasic-nug-bounces@lists.realsoftware.com
X-AntiAbuse: This header was added to track abuse, please include it with any 
abuse report
X-AntiAbuse: Primary Hostname - advanced107.inmotionhosting.com
X-AntiAbuse: Original Domain - realsoftware.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lists.realsoftware.com

Hi,

I have an application built with RB2006R4 that communicates with
another application through TCP. The other application sends one or
more images that are converted with base64 to a string and sent in xml.

The problem has cropped up on a Windows 2008 server. When connecting
to this computer with remote desktop and running the applications the
first part of the xml transmission gets lost. The RealBasic
application only gets the tail end of the xml and therefore displays
an error since it can't process it.

The same applications on a Windows 2003 server work fine.

Is there a compatibility issue with RB 2006R4 applications and Windows
2008?

Is there a place to see what version of RB is required for different
operating systems? (I found the system requirements for running
current RB.)

Thanks,
Peter

Is it always the same bits of XML being lost in transmission?


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>