|
-
Apr 10th, 2004, 01:06 AM
#1
Thread Starter
Fanatic Member
How to place COM controls on a form at design time ?
Hello and Happy Easter !
Does somebody know how to place COM controls on a form at design time ?
Unfortunately , i manage only to put intrinsic controls like comboboxes , textboxes etc. on a form at design time.
I haven't figured out the way to put for example a Webbrowser control at design time on a form .
Thank you !
Alex
-
Apr 11th, 2004, 09:36 PM
#2
Sleep mode
After you add reference to Microsoft Web Browser in the COM Tab , you can declare instance of it like this . You need to set the other properties like location and size :
VB Code:
Dim myBrowser As New AxSHDocVw.AxWebBrowser
-
Apr 18th, 2004, 03:50 AM
#3
Thread Starter
Fanatic Member
Originally posted by Pirate
After you add reference to Microsoft Web Browser in the COM Tab , you can declare instance of it like this . You need to set the other properties like location and size :
VB Code:
Dim myBrowser As New AxSHDocVw.AxWebBrowser
you mean that i can't control the location and size at design time and have to manually specify them in the code ?
thanks!
-
Apr 18th, 2004, 03:54 AM
#4
Sleep mode
Originally posted by alexandros
you mean that i can't control the location and size at design time and have to manually specify them in the code ?
thanks!
You can as long as the control has Size and Location properties.
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
|