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

Visual Basic

 
GeneralRe: ado connection to access mdb file. Pin
udikantz13-Mar-09 7:02
udikantz13-Mar-09 7:02 
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 
I think the problem is not related to threads , it is something to do with creating proper instance of a class. When from Form2 you call Form.SerialPort1.IsOpen you are not creating an instance of Form1 which means Form1_Load never gets called , and hence the code inside the Form1_Load event is not called ,keeping the the port closed , in Form2 try this , just before Debug.Print(Form1.SerialPort1.IsOpen) statements put the following statements

Form1.Show()
Form1.Hide()


We are forcing the Form1 to load.


Let me know if this answers you question
Feel free to ask if something is not clear

-Regards
Bharat Jain
bharat.jain.nagpur@gmail.com

AnswerRe: vb.net 3.5 + serialport cotnrol + Threads = help Pin
Dave Kreskowiak13-Mar-09 4:51
mveDave Kreskowiak13-Mar-09 4:51 
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 

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.