Click here to Skip to main content
15,897,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow can write program for mobile with vb.net Pin
hossein narimani rad5-Feb-07 12:57
hossein narimani rad5-Feb-07 12:57 
AnswerRe: How can write program for mobile with vb.net Pin
Christian Graus5-Feb-07 13:04
protectorChristian Graus5-Feb-07 13:04 
Questiongrayscale Color Pin
hossein narimani rad5-Feb-07 12:55
hossein narimani rad5-Feb-07 12:55 
AnswerRe: grayscale Color Pin
Christian Graus5-Feb-07 13:02
protectorChristian Graus5-Feb-07 13:02 
QuestionGraphical fonts vb.net Pin
anthony Glover5-Feb-07 12:36
anthony Glover5-Feb-07 12:36 
AnswerRe: Graphical fonts vb.net Pin
Christian Graus5-Feb-07 13:05
protectorChristian Graus5-Feb-07 13:05 
Questionsimple webbrowser interface - a problem Pin
noki15-Feb-07 12:15
noki15-Feb-07 12:15 
QuestionQuestion regarding update on a event Pin
godspeed1235-Feb-07 11:47
godspeed1235-Feb-07 11:47 
Hi,

I have written an activeX control that sends an event 200 times a second, so fairly quickly, the data needs to be sent this fast. The activeX control works fine, I can add it into VB .NET and it works fine, when I try to add into the event handler a counter that refreshes a label it freezes the program. Is this happening because I am trying to refresh the label too quickly.

The code I inserted into it is as follows:

Public Class Form1
Inherits System.Windows.Forms.Form

Dim test As Integer

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
AxTest.Initialize()
test = 0

End Sub

Private Sub AxTestCtrl1_DataReady(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxTestCtrl1.DataReady
test = test + 1
Label1.Text() = test
Label1.Refresh()
End Sub
End Class

This causes the whole application to freeze, and if I comment the two Label1 instructions out of the code it works fine without freezing.

Any help would be greatly appreciated.

AnswerRe: Question regarding update on a event Pin
Christian Graus5-Feb-07 12:13
protectorChristian Graus5-Feb-07 12:13 
QuestionMAX value property problem for Datetime Picker Pin
parmi4u5-Feb-07 8:17
parmi4u5-Feb-07 8:17 
AnswerRe: MAX value property problem for Datetime Picker Pin
TwoFaced5-Feb-07 10:02
TwoFaced5-Feb-07 10:02 
GeneralRe: MAX value property problem for Datetime Picker Pin
TwoFaced5-Feb-07 10:55
TwoFaced5-Feb-07 10:55 
QuestionHandle Keyword? Pin
Rahithi5-Feb-07 7:40
Rahithi5-Feb-07 7:40 
AnswerRe: Handle Keyword? Pin
TwoFaced5-Feb-07 8:26
TwoFaced5-Feb-07 8:26 
GeneralRe: Handle Keyword? Pin
Rahithi5-Feb-07 11:34
Rahithi5-Feb-07 11:34 
GeneralRe: Handle Keyword? Pin
TwoFaced5-Feb-07 12:13
TwoFaced5-Feb-07 12:13 
QuestionProblem with Readline - I broke it ! Pin
rfrank53565-Feb-07 7:36
rfrank53565-Feb-07 7:36 
AnswerRe: Problem with Readline - I broke it ! Pin
Lucan075-Feb-07 13:04
Lucan075-Feb-07 13:04 
GeneralRe: Problem with Readline - I broke it ! Pin
rfrank53566-Feb-07 5:06
rfrank53566-Feb-07 5:06 
QuestionWindows Vista Purchase Pin
sidkraft5-Feb-07 7:25
sidkraft5-Feb-07 7:25 
AnswerRe: Windows Vista Purchase Pin
Christian Graus5-Feb-07 10:39
protectorChristian Graus5-Feb-07 10:39 
GeneralRe: Windows Vista Purchase Pin
Lucan075-Feb-07 11:58
Lucan075-Feb-07 11:58 
GeneralRe: Windows Vista Purchase Pin
sidkraft5-Feb-07 12:42
sidkraft5-Feb-07 12:42 
GeneralRe: Windows Vista Purchase Pin
Christian Graus5-Feb-07 13:41
protectorChristian Graus5-Feb-07 13:41 
GeneralRe: Windows Vista Purchase Pin
sidkraft5-Feb-07 14:58
sidkraft5-Feb-07 14:58 

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.