dcsimg
Results 1 to 4 of 4

Thread: How to us SVG or XAML graphic with VB6 standard control?

  1. #1

    Thread Starter
    New Member Taro's Avatar
    Join Date
    Feb 2014
    Posts
    10

    How to us SVG or XAML graphic with VB6 standard control?

    Hi,

    After I search for a while, still not find any information about how to use the SVG or XAML graphic with VB6 control e.g. use SVG picture with command button. The purpose meant to response with new Windows 10 DPI Aware feature which can accept variety of monitor resolution.

    Any one has this information, please share. Thank you.

  2. #2
    Frenzied Member
    Join Date
    Dec 2014
    Posts
    1,037

    Re: How to us SVG or XAML graphic with VB6 standard control?

    we have this: http://www.vbforums.com/showthread.p...-and-a-TypeLib
    about making a fully typelib for Cairo, and with that cairo SVG,
    but its incomplete, but if you are interested I would try to restart the thread and see if the experts want to work on it.

    Olaf and his vbRichClient5 has support for SVG
    http://www.vbforums.com/showthread.p...vbRichClient5)

    another way is Direct2D, (thx to The trick we can use it for VB6)
    we have wic and direct2d typelibs, and Im sure it is possible to also add SVG, but it will require research and work.
    https://docs.microsoft.com/en-us/sam...s/d2dsvgimage/

  3. #3
    PowerPoster
    Join Date
    Jun 2013
    Posts
    4,891

    Re: How to us SVG or XAML graphic with VB6 standard control?

    Quote Originally Posted by Taro View Post
    After I search for a while, still not find any information about how to use the SVG or XAML graphic with VB6 ...
    The RC5-BaseLibraries come with support for SVG-reading and -writing.
    (you have to download - and register - these BaseLibs from vbRichClient.com first)

    As for XAML, I'd avoid using it...
    It was just another MS-effort, to undermine an open standard-format with "their own invention" (and it's "dead-in-the-waters" already).

    Here's two links to articles inside this Forum (which should help, getting you started with the RC5-SVG-support):
    http://www.vbforums.com/showthread.p...ad-of-filename
    http://www.vbforums.com/showthread.p...vbRichClient5)

    HTH

    Olaf

  4. #4

    Thread Starter
    New Member Taro's Avatar
    Join Date
    Feb 2014
    Posts
    10

    Re: How to us SVG or XAML graphic with VB6 standard control?

    Thank you very much baka and Schmidt. I have a good resources to educate now.

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width