|
-
Jul 31st, 2003, 11:49 PM
#1
Thread Starter
Registered User
How to place an icon to a Form? [Resolved]
How to place an icon to a Form by coding?
I try the code below, but got error before the parentheses.
Code:
Me.Icon.New(Application.StartupPath & "\Icons\import.ico")
Why?
Please guide, thank you!
Last edited by albertlse; Aug 21st, 2003 at 08:14 PM.
-
Aug 1st, 2003, 01:02 AM
#2
Hyperactive Member
this works syntactically, did not try it in execution
after the windows designer generated code type
Public Myicon As New Icon(Application.StartupPath & "\Icons\import.ico")
then in code
Me.Icon = myicon
-
Aug 21st, 2003, 08:14 PM
#3
Thread Starter
Registered User
it's working fine now
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
|