Solved

UDT and OCX

Posted on 2002-07-05
3
223 Views
Last Modified: 2010-05-02
how do you pass a User Defined Type variable through an event or through a public function. I would prefer not to have to use lset on both sides but if I have to I have to.
0
Comment
Question by:sk33v3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 32

Expert Comment

by:bhess1
ID: 7132548
I assume that you are using Classes here.  A UDT can not be passed through a Public Class interface.  Instead, you must use Friend properties and methods to pass UDTs.

0
 
LVL 15

Accepted Solution

by:
ameba earned 50 total points
ID: 7132700
You put UDT declaration into class module, and class must be Public (e.g. Instancing = 2 'PublicNotCreatable)
0
 
LVL 9

Author Comment

by:sk33v3
ID: 7132990
Worked like a charm
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

740 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