OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 07-04-2009, 13:00
Posts: n/a
Default WebBrowser class string

I am trying to add a WebBrowser control to my form via code.

This code:

Dim browser As WebBrowser
Set browser = Controls.Add("Forms.WebBrowser.1", "Browser1", Visible)

gives me an "Invalid class string" error. Anyone know the correct way to do this?
Reply With Quote
Old 09-04-2009, 13:26
Posts: n/a
Default Thank You MSDN

After a lot of searching...I found the answer on MSDN!

The ProgID of the WebBrowser is "Shell.Explorer"

Works great!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Size String ddonnahoe CorelDRAW/Corel DESIGNER VBA 3 15-12-2006 15:21
Randomising a text string knowbodynow CorelDRAW/Corel DESIGNER VBA 3 07-05-2006 08:15
Create an object from class defined in another GMS zlatev CorelDRAW/Corel DESIGNER VBA 5 27-02-2005 12:51
Palette (or Colors array) property in VBA class in CDR12 zlatev CorelDRAW/Corel DESIGNER VBA 7 22-02-2005 12:28
how can we get string from... olympiatr CorelDRAW/Corel DESIGNER VBA 2 04-11-2004 03:39

All times are GMT -5. The time now is 23:02.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com