|
-
August 23rd, 2001, 01:00 AM
#1
ActiveX ???
can anyone teach me how to create a activeX ?
Ivan Yap B.C
[email protected]
-
August 23rd, 2001, 05:04 AM
#2
Re: ActiveX ???
ActiveX what?
There are several types of ActiveX aware things.
Control:
This is a control that can be used on a form. By adding public subs/function/properties to the control, you can expose methods to the form on which the control resides. Using events, you can notify the form that something has happened
private Sub MyControl_MyEvent()
MyControl.SomeSub
MyControl.SomeProperty = "SomeValue"
MyControl.Top = 100
MyControl.Left = 100
End Sub
Another ActiveX thingy are exe's and dll's
These are not placed on a form, but are refferenced to using code. This happens through objects called classes. If you have ever used classes in any of your application, you will be started quite fast, if not, you might just want to start here to get the hang of it.
Again, public functions/subs/properties expose stuff.
Dim myObj as MyDll.MyClass
myObj.SomeSub
myObj.SomeProperty = "SomeValue"
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
-
August 23rd, 2001, 07:47 AM
#3
Re: ActiveX ???
If its an ActiveX control you want to create, go to http://search.microsoft.com/us/SearchMS.asp and search on "Creating an ActiveX control" (Without the quotes of course). It's a 200+ page document that tells you most of what you could ever want to know.
John G
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|