@n3L0:
Ako te interesira pravenje igri bi ti preporacal Microsoft XNA Game Studio 2.0. Mozes da programiras vo VB.NET ali bolje ke ti ide ako pocnes so C# (poise poddrska ima za C#) a ako sakas epten hardcore da programiras fati C++. Ja pocnav malce so DX9 da praam nesto ali instantno se otkazav posto ne bese toa so ocekuvav. Eve ti link da go
simnes.
Inace za File>Save kodot bi idel nesto vaka:
Imports System.IO
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox1.Multiline = True
TextBox1.Height = Me.Height
TextBox1.Width = Me.Width
'ovie se za na pocetok da se resizuva textboxot kolku sto e golemo prozorceto
End Sub
Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click
SaveFileDialog1.Filter = "Text files (*.txt)|*.txt|All files (*.*)|*.*"
SaveFileDialog1.ShowDialog() 'ova e prilicno jasno, go otvara file save dialogot koga ke kliknes na save od menito
End Sub
Private Sub Form1_Resize(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Resize
TextBox1.Height = Me.Height
TextBox1.Width = Me.Width
'ova e za da se resizuva textboxot koga go resizuvas prozorceto
End Sub
Private Sub SaveFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles SaveFileDialog1.FileOk
'ovdeka e ustvari samoto sejvuvanje na fajlot
Dim file As File
file.WriteAllText(SaveFileDialog1.FileName, TextBox1.Text) 'SaveFileDialog1.FileName e patekata sose imeto na fajlot, TextBox1.Text e sodrzinata koja ke se zacuva vo fajlot
End Sub
End Class
*Ova e vo VB.NET
Eve go i
programceto, ti treba .NET 2.0 za da raboti