Darwinbots Forum
Code center => Darwinbots Program Source Code => Topic started by: Zelos on November 15, 2005, 10:22:31 AM
-
is it possible for VB to load pictures from picture files?
-
Yes.
Darwinbots does it for background pictures. I added that code about six months ago.
You can load a bitmap of jpg directly into the "picture" aspect of many controld like "forms", "pictureboxes", "command buttons" etc.
-
I mean with a command, like if I have a emty picbox I can load a picture where ever I want it in there so I can load like several pics
-
See above post.
Darwinbots does it from inside the code. From the menu bar, you can load background pictures from any picture file and attach them to form1.backpic.
Check DB for the code as I can't remember it off the top of my head.
-
ok thx, letters are made up by tiny small pixels, is it possible in anyway to, in a own program, create own letters for just that program?
-
Should be possible to create a comnplete font if you like.
Don't know how tho
-
I had a font editor that came with my MSVC 1.0 way back in the day.
You can probably find one freeware somewhere.
-
ok, and how do I use it after word in my program?
-
Whatever text box you want to write to probably has a selector to let you pick a font.
-
how do I install the font so I can use it?
-
That I'm not sure about, I've never played with it.