Dsoframer in

Posted on 2006-04-03
Last Modified: 2008-01-09
I found the knowledge base article that describes the dsoframer control;en-us;311765

does any one have some code samples they would be willing to share?

Question by:johnnyg123
    LVL 48

    Accepted Solution

    The DSOFramer work fine also with c#.
    1. Register dsoframer.ocx (regsvr32 "path/dsoframer.ocx")
    2. From your project in VS2003 make reference to dsoframer.ocx.
    3. Add dsoframer.ocx to your toobox and put from toolbox to winform;
    4. You got like - private AxDSOFramer.AxFramerControl axFControl;
    5. In InitializeComponent(); to open existing document use:
    "C://Doc.doc" - path to word document (.xls for Excel);
    false - allow editing;
    "Word.Document" - type of office application ("Excel.Sheet" or "Excel.Chart" for Excel);
    Type.Missing - user name and password if not exists.
    6. Run your WinForm and voila!!!
    7. Ofcourse, play with properties and other control stuff.
    8. Create new office document - axFControl.CreateNew (some technik).
    9. With VB.NET should be some easy.

    Author Comment

    I've got the control to display and I can open a file ...I was just wondering if someone had an example that had some examples of using file functions, replacing text, etc...
    LVL 9

    Assisted Solution

    by:Naveen Swamy

    Author Comment

    Both replies were helpful....I was able to play around and get it to work

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Article by: Kraeven
    Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
    Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    This video discusses moving either the default database or any database to a new volume.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now