Results 1 to 2 of 2

Thread: It Is Not Working!!

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2002
    Location
    SAUDI ARABIA
    Posts
    53

    It Is Not Working!!

    THIS CODE NOT WORKING
    WHEN I TRY TO MAKE DLL FILE

    '****************
    Public Sub capFORM(FRM As Form)
    FRM.Caption = "SAL1150"
    End Sub

    '******************
    WHAY?????

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    VB makes COM dlls so the objects that it exposes have to be COM compatible objects. That means that they can't be specific to VB only, which the Form object is. You can pass it as the generic Object type.

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