Results 1 to 8 of 8

Thread: Microsoft Word Help

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2001
    Posts
    98

    Microsoft Word Help

    hello,

    i have a cpu with a touchscreen and the software that allows me to capture written text or drawings exactly how they were written only works in Microsoft Word. the only problem is that i need an imbedded control that they can just start writing in on a form. i have tried the word controls included in the VB6 but have had no luck. any ideas what i would need to do to get this to work?

    thanks,
    PJ

  2. #2
    Addicted Member Mandelbrot's Avatar
    Join Date
    Aug 2001
    Location
    Work, as usual!!
    Posts
    241
    What about writing an API in VB that traces the mouse pointer location & poasses it to Word as a graphic?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2001
    Posts
    98
    can you refer me to a place where i can find some api examples and help on writing them. i have never worked with them before.

    thanks again,
    PJ

  4. #4
    Addicted Member Mandelbrot's Avatar
    Join Date
    Aug 2001
    Location
    Work, as usual!!
    Posts
    241
    Can you write in C++?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2001
    Posts
    98
    i have had classes in it. they never dealt with any visual stuff but i could probably figure it out. why? do you think it would be easier to do in C++?

  6. #6
    Addicted Member Mandelbrot's Avatar
    Join Date
    Aug 2001
    Location
    Work, as usual!!
    Posts
    241
    Sorry, Sub - I've been pointing you in the wrong direction... I used the term API instead of OCX or ActiveX control. These can be created in VB quite easily. It's just then a case of creating a graphic box and using a routine to trace the position of the mouse and convert this into pixel in the graphics box. Pass the graphics box to the handwriting routine you've got in Word and translate this to text.

    API routines are easy to access on this site - just do a search on whatever you want to know about, and there's bound to be something that'll fill the gap for you. I can't remember the name of the API that returns the pointer location, but it is something really basic like GetPointerLocation or whatever (I've even used it myself!)

    Again, sorry about the confusion...

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Jun 2001
    Posts
    98
    thanks. what do you mean by graphics box? is that a control i can access already?

  8. #8
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    Yes, you should be able to access it already

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width