|
-
Oct 26th, 2001, 03:28 PM
#1
Thread Starter
Lively Member
can create an form into a COM (dll) ?
Hi,
I would like to create a com (dll) that, when it will be instantiated to display a form on the screen.
I tried with:
Option Explicit
Dim frmView As VB.TextBox
Public Sub NewDaemon()
Set frmView = New VB.TextBox
With frmView
.Text = "test form"
.Width = 1000
.Height = 1000
.Visible = True
End With
End Sub
When I tri this I receive " Invalid use of NEW"
How can this be done? (ex)
Thank you.
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
|