|
VB is easy. .Net is huge and takes a while to learn. At the top of your code page add the line "Imports System.IO.File". Then you can call all the file system objects without having to put system.io.file in front of all of them. "Imports system...." works for any branch of the .NET tree that you are using in your project and make a lot of object calls from.
Imports System.IO.File
Public Class PocketTune
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
System.IO.File.Open("c:\tesst", IO.FileMode.Create)
Open("c:\tesst", IO.FileMode.Create)
SerialPort1.Open()
|