Click here to Skip to main content
15,885,309 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help making a listbox appear when I write something Pin
Fade (Amit BS)24-Oct-04 19:10
Fade (Amit BS)24-Oct-04 19:10 
GeneralRe: Help making a listbox appear when I write something Pin
Rylogy25-Oct-04 11:12
Rylogy25-Oct-04 11:12 
GeneralHelp modifying text Pin
Rylogy23-Oct-04 3:06
Rylogy23-Oct-04 3:06 
GeneralRe: Help modifying text Pin
Dennis C. Dietrich23-Oct-04 4:21
Dennis C. Dietrich23-Oct-04 4:21 
GeneralRe: Help modifying text Pin
Rylogy23-Oct-04 4:26
Rylogy23-Oct-04 4:26 
GeneralRe: Help modifying text Pin
Rylogy23-Oct-04 4:33
Rylogy23-Oct-04 4:33 
GeneralRe: Help modifying text Pin
Rylogy23-Oct-04 4:39
Rylogy23-Oct-04 4:39 
GeneralHalt Sequence Pin
Red Sunday22-Oct-04 11:28
Red Sunday22-Oct-04 11:28 
I'm trying to find a safe way to put a delay of 4 seconds in my code in VB 6.0 (NOT .NET). This is the code I have:

Public Sub Wait()
i As Integer
Halt = 4
Dim LTime
LTime = Timer()
While Timer() - LTime < Halt
i = 1
Wend
End Sub
This works great except for one problem. If I am running a form, press a button that calls this function, and then close the form before this function is completed, the visual of the button is corrupted. Basically, when the draw window is called (IE with a form.show call), the button shows through to the background and saves that image at its interface. IE If I have a word doc behind it, close the form with wait in progress, and form.show the form, it will bleed through with the button with whatever text is in the box of the button. How do I fix this?Confused | :confused:

Thank you,
Red Sunday

-----------------
http://www.zachcalvert.com
GeneralRe: Halt Sequence Pin
Dennis C. Dietrich22-Oct-04 13:01
Dennis C. Dietrich22-Oct-04 13:01 
GeneralRe: Halt Sequence Pin
Fade (Amit BS)24-Oct-04 19:21
Fade (Amit BS)24-Oct-04 19:21 
GeneralDatatable copy Pin
cooldev22-Oct-04 11:27
cooldev22-Oct-04 11:27 
GeneralRESTRICTING WEBSITE ON IE Pin
MalikRizwan22-Oct-04 7:12
MalikRizwan22-Oct-04 7:12 
GeneralMath Operators Pin
Desi Bravo22-Oct-04 6:47
Desi Bravo22-Oct-04 6:47 
GeneralRe: Math Operators Pin
Colin Angus Mackay23-Oct-04 14:09
Colin Angus Mackay23-Oct-04 14:09 
GeneralRe: Math Operators Pin
Desi Bravo23-Oct-04 15:03
Desi Bravo23-Oct-04 15:03 
GeneralDisplaying photo from access Pin
stevemwangi22-Oct-04 5:22
stevemwangi22-Oct-04 5:22 
GeneralRe: Displaying photo from access Pin
mmcdonald22-Oct-04 9:05
mmcdonald22-Oct-04 9:05 
GeneralCommunication Pin
Daminda21-Oct-04 18:22
Daminda21-Oct-04 18:22 
GeneralRe: Communication Pin
Ray Cassick21-Oct-04 18:47
Ray Cassick21-Oct-04 18:47 
GeneralArrays and Converting String to Double Pin
ConfusedStudent21-Oct-04 16:08
ConfusedStudent21-Oct-04 16:08 
GeneralRe: Arrays and Converting String to Double Pin
Ray Cassick21-Oct-04 18:51
Ray Cassick21-Oct-04 18:51 
GeneralRe: Arrays and Converting String to Double Pin
ConfusedStudent24-Oct-04 13:45
ConfusedStudent24-Oct-04 13:45 
GeneralRe: Arrays and Converting String to Double Pin
Ray Cassick24-Oct-04 14:11
Ray Cassick24-Oct-04 14:11 
GeneralHelp Please - Get the source code Pin
tdaigs21-Oct-04 14:31
tdaigs21-Oct-04 14:31 
GeneralOracleClient Connection Strings Pin
sdornan21-Oct-04 10:49
sdornan21-Oct-04 10:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.