473,409 Members | 2,063 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,409 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 2971
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.