Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Re: showfolderbrowser

$
0
0

Hi Jean,

Can you try to change your code as below

 

Public Sub cherche_fichier()

 

 

        Dim ShowFolderBrowserThread As Threading.Thread

        Try

            ShowFolderBrowserThread = New Threading.Thread(AddressOf ShowFolderBrowser)

               ShowFolderBrowserThread.SetApartmentState(System.Threading.ApartmentState.STA)

                ShowFolderBrowserThread.Start()

                ShowFolderBrowserThread.Join()

        Catch ex As Exception

            SBOAppli.MessageBox("cherche_fichier" & ex.Message)

        End Try

    End Sub

 

 

Regards

Edy


Viewing all articles
Browse latest Browse all 9164

Trending Articles



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