Wrox Programmer Forums
|
Visual Studio 2008 For discussing Visual Studio 2008. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2008 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 25th, 2010, 07:12 PM
Registered User
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up FORM & MODULE communication problem

HI

i am new to vb2008 but i have an average experience in vb6
now i am upgrading a software i built on vb6 to vb2008 it contains a FORM & a MODULE in that software i am using "mscomm" IN THE FORM and in the module but when i do the same in vb2008 it doesn't work so i googled for help and used this code in the module :
Code:
   .
   .
   .
    dim myl1 As New Form2
 
    myl1.mscomm1.write( ...)  .....
   .
   .
   .
this code worked but a new problem arises where i found that now i have two parallel ( almost identical) working forms with one of them hidden this started to generate errors on undefined variables,.....

what is the problem and is there another way to solve my "mscomm" problem.

thanks for replying





Similar Threads
Thread Thread Starter Forum Replies Last Post
GPS module marshalling in VB.net & WinCE mike123abc Pro VB.NET 2002/2003 0 April 17th, 2007 11:53 PM
Passing an array from module to form ftm Excel VBA 2 March 8th, 2007 07:39 AM
Addressing form from module MKri VB.NET 2002/2003 Basics 18 December 23rd, 2005 10:22 AM
Array & Collections, Option Private Module ramk_1978 Beginning VB 6 1 January 19th, 2005 01:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.