Click here to Skip to main content
16,006,531 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Hiding of containing class property Pin
kumarprabhakar747-Mar-06 23:12
kumarprabhakar747-Mar-06 23:12 
AnswerRe: Hiding of containing class property in propertyGrid Pin
Dave Kreskowiak8-Mar-06 2:51
mveDave Kreskowiak8-Mar-06 2:51 
QuestionUnicode supporting String functions in VB Pin
sp_ranjan7-Mar-06 22:15
sp_ranjan7-Mar-06 22:15 
AnswerRe: Unicode supporting String functions in VB Pin
Chandana Subasinghe7-Mar-06 23:57
Chandana Subasinghe7-Mar-06 23:57 
GeneralRe: Unicode supporting String functions in VB Pin
sp_ranjan8-Mar-06 17:09
sp_ranjan8-Mar-06 17:09 
AnswerRe: Unicode supporting String functions in VB Pin
Dave Kreskowiak8-Mar-06 4:43
mveDave Kreskowiak8-Mar-06 4:43 
Questionsynclock problem Pin
blucas20057-Mar-06 21:12
blucas20057-Mar-06 21:12 
AnswerRe: synclock problem Pin
Dave Kreskowiak8-Mar-06 4:42
mveDave Kreskowiak8-Mar-06 4:42 
You don't need to use Timers for this at all.

All you need is a couple of methods that adjusts the Opacity of the form, and a couple of things to support them:
' Form1 code
Imports System.Threading
.
.   FadeUpTo(100)
.
.   FadeDownTo(0)
.
Private Sub FadeUpTo(ByVal maxOpacity As Integer)
    For i As Integer = OpacityInt32 To maxOpacity Step 5
        SetOpacityAndWait(i)
    Next
 
Private Sub FadeDownTo(ByVal minOpacity As Integer)
    For i As Integer = OpacityInt32 To minOpacity Step -5
        SetOpacityAndWait(i)
    Next
End Sub
 
Private Sub SetOpacityAndWait(ByVal opacity As Integer)
    Opacity = i / 100.0
    Application.DoEvents()
    Thread.Sleep(35)
End Sub
 
Private ReadOnly Property OpacityInt32() As Integer
    Get
        Return Fix(Opacity * 100)
    End Get
End Property



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionRemote task manager Pin
x86phre3x7-Mar-06 20:34
x86phre3x7-Mar-06 20:34 
AnswerRe: Remote task manager Pin
Dave Kreskowiak8-Mar-06 0:37
mveDave Kreskowiak8-Mar-06 0:37 
GeneralRe: Remote task manager Pin
x86phre3x8-Mar-06 3:50
x86phre3x8-Mar-06 3:50 
GeneralRe: Remote task manager Pin
Dave Kreskowiak8-Mar-06 4:31
mveDave Kreskowiak8-Mar-06 4:31 
QuestionChange VB form Color Pin
V.Sugan7-Mar-06 20:20
V.Sugan7-Mar-06 20:20 
AnswerRe: Change VB form Color Pin
Dave Kreskowiak8-Mar-06 0:32
mveDave Kreskowiak8-Mar-06 0:32 
GeneralRe: Change VB form Color Pin
Tank528-Mar-06 15:06
Tank528-Mar-06 15:06 
GeneralRe: Change VB form Color Pin
Dave Kreskowiak8-Mar-06 16:01
mveDave Kreskowiak8-Mar-06 16:01 
QuestionTrue DBGrid in vb 6.0 Pin
noshaba mariam7-Mar-06 16:35
noshaba mariam7-Mar-06 16:35 
AnswerRe: True DBGrid in vb 6.0 Pin
Dave Kreskowiak7-Mar-06 17:24
mveDave Kreskowiak7-Mar-06 17:24 
GeneralRe: True DBGrid in vb 6.0 Pin
noshaba mariam7-Mar-06 23:05
noshaba mariam7-Mar-06 23:05 
GeneralRe: True DBGrid in vb 6.0 Pin
Dave Kreskowiak8-Mar-06 0:23
mveDave Kreskowiak8-Mar-06 0:23 
Questioninserting image in sql server 2000 Pin
uglyeyes7-Mar-06 13:05
uglyeyes7-Mar-06 13:05 
AnswerRe: inserting image in sql server 2000 Pin
Steve Pullan7-Mar-06 13:41
Steve Pullan7-Mar-06 13:41 
GeneralRe: inserting image in sql server 2000 Pin
uglyeyes7-Mar-06 17:30
uglyeyes7-Mar-06 17:30 
Questionmultiple web chart in a data repeater. Pin
uglyeyes7-Mar-06 11:51
uglyeyes7-Mar-06 11:51 
AnswerRe: multiple web chart in a data repeater. Pin
Dave Kreskowiak7-Mar-06 13:53
mveDave Kreskowiak7-Mar-06 13:53 

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.