|
-
Oct 15th, 2002, 01:52 PM
#1
Thread Starter
Addicted Member
rotate and save image, vb to VC
How do I write this small procedure in VC++?
Dim oPath As folder, oFso As New FileSystemObject, sImgFile As File, sTime As String
Set oPath = oFso.GetFolder("C:\someFolderPath")
For Each sImgFile In oPath.Files
If sImgFile.Type = "tif file" Then
With Me
.ImgEdit1.Image = sImgFile.Path
.ImgEdit1.Display
.ImgEdit1.RotateRight
.ImgEdit1.Save
End With
End If
Next
-
Oct 16th, 2002, 09:24 AM
#2
Look into FindFirstFile and FindNextFile. The file system object provides a much easier interface than the native windows API.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
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
|