?
Solved

Parameter values for a  sub routine are not correct

Posted on 2005-05-17
1
Medium Priority
?
201 Views
Last Modified: 2010-04-23
I have created a sub routine that includes among its parameters a boolean. When in the sub routine it is true, the instant it returns to the code that called it it has changed to false. Can anyone help
0
Comment
Question by:johnecollins
1 Comment
 
LVL 7

Accepted Solution

by:
Joe_Griffith earned 2000 total points
ID: 14021391
Try passing the parameter ByRef rather than ByVal.  
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question