Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Using Word with VB without Office Installed

Options
  • 21-09-2002 3:21pm
    #1
    Moderators, Home & Garden Moderators, Regional Midwest Moderators, Regional West Moderators Posts: 16,723 Mod ✭✭✭✭


    Lads

    Can this be done.

    Want to be able to use word object without having office installed on the PC

    can I do this?? if so how

    Thanks


Comments

  • Registered Users Posts: 15,443 ✭✭✭✭bonkey


    Nope. You cant.

    If you check the registry entries for the word objects you see the following :

    HKEY_CLASSES_ROOT\Word.Application\CLSID : {000209FF-0000-0000-C000-000000000046}

    Follow that up to see :

    HKEY_CLASSES_ROOT\CLSID\{000209FF-0000-0000-C000-000000000046}\LocalServer32 : C:\PROGRA~1\MICROS~2\Office10\WINWORD.EXE /Automation

    In other words, the Word object is a running copy of the word executable.

    Which means that to use the word object, you need Word installed

    jc


  • Registered Users Posts: 1,393 ✭✭✭Inspector Gadget


    I'm confused...

    Do you mean, "I want to use a copy of Word where no copy is actually installed", as Bonkey seems to think, or do you mean "can I use Word as an object in my VB code where I've only got Word, not a full copy of Office, installed?" (say, if you got Word on it's own, or bundled with Works)

    The answer to the first should be self-evidently negative; the answer to the second would be "yes, as far as I know"...

    Hope this helps,
    Gadget


  • Moderators, Home & Garden Moderators, Regional Midwest Moderators, Regional West Moderators Posts: 16,723 Mod ✭✭✭✭yop


    I understand what you mean so I will explain.

    Client does not have Office / Works / Word installed.

    Want to be able to use word object in VB.

    As with MS Access are there runtimes available to do this??

    If not is there some OCX that can give me good reporting capabilities as Crystal is too expensive for these guys too!!
    I am in an akward position with it really!!

    Cheers


  • Closed Accounts Posts: 9,314 ✭✭✭Talliesin


    No.


  • Moderators, Home & Garden Moderators, Regional Midwest Moderators, Regional West Moderators Posts: 16,723 Mod ✭✭✭✭yop


    DO ye know of any other tools except Crystal, office or Data reports ( IS there anything else left!!! :D )

    thanks lads


  • Advertisement
  • Registered Users Posts: 5,695 ✭✭✭jd


    Originally posted by yop
    DO ye know of any other tools except Crystal, office or Data reports ( IS there anything else left!!! :D )

    thanks lads
    what kind of reports, and from what kind of datasources?


  • Registered Users Posts: 5,695 ✭✭✭jd




  • Registered Users Posts: 15,443 ✭✭✭✭bonkey


    Errr....

    a redistributable version of Crystal has been shipped with every version of VB that I can think of.

    Oh - hang on. I'm assuming its the "Professional" or "Enterprise" version of VB you have. Its not always auto-installed, or even offered as an install option, but its on the CDs.

    A reasonably cheap, and damned good (IMHO) reporting tool is ActiveReports. Think its from DataDynamics.

    You havent mentioned what version of VB youre using, by the way.

    jc


  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    The VB that comes with office isn't VB, it's VBA and only works with office.

    I do recall MS having a downloadable version of a micro VB called Active scripting? (I'm probably wrong).

    Oh yea you could probably create your own reporting easily in html.

    One nice one I saw was just basic <IMG> tags but the program had changed the HEIGHT='...' to scale with all the others.


  • Moderators, Home & Garden Moderators, Regional Midwest Moderators, Regional West Moderators Posts: 16,723 Mod ✭✭✭✭yop


    Excellent lads something for me to work with.

    Am using VB6, was intending to use word9 object but realised they did not have office and since it was a multi user then they were not willing to invest in office for them all

    Then I thought Crystal Reports but got a quote of 700 Dollars for the developer version 9.

    So now I want to see what else is there, just want to be able to plug it into VB and create reports with say the same header and footer with maybe a tabular body, this would need to be Dynamic.

    I will have a look at what is suggested and if you come up with anything else I would appreciate it.

    Thanks

    :D


  • Advertisement
  • Moderators, Home & Garden Moderators, Regional Midwest Moderators, Regional West Moderators Posts: 16,723 Mod ✭✭✭✭yop


    Bonkey

    I have looked on the cd mate and could not find Crystal ?? Any ideas where it was??

    Cheers


  • Registered Users Posts: 15,443 ✭✭✭✭bonkey


    Hmmm.

    I use Visual Studio 6.0 Enterprise Edition (or I used to before my job switched to mostly Java).

    On this, it was to be found on \COMMON\TOOLS\VB\CRYSREPT on CD3. I've just dug me old CDs off the shelf (I actually have my own official copy!) and its definitely there.

    AFAIK, it is also shipped with VB6 Pro.

    Alternately, search the CD for a file called CRYSTL32.EXE and see if it turns anything up.

    jc


Advertisement