<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'What is Active-X' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'What is Active-X' posted on the 'Beginner VB' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 23:57:17 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 23:57:17 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>What is Active-X</title>
      <link>http://www.programmersheaven.com/mb/VB_Beginner/110071/110071/what-is-active-x/</link>
      <description>I'm quite new to visual basic 6. I created a new project "standard.exe" and able to calculate and do something. SO i just wondering what is actually active-x ? IF i would like to upgrade my "standard.exe" project to some kind of active-x project, can i do that ?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VB_Beginner/110071/110071/what-is-active-x/</guid>
      <pubDate>Sun, 07 Apr 2002 22:43:15 -0700</pubDate>
      <category>Beginner VB</category>
    </item>
    <item>
      <title>Re: What is Active-X</title>
      <link>http://www.programmersheaven.com/mb/VB_Beginner/110071/110085/re-what-is-active-x/#110085</link>
      <description>: I'm quite new to visual basic 6. I created a new project "standard.exe" and able to calculate and do something. SO i just wondering what is actually active-x ? IF i would like to upgrade my "standard.exe" project to some kind of active-x project, can i do that ?&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
That's quite a question you are asking! To put it as simple as I can:&lt;br /&gt;
&lt;br /&gt;
ActiveX is a method of using another executable as part of your app.&lt;br /&gt;
&lt;br /&gt;
The executable (exe, dll, ocx) must be written using ActiveX technology. This "exports" certain classes from the component to be used by another executable. Although C++ can use and/or export ActiveX components (heck, even asm can do it if you know how), VB is the major player in this area.&lt;br /&gt;
&lt;br /&gt;
Here's an example:&lt;br /&gt;
&lt;br /&gt;
Create a new project of type ActiveX dll.&lt;br /&gt;
In the class module (Class1), add this:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Public Sub ShowMessage(ByVal msg As String)

    MsgBox msg

End Sub
&lt;/pre&gt;&lt;br /&gt;
Change the project name to MyDLL.&lt;br /&gt;
Compile this project (File - Make MyDLL.dll).&lt;br /&gt;
&lt;br /&gt;
Start a new project of type standard exe.&lt;br /&gt;
(On the menu) Go to Project - References.&lt;br /&gt;
Place a check next to MyDLL, click OK.&lt;br /&gt;
Place a command button on the form, open the code window for it.&lt;br /&gt;
Place this code in it:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Private Sub Command1_Click()

    Dim x As MyDLL.Class1
    Set x = New MyDLL.Class1
    x.ShowMessage "I used ActiveX!"
    Set x = Nothing 'ALWAYS clear all objects!
    Unload Me 'Unload the form

End Sub
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
You can "upgrade" your app to use ActiveX simply by selecting one of the activex project types and using it, but exactly how depends on what you are after.&lt;br /&gt;
&lt;br /&gt;
Hope this helps!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VB_Beginner/110071/110085/re-what-is-active-x/#110085</guid>
      <pubDate>Mon, 08 Apr 2002 01:46:44 -0700</pubDate>
      <category>Beginner VB</category>
    </item>
  </channel>
</rss>