Solved

Whizzy control needed!

Posted on 2000-03-14
3
146 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month4 days, 17 hours left to enroll

636 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