Click here to Skip to main content
15,889,216 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: ado connection to access mdb file. Pin
udikantz13-Mar-09 23:07
udikantz13-Mar-09 23:07 
AnswerRe: ado connection to access mdb file. Pin
udikantz13-Mar-09 23:32
udikantz13-Mar-09 23:32 
QuestionAccessing Value from 2 class. Pin
Nanda_MR13-Mar-09 2:34
Nanda_MR13-Mar-09 2:34 
AnswerRe: Accessing Value from 2 class. Pin
dan!sh 13-Mar-09 2:42
professional dan!sh 13-Mar-09 2:42 
GeneralRe: Accessing Value from 2 class. Pin
Nanda_MR13-Mar-09 18:08
Nanda_MR13-Mar-09 18:08 
Questionvb.net 3.5 + serialport cotnrol + Threads = help Pin
ktheos13-Mar-09 2:23
ktheos13-Mar-09 2:23 
AnswerRe: vb.net 3.5 + serialport cotnrol + Threads = help Pin
Bharat Jain13-Mar-09 3:19
Bharat Jain13-Mar-09 3:19 
AnswerRe: vb.net 3.5 + serialport cotnrol + Threads = help Pin
Dave Kreskowiak13-Mar-09 4:51
mveDave Kreskowiak13-Mar-09 4:51 
Using the serial port instance on your Form1 instance from Form2 is bad practice. You also can't do it with the code you're written since Form2 has no idea that Form1 even exists.

If the bulk of your serial port communication is going to happen from Form2, create the port and connection on Form2, not Form1.

Also, if you dragged the SerialPort from the ToolBox onto your form, you can't use it from a second thread. The event's won't fire correctly because they depend on the main UI thread to work.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionHow to set text property of a ComponentControl Pin
popalzai13-Mar-09 1:16
popalzai13-Mar-09 1:16 
AnswerRe: How to set text property of a ComponentControl Pin
Dave Kreskowiak13-Mar-09 1:18
mveDave Kreskowiak13-Mar-09 1:18 
GeneralRe: How to set text property of a ComponentControl Pin
popalzai13-Mar-09 3:45
popalzai13-Mar-09 3:45 
GeneralRe: How to set text property of a ComponentControl Pin
Dave Kreskowiak13-Mar-09 4:45
mveDave Kreskowiak13-Mar-09 4:45 
GeneralRe: How to set text property of a ComponentControl Pin
popalzai13-Mar-09 6:02
popalzai13-Mar-09 6:02 
Questionhow to insert multi image in SQL an display it Pin
ngoctuan160812-Mar-09 23:52
ngoctuan160812-Mar-09 23:52 
AnswerRe: how to insert multi image in SQL an display it Pin
Dave Kreskowiak13-Mar-09 1:17
mveDave Kreskowiak13-Mar-09 1:17 
QuestionGet a string of number ? Pin
dec8212-Mar-09 23:49
dec8212-Mar-09 23:49 
AnswerRe: Get a string of number ? Pin
Anoop Brijmohun13-Mar-09 0:47
Anoop Brijmohun13-Mar-09 0:47 
GeneralRe: Get a string of number ? Pin
Dave Kreskowiak13-Mar-09 1:16
mveDave Kreskowiak13-Mar-09 1:16 
GeneralRe: Get a string of number ? Pin
dec8213-Mar-09 2:59
dec8213-Mar-09 2:59 
AnswerRe: Get a string of number ? Pin
Eddy Vluggen13-Mar-09 0:51
professionalEddy Vluggen13-Mar-09 0:51 
AnswerRe: Get a string of number ? Pin
Jon_Boy13-Mar-09 3:39
Jon_Boy13-Mar-09 3:39 
GeneralRe: Get a string of number ? Pin
dec8213-Mar-09 5:59
dec8213-Mar-09 5:59 
GeneralRe: Get a string of number ? Pin
Luc Pattyn13-Mar-09 6:39
sitebuilderLuc Pattyn13-Mar-09 6:39 
AnswerRe: Get a string of number ? Pin
Fernando Soto13-Mar-09 4:40
Fernando Soto13-Mar-09 4:40 
QuestionDatagridview Print in VB Pin
THOBANI12-Mar-09 22:55
THOBANI12-Mar-09 22:55 

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.