Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2010 Language choose in my app

$
0
0
hi

I've come up with this method, just need some help...
Code:

#Region "Localization"
    Sub LoadLang(ByVal LangFile As String) ' This sub will load the language file.
        Try
            If My.Computer.FileSystem.FileExists(LangFile) Then
                Dim txt As String = My.Computer.FileSystem.ReadAllText(LangFile)
                ApplyLang(True)
            End If
        Catch ex As Exception

        End Try
    End Sub

    Sub ApplyLang(ByVal Load As Boolean)
        If Load = True Then

        End If
    End Sub

    Sub ReplaceString()

    End Sub
#End Region

In Sub ReplaceString() I no somehow I need to replace control strings and in Sub ApplyLang() I need to call ReplaceString().....

Any help, thx

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>