Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista Tutorial - Update Textbox Problem

Reply
 
Old 08-27-2008   #1 (permalink)
timwynn
Guest


 
 

Update Textbox Problem

Hello!

I’m new to VB and need some help.

1st: I’m I posting to the correct group?

2nd: I have a small VB Form Program to do batch process for
converting files in ArcGIS. The processing works well but I need to
make enhancements.

I’m trying to do process monitoring via a textbox (TextBox5.Text). In
some parts of the code the textbox is updated and in other location it
is not. For example, in the Subs btnDoFBD_Click and
OutPutFolder_Click works but in the Main Sub this text box is not
being up dated. For example,

'Display next message in Message Center - this does not work
TextBox5.Text = Nothing
TextBox5.Text = "Proccessing...Please Wait..."

I understand that this code could be written more efficient and I’m
open to suggestion. I’ve pulled it together from example off Google
Groups and surprisingly it work. I don’t know which controls are best
used in which situation but would really like to learn.

Can someone tell me why this textbox is not being updated? Can you
tell me if there’s a better way to do Process Monitoring. I’ve
searched for examples of “Process Bar” but can not find any that I can
understand and implement. A good example would be helpful.

3rd: I have a Sub “btnDoFBD_Click” to input the data for this
process. I select the Input Folder via this Click event and display
the selected folder in TextBox3.Text = objPathIN and all works well
but TextBox3.Text is only for display. Is there another control that
will allow me to keyin the Input and/or select it from a button or
pull-down?

Thanks for your help in advance.

Tim

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
invalidate textbox .NET General
Comodo Firewall update addresses Windows Update problem Vista security
Comodo Firewall update addresses Windows Update problem Vista General
no textbox for password Vista account administration
Huge problem with security update kb935902 on Windows Update Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46