Solved

Copy an object in VB

Posted on 1998-12-16
1
131 Views
Last Modified: 2010-05-03
How can you create a copy of an object without going through each property and placing the value into the new object.  (I don't mean two references to the same object)
0
Comment
Question by:jeffcameron
1 Comment
 
LVL 15

Accepted Solution

by:
ameba earned 100 total points
ID: 1450813
>without going through each property
You cannot avoid this!

Suggestion: Add Clone method to your object, so it will do everything.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

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