download from database
-
Hi I need some help in C# where I will give a url and this will download a file from a particular site and will save in a given folder , example: asking to download this "Palkirgaan.ram" file from url - "http://www.ganguly.de/hemanta/Palkirgaan.ram" and will save it "C:/Amitava" this folder. Please help . Thanks in Advance Amitava
-
Hi I need some help in C# where I will give a url and this will download a file from a particular site and will save in a given folder , example: asking to download this "Palkirgaan.ram" file from url - "http://www.ganguly.de/hemanta/Palkirgaan.ram" and will save it "C:/Amitava" this folder. Please help . Thanks in Advance Amitava
You can use DownloadFile or DownloadFileAsync method of WebClient class. There are several download managers available on codeproject if you want to explore them.
Giorgi Dalakishvili #region signature my articles #endregion
-
Hi I need some help in C# where I will give a url and this will download a file from a particular site and will save in a given folder , example: asking to download this "Palkirgaan.ram" file from url - "http://www.ganguly.de/hemanta/Palkirgaan.ram" and will save it "C:/Amitava" this folder. Please help . Thanks in Advance Amitava
hi, use following statement
My.Computer.Network.DownloadFile("http://www.ganguly.de/hemanta/Palkirgaan.ram", "C:/Amitava/Palkirgaan.ram")
hope this helpsRupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
-
hi, use following statement
My.Computer.Network.DownloadFile("http://www.ganguly.de/hemanta/Palkirgaan.ram", "C:/Amitava/Palkirgaan.ram")
hope this helpsRupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
That's VB, and C# does not have the My class, because C# users don't need shortcuts, we write code :P
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
hi, use following statement
My.Computer.Network.DownloadFile("http://www.ganguly.de/hemanta/Palkirgaan.ram", "C:/Amitava/Palkirgaan.ram")
hope this helpsRupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
which reference I need to add . and is it work in C#? Amitava
-
That's VB, and C# does not have the My class, because C# users don't need shortcuts, we write code :P
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
C# does not have the My class, because C# users don't need shortcuts, we write code
:) yaa. thats code is from vb.But i convert it with converter which is located at following address Developerlabs[^]. so i think it is equivalent of c#.It's totally my mistake.
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
-
which reference I need to add . and is it work in C#? Amitava
hi amitava, this code is from vb.net . By mistake i does not check the equivalent of this statement in c# is proper or not. so i am sorry for my mistake
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
-
hi amitava, this code is from vb.net . By mistake i does not check the equivalent of this statement in c# is proper or not. so i am sorry for my mistake
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
It dose not matter .but if you have any example in C# please let me aware of that . Regards Amitava
-
C# does not have the My class, because C# users don't need shortcuts, we write code
:) yaa. thats code is from vb.But i convert it with converter which is located at following address Developerlabs[^]. so i think it is equivalent of c#.It's totally my mistake.
Rupesh Kumar Swami Software Engineer, Integrated Solution, Bikaner (India) My Company
Rupesh Kumar Swami wrote:
Developerlabs[^].
It's a stupid converter. It gives wrong answer for many conversions.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions