Search results for query: *

  1. J

    Question Help With StreamWriter

    I managed to get the desktop folder working bellow too, its in red :) Imports System.IO Public Class Form1 Dim ab As String Dim DesktopLocation1 As String = Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop) Private Sub Form1_Load(ByVal sender As System.Object...
  2. J

    Question Help With StreamWriter

    Thanks :) that seems to be working, the desktop location had a few issues on my college computer but I can resolve that. Cheers
  3. J

    Question Help With StreamWriter

    Here it is: Imports System.IO Public Class Form1 Dim ab As String Dim DesktopLocation1 As String = "c:\Documents and settings\" & SystemInformation.UserName & "\Desktop" Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load...
  4. J

    Question Help With StreamWriter

    Hi Thank you for the response, in my coding that does not work even though I have Imports System.IO What I did have was that the setting would be saved to a text file every time a setting gets changed, I tried putting that into a single sub but that didn't work, if I post the original would...
  5. J

    Question Help With StreamWriter

    Please could you help this code works fine: Private Sub ButtonBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonBrowse.Click Call Save() End Sub Shared Sub Save() Dim Writer As StreamWriter = New...
Back
Top