Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 3rd, 2005, 01:49 PM
Authorized User
 
Join Date: Nov 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating an Activex Control for MSAccess

I've tried to create my own activex control in vb6 to accomplish something in access. I posted a similar thing to the access forum with little response- maybe the solution lies on th vb side. My question relates to what is the best way to get access (or any other host, I presume) to see the data in textboxes that are on the custom activex control.
   Some possibilities are assigning the textbox value to a property of the activex control and retrieving it in access by referencing the property or creating a function in the activex control that can be called from access and returns the value of the desired textbox.
   Ideally, I need access to recognize that the activex control has textboxes on it so I can reference them directly. i.e. Forms!Form1!MyActivex.Controls.Count gives me 0, but it should be 82.

 
Old November 3rd, 2005, 01:51 PM
Authorized User
 
Join Date: Nov 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Moderator, please remove this post- its in the wrong place!






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make an ActiveX control Bajrang General .NET 3 December 8th, 2006 12:36 AM
How do I use an ActiveX Control? ArtDecade VB.NET 2002/2003 Basics 5 September 18th, 2004 03:23 AM
Windows service creating ActiveX object issue ceegh VB.NET 0 August 5th, 2004 04:02 PM
creating an activex dll amc VB Components 7 June 25th, 2004 05:10 PM
Creating Activex DLL components vbmo Classic ASP Components 11 June 30th, 2003 04:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.