Solved

Whizzy control needed!

Posted on 2000-03-14
3
145 Views
Last Modified: 2010-05-02
Hello,

I have developed a utility for our operations team that serves as as a typical  'Explorer' style navigator that lets them track/complete actions on  batches of data that need to be loaded, processed, printed by our AS/400 application.

(It's Basicallymad up of  tree list & list view boxes).

As some of these 'steps' are merely initiated by the 'click' of a command button on the VB app -  the actual request is sent to the AS/400 app and is processed in the background, I need to add a control to the front end that will be periodically updated when AS400 jobs complete/fail etc.

I can return the necessary messages but would like to display them in a more appealing fashion than a run of the mill list box etc.

There must be fancy 'panel' or 'screen'  style control that would be suitable.
Perhaps something that will allow me to load the messages 'ticker tape' style (scrolling right to left).

I am open to suggestions though so all 'creative input' would be greatly appreciated.

50 points for the best looking solution.

Cheers,

Gareth

London

 
0
Comment
Question by:G_Evans
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Expert Comment

by:wsh2
ID: 2616767
Well.. I don't know about creative.. how about simple.. making a listbox scroll.. <smile>.

<----- Code Begin ----->

List1.AddItem (strMessage)
List1.Selected(List1.ListCount - 1) = True
If List1.ListCount >= 50 _
Then
    List1.RemoveItem (0)
End If

<----- Code End ----->

This is the basis.. you can embellish from there.
0
 

Accepted Solution

by:
Dotar_Sojat earned 50 total points
ID: 2618433
Try this using a textbox of about 20 characters in length and a timer on a form...  You can add error messages to the end of the string using & and a space buffer to separate them.
  You can set the backcolor and forecolor of the text box to whatever you prefer. Here it is set up with a black background and a green foreground to make an LED effect.  If you want, you could even hunt up a dot-matrix style font to add to it.  Set the timer interval to however fast you would like it to run.  The way it is set here adds a character every 200 milliseconds.

---------------------------------------
Option Explicit
     Dim gstrTextScroll As String
Private Sub Form_Activate()
    gstrTextScroll = "Hey!  I'm scrolling!   "
With Text1
    .Text = Space(20)
    .BackColor = vbBlack
    .ForeColor = vbGreen
    .Font.Name = "Terminal"
End With
    Timer1.Interval = 200
End Sub
Private Sub Timer1_Timer()
    Static intTextPos As Integer
    intTextPos = intTextPos + 1
    If intTextPos = Len(gstrTextScroll) Then intTextPos = 1
   
    Text1.Text = Text1.Text & Mid(gstrTextScroll, intTextPos, 1)
    If Len(Text1.Text) > 20 Then Text1.Text = Right(Text1.Text, Len(Text1.Text) - 1)
   
End Sub
---------------------------------------
0
 

Author Comment

by:G_Evans
ID: 2623243
Cheers,

I have implemented your solution and we roll out the application next week!

Cheers,

Gareth London
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question