Forum Discussion
tristaanogre
15 years agoEsteemed Contributor
Change your code to the following:
I'm no VB expert but IIRC, if you're calling a method on an object, you need to preface the line with "Call". The above works fine.
Set ObrazokObj = Sys.Desktop.Picture
Call ObrazokObj.Stretch(800, 800)
Call ObrazokObj.SaveToFile("D:\plocha.png")
I'm no VB expert but IIRC, if you're calling a method on an object, you need to preface the line with "Call". The above works fine.
Related Content
- 12 months agoSiKing
- 2 months agoNicolaFilosa_SE
- 3 years agonewbe
Recent Discussions
- 12 hours agoSvetaG