Click here to Skip to main content
15,887,397 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to use special symbols in VBA? Pin
Ton C14-Jul-09 22:58
Ton C14-Jul-09 22:58 
QuestionPrint Dialog Pin
No-e13-Jul-09 5:08
No-e13-Jul-09 5:08 
AnswerRe: Print Dialog Pin
Henry Minute13-Jul-09 5:18
Henry Minute13-Jul-09 5:18 
GeneralRe: Print Dialog Pin
No-e13-Jul-09 5:33
No-e13-Jul-09 5:33 
GeneralRe: Print Dialog Pin
Henry Minute13-Jul-09 5:54
Henry Minute13-Jul-09 5:54 
AnswerRe: Print Dialog Pin
Luc Pattyn13-Jul-09 6:14
sitebuilderLuc Pattyn13-Jul-09 6:14 
GeneralRe: Print Dialog Pin
No-e13-Jul-09 11:57
No-e13-Jul-09 11:57 
GeneralRe: Print Dialog Pin
Luc Pattyn13-Jul-09 12:31
sitebuilderLuc Pattyn13-Jul-09 12:31 
Hi,

three comments:

1.
for serial communications .NET offers the SerialPort class (starting .NET 2.0). It works fine for me. Warning: its DataReceived event fires on a ThreadPool thread (see #3 below).

2.
There are several timer classes in .NET; which one you use best depends on what it needs to do.
Example: for Control manipulations (say displaying real time, updating every second) you best use System.Windows.Forms.Timer which ticks on the GUI thread.

3.
only the main aka GUI thread is allowed to touch Controls; if you violate this rule strange things are bound to happen.

Since you only now told about serial ports and timers, I now suspect it is #3 that is biting you.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

QuestionA narrow width combo box on the toolstrip control Pin
jinxster12-Jul-09 22:04
professionaljinxster12-Jul-09 22:04 
AnswerRe: A narrow width combo box on the toolstrip control Pin
dan!sh 12-Jul-09 22:12
professional dan!sh 12-Jul-09 22:12 
GeneralRe: A narrow width combo box on the toolstrip control Pin
jinxster13-Jul-09 2:11
professionaljinxster13-Jul-09 2:11 
GeneralRe: A narrow width combo box on the toolstrip control Pin
dan!sh 13-Jul-09 3:14
professional dan!sh 13-Jul-09 3:14 
Questionchange the size of playing video in window media player Pin
bhumika_singh12-Jul-09 21:56
bhumika_singh12-Jul-09 21:56 
AnswerRe: change the size of playing video in window media player Pin
Dave Kreskowiak13-Jul-09 1:49
mveDave Kreskowiak13-Jul-09 1:49 
GeneralRe: change the size of playing video in window media player Pin
bhumika_singh13-Jul-09 2:22
bhumika_singh13-Jul-09 2:22 
GeneralRe: change the size of playing video in window media player Pin
Dave Kreskowiak13-Jul-09 3:59
mveDave Kreskowiak13-Jul-09 3:59 
Questionwhat is pDllname in this "craxddrt.database.logonserver(pdllname,pservername,pdatabasename,puserid,ppassword)" ? [modified] Pin
xingselex12-Jul-09 15:36
xingselex12-Jul-09 15:36 
AnswerRe: what is pDllname in this "craxddrt.database.logonserver(pdllname,pservername,pdatabasename,puserid,ppassword)" ? Pin
riced12-Jul-09 21:19
riced12-Jul-09 21:19 
AnswerRe: what is pDllname in this "craxddrt.database.logonserver(pdllname,pservername,pdatabasename,puserid,ppassword)" ? Pin
Jack Vanderhorst13-Jul-09 14:25
Jack Vanderhorst13-Jul-09 14:25 
QuestionIcons to Applicaton Pin
nei200912-Jul-09 9:26
nei200912-Jul-09 9:26 
AnswerRe: Icons to Applicaton Pin
EliottA12-Jul-09 9:40
EliottA12-Jul-09 9:40 
GeneralRe: Icons to Applicaton Pin
nei200912-Jul-09 9:55
nei200912-Jul-09 9:55 
GeneralRe: Icons to Applicaton [modified] Pin
Steven J Jowett12-Jul-09 10:16
Steven J Jowett12-Jul-09 10:16 
GeneralRe: Icons to Applicaton Pin
0x3c013-Jul-09 8:49
0x3c013-Jul-09 8:49 
AnswerRe: Icons to Applicaton Pin
chilinhhacker13-Jul-09 18:09
chilinhhacker13-Jul-09 18:09 

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.