473,238 Members | 1,794 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,238 software developers and data experts.

VB Kiosk

I am trying to make a VB .Net Kiosk which will
automatically scroll through an RTF file. I can load the
RTF file into a RichTextBox but so far I haven't been able
to get the application to continuously scroll through the
file and start over when it get to the end of the file.
Any ideas on how to automatically scroll a RichTextBox? Is
there a better way to do this (in Vb.net or ASP.Net)?

Nov 20 '05 #1
2 2962
Rather than trying to get the RichTextBox itself to scroll, try this:

Poor man's scrolling:

1) Put the RichTextBox in a Panel.
2) Set the height of the RichTextBox so that all of the document text
fits without scrolling. (Yes, even if it makes the RichTextBox huge, bigger
than the panel or form it's in)
3) Use a Timer control, and in Timer_Tick, experiment with moving the
RichTextBox. To move up -> RichTextBox.Top = RichTextBox.Top - 5, or
whatever you want. Test if the RichTextBox is out of view to cycle it back
to the bottom -> If (RichTextBox.Top + RichTextBox.Height < 0) Then ...

Hope that helps.

Erik

"Brian J" <br*************@eds.com> wrote in message
news:33****************************@phx.gbl...
I am trying to make a VB .Net Kiosk which will
automatically scroll through an RTF file. I can load the
RTF file into a RichTextBox but so far I haven't been able
to get the application to continuously scroll through the
file and start over when it get to the end of the file.
Any ideas on how to automatically scroll a RichTextBox? Is
there a better way to do this (in Vb.net or ASP.Net)?

Nov 20 '05 #2
"Erik Frey" <er*******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Rather than trying to get the RichTextBox itself to scroll, try this:

Poor man's scrolling:


The need for "poor man's" scrolling has been eliminated with the advent of
the AutoScroll property, check it out.

~
Jeremy

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: clintonG | last post by:
Your comments or referrals to documents regarding authoring for kiosk mode configuration are wanted and appreciated. How for example must authoring be conducted to display a browser maximized...
0
by: Jon Monteleone | last post by:
Greetings, I posted a few days back and didnt get much of a response, so I figured I would post again with more detail. I am running gnome under fedora core 4. I want a kid to be able to drop a...
0
by: Honey_love | last post by:
I want to develop an internet cafe application that i want to start up in kiosk mode.how do i do this ?
4
by: Simon Verona | last post by:
I'm looking to build a "kiosk" style of application in vb.net (using winforms)... Writing the application itself is no problem. What I want to do though is have the PC set so that the...
0
by: groves | last post by:
Have a client who wants a kiosk-type application to show local weather images (like radar animations) and scrolling text across the screen. This will be broadcast on a television station. We...
3
by: Jason Boardman | last post by:
hi, i am contemplating writing an application in vb6 that will be used in a public/kiosk type of operation. there will be a keyboard available on the station so i was wondering what are the best...
7
by: carlynor | last post by:
I am working on a client project that has a requirement where, - if a user clicks a button it launches into full kiosk mode, no toolbars etc..... I've seen many examples out there, seperately...
1
by: Lee | last post by:
Hi- I am QA'ing a kiosk application using IE6 and a touchscreen. If the user 'drumrolls' his fingers over multiple links very quickly the web page does not navigate and effectively freezes. I...
1
by: VanitaJamadar | last post by:
Hi All, Could you please let me know the best practises in the desing of Kiosk screens using VB.NET. Tips on getting the screen loaded without flicker etc... Thanks.
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.