-
Hi,
I have just created a little program with a great text fx that you can get on Microsoft Word. Please have a look and tell me what you think of it.
VB5 http://members.xoom.com/rino_2/cool5.exe
VB6 http://members.xoom.com/rino_2/cool6.exe
Most of you will already know it.
-
Very Cool!!!!
How did you do that??? With the OLE??
------------------
Yours sincierly
CyberCarsten
http://home18.inet.tele.dk/cyber/
[email protected]
-
I will upload the source code soon. By the way I didn't use the OLE. All it is is a text box and a picture box. Very Simple but effective!
-
very simple code but works great. Nice job!
-
Yes, also, very simple but effective! Note that some users have the soften screen fonts enabled in windows, so it looks better on some computers. You should try making it so you can rotate text, change colors, length, etc.. I know how you can do a lot of these already! Want to work on it with me? I'm interested, I've never really made a program with someone else and never really spend the time alone to make a full fledged awesome program.
-
Hey, nice code... ;)
------------------
John T. Mieske
Star Trek LCARS programmer
Knight Vision Enterprises
[email protected]
-
Here is the source code. I'm not sure if its coded as best it could be but please don't hold that against me.
http://members.xoom.com/rino_2/cool_text.zip
-
Nice... but!
Few things that would make it better :)
1. choose fonts!
2. change colors
3. different designs
4. font sizes
5. save function
If you want to see what I did to it check out: http://members.xoom.com/tagsclan/ct.exe
------------------
DiGiTaIErRoR
-
Hi,
Thanks everybody, I'm glad you liked the program and I do agree that there are things that could be better but it was just a little test for myself. Hey Phobic, what kind of program do you have in mind?
-
DiGiTaIErRoR's EXE allows you to export it...hey DiGiTaIErRoR, are ya ganna post the source code... :)
------------------
- Chris
[email protected]
If it ain't broke - don't fix it :)
-
Sure chrisjk but it's a little messy as I got the ideas randomly I'll clean it up some though...
------------------
DiGiTaIErRoR
-
Ok, Now that I know how to save an image, how would I make the background transparent? This is the real test and I don't think antbody can do it. Don't get me wrong, I know your all great programmers.
-
It is being exported as a BMP correct? So all you have to do to make it transparent is to bring it up in a paint package. Or are you wanting to do it inside the program itself? That would be a nice added feature. And how most pain packages do it is find a spacific color that the user choose to be the mask of the picture to be transparent. It would have to break the picture into two layers. One is the main pic and the background (Transparant) would have to be the mask.
------------------
John T. Mieske
Star Trek LCARS programmer
Knight Vision Enterprises
[email protected]
-
If you expand it a bit with the options that are mentiond here, you could export the picture.
Could be fun for web graphics and stuff.
[This message has been edited by Azzmodan (edited 01-24-2000).]
-
Hi Azzmodan,
What you say is very interesting! Do you have any idea how to save the content of a picture box as a bmp of gif or any image format for that matter?
-
To save the contents of a Picturebox, use something like this:
SavePicture Picture1.Image, "C:\MyFile.bmp"
SavePicture function will save it im Bitmap format.
------------------
Serge
Programmer Analyst
[email protected]
[email protected]
ICQ#: 51055819
-
this is one &*#$I'N bad motha ^&^%a its damn cool but, adding a maximize button and all full function would be the best!!!, you can make money out of this!!!!!!
-
I have plans to create the ultimate text effect program and give it away but first of all I need to know how to create a transparent background.
-
You want to export a GIF right? You'll need a special OCX or know how to code a GIF because vb won't export GIF or JPG just BMP. But it can export a ico of metafile I'ld just leave the background white or maybe black grey etc. Oh yeah and MaStErPfu are you talking about his program or mine? I made an advanced version of his BTW.
------------------
DiGiTaIErRoR
VB, QBasic, Iptscrae, HTML
Quote: There are no stupid questions, just stupid people.
-
if you want to make it look transparent in your app, have a look at all those applications that provide windows with rounded corners. These contain code to reshape the drawing canvas of ANY window (this includes pictureboxes and stuff like that - even using masks).
------------------
-
Well you're going to have to save it af a .gif for a start becasue .bmp's don't support transparent backgrounds.... so that'll be fun! :)
If you can work out how to save .gifs then it should be pretty easy...
(I remember trying to load a gif using pascal for dos when i was 14... it was a bit hard but things have moved on since then! > :))
-
oops!
Sorry guys, i didn't notice this discussion was two pages long; i'd only read the first page!
(how silly do i feel??)
:>
-
I am presently trying to code a game in VB and I am using the blitter to do transpanrencies.
I take the image and SRCPAINT it over a reverse image..
(if the main image is green on black, the mask is black on white, white being the transparent color)
The GDI may be able to help you with this...
You may be able to let VB create the background mask, and save the BLITTED combination as the final BMP
--- I'll post some code if this sounds like a viable option...
~Sam