Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. WKiess

    time change

    Hi ttuser4, As I advised in my previous post VB has a Timer control. You can use this control to keep track of time manually. Here is a simple example. Create a new project. Put a label on the form (and call it Label1). Also add a Timer Control (Timer1). Change the Interval of the Timer control...
  2. WKiess

    time change

    My question to you is "How do you know the user has already changed the time when the program is first executed?". You're obviously testing for a time between Midnight and 7am (6:59). VB has a Timer event you could use to set up your own clock once the program is started, but if the user has...
  3. WKiess

    Refreshing window

    Depending on how many loops you do, it may be prudent to only perform the DoEvents say every 100th iteration as each call to DoEvents passes control back to Windows to do other stuff. If you're only doing 100 or 1000 Iterations it doesn't matter so much as you won't notice a significant slowing...
  4. WKiess

    MSCOMM-multiple cycles

    Hi, I've had problems with the Comm port once before and found that by setting all the setting BEFORE opening the comm port solved many issues. Give it a try. Regards, Walter
  5. WKiess

    Custom Message Box Problems

    I have struggled long and hard in the early days coming to grips with variable types and exactly these types of errors. since those early days, I now use "Option Explicit" in EVERY module to help prevent type errors. Also, when declaring variables, I use Hunagrian Notation, e.g. Dim lngIndex as...
  6. WKiess

    Printing characters to right or left

    Hi, I've had a similar problem. I am trying to show a memo field (using CR8.5 and ODBC connection into a D3 Database) but need to convert the VMs into CRLFs or spaces. (The maximum length of the field is currently 1195chars but is expected to grow further.) However, I cannot get the SQL...

Part and Inventory Search

Back
Top