Posted: Sun Nov 18, 2007 3:26 pm Post subject: [VB6] Saving a file?
So once the user loads a swf into shockwaveflash1, and presses cmdSave, it saves the current swf that's playing
I need help on how to do this
Common dialog would be great
I've tried this but it doesn't work
Code:
CommonDialog1.ShowSave
If CommonDialog1.FileName <> "" Then
Open CommonDialog1.FileName For Output As #1
Print #1, form1.shockwaveflash1.movie
Close #1
End If
Exit Sub
It could also be a downloader I guess _________________
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Sun Nov 18, 2007 10:57 pm Post subject:
You can't just save the movie data, you need to download it from the website it came from. To do that you need to make web connection to the server. You can use Winsock or Inet to do it.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum