DFBarracks - Forums




Delta Force Barracks Forums - Powered by XMB 1.9.11
Delta Force Barracks Forums
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: *Video Tut.* Beginner : MIS File Reader
bullet magnet
Captain
****


Avatar


Posts: 263
Registered: 6-26-2005
Member Is Offline

Mood: Modding

[*] posted on 12-23-2007 at 12:45 PM
*Video Tut.* Beginner : MIS File Reader


After a absence in tutorials they are going to start back. I made a video of this one althought its hard to see so you may want to go to the link on youtube so you can fullscreen it, I included the source code below it:


Code:
Public Class Form1 Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click Dim o As New OpenFileDialog o.Title = "Choose MIS" o.Filter = "Mission File (*.MIS)|*.MIS" If o.ShowDialog = Windows.Forms.DialogResult.OK Then RichTextBox1.Text = My.Computer.FileSystem.ReadAllText(o.FileName) End If End Sub Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click Dim s As New OpenFileDialog s.Title = "SaveMIS" s.Filter = "Mission File (*.MIS)|*.MIS" If s.ShowDialog = Windows.Forms.DialogResult.OK Then RichTextBox1.SaveFile(s.FileName, RichTextBoxStreamType.PlainText) End If End Sub End Class




View user's profile View All Posts By User
cmurphe
Captain
****


Avatar


Posts: 254
Registered: 6-6-2007
Location: Missouri
Member Is Offline

Mood: Ask Me

[*] posted on 12-30-2007 at 01:41 AM


Your such a freaking genious...Great job:P




When all else fails, stupidity rules.
View user's profile Visit user's homepage View All Posts By User

  Go To Top

Powered by XMB 1.9.11
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 15] [PHP: 40.4% - SQL: 59.6%]












Copyright © 2002 - 2008 All Rights Reserved - DFBarracks.com
Site Design by A.Bullet - ScreamingDemon.com