"De kessé" <Dekesse@anonyme.com> wrote in message
news:Q5MFf.8279$71.512446@wagner.videotron.net...
> now i made this code and the error is gone but no open dialog shows up.
> why?
>
> Sub Upload_Click(ByVal Sender As Object, ByVal e As EventArgs)
>
> Dim newthread As New Threading.Thread(AddressOf SeconThread)
>
> newthread.SetApartmentState(Threading.ApartmentState.STA)
>
> newthread.Start()
>
> End Sub
>
>
> Public Sub SeconThread()
>
> Dim ofd As New Windows.Forms.OpenFileDialog
>
> ofd.Filter = "Text files (*.txt)|*.txt|" & "All files|*.*"
>
> ofd.Multiselect = False
>
> If ofd.ShowDialog() = Windows.Forms.DialogResult.OK Then
>
> End If
>
>
>
> "De kessé" <Dekesse@anonyme.com> wrote in message
> news:QXHFf.6914$71.459990@wagner.videotron.net...
>>
>> sorry wrong forum
>> txs for the link
>>
>> ok i will try it!
>>
>> "Sreejith G" <SreejithG@discussions.microsoft.com> wrote in message
>> news:2C676409-AD40-451D-AD62-3B888EF5A249@microsoft.com...
>>> Yes thats the javascript kind of coding ie client side and specify
>>> (runat =
>>> server) to execute that as a server object.
>>>
>>> One other thread, if it helps you =>
>>>
>>>
http://www.codecomments.com/archive289-2005-4-476254.html >>>
>>> Again this is Sql Server forum, puerly database oriented. To get good
>>> feedback next time on wards try.
>>>
>>>
http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.dotnet.framework.aspnet&lang=en&cr=US >>>
>>> Thanks,
>>> Sree
>>>
>>> "De kessé" wrote:
>>>
>>>> I found this
>>>>
>>>>
http://www.4guysfromrolla.com/webtech/091201-1.shtml >>>>
>>>> I guess this is the best solution...
>>>>
>>>> "De kessé" <Dekesse@anonyme.com> wrote in message
>>>> news:pAwFf.120$71.344483@wagner.videotron.net...
>>>> > im using Visual Studio 2005
>>>> >
>>>> > "De kessé" <Dekesse@anonyme.com> wrote in message
>>>> > news:mgwFf.119$71.340458@wagner.videotron.net...
>>>> >> How do I get an openfiledialog in an asp.net page?
>>>> >>
>>>> >> I try me.openfiledialog but it does not work...
>>>> >>
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>
>>
>
>