This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-12-08 19:56:07

apojeff
Scratcher
Registered: 2009-12-08
Posts: 3

vb6

hey fellas do you know what are the codes for "save" ?
and how to connect all the information to data base ?

Offline

 

#2 2009-12-08 20:16:28

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: vb6

You are interested in VB6?  That's not something that new Scratch members are likely to know.  Maybe you should look for a VB forum? 

I'll move this to Inspiration and More since it's not Scratch related.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2009-12-08 21:48:06

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: vb6

'Hi I don't use vb6 but I use vb.NET which is similar. Here is vb.NET code for saving

Dim Savefiledialog1 As New SaveFileDialog()
        Savefiledialog1.Filter = "(what file type you want it to be saved as)"
        If Savefiledialog1.ShowDialog() = DialogResult.OK Then
            Dim response As String
            response = Savefiledialog1.Filter
'you now use "response" as the location it's going to be saved in

'example for saving an image.

PictureBox1.Image.Save(Savefiledialog1.FileName, System.Drawing.Imaging.ImageFormat.Bmp)
end if


'I recommend that you just look on the internet for your question. I know it can be hard 'to find but it's there.

Last edited by what-the (2009-12-08 21:49:31)


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

Board footer