Administrator
Date of registration: Jul 16th 2008
Location: Erlangen, Germany
Occupation: Software Developer
Hobbies: Jabaco, game theory, text-mining
Hmm... Yes - I have to documentate the usage of IResource. This is the Jabaco-Method to embed a resource (like images) in a Exe/Jar-File.Quoted
Right now, I'm trying to use the Loadpicture function, but can't seem to find the right way.
I'll proof this method for a future Framework-Version. Some methods to fix your problem:Quoted
picture1.picture = Loadpicture ("bg.jpg")
The bg.jpg file is in the same folder than the project is saved.
Jabaco Source |
|
1 2 |
Picture1.Picture = LabradorJpg ' you have to add Labrador.jpg as Jabaco-resource Picture1.Refresh ' a future framework-version will refresh it automatically |
Jabaco Source |
|
1 2 3 |
Dim myImage As IResource = New VBImage("http://www.google.de/intl/de_de/images/logo.gif") Picture1.Picture = myImage Picture1.Refresh |
Jabaco Source |
|
1 2 3 4 |
Dim myJavaImage As Image = javax#imageio#ImageIO.read(New File("C:\WINDOWS\Web\Wallpaper\Labrador.jpg")) Dim myImage As IResource = New VBImage(myJavaImage) Picture1.Picture = myImage Picture1.Refresh |
Beginner
Date of registration: Jan 3rd 2009
Location: Meridian, MS USA
Occupation: Manager
Hobbies: Martial Arts