|
-
Aug 13th, 2001, 01:42 AM
#1
Thread Starter
New Member
Copy File1 onto File2?
Hi There,
i've got this problem:
I want to copy the small file1.bmp onto the bigger file2.bmp (a wallpaper) with VB... i think the API way is the right... but i don't know how to do that! Can somebody help me ??? plz....
Thx for any help
-
Aug 13th, 2001, 01:45 AM
#2
Retired VBF Adm1nistrator
Do you just want to overwrite the file ?
If so then :
VB Code:
FileCopy "c:\file1.bmp", "c:\file2.bmp"
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Aug 13th, 2001, 01:50 AM
#3
Thread Starter
New Member
i don't want to overwrite
...
well, i don't want to overwrite this File.
I want the 2 Files become 1 File. The bigger File should be the background and the smaller, therefor the foreground
-
Aug 13th, 2001, 02:04 AM
#4
Retired VBF Adm1nistrator
Well in that case, you could perhaps load the larger picture into a picturebox with its AutoSize property set to True, and then use BitBlt to paint the smaller picture into the middle of the larger one. Then you could try saving that picture using the SavePicture statement.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|