Showing 3 moving dots at the end of a line (For example like: Copying files...) (WinForms/C#)

Hi,
I need to show 3 moving dots (indicating some task is going on) at the end of a label. Its in general, showing first dot, then 2 and then 3 and again back to one dot. How can I do this? Is this something like having a label and showing one dot in the beginning
and eventually showing more dots as the clock ticks (at a constant rate)?
Thanks in advance.
Thanks Prasad

Hi
Here is some VB code to do what you ask (only, it counts up to 6 dots)
Public Class Form1
Dim lbText As String = "This is some text"
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
With Me.Timer1
.Interval = 200
.Enabled = True
End With
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
Static c As Integer = 0
Select Case c
Case 0
Me.Label1.Text = lbText
Case 1
Me.Label1.Text &= " ."
Case 2, 3, 4, 5
Me.Label1.Text &= "."
Case Else
Me.Label1.Text &= "."
c = -1
End Select
c += 1
End Sub
End Class
Regards Les, Livingston, Scotland

Similar Messages

  • How to put dots at the end of dmee line instead of blanks?

    dear all,
    i have a question about dmee, one customer needs just a line in the dmee has dots at the end instead of blanks.
    This field has 36 chars. when it is filled with fpayh-zstra, the blank fields should be dots instead, and they want this just for a line, it should not effect the other lines.
    example;
    afi                         this is the current situation
    afi……………… this is what is expected.

    Is fpayh-zstra fixed length?
    Regarding DMEE Tree you have several options to do that.
    One way would be to use a conversion function
    There are other ways but let us know if you can do it with this one.

  • Where has the "Show more bookmarks" arrow on the end of the Bookmarks Toolbar gone?

    On previous versions of Firefox, when the window width is less than the amount required to show all your bookmarks on the Bookmarks Toolbar, you had a drop-down "Show more bookmark" arrow at the end of the toolbar to reveal them.
    However, in this new beta it's gone, and I can't find anywhere to bring this functionality back.
    (On the machine I'm writing this on, it still has Firefox 3 so I can see this feature, however on my Macbook Pro I've installed the latest version of the beta version, and it's not there)

    Some themes still keep it visible. FXChrome 5 for example. But by default, not sure. Can't seem to find any reference to it either in terms of userChrome.css

  • Is it possible to add a word at the end of a line?

    Hi, i'm searching a way to automatically add a word at the end of a certain paragraph styles?
    is it something possible doing by using a script?
    i don't script myself but if someone could find me a way to do this it would be really appreciated.
    Here's an example to what i need to do:
    i have paragraph style X in a current  book document, and i need to edit the book and add the copyright source at the end of every line that has the style X to it
    so i would need something that asks me
    the targeted paragraph style
    which word i want to append to it, and then apply it torough the document.
    Thanks in advance

    Yes, the screen shot shows where you got it wrong:
    function(){return A.apply(null,[this].concat($A(arguments)))}
    Find: (.)$
    and set your paragraph style in the find format area
    Change: $1XYZ
    where XYZ is the text you want to insert.
    .. you forgot the '1' right after the '$'. It's an important omission: "$1" is a GREP code, meaning "insert the found text, parenthesized group #1" -- and there is also a "$2", "$3", etc. up to "$9". It's great if you have to switch two, or even more, items around! But without the digit, the dollar sign indicates ... just a dollar sign.
    Change the Change to text to
    $1~S(CEMEQ)
    and you'll be fine.

  • The starting quote marks at the end of a line in my epub file are separated from the words quoted.

    The starting quote marks at the end of a line in my epub file are routinely separated from the word quoted which appears on the next line. The formatting contractor accurance.com who prepared this epub file tells me that this is a feature of Adobe Digital Edition 2.0 and that there is nothing they can do to correct this. Are they correct, or else how can this problem be overcome?

    I'm not sure about buying css style sheets. 
    You don't need one for each book; if you want to have a series of books all with the same general format,
    then they should all use the same style sheet on a given device, but maybe different style sheets for different devices.
    All the books will then have one consistent look on a given device, and a different consistent look on another device.
    ADE only runs on PCs and Macs.  There are lots of different ereader software apps out there for running on different devices.
    For a dedicated device, you are stuck with the reader the device provides.
    For tablets you can download different ereader apps, for example Bluefire (my favourite, ios, Android), Aldiko (android) and DReader and DL Reader (windows RT).
    I don't know if the readers/apps are derived from the same root as ADE in any way and likely to show similar bugs.
    If it is not DRM, you should certainly try on Calibre, which is the most popular (free) ereader app for computers.
    If you care to create a very short non DRM extract (complete with css) and post it somewhere on the web I'll have a quick look.
    If you have inclination to get more involved yourself,
    there is free software called sigil (https://code.google.com/p/sigil/) that will help you get off the ground and experiment.

  • How can I eliminate automatic "quotation marks" that are appearing at the end of each line?

    I keep getting "quotation marks" at the end of every line when I type. How can I eliminate these marks as they are even showing up when I print and I will not have on my wedding programs! Please help (from a desperate bride-to-be)!

    It sounds like you are using an East Asian font and unless you are issuing invitations in Chinese, Japanese, or Korean that doesn't sound like a good idea.
    Peter

  • Is it possible to export to PDF without a Return character at the end of every line?

    I am the author of a book whose first edition has been typeset and extensively amended in InDesign.  I now need to rewrite the first edition to produce a second edition.
    When I copy-and-paste from the PDF with which the publisher has supplied me into MS Word, I get a Return character at the end of every line, which means that text doesn’t automatically wrap and sentences are fragmented so that I get spurious grammar errors.
    I know that not all PDF files have a Return at the end of every line.  Is it possible to restrict Returns to the end of paragraphs when exporting from InDesign to PDF?  If so, what should the publisher be asking the typesetter to do?

    Thanks for your lightning-swift and helpful replies, Mike & Ellis.
    I don't have InDesign myself, so I know hardly anything about how it's used.  I'm just trying to research what an internationally-known publisher should already know how to do, but apparently doesn't!
    Following your suggestion, Mike, I have downloaded the trial version of Acrobat and exported the PDF to a Word file.  This has been moderately successful as there are far fewer spurious Return characters, just a few that I suspect may be hangovers from the typesetter having introduced soft returns in ID.
    As you've suggested Peter and Ellis, I'll suggest that the publisher asks the typesettter to export from ID to RTF and Text to see if that's even better.
    Message was edited 15:24 GMT by: AlanS5100

  • Is it possible to remove hyphens at the end of a line separating parts of a word? Thank you

    Hi there,
    I was wondering, Indesign automatically adds hyphens at the end of a line to join one part of the word with the next part (on the next line). Is there any way to get rid of this in my entire document so that indesign automatically puts the word on the next line rather than separating it with a hyphen? I've been going through it manually and correcting it but it's taking many hours.
    Let me know if it's not clear what I'm saying
    Many thanks

    LegitNZ wrote:
     I've been going through it manually and correcting it but it's taking many hours
    Ouch!  What you need to do is turn "hyphenating" off.  Select all your text and do it in the control panel like this:
    You can also turn it off before you start in the paragraph panel, or by turning it off with no documents open make it off by default.

  • How to delete a character at the end of each line in a file

    Hi
    How to remove a character or symbol at the end of each line in a file?
    I am having a file with every end of line conatins special chars @.
    I need to remove or delete that sysmbol from file.
    Regards

    JoeBorland wrote:
    File is large about above 20,000 lines.
    I need to find the optimum solution.
    Like reading a file and find the end of character and writing into a file.
    The above way is correct or any other way?Try it and see. Such a program will only be a dozen lines long.

  • Is there a way to restrict the cursor at the end of a line in the source code editor??

    In the source code editor, the cursor will always follow where I click. But I wanna restrict it at the end of a line, just like other text editors do. Is there a option or sth? I can't put up with it any longer.
    Solved!
    Go to Solution.

    Hello morphe!
    The source editor in the LabWindows/CVI environment is constructed under the concept of virtual space.
    At the moment, in the current version of LabWindows/CVI, this is the default behavior, which cannot be changed from the editor preferences dialogs.
    Best regards,
    - Johannes

  • I am unable to accept the end user licensing agreement for adobe reader on my mac.  How do I fix this.  I can not open any files.

    I am unable to open any pdf files because I have not accepted the end user licensing agreement for adobe reader.  I can not find the accept button.  I have a mac.

    What is your screen resolution?  Can you post a screenshot of what you see: https://forums.adobe.com/thread/1070933

  • Finding the end of a line in a JTextArea and inserting a comma

    Hi,
    At the moment I am reading in a comma delimited file into a JTextArea.
    This part is ok I can see the file in the window correctly.
    The problem that I am having now is that I want to add a comma to the end of each line in the JTextArea.
    Does anyone know how to do this?
    Thank you

    Well you have to get the String value of the JTextField.
    String text = YourJTextField.getText()
    Then you have to make a loop and check each single character if it equals '\n', that means "RETURN" or "NEW LINE".
    That is the direction I would go. Inform yourself about String manipulations first, like how to look for character, how to compare them and how to add them.

  • I have Adobe Reader XI with the package that allows me to send pdfs and convert pdfs to Word. When I open a pdf and try to search the search shows no matches even though the word I am searching for is in the document. Any suggestions how to search?

    I have Adobe Reader XI with the package that allows me to send pdfs and convert pdfs to Word. When I open a pdf and try to search the search shows no matches even though the word I am searching for is in the document. Any suggestions how to search?

    Once again, my thanks for your assistance. If I may impose on your generosity one more time, if I understand you correctly if I create a document on Word or WordPerfect, print it and scan it to create a pdf, the search function will not work. But, if I create the pdf document in Word the search function will work. Unfortunately, I am not sure how I create a pdf document in Word other than by printing it and scanning it. Could you please explain.
    William B. Kohn, Esq.
    General Counsel
    Paul V. Profeta & Associates, Inc.
    769 Northfield Avenue
    Suite 250
    West Orange, New Jersey 07052
    (973) 325 - 1300
    (973) 325 - 0376 (Facsimile)
    [email protected]<mailto:[email protected]>

  • TS1702 In pages, when I get to the end of a line, the text refuses to start again in the left, it continues on the right and goes down the page, anyone know a solution?

    In pages, when I get to the end of a line, the text refuses to start again in the left, it continues on the right and goes down the page, anyone know a solution?

    Does this occur in all of your Pages documents? Are you certain that you haven't formatted the type to run flush right? (Align right I mean - sorry old typographer lingo). Look at the ruler at the top and check the Align setting.
    Have you tried quitting Pages completely and the restart the iPad?
    Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • How to prevent inline bullets from falling at the end of a line?

    Okay, I am SURE the subject of my question is difficult to understand, so I will try to explain a little better below
    I am working on a catalog where the bullet points for items are all 'inline' and not each on their own line.
    Here is an example below:
    • bullet point one • bullet point two • bullet point three • bullet point four
    • bullet point five • bullet point six • bullet point seven • bullet point eight
    Now, once the item info is placed, the bullet points usually ends up running over several lines because some fo them can be rather long. Now, next to each of the sets of bullet points an image is placed with a text wrap (on the left side of the image only), so that the right side of the set of bullet points wraps to the image. What is happening in a lot of instances tho' is that the bullet point itself falls at the end of a line, and I want to know if there is anything I can do to prevent this from happening and have it rather carry over to the next line. Perhaps there is no way to do this, but I am SO hoping there is. What is so great about InDesign is that I have so far been able to (almost) make it do anything I need it to do:)
    So here is an example of what I wish to prevent from happening:
    • bullet point one • bullet point two •
    bullet point three • bullet point four •
    bullet point five • bullet point six •
    bullet point seven • bullet point eight
    so that it rather looks like this:
    • bullet point one • bullet point two
    • bullet point three • bullet point four
    • bullet point five • bullet point six
    • bullet point seven • bullet point eight
    SO HOPING that someone can come up with an easy solution:)
    Thank you in advance for your help,
    Christine

    Peter, thank you SO much...you actually answered my question and a big "DUH" just hit me like a hammer The text is simply being pasted in from a spreadsheet and I am manually adding bullet points using OPTION-8 kb shortcut (on a mac). Doing bullets the regular way (via the "Bullets and Numbering" accessible from the Paragraph panel) will not work in this case since they are inline.
    All I had to do was insert a non-breaking space instead of a regular space after each bullet. I am able to do this very quickly tho' because I am pasting in the bullets along with the non-breaking space. Thank you SO MUCH:)

Maybe you are looking for

  • I upgraded to Lion and can't watch videos and track pad is not working what can i do?

    I recently adquired my Iphone and wanted to sync all my information with my Ipad, Iphone & Mack Book Pro, but I had an older vertion in my Mack Book Pro wich I adquired on 2011, in order to sync with I clowd I needed to upgrade to Lion, I did that an

  • .llb file Lower Version Conversion

    Hi, Looking for some guidelines to convert the .llb file into lower versions of LabVIEW. The thing is we have an instrument driver project created using LabVIEW 8.6, containing public and private folders and some .mnu files as well. I can save the wh

  • Can't find palm tungsten isync hotsync conduit in leopard

    Attempting to sync my Palm Tungsten E2 with iCal & Address Book by USB but iSync can't set up when I attempt to Enable Palm Syncing. iSync Hotsync Conduit does not install and is not found on searching with Spotlight. Palm Hotsync works fine. Where i

  • Getting the top two dates

    I am using oracle 8i. I want to fetch the TOP two DISTINCT dates from the column. select * from t1 order by 1 desc; 16-OCT-07 16-OCT-07 06-OCT-07 06-SEP-07 06-SEP-07 10-AUG-07 07-AUG-07 06-AUG-07 04-AUG-07 16-JUN-07 13-JUN-07 20-JAN-05 19-JAN-05 16-J

  • Generate dynamic DataTable for Values selected from SelectManyListBox

    I want to generate a datatable for values selected in a selectManyListBox, DataTable will have three columns 1serial number 2.values selected from listbox 3.inputText for entering some data Plz guide me how can i do this... Thanx in advance!