-
May 22nd, 2020, 10:16 PM
#1
Thread Starter
Member
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.
-
May 23rd, 2020, 10:59 AM
#2
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/
-
May 23rd, 2020, 11:01 AM
#3
Re: How to us SVG or XAML graphic with VB6 standard control?
Originally Posted by Taro
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
-
May 23rd, 2020, 12:00 PM
#4
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|