Solved

UDT and OCX

Posted on 2002-07-05
3
224 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

710 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