|
-
Works as an OLE insertable Object
Works as an OLE insertable Object
I can insert it on a VFP form, assign it to a Object variable.
If I double-click on it, I can use it as any other ActiveX control on my
form.
I just want to know its properties to be able to read/write, in code, a
value in
one of its cell.
I have created a form, with a command button on it
In Click Event:
THISFORM.AddObject('oWks2',"Olecontrol",'MSWorks.Sheet.4')
WITH THISFORM
.oWks2.Top=.Top+10
.oWks2.Left=.Left+10
.oWks2.Height=.Height-20
.oWks2.Width=.Width-20
.oWks2.Visible=.t.
endwith
Until now, everything works just fine.
But from now on, I don't know how to continue (to write a value in a cell).
If anyone can help me, I will appreciate.
Thank you
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks