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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.