BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cannot Import ActiveX control - fm20.dll

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX)
View previous topic :: View next topic  
Author Message
akuma
Guest





PostPosted: Mon Dec 18, 2006 9:11 pm    Post subject: Cannot Import ActiveX control - fm20.dll Reply with quote



Hi, I have problem when tried to import "Microsoft Forms 2.0 object library"
from Import ActiveX page. After I selected "Microsoft Forms 2.0 object
library", the system generate the following class names:

TUserForm
TFrame
TLabel
TCommandButton
TTextBox
TListBox
TComboBox
TCheckBox
TOptionButton
TToggleButton
TScrollBar
TTabStrip
TSpinButton
TImage
THTMLSubmit
THTMLImage
THTMLReset
THTMLCheckbox
THTMLOption
THTMLText
THTMLHidden
THTMLPassword
THTMLSelect
THTMLTextArea
TMultiPage

Then, I press the "Create Unit" button, I received an error "A class named
'TLabel' is already installed.".
Next, I tried to rename the class name from the class name editing filed,
but I received another error "Class names cannot be added or deleted." The
package can't build correctly. Is there any method to fix this. I need to do
this because I want to use full unicode support on the ANSI version Windows
9x with MS office Multi-Language support installed. By using the controls
from this dll, I can display double byte char languages with Visual Basic
under English version Windows 9x. However, I don't know how to use this
control from BCB, I hope some body can help me. Thanks!
Back to top
Craig Farrell
Guest





PostPosted: Tue Dec 19, 2006 5:17 am    Post subject: Re: Cannot Import ActiveX control - fm20.dll Reply with quote



Hi,

Quote:

Then, I press the "Create Unit" button, I received an error "A class named

If you are using BCB, there are two
ways to change the names that are generated:
1) In the "Import Type Library" dialog the list
of "Class names" is editable so edit them there.
-OR-
2) ..\bin\tlibimp.sym is used by the importer for
both command line and IDE imports. Open tlibimp.sym
(which uses INI file syntax) in a text editor to see
examples of aliasing. You can alias for a specific
CLASSID or globally for all imports.

If you are using BDS then your only option is 2).

--Craig
Back to top
akuma
Guest





PostPosted: Tue Dec 19, 2006 8:43 pm    Post subject: Re: Cannot Import ActiveX control - fm20.dll Reply with quote



Thanks for the reply. After change the names, it can build and install.
However, not all controls are shown on the palette page. Just the following
items shown:

(TReturnInteger)
(TReturnBoolean)
(TReturnString)
(TReturnSingle)
(TReturnEffect)
(TDataObject)
(TControlEx)
(TNewFontEx)
(TPageEx)
(TImageEx)

Are there any way to show all controls on the palette page?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.