Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27514

Load a background in Vb.net using app.path?

$
0
0
Hi there everyone. I am migrating a old classroom prog to the new Vb, and I am used to using app.path. Basically here I got a background image in png format, and would load to load it as thee form background on form load. So far I tried this, Me.BackgroundImage = (App.Path & "\Program Resources\Background Main.png")

but that doesn't appear to work. Can Vb.net use app.path?

Thanks!

Viewing all articles
Browse latest Browse all 27514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>