Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Bindings - other languages
»
DotNet
»
I can't seem to use the loadFromFile function from Texture in Visual Basic
Print
Pages: [
1
]
Author
Topic: I can't seem to use the loadFromFile function from Texture in Visual Basic (Read 4083 times)
0 Members and 1 Guest are viewing this topic.
mtrx3
Newbie
Posts: 1
I can't seem to use the loadFromFile function from Texture in Visual Basic
«
on:
June 26, 2018, 08:42:38 pm »
After declaring a texture like this
Dim tex As Texture
Then typing
tex.
A intellisense message comes up that loadFromFile is not a member of Texture.
How can I correctly do this so I can include error checking code such as missing files and etc.
Logged
Pacis
Newbie
Posts: 2
Re: I can't seem to use the loadFromFile function from Texture in Visual Basic
«
Reply #1 on:
May 14, 2019, 12:27:00 am »
You have to use the constructor to load the path
Texture A = new Texture("./b.png")
Logged
Print
Pages: [
1
]
SFML community forums
»
Bindings - other languages
»
DotNet
»
I can't seem to use the loadFromFile function from Texture in Visual Basic