Results 1 to 2 of 2

Thread: ActiveX exe

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2001
    Location
    Richmond, VA
    Posts
    30

    ActiveX exe

    Is there anyway to determine whether an activex exe was double-clicked or instanced by a CreateObject call?

    If I choose Sub Main for startup and have a form.show in it I want to get around that.
    Last edited by kjmcsd; Sep 18th, 2002 at 08:59 AM.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Apr 2001
    Location
    Richmond, VA
    Posts
    30
    I found it. You just have to put this code in sub main:


    Sub Main()

    If App.Startmode = 0 Then
    Form1.show
    End if

    End sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width