We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

VB6 - Resource with object passing to procedures

Thread ID:




5720 Jul 15,2003 11:59 AM UTC WinForms 0
Tags: FAQ
Asked On July 15, 2003 11:59 AM UTC

When you declare a procedure and pass an object to it, e.g. Public Sub MakeVisible(item as Object) item.visible = true end sub How does VB handle the resource? when you call the procedure Call MakeVisible(Button1) Call MakeCisible(Form1) Does it make a copy of the object and pass to the procedure, or does the ByRef default actually just pass a refernce? Its the passing a whole copy of the object that I am worried about if it does do that.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon