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

Visual Basic

 
QuestionHow to use Inheritance in VB 6.0 Pin
anant iyer18-Mar-06 10:35
anant iyer18-Mar-06 10:35 
AnswerRe: How to use Inheritance in VB 6.0 Pin
Dave Kreskowiak18-Mar-06 12:08
mveDave Kreskowiak18-Mar-06 12:08 
QuestionWindows Forms Pin
newtwales18-Mar-06 8:54
newtwales18-Mar-06 8:54 
AnswerRe: Windows Forms Pin
CWIZO18-Mar-06 9:55
CWIZO18-Mar-06 9:55 
AnswerRe: Windows Forms Pin
Dave Kreskowiak18-Mar-06 12:07
mveDave Kreskowiak18-Mar-06 12:07 
GeneralRe: Windows Forms Pin
HaloZa19-Mar-06 8:13
HaloZa19-Mar-06 8:13 
GeneralRe: Windows Forms Pin
Dave Kreskowiak19-Mar-06 12:27
mveDave Kreskowiak19-Mar-06 12:27 
QuestionThe mysterious Desktop redraw. Pin
Pascal Ganaye18-Mar-06 7:56
Pascal Ganaye18-Mar-06 7:56 
I noticed that when I run some Dotnet programs the icons in the background (XP desktop) flicker regularly.

I tried to find out what is happening and I managed to reproduce the problem with five lines of codes.

I hopesomeone will be kind enough to test that on their machine and tell me if they reproduce it or not.

You just need to
1 - create a new Windows Forms application.
2 - add a numericupdown control in the middle of the form
3 - set the numericupdown1 maximum to 1000
4 - Add this code:
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
   For i As Integer = 1 To NumericUpDown1.Value
      e.Graphics.DrawLine(Pens.Red, 10 + i, 10, 10 + i, 10 + i)
   Next
End Sub

Private Sub NumericUpDown1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown1.ValueChanged
   Me.Invalidate()
End Sub


Then when you click on the NumericDown control and reach 150 (on my machine) the icons on the background are starting to refresh...
Do you reproduce that ?
GeneralRe: The mysterious Desktop redraw. Pin
Guffa18-Mar-06 8:34
Guffa18-Mar-06 8:34 
AnswerRe: The mysterious Desktop redraw. Pin
Dave Kreskowiak18-Mar-06 8:45
mveDave Kreskowiak18-Mar-06 8:45 
QuestionSome Example to Display an image using directx Pin
MAP Tiger18-Mar-06 7:54
MAP Tiger18-Mar-06 7:54 
Questionadding icons to the menu bar Pin
kmhlanga18-Mar-06 7:03
professionalkmhlanga18-Mar-06 7:03 
AnswerRe: adding icons to the menu bar Pin
Chatura Dilan19-Mar-06 3:06
Chatura Dilan19-Mar-06 3:06 
AnswerRe: adding icons to the menu bar Pin
kmhlanga21-Mar-06 6:18
professionalkmhlanga21-Mar-06 6:18 
QuestionCrystal Report Time Duration Accumalation Pin
ensuvari18-Mar-06 5:04
ensuvari18-Mar-06 5:04 
QuestionHow to solve external exceptions error related to picturebox.image.save? Pin
JUNEYT18-Mar-06 2:57
JUNEYT18-Mar-06 2:57 
AnswerRe: How to solve external exceptions error related to picturebox.image.save? Pin
Dave Kreskowiak18-Mar-06 3:07
mveDave Kreskowiak18-Mar-06 3:07 
GeneralI don't think if it is permission related problem Pin
JUNEYT18-Mar-06 5:18
JUNEYT18-Mar-06 5:18 
GeneralRe: I don't think if it is permission related problem Pin
Dave Kreskowiak18-Mar-06 6:16
mveDave Kreskowiak18-Mar-06 6:16 
GeneralThanks Dave the problem was... Pin
JUNEYT18-Mar-06 11:04
JUNEYT18-Mar-06 11:04 
GeneralRe: Thanks Dave the problem was... Pin
Dave Kreskowiak18-Mar-06 12:01
mveDave Kreskowiak18-Mar-06 12:01 
Questionsqlconnection connection with vb.net Pin
pankajgarg1218-Mar-06 2:33
pankajgarg1218-Mar-06 2:33 
AnswerRe: sqlconnection connection with vb.net Pin
Dave Kreskowiak18-Mar-06 3:06
mveDave Kreskowiak18-Mar-06 3:06 
GeneralRe: sqlconnection connection with vb.net Pin
pankajgarg1218-Mar-06 18:01
pankajgarg1218-Mar-06 18:01 
GeneralRe: sqlconnection connection with vb.net Pin
Dave Kreskowiak19-Mar-06 3:32
mveDave Kreskowiak19-Mar-06 3:32 

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.