Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with VB conversion
Message
From
19/04/1998 11:28:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/04/1998 11:19:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00093249
Message ID:
00093250
Views:
23
>I am implementing an OCX control and only have a VB example.
>
>The VB code is :-
>Private Sub Form_Activate ()
> SplitFrame1.AttachControl ScrollPanel1, 1
>End Sub
>
>Where the object ScrollPanel1 is placed on the startup form
>
>I have created a form with both the above objects and tried the following in the SplitFrame1 object's initial event :-
>
>thisform.SplitFrame1.AttachControl(" ScrollPanel1, 1")
>
>I get an error OLE error code 0x80020005: Type mismatch
>
>Could anyone please help with my misunderstanding
>Thanks
>John Harriss
oScrollPanel1 = thisform.ScrollPanel1.object
thisform.SplitFrame1.AttachControl(oScrollPanel1, 1)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform